(1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2ca9a32a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Error repellat illo ut perferendis. Nesciunt recusandae quia perferendis illum est ad molestiae. Harum omnis numquam omnis ut at vero.", "Sequi sed ut qui repellendus velit exercitationem. Omnis sint velit qui occaecati. Porro ipsum repudiandae dolor. Molestiae nostrum ipsa. Consequuntur minima aut qui."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_2ca9a32a"], ["title", "Ut a iure ab atque hic."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_f38d9969') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quo reiciendis fugiat. Et autem vitae magni ducimus. Cumque suscipit corrupti maiores voluptates.", "Ratione cumque necessitatibus sed qui nobis dolores. Quidem quo dolorum itaque eum enim doloremque. Enim delectus dolores ex doloremque aut."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_f38d9969"], ["title", "Ipsam laboriosam quo quaerat ullam vel."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3c1a1e49') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Voluptatibus blanditiis error quod quae quia sint. Quia ipsam voluptate doloremque. Provident minus dolores ipsam sint reiciendis.", "Aut qui voluptatem voluptatem veniam ipsam. Sed aperiam fugit culpa quis quas. Inventore laboriosam a modi. Suscipit et odit autem eum."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_3c1a1e49"], ["title", "Quod et quidem nihil."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_1aa30edc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Omnis rem ut. Ut consectetur ad error eum rerum magnam occaecati. Quia iste quasi id eveniet nemo. Et facilis nihil incidunt. Sed nihil sunt.", "Sunt tenetur nulla odio dolores. Non ipsam et reprehenderit itaque ea et aut. Adipisci ipsum molestiae hic et sint laborum dolor. Illo quasi adipisci incidunt excepturi. Blanditiis accusamus est hic."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_1aa30edc"], ["title", "Quam omnis dolores modi rerum voluptatibus dolorum sit."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_91126818') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Autem nam cupiditate. Incidunt dolorum commodi minus et. Aut odit illum. Ipsa iusto a expedita dignissimos voluptas dolor qui.", "Deserunt ea pariatur. Voluptatem alias molestiae dolorum. Soluta et ipsum quidem dolorum modi vel sequi."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_91126818"], ["title", "Possimus in quidem."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_864e82d5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Tempore sit quia. Quis ipsa quos nisi ut libero quod consequatur. Rerum voluptas aut dolorem. Dolor perspiciatis suscipit ut aliquid fugiat.", "Ut et labore magni eveniet. Voluptatibus inventore sint atque voluptate. Quia aut consequatur. Laboriosam quam saepe et."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_864e82d5"], ["title", "Consectetur quia pariatur."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c1e46845') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quae alias doloremque excepturi possimus dolorem dicta iusto. Perspiciatis libero quo iure natus beatae. Illo cum dolore soluta. Corporis iste in ipsa reiciendis quia. Qui sint quasi consequatur.", "Sed est voluptatem ea. Voluptatum ipsum et quasi sequi voluptas nemo voluptate. Aut unde nulla. Consequatur amet assumenda at magni."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_c1e46845"], ["title", "Earum voluptatem quia quia laboriosam esse ex est."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0601d646') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Corrupti eius voluptatem eum. Architecto nihil expedita voluptatem est officiis. Odio vel ut eveniet qui ut reprehenderit. Veritatis est quam nisi.", "Officiis eum minima. Odit officia a et ut fugiat veniam. A omnis sint voluptatem temporibus id voluptatem sit. Mollitia et ad similique nostrum fugit."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_0601d646"], ["title", "Sint quas autem est tenetur aut explicabo."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a4543664') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Qui distinctio aut ratione est aperiam vitae porro. Et laboriosam expedita rerum. Illum sint iste.", "Molestias modi est repellendus quo maiores ut. Quo sint a nobis expedita velit modi. Qui ex rem eaque consequuntur debitis. Perferendis omnis nihil delectus mollitia asperiores architecto iure."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_a4543664"], ["title", "Assumenda enim maxime quia pariatur ut debitis."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e28eba84') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Necessitatibus facere similique dignissimos. At impedit libero quam quidem sequi. Quia ad quo alias minima et. Facere tempore quibusdam odio. Quas ea minima beatae ut vitae sequi autem.", "Rerum doloremque occaecati vitae. Ea consequatur enim voluptatem omnis veniam id. Omnis et ea velit corporis. Quia hic ut qui nihil inventore quia ad. Sunt est voluptatem repellat vitae autem quos veniam."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_e28eba84"], ["title", "In et et numquam molestiae autem."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a0ea6cc4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Voluptatum cupiditate est. Rerum nemo sunt quia. Aliquam quibusdam rerum et.", "Dolorum pariatur sequi magni exercitationem iste. Eius perspiciatis velit illo magnam sequi. Aspernatur possimus nemo consequatur placeat. Aliquid sed molestias sequi impedit."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_a0ea6cc4"], ["title", "Consequuntur qui dolorum nisi odio sint."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_440380de') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Sed eveniet ea eaque magnam blanditiis. Natus consequatur porro quod. Atque dolorum tempore iste consequatur et placeat. Ut neque excepturi.", "Praesentium perspiciatis corrupti magni dolore aut. Dolores quibusdam non veritatis et magni alias. Culpa omnis unde. Eligendi aut nisi quaerat et."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_440380de"], ["title", "Illum sequi nemo."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_11a35eac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Consequatur laborum quaerat quas amet molestiae. Doloribus architecto quos aut quia nemo labore. Tempore sit perspiciatis totam commodi tenetur qui. Cupiditate est enim et quam. Accusantium amet ipsum voluptas aut sunt.", "Porro animi neque. Et soluta ipsam. Nihil vel ea delectus voluptas et. Nihil nihil veniam. Adipisci voluptatum veniam voluptatibus eveniet doloribus."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_11a35eac"], ["title", "Veniam nemo iure quis."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e829a06f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Porro enim et quaerat ab voluptate maxime. Est aut ut. Expedita consequatur dolorem accusamus dolorem ut. Saepe est architecto et laudantium enim asperiores.", "Sed est ut omnis fugit est facere ad. Placeat assumenda nihil dignissimos sequi ab. Rerum commodi dolorum odit consequuntur veritatis harum reprehenderit."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_e829a06f"], ["title", "Ipsa harum recusandae nulla eligendi."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ca9043a8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Labore beatae consequatur. Expedita sequi est voluptas. Repudiandae voluptates esse hic dignissimos quas harum velit. Et explicabo quis voluptatem consequatur aut quia. Non perferendis aliquid animi et.", "Libero eveniet nostrum vitae. Sint at ducimus velit excepturi. Pariatur id et alias. Libero et veniam."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_ca9043a8"], ["title", "Mollitia eius soluta ipsa."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b61ca5b4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Nemo dolor in cumque. Dolore porro sapiente. Ut temporibus facere dicta et sed eos.", "Consectetur laudantium cumque sequi aliquid. Et quasi aperiam voluptatum tempore ex omnis. Quas porro odio aperiam. Officiis eveniet quia veniam impedit error. Enim et qui iure harum."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_b61ca5b4"], ["title", "Aut sapiente dignissimos dolor neque."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_eece7b24') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Exercitationem repudiandae quaerat accusantium quo aliquam nesciunt eum. In non molestias molestiae omnis dolore vel harum. Sapiente modi magnam exercitationem iusto. Ipsum nam qui et nihil est velit nemo. Nihil autem illum alias voluptatum voluptates necessitatibus.", "Vitae dolores aut autem. Odio vel porro. Ab similique totam dicta quae quo est quibusdam. Esse nam mollitia vel dolorem assumenda eius. Dicta odit ut."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_eece7b24"], ["title", "Facere voluptatem modi ipsum sit."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1a03596a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Et ipsum dolor sunt et dignissimos officiis dolorem. Est voluptatem doloremque. Nulla molestiae sed dignissimos nihil.", "Minima rerum excepturi reprehenderit consequatur officia aspernatur est. Eum architecto voluptatem et aut qui debitis. Blanditiis commodi necessitatibus eos ullam. Cupiditate beatae enim magni suscipit consequatur. Ut laborum eum et excepturi."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_1a03596a"], ["title", "Qui laudantium nemo maxime."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2836fe95') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Cum ea vel. Perspiciatis sit hic voluptas perferendis quasi et natus. Eum odio est explicabo delectus consequatur voluptas atque. Sint debitis culpa. Et delectus fugit.", "Tenetur dolor ab laudantium expedita quia sint. Iure delectus molestiae accusamus est hic quia expedita. Sint minima consequatur ratione."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_2836fe95"], ["title", "Perferendis accusantium iste."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8275d5d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Labore tenetur in fuga odio dolor aliquid dolores. Magni reiciendis qui. Corrupti in doloremque a ea.", "Iusto accusamus quia rerum. Itaque est enim et cumque sit repellendus. Beatae sapiente et laboriosam iusto molestiae qui. Quisquam atque autem voluptatibus qui."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_8275d5d0"], ["title", "Sed voluptatem labore dicta facere eligendi."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_64796870') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Voluptatem id possimus veritatis. Dolor consectetur rerum eum dolore autem quia. Nostrum est molestias et. Animi quis molestiae impedit porro nihil quo.", "Odio consequatur earum consectetur veritatis voluptatum qui unde. Voluptatem exercitationem qui unde porro harum. Est vel consequatur aut reprehenderit."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_64796870"], ["title", "Similique dolor voluptatem fugiat."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_53533a39') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Unde nesciunt rem. Enim expedita consequuntur. Consequuntur cupiditate possimus facere vel id.", "Non enim itaque quia. Sed officiis porro vel modi voluptatem. Sunt optio atque aliquid odio ut occaecati."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_53533a39"], ["title", "Tempore praesentium cum sunt animi sint."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a1333663') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Itaque voluptas praesentium velit ad quis perferendis. Soluta consectetur eos magnam. Officiis dolore itaque aperiam ea expedita vel. Sapiente non reiciendis eveniet quibusdam repellendus. Quo dolorum est natus eius amet.", "Autem dolor enim quo cupiditate. Et et nihil commodi. Ipsam qui id est perspiciatis. Doloremque quo quae quis. Quas quo voluptas commodi iste modi dignissimos voluptatibus."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_a1333663"], ["title", "Qui sint aut enim voluptate."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_503dc8c3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Earum minus ipsam voluptas. Veniam eius voluptas consectetur temporibus autem. Dolores cum omnis nam velit nobis atque. Facere similique ut aut non cum aut. Porro fuga magni vero praesentium culpa.", "Aut rerum id. Velit quo dignissimos saepe. Ut et mollitia omnis porro at placeat. Voluptatem est et qui modi praesentium. Quia laudantium modi dolores."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_503dc8c3"], ["title", "Animi consequatur impedit dolore itaque."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["In dicta rerum necessitatibus veritatis beatae voluptas corporis. Eveniet exercitationem et est sapiente error. Cumque molestiae distinctio saepe.", "Ratione rem repudiandae quia sed ut et sit. Ea et nam autem inventore architecto. Odio cupiditate nulla. Molestiae nesciunt modi inventore veritatis doloremque."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "alpha"], ["title", "Enim numquam doloremque deleniti ut nisi impedit enim."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Voluptatem vel qui. Atque odio reiciendis nam tempora labore. Sed dolor ut eaque earum veritatis ipsa nihil. Error doloremque quo quod velit laborum. Dolore sint totam suscipit atque.", "Cupiditate non quasi molestias sit reprehenderit accusamus animi. A quia id qui aut quis minus. Adipisci ratione ipsa error. Ut sapiente laudantium in ducimus adipisci quidem eum."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "alpha"], ["title", "Esse dolorum molestiae vitae."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Ea temporibus reiciendis quia vel voluptates voluptatem quam. Provident at tempore. Laudantium consectetur similique commodi ipsam quisquam. Voluptates aut enim odio. Aut sequi officiis unde ipsa quis.", "Sit exercitationem blanditiis vel necessitatibus qui architecto odio. Dignissimos porro quia et ad. Aspernatur quas quae velit enim ullam dolorem qui. Minus aut molestiae at."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "alpha"], ["title", "Rem sint et maxime."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_45caf098') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Numquam in iste quia aut quisquam non. Dolore harum voluptatem quae. Officia ut fugit magnam sint sed accusamus consequatur. Qui velit officia quo ea neque eum incidunt.", "Fugiat dolor blanditiis id veritatis. Maiores repellat ut ipsam dolorem eius officiis. Fuga eius distinctio fugit ipsam. Assumenda corrupti non est impedit sit repudiandae. Illum placeat quis et laudantium."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_45caf098"], ["title", "Nam nulla voluptatem non quasi ratione sed minus."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_2061be19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quia corporis quidem facilis dignissimos vel omnis laudantium. Neque sit minus eligendi corporis iure. Alias eaque delectus est est omnis tenetur eum.", "Itaque similique temporibus hic ullam deserunt quae. Autem cumque delectus sunt odit sed eum. Inventore sed assumenda ex."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_2061be19"], ["title", "Perferendis repellendus est quasi."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_9d9482d3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Animi et ea soluta sapiente tenetur. Omnis id voluptatibus neque. Magni eum culpa ex laborum reiciendis. Ducimus quis deleniti quia consequatur.", "Molestias accusamus voluptatibus corrupti voluptas ab. Porro corporis temporibus sed ut voluptas. Nihil beatae iure repellat earum. Est et molestias necessitatibus officiis non."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_9d9482d3"], ["title", "Minima cupiditate repellat."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ba0becc3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Qui repudiandae facere. Earum consequatur quam et. Quia quod ad enim commodi exercitationem a. Voluptas iure soluta dolor. Eos delectus nesciunt autem omnis.", "Natus modi rerum. Et molestiae et rerum. Architecto enim deleniti. Et repudiandae consequatur voluptas magnam. Debitis dolorem voluptatem."]], ["created_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00], ["name", "contract_ba0becc3"], ["title", "Id temporibus ab."], ["updated_at", Fri, 07 Mar 2014 20:13:27 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_a1245cfb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Et suscipit totam. Ut et ex pariatur rerum animi consequuntur. Et quia cum sed autem exercitationem. Velit sit odio.", "Rerum facilis aut et dolores assumenda ut. Explicabo ducimus laudantium voluptatibus perspiciatis. Dicta libero id est aut."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_a1245cfb"], ["title", "Unde dolor sint."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_acb8a9f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quaerat pariatur occaecati officiis. Consequatur eveniet distinctio est impedit consequuntur. Magni tenetur soluta. Distinctio non architecto velit ratione.", "Amet tenetur assumenda. Dignissimos et praesentium ducimus reprehenderit velit. Ea voluptatum voluptatem sapiente ea. Facere similique et eum facilis maxime omnis. Voluptas dolores quaerat assumenda exercitationem ex sint dolorum."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_acb8a9f1"], ["title", "Molestias ut voluptatem."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_6fb0dd22') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Aut sed assumenda maxime molestiae. Qui quod itaque quo ut. Ab eveniet amet porro perferendis accusantium autem. Est deleniti quis praesentium. Cupiditate aliquam quae rem voluptas sunt saepe.", "Vero sunt blanditiis sed et laudantium sed eos. Illum quae ad quaerat sit. Ratione ea voluptates neque est ullam."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_6fb0dd22"], ["title", "Iure omnis sint quisquam iusto amet."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_cd9333f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Sit labore consequatur in. Incidunt laboriosam cumque ea magni nihil. Dolores quia qui neque quibusdam. Fugiat facilis aliquam rem est tempore.", "Eos eligendi quis unde molestiae. Tempora illo vel. Unde culpa aut quibusdam."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_cd9333f8"], ["title", "Libero ipsa sed rerum aut consequatur."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f7bbb0a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Ea velit quia consequuntur veritatis. Fugiat et eos quo itaque non odit. Quod aliquid suscipit dolore rerum quia voluptatum aut. Ab est quo rerum. Ut totam quod et repudiandae dolorem officiis.", "Fugiat et placeat. Voluptatibus a quis. Vel sed consequatur. Itaque animi fugit ad. Nihil cupiditate quaerat."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_f7bbb0a7"], ["title", "Rerum aliquid a voluptates magnam et reiciendis."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_01c457fd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quisquam deleniti ut doloremque nesciunt. Earum error non porro aut hic. Qui a recusandae autem. Qui voluptatum mollitia. Adipisci voluptatem et.", "Ipsum aspernatur aut placeat. Eaque sed odit corrupti repudiandae adipisci enim. Molestiae qui et tenetur sequi aut dolorum."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_01c457fd"], ["title", "Voluptatem occaecati sed dolorem asperiores culpa."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_59e5aa4a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Eius esse quam ea perferendis omnis provident quasi. Aliquam facilis aspernatur fugit ipsum cupiditate. Sequi quis tenetur minima facilis tempore quam doloremque.", "Ut odit consequatur est assumenda aut et. Et et qui alias rerum minima at et. Impedit laudantium aut dolore corrupti fugit. Quod et blanditiis et omnis molestias sapiente pariatur."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_59e5aa4a"], ["title", "Occaecati id quia ut."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5b3ddc13') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Inventore ut facilis. Facere perspiciatis expedita quo. Dolorum est temporibus qui enim in. Aspernatur quisquam eligendi eos.", "Consequatur quo quia sint. Nisi reprehenderit facere tempora nihil harum molestiae. Autem minima eius fuga consequuntur consequatur."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_5b3ddc13"], ["title", "Architecto in pariatur vel blanditiis."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_79593907') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["In nesciunt tempore sint officiis. Hic quis rerum dolores. Eos eligendi eum modi distinctio dolore.", "Qui nesciunt praesentium consectetur unde. Fuga laudantium officiis doloremque ut. Et iusto ut voluptas."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_79593907"], ["title", "Blanditiis reprehenderit cupiditate."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_6e65b703') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quia perspiciatis non quaerat optio aut libero delectus. Explicabo quidem modi et enim sed. Blanditiis est omnis. Consequatur vel itaque cum laudantium consequatur.", "Consequatur id molestiae maxime est voluptas. Et molestias recusandae. At corporis veniam repellat quod dolorum quia. Autem architecto facilis voluptate corrupti vero saepe quasi."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_6e65b703"], ["title", "Reprehenderit quis tempore saepe."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2b852b30') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Voluptatem quidem consequatur exercitationem illum facere doloribus. Quos quasi delectus optio est laborum. Voluptatum officiis et alias repudiandae exercitationem dolor expedita. Aspernatur amet repellendus labore nesciunt debitis ut.", "Dicta ut saepe ut adipisci odit. Enim eos quidem error aut iste minus quas. Possimus culpa et ipsa aperiam quia impedit placeat."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_2b852b30"], ["title", "Voluptatem reprehenderit id."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_310b493e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Earum omnis in et voluptates qui. Voluptas voluptas et et maxime. Fugiat recusandae occaecati unde ipsam.", "Exercitationem error illum voluptas et nobis explicabo qui. Inventore vero aut accusantium atque tenetur a sed. Omnis consectetur et. Et aliquid quidem vitae molestiae magnam. At exercitationem sequi porro fuga et perspiciatis officia."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_310b493e"], ["title", "Rem nemo iure."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_addb513a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Ea vitae et voluptas reprehenderit mollitia voluptate impedit. Dignissimos perferendis voluptatem doloremque aut eaque repellendus. Qui porro iure alias rerum. Ipsa tempora sit ab quasi debitis ut dicta. Nostrum enim magnam iste placeat voluptas et at.", "Explicabo facilis laboriosam magni. Nostrum qui temporibus itaque dolores consequatur explicabo labore. Corporis officia nam."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_addb513a"], ["title", "Commodi sit dolores enim."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_89d7c6c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Dolorem qui ut aperiam praesentium est. Ducimus maiores et consequatur suscipit. Iste facilis optio.", "Sit repudiandae magnam praesentium. Dolorem enim veritatis culpa molestias sed tempore. Ut voluptas corrupti reprehenderit minima. Voluptas consectetur cupiditate explicabo et quod. Officiis rerum perferendis."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_89d7c6c0"], ["title", "Et alias quia corporis."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_a0af8171') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Asperiores eum eveniet voluptatem voluptas. Eos optio velit et officia repellendus et. Ipsam voluptas velit totam nobis.", "Hic et doloremque et maiores omnis eius. Amet quia nihil cupiditate aut qui. Vitae ad maxime ut sit sit tempore."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_a0af8171"], ["title", "Neque rerum nulla qui voluptates."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_0b1c64af') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quaerat fugiat rerum consequuntur maxime omnis. Sequi rerum rerum natus dicta. Repellat praesentium laboriosam iure qui. Reprehenderit amet enim nulla et aut atque necessitatibus.", "Deleniti qui facere nostrum earum tenetur. Voluptas minus animi. Voluptatibus libero sequi consectetur. Expedita ut minima blanditiis."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_0b1c64af"], ["title", "Et qui nam amet reprehenderit."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5cfed3a2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Sed aliquid autem facere. Fugiat temporibus ipsum est laudantium nulla quia. Iure quasi at aut et velit. Id qui et soluta molestiae.", "Et enim officia veritatis eaque. Doloribus facere et molestiae. Vel accusantium totam doloribus tenetur. Dolorem blanditiis quidem mollitia."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_5cfed3a2"], ["title", "Non natus nihil est placeat eum ex itaque."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2e05b61a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Labore odio nihil. Velit nisi nesciunt quod quisquam ut. Laboriosam dolore labore. Autem voluptas assumenda enim enim quaerat repellendus. Dolorem dolorum maiores.", "Ad sapiente distinctio voluptas iusto non. Doloremque neque quo quidem in. Corporis aut et harum ipsa similique sint. Incidunt ratione quam in. Quis explicabo modi a eum at sint."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_2e05b61a"], ["title", "Voluptate dolores facere."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2f9af3bb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Hic omnis ex officia nam pariatur consequatur. Vitae ut voluptas distinctio sit. Rem quisquam excepturi velit. Quis rem ad ab numquam rerum.", "Omnis a ad sequi sed. Molestiae et dolorem porro odio quo iure aut. Et velit quo adipisci ipsam et ipsa consequuntur. Et id ea nulla quis vel. Quo explicabo qui occaecati exercitationem."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_2f9af3bb"], ["title", "Id quia quis minus."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_af12c96f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Dolorem quod eum soluta expedita. Aperiam quisquam et necessitatibus repellendus laudantium. Voluptatem maiores id consequatur doloribus laboriosam. Sit aperiam soluta et.", "Molestiae cupiditate dolorem. Quis itaque suscipit illum qui ad eum. Ab ut itaque praesentium rerum sint quod. Distinctio dolorem aut est a voluptates autem. Hic maiores temporibus quo commodi voluptas possimus amet."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_af12c96f"], ["title", "Dolor ex rem voluptatibus nisi minima tenetur."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_16b05179') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Laudantium consequatur id repellat. Cum numquam dignissimos ab. Sed magnam sit natus nostrum nisi explicabo in. Velit necessitatibus maxime pariatur occaecati ex nesciunt. Amet enim porro reiciendis.", "Omnis dignissimos officiis ad. Qui ut expedita porro tempora molestiae tenetur accusamus. Et neque officia aut. Inventore omnis vel officia in labore. Doloremque nam delectus ipsum."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_16b05179"], ["title", "Iure quia esse velit praesentium repellendus et nihil."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bc79d7dc') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Nulla voluptatum corrupti animi eius culpa libero placeat. Recusandae aut nihil corporis asperiores. Est et consequuntur enim quia dolore eos ut. Corrupti ad et est perspiciatis officia. Dolore velit qui tempore cupiditate.", "In sit magnam eveniet quo ut magni et. A exercitationem eaque nemo nihil deleniti ut. Molestiae omnis omnis impedit."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_bc79d7dc"], ["title", "Laborum neque ullam dignissimos doloremque itaque."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Sequi vitae blanditiis et eos sunt quasi sit. Voluptatem temporibus ut. Cum ut accusamus quaerat enim itaque deleniti voluptates.", "Itaque modi repellendus occaecati vitae nihil id consequatur. Fuga perferendis id iusto nihil unde labore. Nulla eum non in. Deleniti consequuntur aut deserunt exercitationem quos ut."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "alpha"], ["title", "Cumque consequuntur dignissimos occaecati nesciunt."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Corrupti recusandae illo in. Sit dolorem distinctio. Aliquid ut sapiente repellat autem veniam. Laboriosam vitae similique facilis et.", "Qui nemo velit eius sint. Molestiae fugiat occaecati ullam. Non eius nesciunt natus aut eveniet. Qui mollitia dolor rerum at. Iste sint ut."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "alpha"], ["title", "Aliquid voluptatem est."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Molestiae quas inventore incidunt. Nisi et necessitatibus nihil. Earum cupiditate recusandae ut quod officiis minima commodi. Assumenda beatae quae. Voluptatem magnam et ducimus velit repellat.", "Ipsa magni tempora molestias soluta. Aperiam ut natus rem. Quam nisi temporibus culpa. Ducimus perspiciatis laborum deleniti."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "alpha"], ["title", "Inventore magnam maiores excepturi ab ex fugiat autem."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5ac64ded') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Iusto ullam ut rerum iure reiciendis sint. Quis est eum assumenda. Quo qui error accusamus dolorem nesciunt dolore autem. Molestiae culpa odio nam officia ex rerum. Distinctio dolore eos qui nobis officiis consequuntur.", "Adipisci dolorem qui beatae delectus ut temporibus sequi. Dolorum ut asperiores aspernatur ducimus consequatur. Repellat illo perferendis blanditiis optio laborum consequatur provident."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_5ac64ded"], ["title", "Hic id porro optio."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_509ee648') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Qui repellendus reiciendis quis explicabo. Est et voluptas velit at ut. Magni in vitae tempora eum.", "Est velit quis eveniet totam. Mollitia dolores ullam exercitationem dolor eos. Est qui aliquid omnis placeat dolorem. Sequi voluptas voluptatum provident sapiente eligendi qui non."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_509ee648"], ["title", "Voluptatum qui eum iure in blanditiis officiis."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bd2b3ca9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Eius quos sed et nulla incidunt. Ducimus veniam ut sint. Tempora qui voluptas ullam id quos.", "Qui earum voluptas libero. Id nam soluta vel quidem. Cumque quo illum quasi ducimus. Consequuntur molestiae earum nulla perferendis possimus sit minima."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_bd2b3ca9"], ["title", "Repellat non quos et est enim et."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0727b094') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Et provident quo et. Dolor aliquam beatae. Debitis laudantium est magnam ad porro aliquam aut. Sequi temporibus sapiente enim. Laboriosam atque ipsam et laborum eius.", "Qui qui eum ut dolorum ipsam voluptatem. Ab beatae distinctio corporis sed. Beatae a ea natus eveniet aut tempore aliquam. Consequatur corporis ut enim nobis omnis."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_0727b094"], ["title", "Et ducimus quae provident odio illo et."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_8eafea46') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quo beatae iste sunt cum. Quo in iste est est exercitationem atque. Ipsa assumenda quisquam ab sequi accusamus est nisi. Commodi ut autem.", "Quia ut voluptatibus in ab adipisci. Veniam in dolorem et maxime eum nostrum. Enim veritatis sed perferendis nihil quisquam saepe nemo. Vel occaecati ab fugiat autem. Aut at quisquam soluta."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_8eafea46"], ["title", "Delectus suscipit quia libero repellat alias."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_c7f60580') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", ["Quis atque id quia. Natus itaque similique eaque eligendi fuga fugiat. Autem ad quasi adipisci et. Modi sint maiores eum non quia veniam.", "Dolorem porro ad beatae qui molestiae. Iure nulla quis. Beatae ut maiores temporibus."]], ["created_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00], ["name", "contract_c7f60580"], ["title", "Ducimus veniam ut et non repellendus quo quibusdam."], ["updated_at", Fri, 07 Mar 2014 20:13:53 UTC +00:00]] TypeError: can't cast Array to text: INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_a46e1601') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis aut dolorem laboriosam et. Mollitia aspernatur sint est veniam autem. Dolor non velit unde. Ut repudiandae aut qui. Blanditiis quaerat dolor ut dolores eius iure.\", \"Id quia quo odio. Harum magnam doloremque. Voluptas sint ad natus voluptas delectus id. Temporibus est nisi repellendus tenetur exercitationem.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_a46e1601"], ["title", "Ut voluptate molestiae labore inventore ullam voluptatum."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a46e1601"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a46e1601') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a46e1601"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_a46e1601') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_6f5d1845') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit dolore nihil adipisci voluptatem eum dolorem quia. Id sit et quidem quod. Esse necessitatibus quasi a. Omnis sed facilis laboriosam.\", \"Ab aut occaecati sapiente distinctio. Incidunt suscipit dolorem iste repudiandae dignissimos omnis quis. Voluptatem aut sint. At blanditiis labore minima error laudantium. Ipsa rerum sed.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_6f5d1845"], ["title", "Enim voluptas quibusdam odit laudantium ut."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_012d6b5b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum voluptas expedita non. Ut maiores dolor iure quod nesciunt quia. Aut a aut corporis et et quis. Et fugiat sunt perspiciatis quae et vero modi.\", \"Tenetur ut aut a aut. Quia voluptatem assumenda recusandae. Reprehenderit reiciendis in libero quo rem. Eum voluptatem necessitatibus fugit voluptatum inventore aliquid. Distinctio veniam aut sunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_012d6b5b"], ["title", "Incidunt repellat sunt facilis."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0c2f1c69') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea eligendi qui. Voluptatem dolorem voluptas et ea. Dolorum recusandae quisquam adipisci nihil totam. Perspiciatis nesciunt dolorem et.\", \"Dolorum velit velit. Labore iure aliquam dolores expedita fugiat qui sed. Earum maxime laboriosam rerum nostrum. Placeat sunt ea et ut animi assumenda et.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_0c2f1c69"], ["title", "Qui soluta alias est provident."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_72fc5ecf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium delectus sit quo saepe. Cum omnis necessitatibus. Modi occaecati consectetur facilis veritatis recusandae veniam. Laboriosam natus et dolores tempora magnam doloremque facere.\", \"Tenetur quis expedita possimus in illo reiciendis nisi. Quasi nihil a nostrum illo. Similique sunt expedita dolorem incidunt. Libero dolorum adipisci ipsam consectetur debitis iusto.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_72fc5ecf"], ["title", "Sint facere facilis tenetur."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9815e680') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam quod et. Odio iure neque illo ut reiciendis in aut. Sunt sed ex. Sunt molestiae dolores. Et voluptatem consequatur voluptas assumenda alias.\", \"Iure harum et. Dolores voluptatem pariatur saepe quia. Facere beatae veniam quam error qui. Facere asperiores aut nihil voluptatum et voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_9815e680"], ["title", "Explicabo ut aut dolorum quasi incidunt."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (5.7ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9815e680"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9815e680') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1433234e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi qui debitis pariatur aut assumenda repellendus repellat. Perspiciatis culpa omnis. Aut nisi quia dolor fugiat magnam aliquam.\", \"Magni et nostrum nemo. Iusto aliquid quisquam. Quas est ipsam ut. Aspernatur voluptatem corporis quam.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_1433234e"], ["title", "Omnis quis expedita deleniti eaque sed."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b79fb1dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem similique sequi dolor error expedita quia deleniti. Assumenda natus sunt ea eos omnis. Illum sunt repellat.\", \"Corporis amet consectetur assumenda perferendis. Voluptate atque odit. Totam ipsa harum alias. Enim quia velit qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_b79fb1dc"], ["title", "Deleniti quos cupiditate molestiae."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1ef7f2e4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut delectus animi est magni ipsam tempora laboriosam. Doloribus atque accusamus minima optio voluptatum ratione. Sed nulla consequuntur qui nam quia et et. Occaecati magnam ratione beatae qui.\", \"Ut ut et consequatur sapiente. Dolorum unde deleniti sed porro impedit. Molestiae deserunt et sint modi dolorem et. Ut nam veritatis unde eius. Repellendus cupiditate optio et.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_1ef7f2e4"], ["title", "Temporibus praesentium ducimus cum."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1ef7f2e4"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1ef7f2e4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_49b8047f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut autem voluptatem ut. Libero suscipit consequatur alias a earum maxime. Molestiae et perferendis deserunt vel suscipit. Aut adipisci quam consequatur id ut magnam. Recusandae nulla consequatur dolorem sit eligendi ea esse.\", \"Beatae ea non. Perferendis nisi ullam dolorem aut dicta magnam. Ab quasi itaque nam repellendus. Id debitis qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_49b8047f"], ["title", "Quia ipsa ex."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_91a17c83') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis et eos reprehenderit laborum. Qui ipsum commodi quibusdam ut reiciendis. Ut rem praesentium libero aperiam fugiat.\", \"Aut voluptatem sunt sint voluptas aut ut. Veniam nam aliquid omnis excepturi omnis. Reiciendis eos praesentium et animi ipsum laborum. Aliquam exercitationem quos enim dolores. Optio aut hic itaque id voluptatem facere.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_91a17c83"], ["title", "Qui dolor molestiae."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_91a17c83"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_91a17c83') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f6cd2606') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta necessitatibus ipsam. Doloribus ratione accusamus odit nobis vel excepturi. Delectus deserunt consequuntur. Asperiores nostrum at provident sequi aut omnis sed.\", \"Maiores quas nesciunt iste ea debitis reiciendis. Tempora odio suscipit id. Dolorem soluta unde vel voluptas autem. Molestiae voluptatibus officia quam dolores porro quaerat.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_f6cd2606"], ["title", "Et aut iste et non doloremque laudantium."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_93f098dd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia corporis incidunt nihil architecto vero voluptatibus rerum. In debitis quia libero consequatur id inventore. Ut non aut.\", \"Aut ut voluptates illo. Laborum provident et quaerat aut adipisci eum illo. Officia deserunt voluptatibus. Quia sint expedita.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_93f098dd"], ["title", "Amet et voluptas."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e5151bdd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui vel molestias expedita et quis. Ut consequatur sunt et autem ipsum ea. Est fuga voluptatum exercitationem tempore. Amet consequatur laboriosam doloribus quos. Ut quasi quaerat.\", \"Fugiat adipisci incidunt aut. Est corrupti ut. Aut qui voluptates sequi incidunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_e5151bdd"], ["title", "Harum amet distinctio labore autem sit illum alias."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (1.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_e041eb97') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus natus eius voluptates temporibus aliquam rerum. Et et sequi laudantium neque repudiandae quo. Ea sit ut non est debitis. Qui voluptas consequuntur architecto eligendi numquam laborum cupiditate.\", \"Ex necessitatibus facilis sed aut. Adipisci recusandae rem qui commodi et quam. Occaecati et laborum dolorem perspiciatis saepe nesciunt sed. Id earum debitis. Aliquid ut quia perspiciatis autem eum quam et.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_e041eb97"], ["title", "Eaque incidunt alias."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_89debe88') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus quasi at modi. Qui porro necessitatibus fuga. Ut ut unde voluptate voluptatem enim modi.\", \"Soluta aut ex itaque sit minima quo. Ex fuga aut dolorem tempora in. Expedita sed vero.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_89debe88"], ["title", "Quia unde voluptatem et nulla praesentium et."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_527f36a7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit consequatur iusto aut sapiente. Non assumenda id eveniet ut laudantium aut. Et voluptatum aut in non aut.\", \"Recusandae cumque magni iste deserunt possimus. Et et sint et unde dolorem. Maxime aut nemo vel alias quasi in sed. Veritatis harum non. Temporibus autem sed veritatis magnam.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_527f36a7"], ["title", "Soluta sit voluptas omnis voluptatem quis natus."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8ee372dd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et omnis tenetur. Neque harum voluptatem corrupti error eveniet est accusamus. Suscipit consectetur sed adipisci autem enim quisquam. Ducimus harum omnis libero sint accusamus omnis quo.\", \"Quos quod dolorem error rerum dignissimos aliquid. Sed qui voluptatibus consequatur sint minus repellendus. Error magnam enim voluptatem ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_8ee372dd"], ["title", "Suscipit inventore quia sunt optio ipsam et."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8ee372dd"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8ee372dd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8ee372dd' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt debitis ipsam unde. Distinctio id et. Ex in iure adipisci dolores et omnis temporibus. Dolorem repellendus officiis. Cupiditate qui repudiandae ea ex beatae nesciunt.\", \"Velit harum unde quisquam nihil et. Libero alias ab voluptatem voluptatibus iste. Pariatur totam rem qui. Molestiae ratione et inventore cupiditate quia eaque quia.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Aperiam vel a itaque rerum doloremque atque."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur et explicabo quia sapiente. Quo enim molestiae tempora. Sed rem fugiat architecto.\", \"Sed et nisi est. Omnis corrupti libero quas qui ipsum. Quaerat est voluptate.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "beta"], ["title", "Aliquid ut voluptas nemo cupiditate ex."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Aperiam vel a itaque rerum doloremque atque."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque ea minima eligendi vel. Pariatur sed nihil repellat blanditiis. In enim sunt. Mollitia sint dicta molestias sit dolor enim doloribus.\", \"Corrupti consequatur quisquam id repudiandae. Temporibus numquam qui ad qui consectetur assumenda et. Veniam doloremque voluptatum voluptatem maiores soluta.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Sed sed illum fuga molestiae maiores aperiam sunt."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi quidem sit. Est sed qui aliquam explicabo saepe eos reprehenderit. Iusto alias quaerat sit rerum. Optio pariatur qui qui quaerat numquam ut. Accusamus tempora eligendi iste.\", \"Optio accusantium blanditiis nihil et sit. Laboriosam sit voluptatem enim nisi error provident. Et expedita fugit dolores provident voluptatem id maxime. Iste in animi a corporis aut tempora. Maiores deleniti laborum accusantium nobis.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "beta"], ["title", "Est nobis ea quia vel ipsa quo."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Sed sed illum fuga molestiae maiores aperiam sunt."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quam ad et repellendus et. Iure doloremque tempora nihil reiciendis sed. Earum aut sint commodi. Esse soluta nesciunt labore. Enim pariatur sint ratione et.\", \"Corrupti quaerat possimus quo excepturi quam aut. Deserunt possimus dolorem. Ut eligendi earum.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Omnis recusandae et quasi vero."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia corporis occaecati quisquam harum suscipit deleniti et. Iusto explicabo architecto et accusantium culpa. Qui rerum eos eum sed. Repudiandae et voluptatum.\", \"Quisquam enim doloribus sed sapiente dolorum officia. Repellendus beatae praesentium voluptas distinctio. Facilis sed aut doloremque. Optio nobis neque et libero aut. Ut consequatur placeat.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "beta"], ["title", "Ea odio officia provident perspiciatis."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "alpha"], ["title", "Omnis recusandae et quasi vero."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_5d507920') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem tempora voluptate corrupti. Cumque deleniti eveniet consequatur ab esse. Sit ullam enim. Voluptas fuga amet ea. Et soluta molestiae exercitationem et tempore quibusdam ratione.\", \"Labore et asperiores quia rerum vitae omnis. Nihil similique minus et recusandae necessitatibus. A voluptas molestiae. Aut modi qui assumenda deleniti omnis repellendus. Unde et non et minus praesentium facilis sit.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_5d507920"], ["title", "Reprehenderit consequatur quisquam ab ullam dolorem dolore."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_227926d9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus quis aut autem harum assumenda magnam maxime. Reiciendis hic aut vero eum rerum numquam enim. Repellat aperiam dolor voluptatem natus. Impedit facilis veniam consequatur distinctio. Consequatur exercitationem maiores dolorem et a.\", \"Culpa doloribus incidunt ratione doloremque in delectus libero. Dolores vel necessitatibus consequatur. Rerum aliquid pariatur sint corporis enim sequi. Nihil et porro quis voluptates sed alias omnis.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_227926d9"], ["title", "Qui voluptatem cum."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_227926d9"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_227926d9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_847c39eb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ab quia et ea excepturi perspiciatis sequi. Voluptates consequuntur nostrum ullam. Ut quidem voluptate quam velit. Et sapiente exercitationem eum qui libero fugiat. Non fugiat nemo consequatur.\", \"Aut beatae mollitia inventore est ea. Dolores labore et explicabo eius libero. Impedit vitae expedita. Eum dolorem dolorum pariatur ullam ea.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_847c39eb"], ["title", "Ullam omnis cumque esse ex temporibus nisi."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_847c39eb"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_847c39eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_0c524139') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla et molestiae consequatur qui quia neque voluptas. Est suscipit et. Assumenda id dolorem magnam enim recusandae vel.\", \"Fuga quod corrupti velit. Fuga recusandae accusamus laudantium nam aut quasi magni. Eligendi optio quo quos repudiandae. Inventore unde dolores. Quia eius rerum et et voluptatem qui facilis.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_0c524139"], ["title", "Aut ut et."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0c524139"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0c524139') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0c524139' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_0c524139') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla et molestiae consequatur qui quia neque voluptas. Est suscipit et. Assumenda id dolorem magnam enim recusandae vel.\", \"Fuga quod corrupti velit. Fuga recusandae accusamus laudantium nam aut quasi magni. Eligendi optio quo quos repudiandae. Inventore unde dolores. Quia eius rerum et et voluptatem qui facilis.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_0c524139"], ["title", "Aut ut et."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0c524139"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_0c524139') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_6d0c8788') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut incidunt et totam inventore et voluptatem. Ab quisquam earum. Nesciunt soluta quis exercitationem praesentium optio dignissimos. Eaque aliquam animi voluptates quod. Vitae ipsam amet.\", \"Natus ea dolores vel. Aliquam perferendis voluptate officiis et sunt qui reprehenderit. Dolorem sed ducimus maxime quia.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_6d0c8788"], ["title", "Ipsum modi earum voluptas temporibus illum."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_6d0c8788"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6d0c8788') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_6d0c8788"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6d0c8788') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_6d0c8788"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b3e78ec8') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quaerat ut in est quis. Omnis non et labore autem incidunt in impedit. Nostrum temporibus qui nesciunt est id quos minus. Voluptatum error hic qui magni eos autem doloremque.\", \"Voluptates est placeat ducimus aut quia dolore id. Omnis soluta voluptatem reiciendis nesciunt voluptas et. Dolores est sit. Est laboriosam temporibus et molestiae qui in vitae. Accusantium id quod quia.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_b3e78ec8"], ["title", "Commodi accusantium magnam tenetur nostrum maxime ea."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b3e78ec8"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b3e78ec8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_b3e78ec8"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_b3e78ec8"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_b3e78ec8"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_b3e78ec8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_d576c704') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis rem ullam natus enim. Perspiciatis quasi dignissimos doloribus nisi autem molestias autem. Est eaque qui. Perspiciatis nihil in eveniet eaque nobis. Ipsam quo harum ducimus ut.\", \"Autem dolorem qui perferendis repudiandae excepturi ab. Cupiditate dolorum saepe. Voluptate quia non voluptatem eos.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_d576c704"], ["title", "Corrupti eius impedit vero nobis iure."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d576c704"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d576c704') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d576c704' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis rem ullam natus enim. Perspiciatis quasi dignissimos doloribus nisi autem molestias autem. Est eaque qui. Perspiciatis nihil in eveniet eaque nobis. Ipsam quo harum ducimus ut.\", \"Autem dolorem qui perferendis repudiandae excepturi ab. Cupiditate dolorum saepe. Voluptate quia non voluptatem eos.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "joe"], ["title", "Corrupti eius impedit vero nobis iure."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_62bffc4c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam corrupti amet quia ipsa et nam. Occaecati qui et ut. Nulla iste quia ab rerum omnis. Iste voluptatem aut est consequuntur eos. Est ea sunt totam consequatur aliquam quia quibusdam.\", \"Illo fuga explicabo labore id. Voluptas in deleniti hic necessitatibus non asperiores repellat. Porro odio mollitia voluptas et. Ea magni distinctio.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_62bffc4c"], ["title", "Cum eos culpa est rerum dolores."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_62bffc4c"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_62bffc4c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_d6a8dd8a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea voluptatibus id odio. Deleniti commodi cupiditate aut quos excepturi blanditiis. Non quo asperiores atque tenetur excepturi magni sequi. Et esse sed. Asperiores deleniti modi.\", \"Sit earum perspiciatis ut mollitia tempore eos qui. Unde animi qui. Non ut laboriosam voluptatibus consequatur. Inventore sit aut dolor eligendi debitis. Officia non quam ea reiciendis sint libero.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_d6a8dd8a"], ["title", "Magnam odit sequi commodi earum."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d6a8dd8a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d6a8dd8a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b73f9d6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere asperiores ut quod neque. Et accusamus voluptates fugiat. Quae quasi aut.\", \"Rerum et qui pariatur ut ratione rerum debitis. Nam officia eos id exercitationem dolores consequatur. Praesentium molestias maiores laboriosam dignissimos error assumenda. Eos quos hic. Ad similique suscipit sunt et.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_b73f9d6d"], ["title", "Voluptate praesentium quis."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b73f9d6d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b73f9d6d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7f7a9d85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem quasi enim dolores vitae et. Autem et inventore quaerat modi. Rem voluptatum enim et iusto quaerat.\", \"Magnam ipsum est non et quod quo. Sapiente quis magnam temporibus sunt exercitationem quia deleniti. Sequi quia temporibus et consequatur fugit modi dicta.\"]"], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["name", "contract_7f7a9d85"], ["title", "Laborum sunt quia tenetur laboriosam."], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_7f7a9d85"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_7f7a9d85') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:17:03 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_2561f2c1') LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam quis pariatur consequatur. Dolore error ea soluta totam et. Molestias ad ipsam iste quasi omnis aut. Doloremque qui consequatur. Ipsam aliquid autem.\", \"Debitis deleniti est. Sit aperiam quo doloribus quisquam dolore dolorum. Doloribus facere deserunt qui provident voluptas voluptatibus voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_2561f2c1"], ["title", "Unde eum expedita amet."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_2561f2c1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2561f2c1') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_c126ca92') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis dicta porro nesciunt. Delectus odit velit neque. Est et aut at odio consequatur quam. Quisquam animi deleniti et sequi et corrupti. Deserunt voluptates quod debitis facilis.\", \"Molestias suscipit temporibus. Ut dolorem fugit quo rerum occaecati. Voluptatem quas ex labore est aliquam. Reprehenderit quidem sint.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_c126ca92"], ["title", "Eum omnis officiis dignissimos voluptas unde."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_4cd7dae0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur alias autem aut nemo sit fugit. Aut corporis minus unde. Et aspernatur corporis.\", \"Modi minus sed recusandae error voluptas. Voluptas aut quisquam et iure. Qui repudiandae optio quia. Quidem molestiae sint voluptatum. Ut ut ut facilis.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_4cd7dae0"], ["title", "Et et assumenda."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_4cd7dae0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_4cd7dae0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_312abea0') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error debitis optio. Magnam voluptate veniam consequuntur. Aspernatur nemo dolores qui.\", \"Quis aut ullam quo est. Recusandae adipisci quia nobis voluptas. Consectetur impedit recusandae adipisci eius perspiciatis. Adipisci earum optio fugit sit omnis. Asperiores qui dolorem amet dolorum id.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_312abea0"], ["title", "Quisquam voluptas voluptatibus dolor et."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_312abea0"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_312abea0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_312abea0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error debitis optio. Magnam voluptate veniam consequuntur. Aspernatur nemo dolores qui.\", \"Quis aut ullam quo est. Recusandae adipisci quia nobis voluptas. Consectetur impedit recusandae adipisci eius perspiciatis. Adipisci earum optio fugit sit omnis. Asperiores qui dolorem amet dolorum id.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "joe"], ["title", "Quisquam voluptas voluptatibus dolor et."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_99b6dcf1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi necessitatibus et minus. Non aliquam doloribus sed. Facere cumque accusantium adipisci provident in numquam eos.\", \"Sunt sunt qui similique omnis beatae ea quae. Iure totam eius ullam distinctio rem aut ipsum. Quam voluptas maxime suscipit cumque blanditiis. Dolorem sequi ullam praesentium doloribus et necessitatibus.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_99b6dcf1"], ["title", "Ab quod reprehenderit ut mollitia."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_99b6dcf1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_99b6dcf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_99b6dcf1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_99b6dcf1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_99b6dcf1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_99b6dcf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_5de8f598') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit consequatur totam qui. Libero quas ullam. Quia ducimus est. Vel ratione nihil reprehenderit libero quibusdam. Omnis omnis voluptas eos voluptate nihil itaque sit.\", \"Sed aliquam accusamus suscipit. Est id qui esse. Eveniet id veniam ducimus qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_5de8f598"], ["title", "Atque voluptatem labore odio explicabo et et sapiente."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5de8f598"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5de8f598') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_5de8f598"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5de8f598') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_5de8f598"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_18affa46') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet atque commodi omnis laudantium quo. Molestiae expedita quibusdam enim dolor sunt excepturi. Sit sunt qui voluptas perspiciatis non sit numquam. Qui nulla et earum quo quis. Porro enim cumque omnis.\", \"Rerum similique doloribus quam harum velit. At quos quis officiis pariatur perspiciatis. Dolor optio quaerat dolorem eius nihil quo totam.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_18affa46"], ["title", "Ratione dolores laboriosam fuga culpa."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_18affa46"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_18affa46') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_18affa46' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_18affa46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet atque commodi omnis laudantium quo. Molestiae expedita quibusdam enim dolor sunt excepturi. Sit sunt qui voluptas perspiciatis non sit numquam. Qui nulla et earum quo quis. Porro enim cumque omnis.\", \"Rerum similique doloribus quam harum velit. At quos quis officiis pariatur perspiciatis. Dolor optio quaerat dolorem eius nihil quo totam.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_18affa46"], ["title", "Ratione dolores laboriosam fuga culpa."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_18affa46"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_18affa46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ba819062') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi eaque magni. Eum et itaque blanditiis quod illum fuga. Error enim rerum deserunt ad nulla iste ut.\", \"Autem qui doloribus consequatur qui. Vel aut ipsum provident et dignissimos praesentium. Voluptatibus rerum quia nesciunt cum quasi.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_ba819062"], ["title", "Dolorem et itaque harum minus."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ba819062"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ba819062') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_82e40883') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium ut consequuntur. In voluptate velit aliquid consequatur optio. Quidem temporibus nihil nostrum consequatur.\", \"Minima nesciunt qui voluptatum officiis. Tempora qui nobis dicta est enim dolorem aperiam. Sit vel ullam sint non quae in nobis. Facere ipsum qui quis id. Iste doloribus necessitatibus et.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_82e40883"], ["title", "Harum officiis tenetur dolor."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_82e40883"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_82e40883') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b8447b2a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum labore tempora tempore est repudiandae explicabo. Voluptas quos natus itaque quaerat et voluptatem inventore. Doloribus voluptates adipisci provident et.\", \"Dolor perspiciatis atque et dolorem enim nobis cum. Quis dolorum suscipit laudantium deleniti nobis aliquid veniam. In similique mollitia quos illum.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_b8447b2a"], ["title", "Et officiis assumenda asperiores omnis quas."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b8447b2a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b8447b2a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a046d647') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil dolores et. Possimus consequatur at nemo ratione enim fugiat. Omnis modi aut autem non provident consequuntur ipsum. Fugit eos recusandae. Sint maxime et illo.\", \"Quae praesentium exercitationem aut qui vel. Ut perspiciatis dolorum distinctio officia. Cum accusamus similique dignissimos dicta. Dolore et et accusamus aut excepturi eveniet.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_a046d647"], ["title", "Fuga neque amet ipsum inventore perspiciatis dolores non."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a046d647"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a046d647') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam ipsa qui et omnis fugit mollitia. Quidem magnam repellendus. Et non esse placeat eligendi. Iusto adipisci deserunt inventore explicabo. Velit quia libero.\", \"Enim voluptas autem sit. Doloribus voluptas illo qui blanditiis. Distinctio aut necessitatibus qui non saepe. Reprehenderit neque veritatis consequatur ut voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Sint itaque inventore qui odio."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero culpa enim alias. In corporis corrupti sed cupiditate. Reprehenderit sunt consectetur praesentium ea. Ut vitae et maxime optio et.\", \"Enim molestiae aut aut et animi sit. Quibusdam eaque illo doloremque. Rerum molestias aut ad voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "beta"], ["title", "Non quisquam at ut."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Sint itaque inventore qui odio."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi odit magni quod. Reiciendis et at accusantium. Voluptatibus nulla corrupti. Necessitatibus soluta laborum odit corrupti.\", \"Cum numquam rerum quae necessitatibus cupiditate ex. Dolorum eos velit possimus. Iure modi id.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Recusandae odit inventore blanditiis."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo adipisci nesciunt earum. Eius officia eligendi sit. Sed accusamus non voluptatum. Consequatur odio et aut iusto.\", \"Corporis praesentium molestiae et. Qui quia sint eaque excepturi ex dignissimos. Similique sunt odio voluptatibus labore.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "beta"], ["title", "Quibusdam eum vel."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Recusandae odit inventore blanditiis."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore quia fuga molestiae ut error. Rem fugit doloremque voluptatem. Voluptates dolores velit eos natus enim distinctio.\", \"Voluptatem aut quaerat est laborum itaque sit facere. Earum pariatur quo in sunt cum est sit. Neque nihil reiciendis minus et quia omnis occaecati. Inventore deserunt fugit nulla in doloremque. Dolores illum voluptatum ad qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Ex similique nemo alias tenetur quia qui."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem unde dolorum rem dolorem quis. Est voluptas nostrum iusto ut temporibus. Mollitia qui non dolores. Est eum fugit. Molestias et vel non dolor earum veniam reprehenderit.\", \"Quaerat omnis non sint quod et repellendus. Quam eius earum temporibus perspiciatis ad animi. Ut autem corrupti et quis voluptatibus quisquam enim. Aut iste omnis necessitatibus reiciendis. Qui et reprehenderit impedit voluptatem sed.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "beta"], ["title", "Accusamus et fuga quis iste labore amet."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "alpha"], ["title", "Ex similique nemo alias tenetur quia qui."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e5fdcf75') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus omnis et alias ut beatae eum corporis. Ut sed tempora a. Modi quibusdam omnis. Esse et eaque ullam. Aliquid aut nam iure voluptates.\", \"Et tempore ullam tenetur rerum voluptas dolorem neque. Consequatur optio et sint voluptas. Quisquam asperiores nobis dolores veritatis cumque quis. Delectus excepturi quae quasi atque natus aliquam. Ut expedita molestias molestiae aliquid.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_e5fdcf75"], ["title", "Quidem similique cum adipisci."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0b13f443') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia odit magni. Officia dolorem et aliquid omnis voluptas voluptatem sed. Quam sed eos nam voluptatem corrupti.\", \"Odio natus repellendus. Alias qui enim nostrum cumque ducimus ratione odit. Deleniti quis dolores nihil eaque. Voluptates aut nostrum deleniti facilis.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_0b13f443"], ["title", "Nesciunt sint numquam."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c7eaca22') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis sed saepe quis quo. Nihil veritatis similique voluptates vitae. In et fuga rerum consectetur et tempora. Eius officiis neque maxime adipisci. Itaque suscipit qui ex aliquam qui nihil.\", \"Eaque repellat ut. Quia hic excepturi esse maiores dolore et. Deserunt velit itaque molestiae aliquid dolores occaecati. Accusamus commodi omnis repellendus voluptas ut. Et quia modi in nihil quasi consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_c7eaca22"], ["title", "Et ad perferendis qui."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_c7eaca22"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_c7eaca22') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c7eaca22' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_015826fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error voluptates asperiores iusto sit. Voluptatem ducimus laborum. Dolor mollitia sit nihil qui excepturi nulla.\", \"Dolore doloribus pariatur libero perspiciatis. Et perspiciatis consequatur aut ut. Laboriosam quia enim sit soluta sunt exercitationem. Tempora fugit atque voluptatem vero asperiores quo sed.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_015826fe"], ["title", "Maiores ipsa aperiam."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_08afc800') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam nihil necessitatibus reiciendis esse et modi deleniti. Est repellat aspernatur dicta sed ut similique dolor. Esse iusto aut delectus labore alias. In delectus accusantium dolor alias eius. Voluptatem fuga maxime consequatur quia voluptatibus cumque fugit.\", \"Aut aut quis quam doloremque alias fugiat a. Sit beatae minus accusantium et vel sed est. Quia doloremque qui quam illum.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_08afc800"], ["title", "Hic id ex sint ut."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f954aaed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error eum esse. Rerum est aspernatur. Rerum aut molestiae et.\", \"Quia dolor possimus. Qui eligendi est suscipit tempore officiis ad quo. Iusto saepe nihil aut quo nam quaerat sunt. Omnis esse ad deserunt. Esse qui voluptas numquam consequuntur commodi.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_f954aaed"], ["title", "Ratione architecto dicta."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_8c253d55') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora aut expedita. Blanditiis minus adipisci aliquid a voluptatem ratione. Ab nostrum quos distinctio nobis est. Ut rerum aut voluptatem nisi dolorum. Itaque tenetur harum in.\", \"Et eos magnam expedita. Qui dolor et iusto non. Tempora quis doloribus sit in. Quos omnis odit aut id et reprehenderit consectetur.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_8c253d55"], ["title", "Quibusdam consequatur sit modi perspiciatis dolorem hic."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_738db85d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore non voluptatem recusandae iusto animi sit laudantium. Velit pariatur quia quia blanditiis corrupti ea consequuntur. Est consequatur itaque. Consectetur ducimus nihil in eligendi dicta. Et quis aspernatur ut quos explicabo id dolores.\", \"Accusamus beatae quis. Eum reiciendis neque. Nulla quia iure.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_738db85d"], ["title", "Quidem assumenda cum rerum nisi illo."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_738db85d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_738db85d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_fca294a1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt repudiandae molestiae nostrum reiciendis. Quae fugiat facilis. Minus totam ut odit eum quis. Eaque molestiae aut quis non iusto.\", \"Eum neque sunt veritatis odit aut. Voluptas cumque molestiae. Ea et quibusdam. Est quod iste porro quos sit officiis. Error soluta quia et laudantium.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_fca294a1"], ["title", "Dolore ab ad ex laboriosam vero odio."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b6715448') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt rem consequatur repellat iste quidem similique quam. Dolor qui magni dignissimos exercitationem. Qui quo iusto quia quam omnis. Sed aut explicabo et et cum numquam ipsa. Temporibus debitis consequatur minus dolore quam sit.\", \"Sit totam consequatur natus velit minus sit exercitationem. Eos alias quo voluptates ea. Quos aliquid id voluptatem. Iste deleniti sit. Ut odit temporibus fugit perferendis.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_b6715448"], ["title", "Ut aut culpa libero aliquam voluptatem consequatur ab."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cebcf7c2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis quas facilis. Qui magni illo numquam cumque ad. Incidunt maiores suscipit enim et quos nobis. Et officiis et quo eveniet.\", \"Ipsam et neque. Ad impedit voluptate est amet occaecati. Quia et asperiores. Sit in eius.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_cebcf7c2"], ["title", "Qui quis aut id."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_248936be') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium voluptatibus sed ipsam natus ipsum. Eos occaecati atque odit. Voluptatem est necessitatibus quia et beatae velit molestias. Omnis laboriosam facilis et debitis eveniet.\", \"Rerum consequatur odio quam eaque. Voluptas quaerat neque eveniet dignissimos. Maiores molestiae amet ut exercitationem. Quo magnam qui quibusdam nulla et.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_248936be"], ["title", "Eius necessitatibus odit vitae consequatur voluptas sequi laborum."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_57c7cc19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint consequatur at laboriosam ut quia. Illo rem est delectus est similique. Iusto soluta est quibusdam. Voluptas quo reprehenderit quia. Voluptatem quia aut.\", \"Quis corrupti molestiae ipsa enim. Dignissimos nihil fuga porro. Odit minus quo exercitationem pariatur alias expedita. Enim vero ut assumenda ut aperiam. Velit ut sed hic ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_57c7cc19"], ["title", "Est odit quae aut voluptas velit incidunt vel."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1aba070d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci voluptas fuga atque non aliquam. Perferendis minus voluptas consectetur qui non quis blanditiis. Dolorem nihil nemo. Corrupti numquam error quae magni laborum. Veritatis vel voluptas quibusdam sed laborum omnis.\", \"Quos distinctio sunt. Atque tempore consequuntur. Consequatur distinctio voluptas earum tenetur sunt commodi. Est maiores soluta eaque quis iste.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_1aba070d"], ["title", "Et et eveniet aut consequatur quia mollitia."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1aba070d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1aba070d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1aba070d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_1aba070d') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3fd1c20a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus sint soluta quidem eum voluptates cupiditate sunt. Occaecati ratione accusamus aut. Culpa ducimus rem fugiat non. Officiis sunt rerum id eveniet. Eum praesentium expedita non distinctio ipsum aliquid dolores.\", \"Ut vel quis quas corporis in ducimus quibusdam. Enim eum consequatur. Corporis eos expedita non.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_3fd1c20a"], ["title", "Voluptatem eligendi velit rerum libero."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3fd1c20a"]]  (0.0ms) SAVEPOINT active_record_1 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_3fd1c20a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_9fb8b0a1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro est iusto voluptatum dicta voluptas. Deleniti fuga minus eveniet non. Aliquid unde sint non repudiandae odit sed molestiae. Nihil nisi veritatis ut est et eos. A adipisci non sint voluptatibus saepe dolor sunt.\", \"Ut veniam alias aut iure magnam totam qui. Esse et molestiae. Dolor autem aut est veniam.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_9fb8b0a1"], ["title", "Explicabo ut fuga officiis ut natus magnam."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9fb8b0a1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9fb8b0a1') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_6ebe864a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro qui corrupti voluptatem facilis. Excepturi iste omnis. Quia quod eum modi neque asperiores eligendi expedita.\", \"Repudiandae dicta quibusdam id nihil earum fugit. Rem minima atque aut cupiditate. Occaecati ut reprehenderit sunt aperiam. Doloribus id ipsa rerum impedit delectus sapiente.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_6ebe864a"], ["title", "Dolores omnis sed soluta ea ab ratione laudantium."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_a4cdc148') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil est numquam quia dolor. Eum eligendi laboriosam excepturi aut ipsam vitae. Sunt nemo error odit possimus vel modi. Beatae voluptas qui alias quod rem error. Omnis maxime et veniam non laborum maiores enim.\", \"Ipsum ea velit illum. Est perspiciatis saepe iste. Nemo blanditiis dicta perspiciatis nam ullam eos dignissimos.\"]"], ["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["name", "contract_a4cdc148"], ["title", "Autem molestias nihil placeat at labore et voluptatem."], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (5.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:40:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (2.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (9.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:26 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:26 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ec8fe97c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita iusto sed molestiae praesentium autem ea. Laudantium aspernatur aliquam voluptatem aut. Similique cumque nam nihil delectus voluptas. Non rem sequi repellendus est omnis.\", \"Sapiente esse doloremque quasi eius sunt tempore voluptas. Totam et deserunt neque sunt velit consequatur. Incidunt temporibus laborum doloribus id rem nihil. Corrupti et qui eaque nisi distinctio quo.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_ec8fe97c"], ["title", "Repellendus illo numquam."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ec8fe97c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ec8fe97c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_0c37045f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et accusantium tenetur molestiae labore saepe nihil qui. Quis natus voluptatibus minus magnam aut exercitationem non. Totam omnis et.\", \"Ratione sed adipisci voluptatem. Ut velit quia sed eius aspernatur voluptatibus incidunt. Perferendis quibusdam excepturi ut. Praesentium accusantium nisi error aliquid iusto qui consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_0c37045f"], ["title", "Aliquid a ullam."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0c37045f"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0c37045f') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bd71e827') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci sed repudiandae unde et voluptatem minima tempore. Ut ab aut incidunt aliquam quia. Quo molestias eveniet et itaque.\", \"Dicta architecto temporibus voluptatibus velit dolorem aliquid. Sit omnis deleniti quibusdam et cum. Expedita illum saepe voluptatem ut aliquid. Suscipit corrupti et. Nostrum aut qui quisquam commodi voluptas nisi ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_bd71e827"], ["title", "Libero et nemo dolor ut."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_bd71e827"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_bd71e827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a505a85e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit non assumenda et. Veniam nulla corrupti nesciunt voluptate est. Aspernatur quaerat eum illo hic totam suscipit omnis. Recusandae iure illum ab et natus. Voluptatibus corporis dolor et.\", \"Voluptatum repellendus unde at dolorem fuga. Officiis quaerat hic aut et consequatur. Est dolores eum quas et quos quam. Et ea et nihil velit deserunt qui. Eveniet similique in et eius voluptatem et vel.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_a505a85e"], ["title", "Ea dolorum omnis laborum ut."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a505a85e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a505a85e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_1d06c0c1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus quis impedit voluptas ad eius harum. Vero id maxime eius architecto. Sunt voluptatem repudiandae. Alias voluptas error est et eos.\", \"Voluptatem repellendus et rem. Quis voluptas neque. At ipsum reprehenderit est. Ut atque quia consequuntur aut nostrum culpa tenetur. Et aut illum.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_1d06c0c1"], ["title", "Eum magnam autem repellendus minus omnis."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1d06c0c1"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1d06c0c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1d06c0c1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_1d06c0c1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus quis impedit voluptas ad eius harum. Vero id maxime eius architecto. Sunt voluptatem repudiandae. Alias voluptas error est et eos.\", \"Voluptatem repellendus et rem. Quis voluptas neque. At ipsum reprehenderit est. Ut atque quia consequuntur aut nostrum culpa tenetur. Et aut illum.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_1d06c0c1"], ["title", "Eum magnam autem repellendus minus omnis."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1d06c0c1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_1d06c0c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_8e924bde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta magni id laudantium quo repellendus voluptatem delectus. Sit aperiam et modi suscipit aliquid a. Eveniet excepturi voluptatem provident voluptas. Facilis id iste delectus velit sint nisi. Culpa numquam odit.\", \"Magnam et est iusto pariatur molestiae. Corrupti et amet quisquam ducimus aut laudantium adipisci. Soluta rerum consectetur. Eaque sit ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_8e924bde"], ["title", "Ea corrupti sed."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8e924bde"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8e924bde') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8e924bde' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta magni id laudantium quo repellendus voluptatem delectus. Sit aperiam et modi suscipit aliquid a. Eveniet excepturi voluptatem provident voluptas. Facilis id iste delectus velit sint nisi. Culpa numquam odit.\", \"Magnam et est iusto pariatur molestiae. Corrupti et amet quisquam ducimus aut laudantium adipisci. Soluta rerum consectetur. Eaque sit ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "joe"], ["title", "Ea corrupti sed."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ea4ef67f') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus et eveniet sit aut. Quod rem et omnis neque amet quae. Consectetur et blanditiis veritatis.\", \"Et omnis perferendis magnam. Temporibus ullam accusamus placeat dolor repellat perferendis sit. Dolor rerum nobis tempora ad in architecto. Similique tempora quae vel enim voluptatum.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_ea4ef67f"], ["title", "Sit cupiditate vel eveniet eligendi."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ea4ef67f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ea4ef67f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ea4ef67f"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ea4ef67f"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ea4ef67f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_ea4ef67f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a93cbbe2') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam omnis molestiae voluptatem totam. Optio voluptatem labore. Ut culpa quos.\", \"Officiis deserunt mollitia rerum. Ad ut voluptas aspernatur accusamus dolorum aliquid. Odio aliquam facilis non sunt odit enim.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_a93cbbe2"], ["title", "Alias corporis nesciunt soluta qui."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a93cbbe2"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a93cbbe2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a93cbbe2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a93cbbe2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a93cbbe2"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam pariatur repellendus. Sed nostrum minus autem. Quo facilis quisquam eveniet eum. Aliquid voluptatem libero eum molestiae enim et accusamus.\", \"Consequatur laborum quam ut non voluptates. Laboriosam quasi quis inventore ex. Cumque corporis necessitatibus accusamus laborum. Aut odit deleniti ea omnis delectus rerum ducimus. Odio eum tempora omnis et.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "In sint impedit eum necessitatibus reprehenderit rerum dolorem."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam quam cumque ad facilis nam quod reprehenderit. Autem similique eveniet et aut facilis. Ut aliquam sunt veritatis vel aperiam hic repudiandae.\", \"Illo aut dolorem veniam omnis ducimus. Reiciendis laudantium eos. Sint sint omnis et explicabo. Et consequatur voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "beta"], ["title", "Tempore in esse eum."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "In sint impedit eum necessitatibus reprehenderit rerum dolorem."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum enim omnis repellendus. Et neque illo eos rem. Mollitia quisquam sint quia aut et. Qui ut voluptas. Incidunt quos minima facere ex.\", \"Numquam tenetur libero aut beatae tempora voluptatibus. Dolor rem molestiae voluptatem aliquid. Libero enim non dolore. Corporis sunt cupiditate corrupti quaerat.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "Laudantium consequatur minima est non blanditiis."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui veritatis aliquid sed. Atque ut et quo. Dicta eveniet illo magnam in adipisci molestias est. Voluptatem assumenda et quasi praesentium id. Officia libero sint pariatur ut.\", \"Omnis vitae repudiandae. Voluptatem aut quisquam molestiae ut dolor eum ut. Impedit necessitatibus eius beatae numquam.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "beta"], ["title", "Architecto dolorem consectetur rerum amet dolorum et sunt."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "Laudantium consequatur minima est non blanditiis."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi magnam eos sit dolore. Labore nisi consequatur nostrum dolores magnam. Molestiae laboriosam necessitatibus eligendi soluta. Ut assumenda quas velit consequuntur doloribus. Velit voluptatem omnis animi cupiditate.\", \"Modi aut tempora est ut ducimus ipsum est. Itaque tempore unde qui. Omnis corporis harum. Rem numquam amet modi. Facere ut maiores illo harum accusamus quibusdam deleniti.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "Illum et non enim rem."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint delectus repellat et sapiente. Magnam quia culpa labore nihil est aliquam in. Optio nobis repellat.\", \"Atque autem fugiat tempore quia porro totam impedit. Autem vero numquam quo fugiat ea sed accusamus. Vel deleniti porro corporis officia optio eos repudiandae. Quas repudiandae ullam.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "beta"], ["title", "Temporibus officiis voluptatem porro blanditiis soluta."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "alpha"], ["title", "Illum et non enim rem."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_30ca6b09') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius et magnam. Est ut tenetur sed. Magni rem et ex.\", \"Quia velit dicta voluptatem sed harum quidem quis. Praesentium quas inventore magnam dolor et nostrum. Ducimus fugiat quia odit. Sed voluptatum provident facilis. Aut maxime officiis id esse.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_30ca6b09"], ["title", "Autem quasi laudantium."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_98589170') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui nihil minus similique repellendus. Amet tenetur ea qui et explicabo sequi. Quasi omnis est maxime aliquid est.\", \"Deleniti dolore aut ut. Debitis similique esse aliquam. Eius aut eum minima consectetur rem voluptate amet.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_98589170"], ["title", "Provident reiciendis tenetur aut voluptatem labore et."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7f4732c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit tempora. Corrupti et illo. Enim laborum consequatur tempore et aut dignissimos.\", \"Quas quae dignissimos reprehenderit. Esse doloribus et ea labore. Et aut omnis et neque. Necessitatibus sequi consequatur recusandae magni doloribus.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_7f4732c4"], ["title", "Maiores delectus est."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_b8e43c47') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem provident tenetur quidem ut ipsam esse repudiandae. Nulla expedita maiores aut. Vitae ad velit ullam praesentium. Accusantium inventore commodi et eaque porro laudantium. Consequatur fugiat voluptas quidem.\", \"Vel nihil inventore perferendis molestias quasi. Vitae et voluptas quia tempora animi ex. Occaecati doloribus impedit voluptatem maiores architecto fuga.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_b8e43c47"], ["title", "Unde sequi sapiente voluptates."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (3.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b79d0426') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit rerum laborum natus minus. Consequatur sapiente illum dignissimos autem earum et. Sunt saepe vel illo porro eum cumque. Dolores non nostrum. Et sint natus qui qui.\", \"Eum laborum quod inventore ut. Numquam illo ducimus. Eos aut eos. Quam blanditiis similique.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_b79d0426"], ["title", "Ab sint recusandae impedit."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_be256120') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque error nemo praesentium itaque ullam aut. Dolorem autem sed est cum. Voluptatem eaque qui sed aperiam earum.\", \"Reprehenderit impedit debitis dolores sint. Placeat vitae facere eius in commodi odit. Aut quasi est maxime. Esse laborum corrupti et est eos cumque ratione.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_be256120"], ["title", "Sint ut saepe tempore ut."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_38e096b9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit et omnis delectus vel accusamus consequuntur. Sint libero accusantium. Ut eos ad est quo. Nostrum iure dolor. Vel numquam natus exercitationem vero atque officia.\", \"Odit provident perspiciatis ad quasi harum incidunt. Ut qui error iusto cumque et beatae nobis. Eum provident aliquam dicta enim perferendis.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_38e096b9"], ["title", "Voluptates veniam quia nihil sed."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_38e096b9"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_38e096b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_838517da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum dolor voluptatem qui incidunt facilis. Quia aliquid vel sit dignissimos voluptate sunt placeat. Voluptas aut a quia et eum qui. Sed ut dicta qui earum. Sed ipsam veniam repellat ut.\", \"Molestiae error culpa beatae. Sunt et iusto. Quam qui repellendus. Consequatur totam quisquam qui dolores et quam. Explicabo voluptas sunt est ipsa est.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_838517da"], ["title", "Enim excepturi quibusdam dicta rerum."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_838517da"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_838517da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_838517da"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_838517da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_10a5da0d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum est quia assumenda blanditiis perspiciatis ipsam minus. Eos eum aut molestiae. Illo sequi amet nulla autem.\", \"Officiis aliquid hic. Provident alias culpa et aliquid voluptatibus. Saepe omnis aut dolor quo in quibusdam quo.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_10a5da0d"], ["title", "Dolorum maiores beatae porro distinctio et."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_10a5da0d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_10a5da0d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5f6e7ee9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates velit tempore excepturi nobis. Est voluptas animi et inventore. In ut totam qui voluptatibus tempora. Cupiditate ea rerum et aut debitis ut. Et laudantium et.\", \"Illum autem at mollitia. Nam similique id amet. Totam qui ut a et sint earum. Veritatis qui et ullam praesentium excepturi numquam.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_5f6e7ee9"], ["title", "Quisquam eveniet nisi."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8230c609') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat eos dolor sed et. Quae sint mollitia accusamus reprehenderit est. Fugit natus vitae id.\", \"Voluptatem possimus ut nulla veritatis qui magni. Quia eius iusto sunt occaecati repellendus similique. Qui dolores repudiandae odit vero accusamus non. Quam mollitia omnis nihil vel aut nemo ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_8230c609"], ["title", "Quia porro numquam iusto veniam."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b87faf95') LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti eligendi error ad officiis. Occaecati ea non rerum eos aut. Tenetur maxime asperiores.\", \"Nisi ea ut quaerat minima voluptatem. Nulla odio enim et. Porro enim fugiat qui. Similique voluptatem omnis est. Commodi veniam eum et aut placeat qui nobis.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_b87faf95"], ["title", "Ipsa amet aut provident dolorem omnis ut."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0ae7973e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error qui eveniet numquam minima. Qui impedit sapiente ut. Labore laborum dolorum corrupti hic et. In et neque. Sed quod temporibus magnam sit.\", \"Ipsum illum omnis qui ut autem ut. Nobis doloribus quam. Omnis voluptate perspiciatis ut. A totam ipsa dolore provident nihil. Explicabo mollitia voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_0ae7973e"], ["title", "Reprehenderit aut error autem."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3e766bab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo ullam labore iusto omnis. In dolores et ut vel iusto. Et et est molestiae quos at sint. Iusto atque qui.\", \"Voluptate ratione saepe eligendi. Qui velit consequatur alias. Hic ducimus ut eligendi.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_3e766bab"], ["title", "Qui iste quos odio reiciendis tenetur quibusdam ut."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3e766bab"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3e766bab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_4ea8b865') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas rerum cumque esse. Qui cumque voluptatibus est consequatur non dolore. Ut cum officia consequatur. Beatae consequatur et. Minima architecto ullam est nisi.\", \"Fugit quod doloribus. Nihil voluptas ut impedit aut ipsum quas sapiente. Possimus veritatis ad velit beatae minus natus. Et temporibus commodi.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_4ea8b865"], ["title", "Est velit qui enim."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3e67954d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nihil voluptatem et voluptatum perferendis exercitationem error. Ut laborum quia deserunt facere qui. Doloribus architecto dicta mollitia et quod voluptate.\", \"Quaerat et quo rerum vitae inventore. Accusantium praesentium aut iure repellendus. Quos ea consectetur cumque facilis hic sunt nostrum. Necessitatibus soluta voluptatibus praesentium voluptatem dolores. Nam enim pariatur autem non.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_3e67954d"], ["title", "Debitis quae distinctio placeat qui."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b8f10042') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo voluptas omnis dolor iure. Ullam minus omnis id aliquid tenetur. Corrupti possimus nemo fugiat quidem sit.\", \"Qui dolor laudantium sit illum placeat rerum quisquam. Assumenda natus velit voluptas officiis facere culpa. Nisi in modi eos sunt deleniti officiis. Animi aut voluptatem suscipit quia.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_b8f10042"], ["title", "Perferendis dignissimos ut enim quisquam."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b8f10042"]]  (0.0ms) SAVEPOINT active_record_1 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_b8f10042') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b8f10042' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ae3188e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores recusandae qui est voluptate. Earum deleniti error nisi quidem. Quia impedit optio natus dolor autem rerum. Laboriosam aut nemo dignissimos omnis qui velit aperiam.\", \"Porro numquam ipsa alias excepturi et quia incidunt. Expedita officia vitae necessitatibus minus maxime facere. Maiores consectetur praesentium assumenda.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_ae3188e4"], ["title", "Quibusdam vel quaerat eum illo et."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_14cbbbaa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita voluptatem corporis molestiae dolores et a. Velit necessitatibus beatae eaque maiores eligendi. Sed aut mollitia ipsum qui placeat.\", \"Expedita accusantium occaecati eos neque in aut laboriosam. Itaque sit aut placeat harum. Impedit cum pariatur aspernatur qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_14cbbbaa"], ["title", "Nihil voluptatem sit impedit reiciendis voluptatem dicta qui."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_393e75e8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim voluptate a iste eos aperiam facere laborum. Perferendis in eligendi delectus officiis. Dolores vel illo maxime nisi consequatur. Facere at ab earum.\", \"Nesciunt repudiandae dicta ut reiciendis dolores ipsum totam. Eveniet ad facilis sit dicta ea voluptatem. Expedita ut voluptatem reprehenderit non.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_393e75e8"], ["title", "Aspernatur assumenda est."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_393e75e8"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_393e75e8') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_86cd374c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque autem et. Voluptatibus quam qui. Sapiente sit praesentium rem quisquam.\", \"Placeat dignissimos in aspernatur asperiores ipsam totam qui. Sunt nobis consequatur a ut error. Aut tempore velit nihil qui sunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["name", "contract_86cd374c"], ["title", "Quia consequatur velit minima eum et."], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_86cd374c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_86cd374c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:44:27 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (5.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ccf0a02c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum nam officiis qui iure vel facilis dolores. Qui fuga laudantium ut. Rerum assumenda nostrum qui qui laborum. Et consequuntur aperiam rem esse voluptates. Perspiciatis cupiditate iste et.\", \"Voluptates vel ipsam quasi neque repellendus. Dolores voluptatem aliquid neque ipsa aliquam eos aperiam. Ab molestiae ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_ccf0a02c"], ["title", "Id minima ut rerum eos architecto."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ccf0a02c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ccf0a02c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d90782b0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim aut fugiat eaque eum. Et qui magnam eveniet debitis sit consequuntur. Ut repudiandae nostrum officiis quia ut. Reiciendis ipsam deserunt doloremque beatae voluptatem. Suscipit ad sapiente dolore illum ipsum consequatur.\", \"Vero placeat est et. Repellat qui ut esse delectus. Autem et quae saepe. Et velit voluptas iure veritatis.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_d90782b0"], ["title", "In ut dolores quidem ea esse sequi sed."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d90782b0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d90782b0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_3fc179c2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur illum facilis. Facilis aut voluptate eum. Exercitationem et totam et. Nostrum sapiente tenetur recusandae quo vitae mollitia totam. Magnam non est commodi omnis qui non.\", \"Est et dolore iusto. Ut quas nesciunt. Non molestiae vel occaecati libero explicabo. Aliquid deserunt repudiandae. Eaque id recusandae molestiae labore eos sed.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_3fc179c2"], ["title", "Quisquam quo expedita."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3fc179c2"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3fc179c2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_78829b81') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi totam quaerat. Rerum deleniti non sequi id. Maiores adipisci molestiae fugit esse voluptas. Harum nisi in inventore maiores. Impedit temporibus id necessitatibus consequuntur.\", \"Hic nihil nihil sit excepturi. Iure ut veritatis id labore. Saepe quidem ut consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_78829b81"], ["title", "Est ut fugiat non temporibus."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_78829b81"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_78829b81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_13af7cbe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero pariatur dolorem quis quia sint dolor. Maxime veritatis beatae quis et. Quo ut similique dolores voluptatem dolor illum exercitationem. Sint dolores velit maiores corrupti dolorem explicabo ex. Earum possimus doloremque et provident aut dolores officia.\", \"Atque sed eveniet nihil aut eum iste. Est velit molestiae perferendis quod facilis et non. Numquam aliquam mollitia quis nisi provident qui odio.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_13af7cbe"], ["title", "In reiciendis id necessitatibus."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_13af7cbe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_13af7cbe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c87e3a53') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint dolores et repudiandae qui. Ut qui aliquam dignissimos. Laboriosam et eveniet dolores non soluta occaecati voluptas.\", \"Sit ut dolor voluptas dolor explicabo voluptatem sint. A ut saepe illo pariatur. Exercitationem possimus nihil. Veniam maxime ut.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_c87e3a53"], ["title", "Velit architecto ut."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9765cfe1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem tempora et. Omnis sed facilis. Ea vero eveniet aperiam unde dicta non. Commodi earum nam corrupti.\", \"Qui omnis sit dolore et. Aliquam atque sit illo. Itaque ad numquam. Maxime minus error vel optio dolorem. Itaque sapiente et quia.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_9765cfe1"], ["title", "Iusto assumenda aut ducimus est."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_24c0aec3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis dolor exercitationem. Nihil repellat et iste in pariatur. At incidunt impedit aperiam maiores.\", \"Nesciunt ipsam velit non assumenda pariatur quod. Est voluptas labore. Sunt libero voluptas dolorem ex perferendis amet. Est veniam a dolorum accusantium ratione.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_24c0aec3"], ["title", "Soluta et eos aliquid."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_24c0aec3"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_24c0aec3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_24c0aec3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ab338b82') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui nisi cupiditate consequuntur cumque blanditiis nesciunt praesentium. Itaque sed omnis ut. Amet architecto dolorem.\", \"Maxime ut aut soluta ullam odio natus. Ut qui consectetur alias nobis ab. Ut reiciendis doloribus. Qui ut dolores quas. Sed minus ut modi.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_ab338b82"], ["title", "Iure molestias quas."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0c597e93') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat voluptatibus deleniti beatae soluta est sint ex. Ut eius velit ducimus. Eos voluptas nisi dolor qui vero laborum voluptatibus. Aliquam voluptatem optio.\", \"Enim architecto nam. In aspernatur esse rerum enim voluptatem et. Nesciunt ducimus inventore.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_0c597e93"], ["title", "Incidunt voluptatem dolorem tenetur aspernatur."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_61b0400d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel eum dignissimos esse saepe et iure architecto. Id mollitia quia enim voluptatum dolorem. Nisi quos placeat.\", \"Voluptas quia nam occaecati animi nobis corporis. Et est quia. Nemo et placeat laborum maiores. Id non eos omnis. Quia architecto fugiat.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_61b0400d"], ["title", "Totam rerum sint amet est vel."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9139cc1b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae quisquam qui aut odit repudiandae odio. Dolore optio alias eos. Molestias earum voluptate. Repellendus voluptas error perferendis consectetur et nihil. Ea hic eligendi voluptates magni rerum et quo.\", \"Ipsum quasi eos. Id ducimus eos adipisci hic voluptatem aut reprehenderit. Consequuntur asperiores occaecati. Enim vitae qui placeat deserunt sint earum.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_9139cc1b"], ["title", "Aspernatur consequatur harum."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d6dbad58') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos suscipit debitis id autem officiis. Ratione ipsa esse reiciendis. Corrupti ex perferendis sequi veniam quisquam accusamus consequatur. Hic beatae est quia error.\", \"Quasi architecto dolores adipisci. Est molestiae et occaecati sunt unde. Quaerat consectetur vel quam. Ipsam officia reprehenderit aut. Enim molestiae numquam perferendis omnis beatae sit.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_d6dbad58"], ["title", "Omnis dolor ullam sunt et dolor est."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b7bb6bee') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias quidem aut perferendis ut nobis praesentium temporibus. Tempore deserunt velit. Qui odit necessitatibus veritatis. Dicta molestiae sed sit exercitationem praesentium. Minus et sunt voluptatum consequatur voluptas consequuntur.\", \"Labore ut culpa nobis dolorem a eos unde. Nam minima tempore sed. Dolor velit placeat rerum beatae modi iusto. Blanditiis minima dolorem aliquam neque et nobis in.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_b7bb6bee"], ["title", "Corporis nobis cum neque enim."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_99fb4b37') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut corporis mollitia non quibusdam temporibus ex. Ullam facilis minus dicta. Aut recusandae rerum qui alias qui facere non.\", \"Eaque in velit nisi repellat unde reprehenderit. Doloribus qui cupiditate quidem aut repellendus repellat omnis. Officia laboriosam quam mollitia omnis porro non. Ut eligendi expedita reprehenderit labore eaque debitis.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_99fb4b37"], ["title", "Deserunt nobis omnis enim."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_99fb4b37"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_99fb4b37') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_99fb4b37"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_99fb4b37') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_2c07a7ce') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea et enim corporis et nostrum. Itaque quaerat praesentium sit. Consequatur beatae laboriosam sit laudantium perferendis. Velit saepe nisi eveniet nostrum. Iusto soluta mollitia quo quia quibusdam nesciunt.\", \"Quaerat possimus est dolor eos doloremque et vitae. Explicabo iste quibusdam repellendus eum. Et sequi atque facilis ab modi necessitatibus. Non magnam porro illo fuga quam. Fugit quis facere consequuntur officia eos doloribus doloremque.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_2c07a7ce"], ["title", "Eum neque iure ad ab."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (3.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_527f79db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum officia molestias nostrum enim exercitationem a neque. Repudiandae sit labore ducimus ipsa. Amet debitis repellendus quia veritatis qui recusandae. Est rerum ullam culpa excepturi voluptas. Architecto consequuntur impedit earum neque.\", \"Saepe accusantium porro. Molestias dolores quo repellat. Voluptates ut ipsam quis culpa repellat repellendus. Nostrum est iste.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_527f79db"], ["title", "Et velit eius."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_527f79db"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_527f79db') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f25b1e23') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est occaecati cum unde quod. Eaque aut aperiam aliquid itaque omnis et. Vel illo est soluta quia. Nulla illo deserunt dicta sed aliquid perspiciatis. Perferendis sed cupiditate.\", \"Facere corrupti explicabo voluptas saepe quo. Aut ea voluptatem quia harum voluptas. Fugiat sed facere quia maiores voluptatibus sit rerum. Velit fuga voluptatem iste deserunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_f25b1e23"], ["title", "Excepturi distinctio et suscipit itaque."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_770ab88b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil sit aperiam repellat dolorum autem dolor sit. Nesciunt consectetur dicta sed et fugit. Deleniti mollitia ducimus voluptas error ab. Cum excepturi consequatur sunt.\", \"Sunt dolores qui veritatis. Non error aut ea. Minus rerum iure quae dolorem inventore enim et. Illo iure atque quibusdam temporibus at distinctio.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_770ab88b"], ["title", "Corporis eum ut ducimus facere rem nulla."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_770ab88b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_770ab88b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5bd9ba08') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quis optio totam. Soluta rerum quia illo praesentium repellat qui. Omnis nihil quisquam officia ducimus rerum ad dicta.\", \"Illum quae nihil. Dolorum est molestias natus quam. Nostrum perspiciatis praesentium laborum.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_5bd9ba08"], ["title", "Occaecati nisi dolorem nam consequuntur."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 5ms (ActiveRecord: 0.6ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cd26703e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro qui odio. Eveniet dicta nihil voluptatem. Hic odio doloremque qui sint magnam et.\", \"Nihil aliquam laborum nihil. Nobis est corrupti autem. Minima libero rerum consectetur sapiente omnis.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_cd26703e"], ["title", "Provident molestiae dolore modi eligendi possimus."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5eb8d125') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit quidem at consequatur quae. Quia magnam sed et. Consequuntur nemo qui qui perspiciatis similique libero.\", \"Ut blanditiis cumque sapiente temporibus aut et. Quaerat ea tenetur omnis sapiente aliquid nihil. Qui ut qui velit sunt. Ea dolore explicabo.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_5eb8d125"], ["title", "Dolorem omnis vel aut nisi a atque."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (5.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (5.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid provident occaecati illum in ipsam. Quisquam qui omnis deleniti eos occaecati ipsam consequuntur. Dolorem corporis provident. Nobis excepturi fugit. Corrupti expedita ratione.\", \"Ab cumque reprehenderit numquam. Et omnis ipsa deleniti nam. Voluptas quas laborum et molestiae eum rerum. Molestiae hic sit magnam voluptates sequi quos dolore.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Placeat sequi libero et deserunt dolorum nihil."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nulla et quibusdam eaque voluptatum voluptatem. Id at aut dolore tenetur dignissimos. Sed debitis tempore repudiandae rerum minima vero vel. Maxime fugiat excepturi hic repellendus ut.\", \"Et autem non et assumenda dolorem aut. Qui perferendis velit aut vel rem optio. Quae veritatis dolore dolorum cupiditate. Labore nihil sapiente sed aperiam sint et.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "beta"], ["title", "Fugit deleniti tempore aut dolores."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Placeat sequi libero et deserunt dolorum nihil."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Signature Load (0.2ms) 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet doloribus cumque. Magnam numquam dolore odit voluptatem. Eius at in non amet omnis quia cupiditate. Porro autem harum qui error.\", \"Inventore est non qui voluptatum voluptatem perferendis. Dolores ad qui quaerat. Sit nobis ab. Provident non ab blanditiis a. Sed corporis provident non error.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Ipsa aut voluptatibus inventore voluptatum ut asperiores reiciendis."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore odio provident omnis modi. Rerum assumenda est sequi placeat expedita. Aperiam ut sit omnis voluptas.\", \"Tempora omnis voluptatem assumenda commodi. Vero quisquam ea est error aperiam. Assumenda qui non omnis ab.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "beta"], ["title", "Non voluptas quidem dignissimos illum eum quia."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Ipsa aut voluptatibus inventore voluptatum ut asperiores reiciendis."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC SQLite3::SQLException: ambiguous column name: id: 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 "fine_print_contracts"."name" ASC, version DESC  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus ea fugiat magni. Est laboriosam dolor rem vitae. Est soluta officiis vero blanditiis. Veniam consectetur neque eum nostrum sequi dolor sed. Alias pariatur molestiae enim consequatur at porro.\", \"Consequatur delectus harum. Iusto nemo occaecati aspernatur corrupti quia soluta. Quod est libero quia et adipisci placeat voluptatibus. Culpa aut animi enim quos. At enim impedit aut aut non dolorem.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Occaecati vero ab qui ex voluptates qui."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt inventore culpa ad. Ut quis ullam odio. Voluptatem velit accusantium vero dolorum. Id veniam aut. Placeat accusamus aliquid et vel corrupti dolorum dolorem.\", \"Qui pariatur cum. Et qui officia. Eum sunt cupiditate accusamus quae incidunt tenetur.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "beta"], ["title", "Voluptatibus aut saepe."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "alpha"], ["title", "Occaecati vero ab qui ex voluptates qui."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (3.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_b0c84010') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut inventore et harum sed tenetur perspiciatis. Perspiciatis consequatur ut incidunt veniam qui. Architecto et ut assumenda quisquam doloribus. Omnis doloribus voluptate non nobis quia.\", \"Et est quisquam consequatur ut. Neque aut doloremque ex quis non. Repellat sequi in. Sed quis numquam veritatis ut laboriosam. Quo nesciunt accusantium molestiae est.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_b0c84010"], ["title", "Qui enim eos odio reprehenderit illo non."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_2e475600') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut at officiis totam commodi repellendus eius. Consectetur aliquid possimus repellat. Explicabo ipsam nostrum incidunt modi ut doloribus.\", \"Rerum placeat quia quidem. Laboriosam quos aut odio impedit sit consectetur qui. Minus harum voluptas molestiae quaerat delectus.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_2e475600"], ["title", "Repellat placeat eum facilis alias dolore neque qui."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_2e475600"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_2e475600') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_5775a922') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi inventore ex officia voluptatem est. Enim quia ipsam adipisci et. Dicta omnis sint. Est et voluptatem sint eos quisquam. Ut voluptates dolorem molestias natus.\", \"Corrupti nihil pariatur repudiandae dolorum alias laboriosam. Veritatis ut sequi aliquid. Ad quo labore. Ut et vero sit quaerat nihil asperiores.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_5775a922"], ["title", "Nam possimus commodi doloribus reiciendis est rerum."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5775a922"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5775a922') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5e8312a3') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia omnis qui minus qui aut. Optio velit molestias expedita. Dignissimos temporibus vel ut facere repudiandae consectetur dolor.\", \"Modi impedit eos nulla officia. Occaecati inventore nihil aperiam. Corrupti quis tempora temporibus aliquam id. Commodi et iste repudiandae. Omnis enim quibusdam aut.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_5e8312a3"], ["title", "Dicta recusandae sed cupiditate qui."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5e8312a3"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5e8312a3') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5e8312a3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_5e8312a3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia omnis qui minus qui aut. Optio velit molestias expedita. Dignissimos temporibus vel ut facere repudiandae consectetur dolor.\", \"Modi impedit eos nulla officia. Occaecati inventore nihil aperiam. Corrupti quis tempora temporibus aliquam id. Commodi et iste repudiandae. Omnis enim quibusdam aut.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_5e8312a3"], ["title", "Dicta recusandae sed cupiditate qui."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5e8312a3"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_5e8312a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_8b93a805') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis laborum eaque voluptas autem consequuntur quis. Aut dolorem vero vitae facere voluptas itaque placeat. Sunt perspiciatis vero natus. Tempora sint et et praesentium consequatur nostrum.\", \"Ut corrupti debitis assumenda voluptatem. Est aut et et. Eius illo alias et iste suscipit consectetur. Saepe iusto autem itaque.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_8b93a805"], ["title", "Earum molestiae animi est non tempore cum corporis."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8b93a805"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8b93a805') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_8b93a805"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_8b93a805"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_8b93a805"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_8b93a805') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_4feb75df') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore nemo non omnis. Aliquam architecto voluptatibus atque aut et. Ad aut ullam excepturi soluta perspiciatis tenetur ipsum. Sequi maiores commodi enim illum.\", \"Doloremque fugit et. Voluptas ut non quisquam quibusdam hic. Accusamus et est enim quae repellendus. Iure possimus ipsum in odio velit nihil.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_4feb75df"], ["title", "Aut sint consequuntur error ducimus alias optio."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_4feb75df"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_4feb75df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_4feb75df"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_4feb75df') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_4feb75df"]]  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_e88c0267') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus porro a iste. Dolor itaque dolorem architecto eos. Porro cum quia et est hic aperiam maxime. Quidem omnis et beatae omnis. Est culpa sed minima aliquid sit quo.\", \"Nostrum quas deleniti dolores hic consequatur temporibus et. Cumque rerum et vel unde id. Magnam vitae consequatur veniam rerum officiis in sunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "contract_e88c0267"], ["title", "Officia ratione eos placeat."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e88c0267"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e88c0267') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e88c0267' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus porro a iste. Dolor itaque dolorem architecto eos. Porro cum quia et est hic aperiam maxime. Quidem omnis et beatae omnis. Est culpa sed minima aliquid sit quo.\", \"Nostrum quas deleniti dolores hic consequatur temporibus et. Cumque rerum et vel unde id. Magnam vitae consequatur veniam rerum officiis in sunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00], ["name", "joe"], ["title", "Officia ratione eos placeat."], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (10.2ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_3b2dce60') LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia exercitationem cum impedit. Molestiae accusamus fuga exercitationem repellendus corrupti laboriosam. Quia similique at voluptas vel.\", \"Mollitia occaecati et voluptatem incidunt ab recusandae molestias. Tempora voluptates voluptas. Rerum aperiam voluptates ea.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_3b2dce60"], ["title", "Similique eius exercitationem qui animi delectus."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3b2dce60"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3b2dce60') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3b2dce60' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_3b2dce60') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia exercitationem cum impedit. Molestiae accusamus fuga exercitationem repellendus corrupti laboriosam. Quia similique at voluptas vel.\", \"Mollitia occaecati et voluptatem incidunt ab recusandae molestias. Tempora voluptates voluptas. Rerum aperiam voluptates ea.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_3b2dce60"], ["title", "Similique eius exercitationem qui animi delectus."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3b2dce60"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_3b2dce60') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0274a4b4') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt enim soluta qui suscipit aut. Aspernatur omnis nihil enim hic. Autem sint ut quibusdam at laudantium qui eius.\", \"Autem quia et. Distinctio possimus et quaerat maxime deserunt delectus. Et et ea possimus vero consequuntur qui. Sed autem nobis aut corporis cum accusamus. Earum non enim sed.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_0274a4b4"], ["title", "Ab vero voluptatem nihil tenetur dolorem reprehenderit."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0274a4b4"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0274a4b4') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0274a4b4"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0274a4b4"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0274a4b4"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_0274a4b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_d177136a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius recusandae aperiam ut consequatur incidunt cumque. Et est explicabo officiis minima voluptatem sunt aliquid. Omnis ea quia voluptates est sit. Accusamus necessitatibus expedita tenetur animi.\", \"Cum alias atque fuga earum magni labore. Pariatur facere voluptatibus quos est veritatis occaecati non. Asperiores aut natus. Ducimus libero veniam.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_d177136a"], ["title", "Eius id quod."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d177136a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d177136a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d177136a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius recusandae aperiam ut consequatur incidunt cumque. Et est explicabo officiis minima voluptatem sunt aliquid. Omnis ea quia voluptates est sit. Accusamus necessitatibus expedita tenetur animi.\", \"Cum alias atque fuga earum magni labore. Pariatur facere voluptatibus quos est veritatis occaecati non. Asperiores aut natus. Ducimus libero veniam.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "joe"], ["title", "Eius id quod."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ef19d0e7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad minima ut ratione voluptatem dolor est fugiat. Aut cupiditate temporibus iusto quia iure aut odit. Sint accusantium saepe. Nemo voluptatibus unde.\", \"Quam in unde veniam deserunt. Et explicabo officia aut et excepturi. Voluptatum atque excepturi aspernatur nobis. Est et et facere asperiores tempore sint id.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_ef19d0e7"], ["title", "Nesciunt excepturi quaerat non."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ef19d0e7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ef19d0e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ef19d0e7"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ef19d0e7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ef19d0e7"]]  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cfe46efa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex cum ad repellat quaerat minima. Autem at qui eos voluptatem iste. Magnam qui reprehenderit at cupiditate ullam dolores.\", \"Quae ut et magni et repellendus. Unde iusto deleniti itaque et dicta. Totam tenetur deserunt.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_cfe46efa"], ["title", "Sapiente sint voluptatem unde voluptas consectetur fuga quis."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_931fecbc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem suscipit aut. Mollitia provident unde. Quos et fuga. Rerum sed consequatur quia aut consectetur.\", \"Incidunt saepe molestias minus inventore omnis aut. Et nisi et dolorem laudantium minima quaerat. Et non exercitationem dolorem. Alias omnis praesentium velit.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_931fecbc"], ["title", "Expedita sed reprehenderit nemo."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5ce7a7e6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi ipsum a quasi est. Ratione inventore occaecati maiores accusantium. Vel nemo voluptatem molestiae ut a.\", \"Corporis velit suscipit dolorem et alias tempore. Minus tenetur harum inventore. Itaque voluptas neque necessitatibus non totam dolor fugit. Voluptatum quod et earum perferendis facere molestiae. Odio suscipit vel.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_5ce7a7e6"], ["title", "Culpa voluptatum ad unde ratione quae placeat."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_13890fa6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis nihil nobis sapiente corrupti fugit. Molestias explicabo necessitatibus vitae. Qui ipsum praesentium et esse nihil expedita. Est ipsum vel sunt incidunt ut voluptas.\", \"Qui voluptatem dolorem maxime sequi et cupiditate. Et nihil minima omnis cupiditate in accusamus sit. Nesciunt et quo eum incidunt dolor et. Voluptas labore natus quis ipsum. Et incidunt vitae sit eveniet.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_13890fa6"], ["title", "Odio quisquam recusandae eos earum cupiditate minima."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_20ed2c37') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum aut ipsum neque doloribus et optio omnis. Ut illum autem aut ut. Libero illum id dolorem.\", \"Voluptas fugiat et quis perferendis nostrum in. Aut et aperiam omnis ab. Dolores harum odit aspernatur. Est maxime quo.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_20ed2c37"], ["title", "Aut repellendus sed sit tempore beatae."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_20ed2c37"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_20ed2c37') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_fb2ff9c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore aut dicta beatae distinctio sunt. Accusamus et voluptatibus amet veritatis incidunt quidem. Magni natus omnis. Earum beatae repellat dicta.\", \"Deserunt inventore voluptas a qui beatae molestiae nemo. Qui consequuntur dolorum. Provident qui temporibus et sit ut. Perferendis fuga esse id et est qui. Voluptatem unde veritatis reprehenderit eum culpa rerum.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_fb2ff9c4"], ["title", "Dolor fugiat molestiae cupiditate accusamus autem."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dc51f204') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde ipsam est tempora voluptas excepturi vel reiciendis. In officia quas. Laborum laboriosam sint sequi eos qui suscipit.\", \"Aspernatur repellat tempora excepturi voluptas. Dolorum aut rerum quibusdam. Rerum suscipit et quasi quibusdam.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_dc51f204"], ["title", "Ut praesentium inventore."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_dc51f204"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_dc51f204') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_dc51f204"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_dc51f204') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_56608fba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo eius porro sunt. Ipsam dolores sit. Doloremque deleniti id dolor. Ut numquam sunt facilis unde odio qui vel.\", \"Laudantium molestiae totam possimus consectetur. Blanditiis commodi accusantium sed. Dicta consequuntur temporibus deserunt itaque eum. Qui qui sed qui dignissimos ut ratione et.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_56608fba"], ["title", "Blanditiis a qui quo beatae pariatur."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3d9dc2f7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut possimus reprehenderit consequuntur voluptatem. Saepe quia minima dolorem sunt. Numquam optio iste molestiae fugit consequuntur. Ut nesciunt nostrum animi ratione tenetur aut.\", \"Ut repellat ab. Quia perspiciatis beatae id. Distinctio vel veniam laudantium qui quae fuga natus. Et aspernatur sit atque libero. Magnam aliquid est rem iste.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_3d9dc2f7"], ["title", "Molestiae qui ex quas voluptatibus."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3d9dc2f7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3d9dc2f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3d9dc2f7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d78171da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed quisquam ut est. Laboriosam explicabo sint unde molestiae quaerat. Cumque inventore quia. Blanditiis perferendis quo aut impedit qui quae.\", \"Soluta dignissimos in illum ut eius porro voluptatum. Repudiandae aut autem ab ut. Qui sit praesentium non libero. Ut est repellat quis.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_d78171da"], ["title", "Est aspernatur qui."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dd8600b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore quo saepe sunt sed totam possimus. Impedit quis eaque laborum et voluptatem molestias saepe. Saepe molestiae qui vitae laudantium.\", \"Rem non voluptatem ut quis quia. Id iusto sed quaerat. Possimus explicabo voluptatem nihil ab quis aut distinctio.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_dd8600b8"], ["title", "Esse id in itaque in et modi molestiae."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d5ca52ed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut consequatur quis. Labore quis dignissimos et maxime eius facilis. Exercitationem in laborum dolor dolorum dolores consequatur amet.\", \"Magni nobis consequatur odit sit. Adipisci quia impedit. Accusamus qui est unde excepturi et.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_d5ca52ed"], ["title", "Commodi vel voluptas provident illo quia omnis."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9af40ff5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel voluptatum architecto nulla mollitia. Eum cupiditate omnis odit praesentium. Consequatur totam natus nemo soluta.\", \"Illo quo autem reiciendis modi blanditiis. Recusandae et in sint tempore fugiat. Eos ut dolore numquam ratione est quis. Sit voluptatibus necessitatibus modi. Enim exercitationem occaecati suscipit ea qui explicabo.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_9af40ff5"], ["title", "Temporibus eos sed totam voluptas aliquid ipsa voluptatum."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3bc97b92') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum animi assumenda illum. Corrupti voluptatem eos quos. Doloribus earum occaecati voluptas excepturi magnam sit. Et optio id porro dignissimos. Doloremque sit atque vel.\", \"Culpa est ducimus vitae voluptate consequatur. Architecto placeat aut beatae quas expedita. Aperiam ut accusamus aut distinctio magnam.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_3bc97b92"], ["title", "Animi a et."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (3.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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_a15092aa') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis beatae unde porro laborum a. Ipsa tenetur magnam inventore dolorem alias optio. Sint nulla vero ullam sit. Neque voluptatibus a deserunt architecto sed explicabo.\", \"Est aut et. Eveniet delectus perferendis. Facere rem ut tempora est omnis neque.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_a15092aa"], ["title", "Consequatur et dolores."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a15092aa"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a15092aa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9ead8540') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore ut aut. Officia eum hic alias et provident. Incidunt aut ut itaque illum eius eum.\", \"Incidunt et quia similique ea dolorem eveniet autem. Minima autem doloremque dolore. Est unde sapiente.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_9ead8540"], ["title", "Placeat similique ea non laborum excepturi cumque voluptatum."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9ead8540"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9ead8540') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_64d6130f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum est asperiores nemo minima. Amet repellendus sed. Mollitia error facilis pariatur rerum odio.\", \"Qui sapiente qui. Explicabo eum laboriosam. Ea et fugiat qui ratione nostrum saepe. Autem suscipit quo quas nulla maiores corrupti. Recusandae occaecati ab et officia natus nostrum.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_64d6130f"], ["title", "Veniam quod aspernatur aliquam consequatur ut iure non."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 3ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_258060ee') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur quasi rerum quia enim eaque quibusdam. Perferendis est omnis laudantium qui harum. A aliquam provident blanditiis quam nobis nemo eaque.\", \"Quidem veniam voluptatem. Natus maxime consequatur omnis molestiae ut provident impedit. Non impedit qui.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_258060ee"], ["title", "Quod nesciunt nihil qui."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet quam debitis corrupti est. Quaerat rerum est voluptas et. Quod minus dolor. Nostrum et quod aut hic et dicta.\", \"Delectus quia ea non magnam consequatur quo nobis. Aspernatur quod beatae maxime eos totam enim reiciendis. Explicabo eaque at possimus.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Voluptatibus hic cupiditate aut et dolor."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est laborum nihil. Ipsa optio corrupti culpa nemo. Nobis est voluptas commodi repudiandae.\", \"Enim harum temporibus modi eaque quisquam dolore. Est et deserunt ut tenetur. Quidem delectus maxime quasi fugit magnam. Fugiat consequatur et quaerat perspiciatis. Quia sapiente omnis odio consectetur consequatur ipsum.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "beta"], ["title", "Sequi ut vero ut quibusdam et voluptate."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Voluptatibus hic cupiditate aut et dolor."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.3ms) 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 '--- :contracts: :id ' HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas molestiae accusamus alias aut quisquam enim. Quia est illo et quisquam quidem. Quia sed sunt aut qui omnis ad ut. Nihil est dicta ea velit qui laboriosam. Unde in est quis tenetur.\", \"Hic quo deleniti. Ut sunt autem atque autem quaerat. Fuga omnis vero commodi eius laudantium consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Quia ducimus veritatis aut et."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam iusto provident consequatur. Aut deleniti quis. Quod praesentium possimus perferendis explicabo est.\", \"Dolorem ullam expedita voluptatem error esse ipsa. Ratione corporis ut perspiciatis et quis. Ipsa et sequi porro laudantium itaque. Sint vel ipsam. Nihil saepe voluptatum quos rem.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "beta"], ["title", "Quae sed animi omnis veritatis quisquam sint voluptate."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Quia ducimus veritatis aut et."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam accusamus aut eum quia. Placeat tempore qui. Deleniti quod magni amet.\", \"Odio sequi optio cupiditate aut quasi modi dolores. Quibusdam assumenda soluta beatae nihil. Nemo ratione et.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Est possimus nemo et."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus vel accusantium ad incidunt consequatur. Earum quas iusto. Officiis vitae expedita autem quisquam repudiandae sit voluptatem. Pariatur aspernatur repellat ut.\", \"Consequatur perspiciatis culpa ut. Impedit eligendi occaecati. Aut qui nobis. Ipsa voluptate est temporibus ducimus aliquid.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "beta"], ["title", "Rerum ut alias omnis enim laboriosam qui."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "alpha"], ["title", "Est possimus nemo et."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ab9fc67b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia perspiciatis molestias. Similique aliquam reprehenderit natus repellendus. Adipisci velit accusantium sed tenetur esse iusto assumenda. Saepe dolores quasi omnis a dolore sequi voluptas.\", \"Mollitia et veniam ratione quas ducimus et. Aliquam laborum id. Natus omnis hic dolore vero dolorem est. Vel quia saepe dolore culpa.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_ab9fc67b"], ["title", "Sint mollitia molestiae fugiat alias omnis repellendus vel."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_6e4541bb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas non ad est in quo minus sed. Perferendis dolores eligendi et quo maxime recusandae. Perferendis sunt quod sint. Molestiae odit ut sunt et quo est commodi.\", \"Harum ad voluptas dolores occaecati. Nulla optio maxime. Consequatur ea odio aliquid ipsa ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_6e4541bb"], ["title", "Vitae consequuntur eius aut et exercitationem."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_6e4541bb"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_6e4541bb') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_cadac413') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias omnis repellat ipsum velit eum. Placeat quasi laboriosam aut rem. Consequatur aut adipisci.\", \"Consequuntur voluptas culpa qui. Alias quia qui repellendus omnis eaque autem. Porro perspiciatis exercitationem veniam dolore explicabo. Explicabo exercitationem id rerum velit.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_cadac413"], ["title", "Officia molestias magni."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_cadac413"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cadac413') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0305db0b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt reiciendis sit. Sint quae voluptatem eligendi sed. Molestias ratione et aut repellat voluptatem illum aperiam.\", \"Sed quis voluptatum mollitia repellendus deleniti cum. Temporibus non enim quas quo harum. Blanditiis quo reiciendis et nihil ducimus quis hic. Nobis eligendi rerum pariatur consequatur. Minima facere ut nihil.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_0305db0b"], ["title", "Porro eaque ut."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0305db0b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0305db0b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_9a00eef4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum officiis aut facere modi et. Repellendus delectus quam mollitia harum maxime aut magnam. Aut rerum maiores placeat qui temporibus ea. Totam sunt eaque in pariatur dolores.\", \"Et temporibus tenetur. Sunt consequatur fugit amet impedit qui doloribus. Doloribus dolor illum eum. Et odit quia in. Molestiae qui nostrum vero voluptates alias enim.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_9a00eef4"], ["title", "Qui quia ipsa ex commodi."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9a00eef4"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9a00eef4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ee37ad15') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint ratione est ut molestias. Iure alias est sint fugiat dolor minima tempora. Et est eligendi eum qui possimus.\", \"Rerum culpa vel necessitatibus deserunt eos nulla. Quis accusantium rem incidunt enim. Aut ut dolor.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_ee37ad15"], ["title", "Vel voluptatem officia voluptatem tenetur."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ee37ad15"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ee37ad15') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_51602deb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore sed aspernatur eligendi. Doloremque et quisquam. Doloribus sit cumque consequatur qui eos.\", \"Est maxime amet quasi assumenda. Id est perspiciatis explicabo. Itaque officia necessitatibus sapiente error. Harum enim itaque sunt numquam facere. Magnam sed dolores eos autem laborum delectus nemo.\"]"], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["name", "contract_51602deb"], ["title", "Rerum aliquid voluptas nostrum qui velit magni."], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_51602deb"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_51602deb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 20:59:11 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_e611ea39') LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ipsa nostrum dolorum nihil totam. Consequuntur natus quia. Error maiores aut dolores consequuntur commodi qui ducimus. Sint ad vel inventore velit assumenda minus odio.\", \"Id tempore itaque amet incidunt labore doloribus non. Quidem at natus sunt animi enim reiciendis. Mollitia et est nisi dolorem quia praesentium suscipit. Et dolore illo deleniti. Dolores modi ut eos.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_e611ea39"], ["title", "Exercitationem expedita distinctio."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e611ea39"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e611ea39') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e611ea39' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ipsa nostrum dolorum nihil totam. Consequuntur natus quia. Error maiores aut dolores consequuntur commodi qui ducimus. Sint ad vel inventore velit assumenda minus odio.\", \"Id tempore itaque amet incidunt labore doloribus non. Quidem at natus sunt animi enim reiciendis. Mollitia et est nisi dolorem quia praesentium suscipit. Et dolore illo deleniti. Dolores modi ut eos.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "joe"], ["title", "Exercitationem expedita distinctio."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_796944d4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum dolor impedit animi. Perspiciatis illo laboriosam sit explicabo. Dolorem vero suscipit nihil velit quis neque.\", \"Omnis nesciunt tenetur. Sed provident vel officia dolorem tempore voluptatem. Aspernatur repudiandae enim nostrum soluta odio delectus. Et sint dolores ut commodi.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_796944d4"], ["title", "Rerum adipisci nobis possimus id ut ad consequatur."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_796944d4"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_796944d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_796944d4"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_796944d4') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_796944d4"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_491e5708') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis inventore reprehenderit voluptatem placeat voluptatem. Voluptates optio totam. Laudantium consequatur reprehenderit omnis quam.\", \"Iure non libero ut commodi totam. Eum sunt dicta. Fuga et esse corporis placeat quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_491e5708"], ["title", "Eligendi quae minima deserunt voluptatem est eaque necessitatibus."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_491e5708"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_491e5708') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_491e5708' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_491e5708') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis inventore reprehenderit voluptatem placeat voluptatem. Voluptates optio totam. Laudantium consequatur reprehenderit omnis quam.\", \"Iure non libero ut commodi totam. Eum sunt dicta. Fuga et esse corporis placeat quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_491e5708"], ["title", "Eligendi quae minima deserunt voluptatem est eaque necessitatibus."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_491e5708"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_491e5708') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_ded151d0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt dolor nihil nesciunt magni consectetur non et. Harum quia mollitia. Saepe id incidunt officiis non.\", \"Id laudantium corporis iste et quia aut. Aut soluta adipisci. Qui quibusdam molestias.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_ded151d0"], ["title", "Dolorem nam dignissimos dicta et inventore amet facilis."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ded151d0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ded151d0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ded151d0"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ded151d0"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ded151d0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_ded151d0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_44e53b1f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed reiciendis sit velit in error. Quia laborum labore. Maxime commodi et ut dolores occaecati voluptatum. Aut sed repellendus. Voluptas quo autem.\", \"Qui veritatis laborum. Ea laboriosam non. Possimus eius eveniet blanditiis. A quis hic reiciendis. Sed quisquam est similique deleniti.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_44e53b1f"], ["title", "Omnis placeat quae labore velit nesciunt assumenda."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_44e53b1f"]]  (0.0ms) SAVEPOINT active_record_1 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_44e53b1f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_bb9a7666') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore odit officia voluptates est atque rerum. Quibusdam soluta neque atque est. Amet laborum non ratione sed.\", \"Sint facilis architecto corrupti aspernatur. Voluptas deleniti nihil. Sequi soluta dolore dolor deleniti magnam molestiae.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_bb9a7666"], ["title", "Tenetur quos quae aut ab sequi."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_5e95a027') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo placeat et autem soluta fugiat eius. Reprehenderit aut tempore rem molestias optio facere. Natus repellat dolores. Debitis beatae nostrum. Architecto recusandae doloribus deserunt et sed.\", \"Est sit molestiae quod earum eligendi qui ut. Sequi ducimus dolorem excepturi quo ipsam et. Ea odit ad minima ipsam. Recusandae modi temporibus quia neque. Ab iure deserunt iusto distinctio non voluptatem dolor.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_5e95a027"], ["title", "Qui error eaque omnis praesentium."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5e95a027"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_5e95a027') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum odio blanditiis. Quisquam quos temporibus harum. Et sint aliquid. Aut perspiciatis fugit vel qui accusamus velit officiis. Aut maiores rerum recusandae quo quia non est.\", \"Fugiat et mollitia et dolores nobis. Sit et repellat in. Vel odit non quos. Fugit tempora aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "Quas ad officia nobis ullam est."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus ullam qui eos qui sequi adipisci voluptates. Sed est non autem. Sunt vel suscipit. Eaque quis sed aut distinctio.\", \"Quis beatae eos ducimus repellat. Voluptatem aperiam facere blanditiis voluptates. Sed repudiandae quo quasi.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "beta"], ["title", "Labore quo enim rerum ad."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "Quas ad officia nobis ullam est."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum amet ut sit eum ab. Odit ipsum quia alias nisi. Labore ullam consectetur natus. Excepturi fuga rerum molestiae dolorum vero corporis.\", \"Est sed culpa eos consequatur. Quia sed ut ut. Omnis veritatis unde illum at ut earum.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "A fuga cumque dolorem voluptatibus repellat."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore iure hic iusto quia dolorum tenetur. Dolorem dolorem dolores excepturi quaerat dicta facilis architecto. Ea illo ad. Voluptatum deleniti distinctio temporibus atque culpa. Ullam provident sequi iusto est eum.\", \"Dolores sapiente rem voluptas sed. Voluptatem rerum asperiores est quidem et voluptatum porro. Voluptatum sapiente quia non.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "beta"], ["title", "Nihil enim id consequatur ipsam omnis quo aut."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "A fuga cumque dolorem voluptatibus repellat."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et pariatur praesentium. Libero est nobis. Doloremque aperiam voluptas eum. Ut fuga neque officia reiciendis ut labore. Esse optio voluptates voluptate libero voluptas.\", \"Officiis fugiat et quod iste quasi laboriosam. Suscipit odit laudantium quisquam tenetur quae et nihil. Quos eaque et accusamus assumenda est. Dolores quia provident voluptatem autem.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "Recusandae fugit perferendis rem repellat distinctio illum."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex maxime vero sunt. Non aliquam debitis tempore. Corrupti possimus doloribus est eum veniam vel.\", \"Qui quasi alias quo similique. Qui officiis libero odio voluptatem sed. Atque voluptas quia. Ipsum fuga aut nobis in. Aperiam qui ut quisquam magnam.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "beta"], ["title", "Aut est aut aut porro quo."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "alpha"], ["title", "Recusandae fugit perferendis rem repellat distinctio illum."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.2ms) 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 '--- :contracts: :id ' HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_5d73df31') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti velit laborum necessitatibus laboriosam. Ratione tenetur quod. Incidunt eaque mollitia debitis dolorem facilis nihil. Est quos voluptatem sint molestiae.\", \"Vel et iste impedit molestiae. Sit ipsa possimus modi tempore. Expedita nulla aut odit est placeat fugit.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_5d73df31"], ["title", "Earum et illo."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5d73df31"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5d73df31') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_67c3369e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero voluptas sed molestiae id. In labore sequi vitae delectus voluptates laboriosam. Sed necessitatibus cupiditate quae molestias.\", \"Similique iste et assumenda qui illo. Et dolores rerum quod quo dolorem nisi ea. Optio labore vero ut impedit. Fugiat fugit ex voluptas. Aut dolorem a incidunt sit est.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_67c3369e"], ["title", "Similique veritatis at."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_67c3369e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_67c3369e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a687dfd0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae id doloremque possimus est ut beatae aut. Ullam pariatur ab repellat fugiat odio. Qui et debitis quis.\", \"Laboriosam corrupti rerum. Laborum aut ut eum cumque consequatur. Incidunt explicabo non quos nisi. Recusandae nihil quis sint vel.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_a687dfd0"], ["title", "Asperiores nisi aut nemo cumque tempora."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a687dfd0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a687dfd0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5f77649e') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est atque aut. Repudiandae dicta quo sit iure magni facilis quia. Doloribus delectus quia.\", \"Quisquam voluptas nostrum. Quaerat ut iusto. Alias praesentium eum unde repellat.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_5f77649e"], ["title", "Veritatis voluptate commodi sunt autem ut cum quibusdam."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5f77649e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5f77649e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_db3b07cc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem enim quia illo. Vel eos libero ipsam sunt. Occaecati atque asperiores. Dolor tenetur id sed.\", \"A eius est et sed ipsa. Et eum sed. Nostrum dolor eaque. Sit totam quas et beatae. Soluta ipsum aliquid.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_db3b07cc"], ["title", "Non libero ut vitae vel aut tenetur."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_db3b07cc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_db3b07cc') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_db3b07cc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_db3b07cc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8a6fba3a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias ullam ratione vitae aut optio. Nulla saepe ex a rem. Minima nulla harum aut voluptatibus. Sed rerum iste nulla facere placeat.\", \"Et nam veritatis in accusantium. A aliquid quas corrupti facilis molestiae totam. Maiores tempora qui. Ipsam et a nisi qui architecto quaerat quod. Voluptates occaecati sed consequatur accusantium corporis.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_8a6fba3a"], ["title", "Dolorem ad aut."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8a6fba3a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8a6fba3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8a6fba3a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c1a94901') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet porro eos rerum laboriosam velit. Similique architecto autem est provident hic occaecati optio. Sit eum debitis sed deserunt.\", \"Necessitatibus dicta nulla possimus numquam quia tempore enim. Officia accusamus doloribus omnis et eius error dolorem. Nemo enim repellat reiciendis officia provident ut. Et natus et soluta provident molestiae. Corrupti aut aliquid aspernatur eligendi.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_c1a94901"], ["title", "Magnam et dolorem iste quo facere."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7aec7647') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit incidunt et quidem. Nihil quae a quas. Nesciunt rerum placeat numquam.\", \"Ut et molestiae quis esse. Debitis consequatur ipsam est dicta quae repudiandae accusamus. Magnam voluptates ratione omnis blanditiis consequatur laboriosam quisquam. Omnis itaque est nam et eum exercitationem. Non qui voluptatem ut rerum molestiae at sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_7aec7647"], ["title", "Hic repellat quia quos sunt."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_51518fca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum consequatur qui nisi. Qui quasi aut distinctio sed. Sit sit deleniti. Non vel maxime sapiente aut.\", \"Culpa repudiandae vitae. Illo consequatur dicta exercitationem. Laborum a quas reprehenderit quo.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_51518fca"], ["title", "Dolor dolores quos aut omnis."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bd147add') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet dolores eum cupiditate dolores. Voluptate nostrum sequi assumenda sint consequuntur omnis dolorem. Nihil facere voluptas eaque exercitationem laborum doloribus. Quidem est et ut sed. Architecto illo eligendi veritatis natus.\", \"Iste aut voluptas veritatis magni soluta odit natus. Ea nam dicta aliquid aspernatur. Occaecati expedita nemo est voluptatem vero. Quibusdam reiciendis quis quis ut cumque sunt voluptatem. Quia amet ratione architecto omnis ut mollitia eius.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_bd147add"], ["title", "Libero id hic nihil ipsum exercitationem."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ad7a799c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit ratione quia ut. Voluptatem ut dolores aliquid beatae quo. Nihil dolor officiis. Fugit voluptate similique.\", \"Voluptatum magni eum necessitatibus ab animi. Labore sed quam. Consequuntur voluptas asperiores.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_ad7a799c"], ["title", "Veniam nihil voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ad7a799c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ad7a799c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_33b4025e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla qui recusandae et. Veniam non dolores sequi. Voluptatem dolore quod. Sequi architecto facere excepturi. Quis adipisci omnis.\", \"Eius et a corrupti sit. Ullam aliquid atque. Officiis voluptates enim harum et velit doloribus.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_33b4025e"], ["title", "Quidem nobis rerum quis non."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_45c98ddb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt veritatis ratione fuga. Sit adipisci hic dignissimos sint assumenda. A exercitationem autem eveniet labore velit. Reprehenderit unde tempore nam voluptatem. Repudiandae est sit et nisi nostrum.\", \"Sequi sit id eum aut nihil vitae voluptas. Hic neque quas provident libero nemo sed. Tenetur est et similique nihil maiores nemo. Voluptatem rem necessitatibus asperiores et qui dolorem. Vero quod facilis.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_45c98ddb"], ["title", "Ratione quo vitae aspernatur repudiandae non soluta quae."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a17fb823') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus perferendis reiciendis suscipit iusto et aut. Voluptas delectus est qui veniam. Sit sapiente assumenda sed ullam voluptas numquam.\", \"Dolor fuga autem. Quia saepe vero voluptates eaque est culpa. Reprehenderit architecto voluptas maxime deleniti ad consequatur et.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_a17fb823"], ["title", "Fuga non quia a impedit et quasi incidunt."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ce6de0cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et odit eum possimus iure blanditiis sequi ipsam. Sunt et tenetur commodi quam maiores ullam. Illo est et labore quam veritatis.\", \"Quo dolores error. Sapiente vero expedita. Mollitia et et cupiditate voluptatem eum ipsam. Velit repellendus fuga qui ipsum veritatis inventore quas.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_ce6de0cf"], ["title", "Aut delectus laudantium illo."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_be5a1877') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt quibusdam quasi voluptatem rerum id ipsa est. Eos sunt voluptatem sapiente saepe dolor. Aut accusantium eos et commodi eius sed.\", \"Earum architecto suscipit. Dolor asperiores ipsum quo. Doloremque deserunt quo quod vel dolorem sit non.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_be5a1877"], ["title", "Omnis quidem deleniti."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0d40d4c0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga rerum delectus saepe ratione. Quas consequatur ut aut assumenda accusantium. Omnis dolores eveniet impedit saepe.\", \"Corporis similique aut quasi et est voluptatum. Aut omnis illo. Autem non enim sequi. At sed quibusdam rem optio ullam.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_0d40d4c0"], ["title", "Quaerat corporis aut velit."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b6ef2649') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo ut est. Placeat eligendi consectetur et vel inventore qui tempore. Consectetur quisquam repellat animi mollitia. Expedita commodi ut maiores excepturi est sunt ut.\", \"Hic quia minima dolor ab soluta. Qui et molestiae rem. Eveniet illo enim alias harum. Accusantium omnis officiis voluptas id tempora adipisci voluptate.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_b6ef2649"], ["title", "Beatae ea illum."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d5c6d802') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio pariatur fugit deserunt doloribus. Exercitationem rerum repudiandae. Cupiditate consequuntur totam corrupti provident magnam vitae. Quia numquam molestiae praesentium. Iste rerum illum aut quisquam totam dolorum eius.\", \"Et perferendis sed. Est molestiae cumque sint soluta omnis aut dolor. Aperiam ut aliquam quas. Velit maiores rem hic. Magni temporibus odio quas qui totam.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_d5c6d802"], ["title", "Atque qui quis qui temporibus."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d5c6d802"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d5c6d802') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cc965575') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto mollitia voluptatum atque blanditiis. Amet sit similique fugit. Quia nihil dolorum ut occaecati qui blanditiis quis. Repellat distinctio dicta animi eligendi et tempore harum. Qui incidunt quod.\", \"Accusamus aut adipisci architecto. Magni occaecati vel. Quasi consequatur omnis quos. Occaecati iste ut amet. Itaque voluptates nobis quia sequi natus consequatur ipsam.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_cc965575"], ["title", "Soluta saepe accusamus voluptas vero porro."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_cc965575"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cc965575') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_86c62750') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab aut qui. Ut rerum est facere sed asperiores. Sed ullam quaerat perferendis a eum quo.\", \"Nemo velit aut autem et ut sint. Culpa non suscipit est totam praesentium magnam. Illum sapiente veniam quo possimus enim. Dolores consequatur incidunt fugit voluptas ut.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_86c62750"], ["title", "Omnis sunt dolorum."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_37668012') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam et aliquid hic veniam est non debitis. Impedit qui provident consequatur. Repellat eum est est. Harum non quis reprehenderit qui illo ad exercitationem. Non modi quas sed et.\", \"Vero adipisci explicabo voluptatem aliquam. Illo voluptatum nesciunt nostrum voluptatem. Ut dolorem quas eaque corrupti repellendus corporis aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "contract_37668012"], ["title", "Voluptatem amet qui mollitia veritatis."], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut est ut placeat similique. Sit pariatur nostrum dolorem itaque rem. Autem enim nisi recusandae asperiores quis et ab. Sunt quaerat ex.\", \"Qui placeat sequi pariatur quos incidunt. Et vel est doloremque vero sit. Alias ab iure numquam.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Vero delectus doloribus."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed quas quod in earum dolorum odio. Esse inventore animi minus possimus. Earum voluptatem occaecati.\", \"Consequuntur totam omnis. Quo accusamus repellat maiores vitae ea ut. Tempora optio ut. Voluptatem pariatur beatae tempore quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "beta"], ["title", "Qui dolorem doloribus sequi saepe velit harum."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Vero delectus doloribus."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et libero rerum quo. Incidunt eum amet fuga. Explicabo odio distinctio ut quia ipsum.\", \"In velit vitae accusantium corporis dicta. Ut architecto officiis quae porro. Temporibus facilis sapiente qui et aut cupiditate reiciendis.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Ut quo labore doloremque iusto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem nesciunt magnam atque. Eos quo totam est architecto quia. Maxime repellat exercitationem autem.\", \"Odio sit accusamus nemo laborum. Alias est tenetur dolorum commodi voluptatibus. Sint fugiat aut corrupti minus necessitatibus qui hic. Et et nesciunt tenetur eos. Ipsa consectetur earum in.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "beta"], ["title", "Eum mollitia nesciunt quis accusantium eligendi omnis illo."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Ut quo labore doloremque iusto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.2ms) 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 '--- :contracts: :id ' HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est hic accusamus. Nobis inventore sed. Quos est autem adipisci ratione temporibus labore nesciunt. Itaque non est soluta nemo laboriosam quia tempora. Sunt iure quia dolorem delectus in.\", \"Quia quod voluptatem veritatis fugit. Quis itaque sed distinctio ea qui excepturi culpa. Id voluptas officia omnis voluptas molestiae veniam numquam. Quod fugit odio aut ut minus eaque. Repellendus nihil et.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Sapiente atque hic ipsam dignissimos provident et."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti similique ea. Officia nihil voluptas fugit. Quia rem molestias aperiam esse maxime quae. Quidem corrupti dolorum ut beatae.\", \"Exercitationem vel expedita molestiae totam dolor minima. Soluta quis cupiditate. Pariatur laboriosam dignissimos in tenetur amet. Qui perferendis id quis.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "beta"], ["title", "Aut temporibus molestiae sint deserunt dolores."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "alpha"], ["title", "Sapiente atque hic ipsam dignissimos provident et."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_a6dc534f') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quia autem quis ad qui nemo. Expedita illum eaque. Nihil qui rem iusto sit dolores libero ad. Consectetur ex illum quia harum delectus aliquid.\", \"Aut cumque id. Sint consequatur magni alias. Dolore est voluptatem ipsa omnis expedita id id.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_a6dc534f"], ["title", "Pariatur distinctio molestias qui assumenda deleniti."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a6dc534f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a6dc534f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a6dc534f"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a6dc534f"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a6dc534f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_a6dc534f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_209b8222') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo architecto non eos numquam voluptatum ex. Qui est laudantium. Vitae enim laboriosam consequatur molestiae impedit sit dolorem.\", \"Eius ut autem debitis in. Corporis et occaecati possimus repellat. Voluptas sunt dolore veniam. Ut laborum aut sed. Quo ea sequi vitae porro.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_209b8222"], ["title", "Quam sit molestias quisquam reiciendis voluptatem cupiditate architecto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_209b8222"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_209b8222') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_209b8222"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_209b8222') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_209b8222"]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_f2eb64f8') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi non quae quibusdam ad voluptas quam dolores. Placeat praesentium eveniet quo est libero. Corrupti a quisquam ea. Eos nesciunt minus quae quia.\", \"Dolores quidem aut sed velit consequatur harum omnis. Rerum sapiente expedita nobis. Accusamus veritatis alias suscipit rerum aut amet nobis. Rerum est facilis eveniet rerum placeat quam natus. Eum qui vel distinctio.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_f2eb64f8"], ["title", "Voluptatem autem nostrum est ducimus debitis aliquid."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f2eb64f8"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f2eb64f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f2eb64f8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi non quae quibusdam ad voluptas quam dolores. Placeat praesentium eveniet quo est libero. Corrupti a quisquam ea. Eos nesciunt minus quae quia.\", \"Dolores quidem aut sed velit consequatur harum omnis. Rerum sapiente expedita nobis. Accusamus veritatis alias suscipit rerum aut amet nobis. Rerum est facilis eveniet rerum placeat quam natus. Eum qui vel distinctio.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "joe"], ["title", "Voluptatem autem nostrum est ducimus debitis aliquid."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_1177d168') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quisquam ut expedita consequuntur neque. Libero excepturi velit aut natus hic. Eum fugiat voluptatem voluptatem aliquid. Et repellat quos est. Maiores quo ut dolorem repellendus velit.\", \"Rem possimus explicabo. Facilis velit quidem. Iste qui quo blanditiis magnam aspernatur. Maiores et dolore aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_1177d168"], ["title", "Libero necessitatibus neque occaecati illo qui architecto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1177d168"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1177d168') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1177d168' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_1177d168') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quisquam ut expedita consequuntur neque. Libero excepturi velit aut natus hic. Eum fugiat voluptatem voluptatem aliquid. Et repellat quos est. Maiores quo ut dolorem repellendus velit.\", \"Rem possimus explicabo. Facilis velit quidem. Iste qui quo blanditiis magnam aspernatur. Maiores et dolore aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_1177d168"], ["title", "Libero necessitatibus neque occaecati illo qui architecto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1177d168"]]  (0.0ms) SAVEPOINT active_record_1 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_1177d168') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (5.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (5.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_f54049cb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur delectus iusto. Nisi dolore est rem molestiae qui maxime. Omnis aut natus. Voluptatum natus nihil. Doloremque eos similique voluptates blanditiis saepe.\", \"Blanditiis minima aut et quas aliquid et odio. Labore esse voluptatem rem pariatur et. Earum quaerat quam eveniet nemo. Fuga aliquid vel minima et sit quas sint.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_f54049cb"], ["title", "Neque quis sunt in libero."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_2c044ec4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quis quos nemo molestiae nihil numquam. Consequuntur in quisquam praesentium perspiciatis voluptatum. Tempore ea non. Aut animi eos vitae perspiciatis velit cum.\", \"Dolores consequuntur non sapiente adipisci nobis dolor a. Aut ipsa totam dolorum. Eius qui reprehenderit minus.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_2c044ec4"], ["title", "Hic repudiandae laboriosam nobis error aliquam ipsa vel."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a8d89709') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi quam ut sed impedit perspiciatis. Mollitia aliquid et quos. Temporibus fugit quod laborum hic quis.\", \"Sed aut a earum suscipit et praesentium ratione. Tempore recusandae sed laudantium saepe sunt. Occaecati dolore ut maxime ipsa. Sit sint omnis est aut. At non blanditiis magni.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_a8d89709"], ["title", "Iusto sunt dolorem consequatur voluptatem ut nihil."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a8d89709"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a8d89709') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8d0d2e2e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore exercitationem nemo. Illo et consequatur dolorem dignissimos. Libero perspiciatis eos. Amet sed a eos non rem omnis. Maxime doloribus dolor et sit iste eum quo.\", \"Dolor non aut. Molestias alias debitis porro. Porro voluptas sint dolor.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_8d0d2e2e"], ["title", "Animi et assumenda mollitia possimus praesentium aut temporibus."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8d0d2e2e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8d0d2e2e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bbc9b64e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia perspiciatis iusto quis dolores perferendis et. Et voluptas consequatur consectetur delectus soluta. Eum est sed est.\", \"Aut fuga aliquam excepturi voluptas distinctio earum voluptatibus. Ex blanditiis dolorum. Explicabo quos quam impedit provident. Impedit quasi laborum voluptas. Placeat fugiat hic enim ipsam.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_bbc9b64e"], ["title", "Eos assumenda quis id."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_bbc9b64e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_bbc9b64e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_949991e6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit et numquam laudantium. Porro tempora omnis provident iure. Aut fugit iusto ab accusamus rerum nihil itaque. Quibusdam mollitia error esse quod explicabo dignissimos.\", \"Placeat eos molestiae. Quisquam quaerat velit non enim tenetur. Aspernatur non quasi quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_949991e6"], ["title", "Id hic recusandae ut quisquam praesentium sit."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5ecb0857') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis fugit dolor atque iste totam. Id officiis eveniet ipsum nemo qui minus consectetur. Rerum enim optio.\", \"Qui porro nemo aliquam. Quia quas expedita. Quisquam voluptatibus dolorem placeat exercitationem. Molestiae nam quidem saepe alias illo.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_5ecb0857"], ["title", "Vitae in impedit voluptatem quidem."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (3.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_13e2aef7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos numquam amet sunt porro facere dolorem. Fugiat temporibus est repellendus sint quia dolore. In enim facilis iure. Autem unde rerum.\", \"Saepe perferendis voluptas voluptatem officia voluptatem. Aut est fugit esse doloremque explicabo labore dolore. Veritatis ullam error deleniti. Voluptas hic neque. Enim voluptates non quaerat.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_13e2aef7"], ["title", "At quisquam blanditiis qui reprehenderit fugit."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_647d267a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem itaque asperiores sunt animi harum beatae id. Rerum enim quia ut dignissimos dolore nihil. Debitis molestiae qui reiciendis nemo labore inventore minus. Eum qui ad voluptatem quia iusto omnis ipsum.\", \"Nesciunt quia qui repudiandae. Atque alias voluptatem enim quis odio voluptas quia. Quas voluptate deserunt eius et velit. Blanditiis commodi omnis eligendi explicabo. Sed nihil architecto eos suscipit libero.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_647d267a"], ["title", "Suscipit numquam ad nesciunt velit adipisci repellat debitis."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_fc557345') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam accusamus unde. Ut inventore nihil. Et et quas soluta.\", \"Quam corporis unde iusto. Sit magni et error. Sapiente asperiores cupiditate et eum.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_fc557345"], ["title", "Quo ut est."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ce6bf378') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis amet debitis repudiandae hic. Accusamus autem sint aspernatur ut sapiente ut. Dolorem omnis ipsam qui optio magnam. Quis earum quia.\", \"Molestiae deleniti itaque asperiores laboriosam. Adipisci exercitationem laudantium. Nam ut tenetur repellat expedita.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_ce6bf378"], ["title", "At aspernatur quibusdam asperiores."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ad6566c9') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis est omnis nulla tempore aliquid et. Alias tempora autem placeat aut amet quasi cupiditate. Deserunt inventore necessitatibus. Quasi adipisci quibusdam.\", \"Autem alias delectus autem officia. Iste facere adipisci excepturi maiores. Temporibus iusto est. Quos sint dicta perferendis. Doloribus in repudiandae voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_ad6566c9"], ["title", "Odit consectetur aperiam ut."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ad6566c9"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ad6566c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ad6566c9' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3717c5c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur et ea dignissimos est ea. Temporibus occaecati rerum similique id qui nulla. Aut non et minima qui fuga alias. Ipsa beatae quia sed sint consectetur explicabo. Voluptatem non numquam sunt culpa architecto.\", \"Molestiae sequi animi sed nihil amet qui aliquid. Quisquam ullam et et eius iure quam perferendis. Maiores corporis nostrum placeat ratione. Culpa inventore consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_3717c5c6"], ["title", "Possimus et vel asperiores alias."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3717c5c6"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3717c5c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_3717c5c6"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_3717c5c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_548caa2f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam consequuntur sint consequatur incidunt. Error eum est quidem quasi. Quas optio doloribus quibusdam iste consequatur. Quidem repudiandae quisquam nesciunt ut tempore. Est commodi consectetur facilis.\", \"Ipsum impedit perferendis sit laudantium aspernatur vitae. Dignissimos et odio voluptatem voluptatem cupiditate. Sunt quasi minus qui qui dignissimos. Itaque id dolorem maiores non. Aut vel consectetur et quibusdam.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_548caa2f"], ["title", "Vel qui non rerum qui architecto."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0cba5d52') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea et facere sunt impedit. Ducimus voluptas illum et nemo. Dolores quis aliquam ex et. Omnis laboriosam repellendus provident et ullam totam saepe.\", \"Rerum error dolorem occaecati deleniti ea. Adipisci deleniti ea totam mollitia. Unde non ducimus repudiandae reiciendis debitis. Debitis voluptatem ad odio et voluptatem dolore dolor. Vel exercitationem non totam est.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_0cba5d52"], ["title", "Optio id maiores autem aperiam consequatur."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3bdbaeb8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam excepturi dignissimos et tempora earum qui. Quod nemo cum similique ut deserunt illum qui. Voluptas nihil nobis est commodi soluta quod.\", \"Officia hic minima corrupti similique dolor reiciendis neque. Vitae est quis modi. Autem vel nam temporibus qui deleniti non sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_3bdbaeb8"], ["title", "Omnis a veniam aliquam ab."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_afa7e354') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores quos fugiat ut cum voluptas. Adipisci exercitationem fugiat doloremque eveniet officia. Id rerum sit harum sunt.\", \"Dolorem assumenda atque. Officiis sed aut omnis. Et consequatur quis incidunt. Iure sequi natus nulla qui illum ut blanditiis.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_afa7e354"], ["title", "Quae aliquam sit quibusdam rerum ea nam magnam."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (3.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8833fc5b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum odio minima doloremque excepturi cumque. Delectus ut quis qui et tenetur. Officiis velit quas nesciunt.\", \"Cum est quas consequatur natus. Molestias quaerat nesciunt tempora. Illo exercitationem dolorem. Quo perferendis aut suscipit odio. In ullam quis occaecati minima ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_8833fc5b"], ["title", "Officiis quia omnis qui neque temporibus voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_f7751de6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam iste sint. Illo ea aut ut perspiciatis. Soluta alias totam rerum. Itaque quisquam voluptas asperiores laborum sapiente nihil.\", \"Aspernatur excepturi saepe qui. Non et cum mollitia ipsum qui provident veniam. Eos tempora veniam cumque. Incidunt sit nisi quasi.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_f7751de6"], ["title", "Quis et quae et quos sint error inventore."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_83497836') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime consequatur natus incidunt unde. Provident et incidunt autem minus. Veritatis et et aspernatur id nihil nisi. Id vel inventore quisquam sit nemo.\", \"Iure suscipit mollitia autem. Voluptatibus sequi officia veritatis amet. Aut quia totam ut nostrum est. Aut non nihil in qui ut. Non temporibus eligendi maiores voluptatibus est voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_83497836"], ["title", "Sunt repellendus consequatur ut."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_83497836"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_83497836') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ebd0cdfc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis et quia quia voluptas iste illo est. Modi harum quia et architecto quis placeat sint. Est quasi non et aut quod.\", \"Libero molestiae voluptas doloremque dicta ex odit autem. At distinctio modi quia. Magni vel sequi quae nemo assumenda.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_ebd0cdfc"], ["title", "Vel minus ut maiores ipsa odit."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ebd0cdfc"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ebd0cdfc') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_0c25220e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui expedita corrupti suscipit sit. Amet omnis molestias nam eaque. Deleniti culpa molestiae dolores veritatis praesentium sed mollitia. Cum distinctio omnis. Quaerat architecto nisi.\", \"Sunt sequi voluptate consectetur. Illo atque ad unde voluptatem et et. Consequatur aut explicabo ipsa. Enim quaerat quia laborum inventore dolorem. Eligendi dolore nisi sed mollitia omnis saepe quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_0c25220e"], ["title", "Consequatur quis quod."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0c25220e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0c25220e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (2.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_36006c15') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro quod molestiae eum a sapiente rerum qui. Quia ex recusandae quidem rerum. Veniam iusto iste quo. Molestias dicta possimus.\", \"Reiciendis esse earum dolorem sed error. Placeat necessitatibus deleniti sit dolore magni. Rerum assumenda dolor. Dolor culpa quia nostrum. Nemo voluptas quas.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_36006c15"], ["title", "Dignissimos perspiciatis quasi officiis reiciendis."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_36006c15"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_36006c15') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1f44b88d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium id laboriosam quia consequatur ut voluptatem sapiente. Iste voluptas eveniet. Aperiam quo totam rerum beatae perspiciatis expedita. Voluptatem velit quae et qui dignissimos debitis. Et voluptatem qui delectus commodi nobis.\", \"Eos et veritatis. Perferendis voluptates cupiditate voluptatem mollitia sequi ab ipsum. Consequatur aut voluptate. Aut itaque ratione et sint at et.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_1f44b88d"], ["title", "Aspernatur at et nobis ipsum."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1f44b88d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1f44b88d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_f891a794') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis nobis odio ducimus dolorem. Perspiciatis ut repellat omnis dicta. Rerum dolores debitis provident repellendus similique et. Amet aut dolore repellat tempora.\", \"Cupiditate beatae voluptate explicabo. Qui est enim quo qui aut. Harum rem dignissimos vel.\"]"], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["name", "contract_f891a794"], ["title", "Nulla quam fugiat."], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f891a794"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f891a794') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:06:52 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (3.2ms) rollback transaction  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ddb6fb23') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur amet omnis. Laborum natus qui veritatis fugiat distinctio. Maiores iusto et. Voluptas velit debitis et sed laudantium.\", \"Eaque qui odio non. Id et debitis dolorum. Sit error nesciunt. Doloribus tenetur pariatur assumenda suscipit. Voluptas reiciendis laborum quos.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_ddb6fb23"], ["title", "Deserunt expedita incidunt ut ea."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ddb6fb23"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ddb6fb23') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_40f25d58') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut minus et ut qui enim. Ullam unde dignissimos voluptatem fugiat ratione. Non et eum. Vero et qui nostrum quaerat perferendis quidem et. Est omnis asperiores modi.\", \"Animi exercitationem omnis aut. Est soluta qui debitis. Nostrum adipisci facilis eveniet laborum vitae sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_40f25d58"], ["title", "Non mollitia excepturi dignissimos id pariatur laboriosam."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_40f25d58"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_40f25d58') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 8ms (ActiveRecord: 0.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f3ab9a04') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis error quidem officiis provident aut fugit. Id architecto excepturi quisquam occaecati perspiciatis. Sit qui sit dicta aut.\", \"Odit porro sit eligendi eum ducimus maxime. Quidem optio assumenda id blanditiis voluptates. Veritatis ipsum est suscipit.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_f3ab9a04"], ["title", "Amet aut voluptatem quibusdam."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f3ab9a04"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f3ab9a04') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_452eb26d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis earum nihil et molestiae eum. Recusandae ad sint modi totam. Eveniet amet non repellendus quia qui cum.\", \"Commodi quia aut assumenda. Non rem sed debitis magnam. Fuga aspernatur quod sed. Dolore sed rerum sed placeat doloremque voluptas. Beatae veritatis quia debitis nihil veniam omnis tenetur.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_452eb26d"], ["title", "Harum suscipit asperiores."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_452eb26d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_452eb26d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_92b0a9a9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et laudantium est quo. Ad est porro autem unde incidunt temporibus facilis. Doloremque quia id magnam. Molestias minus ab.\", \"Ullam doloribus quam aperiam asperiores accusamus. Omnis voluptatem id est ex. Ipsam rerum repellat quibusdam.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_92b0a9a9"], ["title", "Voluptatibus unde totam saepe fuga."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_eda6a55c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam odio repellat quia. Consectetur fugiat quia vel. Hic vel iure quod quaerat. Aut magni illum facere sed omnis. Accusamus consectetur ut.\", \"Provident sit repellat sunt et ad. Dignissimos sit et delectus suscipit. Exercitationem officia nostrum repellat.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_eda6a55c"], ["title", "Et modi repudiandae."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_eda6a55c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_eda6a55c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_05190ce1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum blanditiis non earum similique fugiat pariatur. Iusto minus veniam consequuntur quo. Voluptas vitae deleniti qui. Ab amet suscipit magnam.\", \"Corrupti voluptatem aspernatur dolorem omnis nobis aliquid. Molestiae placeat dolorem facilis error tenetur. Modi blanditiis et.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_05190ce1"], ["title", "Iste atque ea ab quasi recusandae."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_05190ce1"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_05190ce1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos magnam consectetur non at dolor incidunt nisi. Qui totam quos autem cupiditate est. Asperiores vel sed culpa repudiandae voluptas. Doloribus hic fugit nesciunt quae ipsa.\", \"Necessitatibus itaque occaecati aspernatur. Et adipisci consectetur enim sapiente. Maiores quos qui exercitationem rerum et. Sint minima consequatur neque sed. Et quia atque.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Eos reiciendis totam odit repellat amet enim."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti consequatur optio. Quasi quas officiis magnam voluptatem. Nulla animi dicta in facilis nisi. Et esse ut ut est non quam.\", \"Sit totam nemo officiis et aut hic. Accusantium omnis repellat ut sit. Laudantium magni quaerat molestiae veritatis rem ducimus et. Similique reiciendis et modi sint voluptate est nisi. Reprehenderit accusantium aspernatur velit labore aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "beta"], ["title", "Ut provident repellendus similique non."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Eos reiciendis totam odit repellat amet enim."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.2ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est asperiores illo. Nesciunt maiores ea a deleniti. Exercitationem itaque non minus quia. Corrupti omnis perferendis rem.\", \"Illo esse maiores sit aliquid est. Nihil quos saepe dicta. Voluptatibus iure praesentium necessitatibus suscipit quibusdam. Qui fuga quo laborum sequi.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Aut voluptatem nisi ut sed consequatur."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ipsa praesentium molestias qui numquam voluptatum. Dolor placeat quia voluptatem ut et ut dolor. Aut quia voluptates aut suscipit officia qui. Corrupti cumque sint repudiandae quidem sit laboriosam.\", \"Ut amet voluptas nobis. Minima magni corrupti quaerat. Laborum accusamus assumenda odio sunt nulla voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "beta"], ["title", "Aut labore est incidunt illum eum quis eos."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Aut voluptatem nisi ut sed consequatur."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum laborum quam. Laboriosam iusto non eum. Veritatis non quia.\", \"Ut aspernatur voluptas minima quos iusto quasi est. Et a perferendis ea assumenda eos. Sed quam molestiae. Veniam illum quae voluptas cupiditate.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Amet et reiciendis omnis asperiores quae fugit."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et consequatur voluptates esse mollitia ipsa quo. Est rerum nulla porro nihil minus earum corrupti. Autem amet voluptate.\", \"Qui aut qui corporis eligendi et. Dolorem labore totam expedita. Debitis iure quis voluptas quia perferendis et quaerat. Quam ullam sit distinctio. Dicta nulla totam maiores commodi.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "beta"], ["title", "Voluptatum temporibus quia quo rerum harum nisi facere."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.3ms) 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "alpha"], ["title", "Amet et reiciendis omnis asperiores quae fugit."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_17d04048') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum inventore laudantium amet. Cumque inventore quia sunt quos ullam. Nisi aut atque consectetur numquam voluptatem. Assumenda voluptate consequatur fuga numquam fugiat. Dignissimos autem non ex molestiae quo.\", \"Quia ut magnam dolorum facere. Ipsa ullam nihil consequuntur a quas modi. Fugit est ipsum quam voluptas ullam excepturi. Saepe deleniti atque molestiae eos accusantium qui velit. Tempora omnis et atque in assumenda.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_17d04048"], ["title", "Est esse impedit ab voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_17d04048"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_17d04048') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_17d04048"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_17d04048"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_17d04048"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_17d04048') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_867347af') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam at cupiditate illo sunt eveniet. Est similique unde. Nulla ea explicabo dolore iusto perferendis ut. Et veniam officiis ut magnam. Repudiandae quas dolor aut.\", \"Excepturi ipsa fugit. Explicabo voluptatem et officiis suscipit at. Facilis ut est sequi aliquid. Est sunt vel aliquid recusandae voluptatum facilis. Cupiditate enim culpa eveniet nihil ad.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_867347af"], ["title", "Ullam autem aut."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_867347af"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_867347af') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_867347af' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam at cupiditate illo sunt eveniet. Est similique unde. Nulla ea explicabo dolore iusto perferendis ut. Et veniam officiis ut magnam. Repudiandae quas dolor aut.\", \"Excepturi ipsa fugit. Explicabo voluptatem et officiis suscipit at. Facilis ut est sequi aliquid. Est sunt vel aliquid recusandae voluptatum facilis. Cupiditate enim culpa eveniet nihil ad.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "joe"], ["title", "Ullam autem aut."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_03237381') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem molestias ut ea exercitationem est omnis sit. Velit provident labore velit voluptas in qui assumenda. Sed rerum est sequi. Ut sit odit et unde ut ut distinctio.\", \"Architecto enim ipsam ut maiores. Quo nostrum optio non. Dolor atque optio neque. Reprehenderit quo amet. Ab ut ratione.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_03237381"], ["title", "Ex quos repellat in."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_03237381"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_03237381') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_03237381' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_03237381') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem molestias ut ea exercitationem est omnis sit. Velit provident labore velit voluptas in qui assumenda. Sed rerum est sequi. Ut sit odit et unde ut ut distinctio.\", \"Architecto enim ipsam ut maiores. Quo nostrum optio non. Dolor atque optio neque. Reprehenderit quo amet. Ab ut ratione.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_03237381"], ["title", "Ex quos repellat in."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_03237381"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_03237381') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ffd81a44') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora ut voluptates qui officiis impedit. Rerum perferendis quisquam error facilis. Et molestiae voluptas aspernatur. Necessitatibus culpa id sed at vel.\", \"Veniam accusantium molestiae incidunt placeat. Tenetur officiis laboriosam est dolor et debitis. Ipsum quas harum architecto eius laboriosam placeat. Enim sit veritatis iste praesentium numquam voluptas inventore.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_ffd81a44"], ["title", "Nihil quasi soluta ipsam voluptatem exercitationem."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ffd81a44"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ffd81a44') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.7ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ffd81a44"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ffd81a44') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_ffd81a44"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0c480e28') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur ipsa minus nobis aperiam tenetur et voluptatem. Numquam excepturi autem voluptatibus. Voluptate expedita pariatur et distinctio. Vero inventore ad et est.\", \"Quam temporibus tempore qui nihil. Sunt voluptatem qui reprehenderit consequatur totam nemo temporibus. Consequatur esse et. Quo ducimus iste dolorem est sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_0c480e28"], ["title", "Et et molestias."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e4d72c9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem modi nisi voluptas. Et error sit ut nostrum. Quae aut et nulla velit quia fugit. Autem quidem nisi id praesentium ducimus. Minus mollitia consequuntur itaque odit nihil eius.\", \"Dolorem corporis eum nostrum. Perspiciatis in quia omnis quia magni. Laboriosam est et impedit ut rerum dolor.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_e4d72c9a"], ["title", "Rerum optio laboriosam repellat."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_da19c4dc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus voluptatem nulla quod voluptate quasi illum aut. Aliquam fugit magni fugiat dolores optio et maxime. Quod nesciunt dolore. Rerum fuga eum tenetur quo.\", \"Ullam dolores reiciendis eius. Magni commodi iste eum mollitia omnis non. Explicabo recusandae a enim qui possimus. Accusamus architecto dolore neque.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_da19c4dc"], ["title", "Blanditiis numquam non."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_da19c4dc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_da19c4dc') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c5502bcf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo explicabo totam dolore sint fuga id. Consequatur iure incidunt quia expedita. Tempore qui ut est.\", \"Dolorem dolores qui quod tenetur nisi. Soluta molestiae fuga inventore. Aut velit nihil modi ut.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_c5502bcf"], ["title", "Enim est reprehenderit alias dolor iste."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_aecc16f2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla ab cumque et asperiores. A suscipit est. Corporis aut qui.\", \"Id iste fugit nihil. Praesentium ut molestias. Voluptatibus sunt tempora quisquam dignissimos sit. Accusantium rerum corporis neque.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_aecc16f2"], ["title", "Molestias assumenda non excepturi consequuntur distinctio deleniti."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_aecc16f2"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_aecc16f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_aecc16f2"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_aecc16f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_622575db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ut earum et velit eius. Ad similique hic quae. Nesciunt provident similique repellat quia ut aut.\", \"Eligendi voluptatem rerum voluptas. Id fugit eos numquam qui. Sunt sint in qui consequuntur quos iusto minima. Reiciendis consequatur facere at. Unde ex et ipsum dolorum.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_622575db"], ["title", "Rerum reiciendis rerum."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_73326846') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor odio laudantium doloribus et. Et adipisci quia laboriosam. Eum voluptas omnis ut nihil odio. Recusandae eum deserunt delectus saepe sunt molestiae.\", \"Voluptatem est ea sunt iste dolores autem. Voluptatem corrupti aut vitae distinctio error quibusdam. Amet qui est. Animi sit sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_73326846"], ["title", "Reiciendis enim aliquid sint at nihil."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_76e6cca8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur sed velit quidem quia voluptatem. Est exercitationem accusantium molestiae facere. Possimus eos repellendus veniam.\", \"Dignissimos eaque in blanditiis. Ratione reiciendis pariatur aut amet quos. Et ea adipisci autem sit. Voluptatem enim sunt est tempore molestiae dolor occaecati. Est hic atque qui dolores molestiae eius.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_76e6cca8"], ["title", "Culpa optio et tempora aspernatur assumenda."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e5938843') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit voluptas doloremque labore voluptates aspernatur fugiat. Molestiae odio aut pariatur. Iusto perferendis commodi deleniti. Temporibus distinctio facere nulla iste nisi aut magni. Id voluptatem et aut voluptatum illum.\", \"Aut quos ut et itaque nulla eum. Consequatur voluptates molestiae dicta libero. Animi eius optio vitae in. Ut placeat accusamus aut enim sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_e5938843"], ["title", "Sunt necessitatibus similique vel expedita modi."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_17308cdb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut molestiae non eligendi repudiandae. Occaecati sequi enim pariatur. Placeat voluptatibus enim reiciendis et deserunt soluta excepturi. Qui consequatur et est libero animi dolores soluta.\", \"Amet reprehenderit odit. Saepe vero qui ut dicta minima. Consequatur incidunt neque suscipit nobis maxime. Aut nemo ut nisi aut facilis.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_17308cdb"], ["title", "Rerum sit voluptatem hic quas vero."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_5b74fb3d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus occaecati praesentium sapiente quidem distinctio. Nulla ut accusamus ut. Temporibus omnis labore nemo consequatur sit.\", \"Amet totam exercitationem vitae adipisci. Voluptas corporis quibusdam. Blanditiis quis qui eos. Enim soluta et ad adipisci earum.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_5b74fb3d"], ["title", "Laboriosam eveniet porro."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a482f8f5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad excepturi nobis voluptatem placeat. Minus recusandae est repudiandae ut sequi quisquam. Aut possimus ut ipsum et debitis fuga temporibus. Ipsa quod et est tempora quia.\", \"Aut illum voluptatem. Delectus provident odio perspiciatis omnis quos at. Eveniet architecto aspernatur. Suscipit nam alias tempora ut. Id maiores est tempore dignissimos vero.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_a482f8f5"], ["title", "Mollitia soluta et minima ut."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c8fe2e33') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus neque perferendis veritatis quisquam necessitatibus. Voluptatem accusantium quam odio. Est accusamus voluptas dolorum. Facilis autem unde odio quasi a voluptates.\", \"Consectetur quis adipisci deserunt impedit. Voluptatem incidunt ipsa. Temporibus omnis quidem voluptate quaerat. Necessitatibus optio quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_c8fe2e33"], ["title", "Quia quia perspiciatis ex animi."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ac160bcc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet labore blanditiis omnis. Doloremque quia sed sunt laudantium. Commodi laborum voluptatem dolores beatae. Nam reprehenderit magnam fugiat.\", \"Inventore molestias ducimus omnis voluptates. Aut consequuntur ea et dolorem fuga quae error. Repudiandae deserunt repellendus corporis enim corrupti. Id tempora accusamus delectus molestiae facere. Aut ex dolores molestias atque dicta voluptatum.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_ac160bcc"], ["title", "Aut nihil iusto qui veniam et natus voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ac160bcc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ac160bcc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1c5c9181') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum est illo delectus debitis natus dolorum. Eum est ex unde culpa vero voluptatem repellat. Harum vitae iste esse sed ea facilis incidunt. At doloribus ut. Error quaerat dolor dolorem blanditiis.\", \"Non quibusdam voluptatum. Ut quisquam qui dolores iusto quis ipsam et. Sed iste recusandae.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_1c5c9181"], ["title", "Amet sapiente et rerum iusto distinctio sit."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1c5c9181"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1c5c9181') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1c5c9181' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a661b628') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui a atque. Voluptates ipsum omnis perferendis. Et enim aut error aut.\", \"Quo omnis nostrum nesciunt consectetur perspiciatis. Quasi soluta ab nostrum sint ut sed. Eveniet impedit qui et at est deserunt autem. Iusto perferendis ut omnis ex sunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_a661b628"], ["title", "Placeat accusantium sint ut perferendis est."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_63d8b76b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque mollitia velit. Consequatur inventore sit sunt ea quia vitae tempora. Aliquam amet deleniti voluptas in facilis. Minus facilis et nobis.\", \"Molestias nesciunt et nam. Rerum esse et facere. Ex ut rerum in rerum. Voluptatem deleniti enim vel est quo temporibus quos. Sunt est eos.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_63d8b76b"], ["title", "Minima alias omnis esse error sunt maxime nemo."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_63d8b76b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_63d8b76b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c0fcb6a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti ipsum repellendus expedita. Sint dolorum omnis. Aut ab at porro tempore quidem.\", \"Aut sit commodi ullam maxime. Ut sed ea similique rem voluptatem. Rerum corrupti et dolorem. Aut unde quasi non.\"]"], ["created_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00], ["name", "contract_c0fcb6a4"], ["title", "Est dolores dolorem labore ipsa et."], ["updated_at", Fri, 07 Mar 2014 21:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_d6c4521a') LIMIT 1 SQL (0.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores voluptas quae molestias ipsam perspiciatis. At ad animi nemo. Ab voluptas eum cupiditate et voluptas quos. Eum soluta nemo.\", \"Reprehenderit nulla repellendus voluptatem earum. Et porro quae sit eius rem. Earum dolorem eum. Rerum quod pariatur.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_d6c4521a"], ["title", "Placeat ab et quidem necessitatibus deleniti nihil."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d6c4521a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d6c4521a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_d6c4521a"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_d6c4521a"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_d6c4521a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_d6c4521a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d8d8a04e') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et omnis eos id harum id qui dignissimos. Modi aperiam in rerum ut. Possimus ullam est dolores. Enim illo perspiciatis et ut est illum dolorem.\", \"Ipsum velit cupiditate quisquam perspiciatis blanditiis sed. Quia vitae et aperiam. Temporibus velit et qui est fugit ipsam.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_d8d8a04e"], ["title", "Porro commodi quam eos."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d8d8a04e"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d8d8a04e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_d8d8a04e"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d8d8a04e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_d8d8a04e"]]  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_9d57690a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore necessitatibus sint consequatur est iusto. Odit veniam voluptas voluptas commodi esse incidunt. Vel adipisci placeat.\", \"Perspiciatis voluptatem reprehenderit omnis. Et pariatur quia nihil voluptas consequatur similique dolorem. Impedit cupiditate aliquam et dolorum neque quo fugit. Veniam vitae facilis eos animi modi.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_9d57690a"], ["title", "Nihil qui dolore eligendi natus fuga maxime."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9d57690a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9d57690a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9d57690a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_9d57690a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore necessitatibus sint consequatur est iusto. Odit veniam voluptas voluptas commodi esse incidunt. Vel adipisci placeat.\", \"Perspiciatis voluptatem reprehenderit omnis. Et pariatur quia nihil voluptas consequatur similique dolorem. Impedit cupiditate aliquam et dolorum neque quo fugit. Veniam vitae facilis eos animi modi.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_9d57690a"], ["title", "Nihil qui dolore eligendi natus fuga maxime."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9d57690a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_9d57690a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_505774b2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id dolor reiciendis et alias animi temporibus aut. Incidunt consequatur velit tempora eligendi recusandae a. Sapiente recusandae provident.\", \"Assumenda ab ex eum sit. Et rerum beatae possimus laboriosam incidunt. Quos non beatae cum minus amet. Nihil sequi beatae voluptatem officiis.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_505774b2"], ["title", "Illum dolor ut voluptas iusto."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_505774b2"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_505774b2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_505774b2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id dolor reiciendis et alias animi temporibus aut. Incidunt consequatur velit tempora eligendi recusandae a. Sapiente recusandae provident.\", \"Assumenda ab ex eum sit. Et rerum beatae possimus laboriosam incidunt. Quos non beatae cum minus amet. Nihil sequi beatae voluptatem officiis.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "joe"], ["title", "Illum dolor ut voluptas iusto."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (5.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_97d98cbf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore ab aut et. Error nam ad harum dolores. Quia odio non aut at tempora eius. Placeat perspiciatis recusandae exercitationem id sint ipsa occaecati.\", \"Dolor occaecati voluptas aut consequuntur. Quibusdam enim tenetur consequatur qui culpa quas et. Officia qui illo. Voluptatem pariatur reprehenderit dolorum. Ullam doloribus fuga labore vel.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_97d98cbf"], ["title", "Et molestias eum."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_d42ce254') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error consequatur quod fugiat hic sed. Aut eum blanditiis saepe est ipsa. Occaecati deserunt incidunt laboriosam nesciunt qui.\", \"Soluta totam reprehenderit a nisi amet. Est architecto consequatur necessitatibus veritatis deleniti. Quis nihil quas sint.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_d42ce254"], ["title", "Natus qui et perspiciatis accusantium aut."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d42ce254"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_d42ce254') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a9a2fde3') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla et illo dolorem ipsam rerum soluta. Debitis occaecati consequatur et aliquid. Quia quos enim ipsam suscipit nihil maxime minus.\", \"Maiores veniam voluptas. Placeat sed quis cum neque ea facilis. Necessitatibus mollitia quam. Perspiciatis excepturi facere laboriosam occaecati.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_a9a2fde3"], ["title", "A ullam consectetur at veniam autem consequatur."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a9a2fde3"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a9a2fde3') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_d3a9f466') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint consequatur officiis ut vero ut fuga dolor. Aut eaque consequatur qui dolorum cum. Eum dicta nisi eos voluptas iste. Aut et eum saepe quod numquam ut non.\", \"Ratione et architecto deserunt temporibus. Vel a reiciendis. Autem nihil eligendi earum ipsam dolorum aspernatur inventore. Rerum vel non sit vero. Aut beatae eum facilis vero voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_d3a9f466"], ["title", "Est delectus et vel molestiae minus."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d0970afe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab voluptas minus placeat repellendus accusantium. Neque suscipit velit. Corrupti illum fugit voluptatem autem illo dolores. Aperiam harum odit officia enim sed tenetur.\", \"Enim maxime a qui eveniet debitis. Quaerat hic facilis officia ullam id aut. Consequatur pariatur architecto aut vero recusandae deserunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_d0970afe"], ["title", "Possimus rerum consequatur illum."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d0970afe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d0970afe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_db6e06bf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam laboriosam voluptas qui aut quaerat sapiente. Qui excepturi eum delectus deserunt ab dicta veniam. Modi numquam fugiat. Ab neque ullam quaerat repudiandae.\", \"Aut aliquam ut repellat quidem esse eos nostrum. Eius quis et nisi. Aut necessitatibus ab et omnis nobis. Et suscipit incidunt eum quo. Maiores impedit vel ut ipsum ipsa eum saepe.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_db6e06bf"], ["title", "Ut id qui beatae nihil."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_db6e06bf"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_db6e06bf') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_db6e06bf"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_db6e06bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_b38ee370') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores fuga autem rerum enim et assumenda. Dolores exercitationem eaque. Reiciendis debitis architecto aut deleniti. Eos officiis blanditiis et sequi aperiam dolor. Quibusdam itaque reiciendis consequatur.\", \"Esse voluptates excepturi. Aut odio consequatur a aspernatur tempora rem. Dolorem in ducimus nemo facere. Voluptatibus voluptatem eveniet. Quia aut minima.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_b38ee370"], ["title", "Praesentium dolor sed placeat aliquid."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b38ee370"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b38ee370') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b38ee370' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_479c5a09') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit quia quia beatae. Sunt est ullam magni tempora reiciendis possimus odio. Perspiciatis minima provident.\", \"Corrupti sequi debitis. Et sunt officiis sapiente aliquid voluptates. Animi eum doloremque maiores deserunt explicabo voluptatibus.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_479c5a09"], ["title", "Est unde error harum quia."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_68945c14') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur non eum. Facere minima maiores fugit voluptatem qui deleniti officiis. Aut veritatis vel ex odio dolorem illum. Consequatur fuga quidem aut laboriosam adipisci nihil. Vero ipsa aut omnis.\", \"Ad ut qui. Expedita rem atque nesciunt. Quia autem neque repudiandae molestias dolores aut laboriosam. Dicta aut dolore aut deleniti.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_68945c14"], ["title", "Eum explicabo soluta."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_e6fb49d3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus aspernatur inventore asperiores porro soluta. Et doloribus dolorem. Enim libero deleniti in praesentium in. Dolore ut perspiciatis qui praesentium. Voluptatem in rerum sunt et.\", \"Ab autem est quod reiciendis fugit. Vitae qui et necessitatibus sequi et. Occaecati voluptates enim. Et eum aspernatur magni dolore aut. Aliquam et quidem quibusdam.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_e6fb49d3"], ["title", "Sed est tempora qui."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c2552bcc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed iusto odio. Alias omnis consequatur omnis est qui quos. Eveniet eum quis qui voluptate enim autem.\", \"Suscipit occaecati dolorem quis. Repellendus quo quis. Autem praesentium quia esse.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_c2552bcc"], ["title", "Sed quam esse dolorum et."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_c2552bcc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_c2552bcc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9c607016') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga consequatur est ducimus optio. Nam ab et soluta pariatur delectus qui est. Eum id laborum odit suscipit illo voluptatem et.\", \"Libero omnis temporibus nesciunt expedita. Amet qui omnis. Quia dolores a inventore doloribus. Dicta incidunt qui molestiae eum fugiat.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_9c607016"], ["title", "Dolor delectus fugiat error non repellendus et deleniti."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (3.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_47c3bd75') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni eum error rem explicabo sunt. Praesentium provident consequuntur. Laborum est soluta labore. Nam saepe cupiditate eius totam molestiae nulla. Atque beatae dolor quas dolorem quo placeat vero.\", \"Quaerat quia perspiciatis. Illo ipsa magnam quos repellat. Mollitia quo vel et voluptas. Optio sint eligendi iusto excepturi corrupti cumque omnis.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_47c3bd75"], ["title", "Repellendus et beatae."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.6ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_aa5403d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit aspernatur quasi vero consequatur consequatur. Consequatur repudiandae debitis ut placeat libero ea. Voluptas et quaerat quia. Quaerat commodi non qui a voluptas. Minus occaecati qui neque officia aspernatur sed unde.\", \"Itaque minus et repellat unde ducimus officia. Id atque modi qui nostrum et illum quo. Non nisi nihil perferendis inventore. Aliquid laboriosam cum sequi corporis esse quo. Sit dignissimos a sequi vel.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_aa5403d2"], ["title", "Sed animi harum similique est autem aperiam consequatur."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0050bb56') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error et enim earum sit enim. Explicabo quos eum quisquam culpa expedita assumenda. Perferendis excepturi aperiam distinctio quasi aut. Aut nihil et facere architecto qui.\", \"Id omnis voluptatibus neque ut qui. Repellat corporis facere tenetur. Omnis labore recusandae. Tempora nostrum labore mollitia vel. Et consequatur animi eos magnam assumenda sapiente consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_0050bb56"], ["title", "Impedit perspiciatis corporis aut qui voluptatem velit."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_97246f5c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam ut perferendis accusamus eaque recusandae. Earum deleniti ut odio corporis aut. Est quaerat magni qui.\", \"Non ipsum totam itaque cum in. Nihil quam similique iure iste facilis ut. Maiores molestiae et aut rerum quia. Adipisci enim soluta neque magnam et quos unde.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_97246f5c"], ["title", "Excepturi amet soluta aut nihil voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_97246f5c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_97246f5c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_988b46d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi et corporis nisi hic. Provident saepe ea et dolor facere. Architecto doloribus explicabo aliquid tempore praesentium distinctio.\", \"Ab vel nihil omnis. Ut accusamus voluptatum numquam molestias consequatur dignissimos mollitia. Autem cumque repudiandae temporibus. Dolorum autem tempore quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_988b46d0"], ["title", "Est vero voluptas."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_17b9e634') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste assumenda delectus quae. Asperiores laudantium soluta molestiae ut debitis. Rerum eum non repellat laboriosam quibusdam dolorum assumenda. Sit quisquam est ea.\", \"Ipsa totam accusamus. Ducimus esse pariatur ipsum aliquid neque. Velit cumque sed et itaque. Quam provident non nihil tenetur. Laborum molestiae quo officia culpa qui voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_17b9e634"], ["title", "Voluptas ut recusandae."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3a465607') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi sint debitis minus voluptatem corrupti ea neque. Et cumque cupiditate ut ratione laborum beatae. Assumenda repellendus eligendi quae quo quod neque facilis. Non est sit accusantium exercitationem iusto ipsa ratione.\", \"Aperiam mollitia ducimus ex culpa omnis quod quia. Dolore officiis doloremque dolor qui dicta eos illo. Rerum animi quis sapiente sunt praesentium est quae. Consectetur et ipsa laboriosam quia ut qui.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_3a465607"], ["title", "Autem ex similique pariatur voluptatem reprehenderit et doloribus."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_eacbee28') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio pariatur aut fugiat est. Aut amet omnis quia vitae aliquam. Mollitia optio et esse ipsum. Possimus in corrupti.\", \"Sint facere ea amet pariatur doloremque. Sed dolores tenetur quae ut voluptatum earum. Eius consectetur excepturi quis. Sed ducimus est quaerat adipisci quibusdam dignissimos.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_eacbee28"], ["title", "Esse temporibus voluptas unde deserunt."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_444f8010') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam voluptatibus laudantium sit. Consequatur saepe facere sed laudantium. Est enim eos error aut.\", \"Molestiae unde ea aut quaerat impedit. In similique incidunt. Iure non eum illo. Nesciunt quisquam quam ut occaecati expedita at quia. Laboriosam hic molestias sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_444f8010"], ["title", "Nulla iusto veritatis."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem qui sed nihil enim modi et. Qui ab fugiat officia earum quae placeat ut. Est in ut quod officia repellendus. Est dolorum repellendus.\", \"Voluptatem porro eius velit et laborum reiciendis ea. Eius delectus eaque vero qui et sapiente maxime. Reprehenderit nam sed id sint minus placeat veniam. Ut est officia aut laborum.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Qui est eum sed esse eum."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est vel repellendus et nam reiciendis. Consequatur omnis consequatur. Occaecati voluptas voluptatem dolores ea culpa.\", \"Quibusdam quasi sed. Sapiente totam dolor et omnis. Rerum et quo ut. Unde cumque consequatur soluta inventore nesciunt incidunt. Autem fugit quod eos ratione incidunt quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "beta"], ["title", "Necessitatibus sequi quia corrupti ut et adipisci."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Qui est eum sed esse eum."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est molestiae aut. Non provident sed. Sint laborum consequuntur debitis.\", \"Maiores rem omnis molestiae voluptatem voluptas quis et. Nobis non molestias consequuntur odio culpa et veritatis. Veritatis incidunt minus. Omnis totam qui est dolorem praesentium earum et. Quam totam et commodi possimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Optio accusamus perferendis dolore voluptatibus."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa id ratione sit expedita et. Quo illo cumque. Voluptatem atque ut commodi. Quo sed est debitis veniam sit sed.\", \"Repellat qui dolor minima. Distinctio qui cumque quia a soluta blanditiis. Sint autem illo. Adipisci voluptatem totam dolorem eaque. Ut et atque beatae culpa molestiae.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "beta"], ["title", "Ut quibusdam omnis optio qui eius culpa."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Optio accusamus perferendis dolore voluptatibus."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et facere sed molestiae. Labore qui quis in et. Harum vel assumenda et.\", \"Odio non earum fugit qui temporibus. Voluptas voluptatem aut quidem ab. Quidem dignissimos sunt quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Expedita sint cupiditate non voluptatum exercitationem."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum explicabo amet consequatur recusandae. Voluptas est sed non sed consequuntur dolor. Sint ut reiciendis atque.\", \"Omnis cumque deserunt qui ipsam perspiciatis rem. Harum sed ea. Esse pariatur velit quibusdam. Incidunt ducimus assumenda et suscipit illum voluptatibus. Sit est expedita.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "beta"], ["title", "Explicabo necessitatibus commodi."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "alpha"], ["title", "Expedita sint cupiditate non voluptatum exercitationem."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_db9e3d21') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore fugiat quaerat odio soluta consequatur aperiam facilis. Explicabo similique est molestiae praesentium consequatur. Nulla corporis voluptas iusto dolor. Veritatis velit iure exercitationem et. Eum quis officia culpa voluptatem.\", \"At consectetur voluptatem possimus nostrum impedit. Recusandae molestiae dolorum. Ad error qui delectus cupiditate. Et maiores deleniti. Consequatur libero quibusdam voluptates aut saepe non.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_db9e3d21"], ["title", "Et est quas consequatur tenetur."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_db9e3d21"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_db9e3d21') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ffcc64d1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci qui sunt beatae. Omnis rerum veniam sit aut labore. Voluptatum eos molestias molestiae quibusdam dolorum nemo et.\", \"Qui architecto maiores. Iure ullam quas asperiores distinctio maiores aliquid et. Voluptas inventore itaque dignissimos dolor enim quasi aut. Aut a veritatis reprehenderit odio occaecati rerum.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_ffcc64d1"], ["title", "Voluptas suscipit omnis quo."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ffcc64d1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ffcc64d1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_6048de2f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel expedita ab. Natus ratione iusto laboriosam harum. Facere dolore ut sit ea aut est accusamus. Totam minima sint est qui.\", \"Iure sit quos. Dicta fuga maiores vel delectus voluptatem. Omnis ut sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_6048de2f"], ["title", "Possimus blanditiis qui est consequatur ut."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_6048de2f"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6048de2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_34b69cf0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est error repellat et beatae et voluptas. Maiores distinctio qui dolores qui odit et. Et omnis quia officia et ratione ullam voluptatem.\", \"Numquam id culpa adipisci iste ducimus optio et. Et placeat est asperiores recusandae distinctio delectus qui. Dolorum hic est distinctio ratione. Dolorem odio ut impedit. Architecto soluta expedita in porro rerum consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["name", "contract_34b69cf0"], ["title", "Minus consequatur repellendus."], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_34b69cf0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_34b69cf0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:16:27 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (3.0ms) rollback transaction  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_0960d594') LIMIT 1 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil in molestiae corrupti sunt molestias. Mollitia id cum sit. Ea non fugit quae suscipit dolor. Beatae maiores eum neque.\", \"Repellat officiis eum. Enim eius dolores eos. Atque rerum quo id. Et amet quod quae.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_0960d594"], ["title", "Repellat corrupti qui dolorem omnis et."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0960d594"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0960d594') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ca7dd13f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et provident odit quos consequatur numquam eius. Officia velit ipsam. Expedita numquam et voluptatibus consequatur commodi dolor. Dolor qui tenetur qui sapiente est. Porro officiis laboriosam.\", \"Vel voluptatibus et officiis aut. Fugit voluptas exercitationem et earum veniam. Consectetur vel voluptate aspernatur. Mollitia debitis nesciunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_ca7dd13f"], ["title", "Non eligendi dolore incidunt atque in recusandae blanditiis."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_ae8e6228') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut molestias amet. Aut odio in mollitia sunt sit. Nemo et cumque fugiat debitis expedita illo maiores. Aut quaerat quibusdam maiores ducimus nobis. Repellendus et voluptatum.\", \"Omnis quia ducimus praesentium earum ab quae dolore. Tenetur velit architecto reiciendis qui amet ab ut. Non rem rerum rerum possimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_ae8e6228"], ["title", "Nam explicabo optio."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ae8e6228"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ae8e6228') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_1a472b5e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui consequatur voluptate a. Aut quas maiores. Hic molestias molestiae quo assumenda. Ut qui excepturi incidunt ullam officiis iste ut.\", \"Exercitationem ut occaecati. Quas ut saepe ullam amet voluptas recusandae. Corporis est beatae et quia harum laboriosam. Qui facilis doloremque.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_1a472b5e"], ["title", "Quia iure sunt earum."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1a472b5e"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1a472b5e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_79ff5e1b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi quis quia id. Placeat facere ut. A aliquam numquam culpa. Eaque in commodi. Et perferendis cupiditate.\", \"Aliquam quasi et modi. Eos eligendi qui dolores facere eos qui. Voluptas expedita provident harum dolore inventore. Et ut in cumque maxime assumenda eos quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_79ff5e1b"], ["title", "Qui repudiandae illum tenetur amet reiciendis in."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_79ff5e1b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_79ff5e1b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_54287162') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure exercitationem eum nulla. Rerum ipsa animi quis omnis exercitationem. Minus ipsa perferendis quaerat suscipit numquam dolores maxime. Et est error nostrum aperiam eos labore ratione. Ea doloribus rerum aut voluptas corporis dolores.\", \"Repellendus hic ad consectetur et quis. Non eveniet est natus minima saepe deleniti. Quaerat ullam consequuntur labore. Qui aut voluptates aut occaecati sequi quos.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_54287162"], ["title", "Ex eveniet unde qui provident animi velit voluptate."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_54287162"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_54287162') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5929ccd5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid dolor animi molestiae quis laboriosam quas odit. Libero non quidem quos. Quam quod alias omnis commodi. Et est repudiandae corporis.\", \"Velit enim est assumenda est voluptate quasi. Unde ratione facilis modi sed velit doloremque suscipit. Ullam eum blanditiis et rerum architecto magni. Enim molestias est qui minus voluptatum illo quis.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_5929ccd5"], ["title", "Porro illum officiis sunt."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5929ccd5"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5929ccd5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est voluptas assumenda veritatis. Quia velit earum amet. Nam aut et doloribus sapiente error eaque quod. Excepturi consequatur ut commodi.\", \"Consequuntur aspernatur molestias vel facere quia veritatis. Ex voluptas architecto commodi explicabo fugiat placeat nemo. Consequatur veniam asperiores.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Ad vero omnis aut corrupti."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos est alias magni odit et eveniet quos. Magnam sit perspiciatis omnis. Quod repudiandae nobis rerum ut et quam.\", \"Reprehenderit necessitatibus quidem aliquid iusto minima nihil qui. Omnis aut eum nobis quo. Eaque voluptatem aut repellendus. Maiores qui aut. Modi magni praesentium.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "beta"], ["title", "Voluptas dolores et eum repudiandae."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Ad vero omnis aut corrupti."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.3ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia distinctio quia et sed sed laborum incidunt. Libero fuga nulla pariatur quia. Asperiores occaecati error molestiae. Dolores illum qui. Sint harum beatae libero qui adipisci.\", \"Voluptatem temporibus tempore illo quam voluptatem quisquam. Sequi voluptatem provident magnam voluptatem expedita recusandae inventore. Nemo officia pariatur molestias consectetur autem. Vel sed est laboriosam aut. Fugit et aperiam adipisci.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Omnis odit quo aliquid."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non qui fuga adipisci ullam eaque officiis fugiat. Est earum sed aut nihil qui odio sunt. Est dolorem officia eum. Fugit molestiae sunt.\", \"Nisi eum aut hic esse architecto quos. Repellendus quaerat esse laborum iusto et. Est maiores commodi ut cupiditate. Qui enim ratione laborum eos incidunt dolorum pariatur. Autem corporis beatae odio.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "beta"], ["title", "Expedita omnis qui nostrum et fugiat."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Omnis odit quo aliquid."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat itaque aut. Omnis qui voluptatem sunt. Ad est hic eius. Porro accusamus a molestias.\", \"Corrupti possimus ducimus quia animi laudantium eveniet. Sed architecto et itaque eligendi asperiores omnis. Vitae velit odio rerum porro adipisci officiis alias.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Assumenda aut ea ducimus laboriosam."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto nihil qui. Repellat assumenda repudiandae rerum aut excepturi. Dolorem numquam consequatur. Quo est sed ad dolor fugit deserunt cupiditate.\", \"Neque maiores et a. Aperiam explicabo harum. Minima qui eaque sunt est.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "beta"], ["title", "Incidunt cumque repudiandae sed eveniet vel enim."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "alpha"], ["title", "Assumenda aut ea ducimus laboriosam."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_665e2bc3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt quasi sint vel amet deserunt in architecto. Et quaerat ea sit iure adipisci. Culpa nesciunt earum. Distinctio rerum veritatis praesentium voluptas ut. Aut non dignissimos.\", \"Rerum accusamus alias sit tempora eum architecto sed. Aspernatur omnis eum enim autem est vero libero. Impedit labore vero natus.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_665e2bc3"], ["title", "Quos et id iure qui eos aut nostrum."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_665e2bc3"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_665e2bc3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9793d3bd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et laboriosam iusto. Amet incidunt reiciendis omnis non voluptatibus repudiandae dolores. Est nemo quia et voluptatibus quod. Ratione cumque minima quis vero et aut nam. Quia maxime sed corrupti.\", \"Doloremque et qui sit adipisci ipsum. Cumque at nihil enim. Beatae quidem possimus voluptas nihil dolores.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_9793d3bd"], ["title", "Explicabo quia perspiciatis qui in."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9793d3bd"]]  (0.0ms) SAVEPOINT active_record_1 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_9793d3bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9793d3bd' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c2bba30a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae perspiciatis explicabo unde autem. Eaque ex omnis. Autem aut corrupti quia. Eum doloribus sint aut rerum quia et. Voluptatem nam consequuntur saepe fuga suscipit totam odio.\", \"Optio id nemo. Consequuntur vel est. Consequuntur dignissimos vel voluptate veniam.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_c2bba30a"], ["title", "In sint et hic consequuntur."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_1ef8b7f6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum a deleniti. Praesentium rerum numquam et deserunt et dolor. Expedita reprehenderit ut ipsa omnis vitae. Voluptas sunt praesentium illum omnis quod odit. Provident excepturi possimus quod omnis voluptatum molestiae qui.\", \"Et harum aut quae nulla hic reiciendis. Sed inventore sapiente enim et quis aut unde. Suscipit culpa consequuntur eligendi facere rerum veritatis reprehenderit.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_1ef8b7f6"], ["title", "Laborum dolore deleniti eos."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1ef8b7f6"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1ef8b7f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1ef8b7f6"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_1ef8b7f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_556eb4f8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et libero eligendi quis. Laudantium corporis ipsam animi consequatur ut. Quidem eaque qui similique cum laudantium et. Voluptate ducimus a et.\", \"Tempore quo nobis. Modi a veritatis voluptas est numquam velit ratione. Debitis dolor maiores officiis.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_556eb4f8"], ["title", "Dicta provident quod eligendi."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_91e457b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti molestiae labore aut vitae quidem eum. Dolor suscipit commodi perspiciatis voluptatum repudiandae. Labore cupiditate impedit saepe tempora.\", \"Voluptatem blanditiis aliquid. Reprehenderit est quis qui ratione molestias adipisci. Repellat in cumque perferendis est. Nisi occaecati voluptate autem.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_91e457b8"], ["title", "Autem inventore ducimus."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b50b9905') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem quia sequi nostrum. Cupiditate nulla recusandae voluptates qui. Modi molestiae nemo rem vero officiis fuga.\", \"Eaque sit cum placeat eum voluptates. Dolorem nulla inventore rem in qui in. Doloremque laborum eum nam provident et repellat. Non vitae illum vel blanditiis.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_b50b9905"], ["title", "Rerum ipsa animi molestiae."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_baaa5dab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus recusandae assumenda iusto illum. Magni incidunt quibusdam quam velit quia eum. Nihil necessitatibus eligendi culpa.\", \"Odio porro maiores animi occaecati voluptatem cum. Eum repellat iusto quia cupiditate enim in praesentium. Excepturi nostrum quidem ea voluptas. Qui sint eius dolores labore et. Cupiditate quia sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_baaa5dab"], ["title", "Aut ea consequatur illo dolor incidunt."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_baaa5dab"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_baaa5dab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_850b93e2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia commodi praesentium. Expedita est qui ratione. Et eos inventore enim. Eum voluptatem totam.\", \"Est dolor tempore. Repellat rerum recusandae voluptatem iusto eum et numquam. Consectetur ipsam quis. Voluptatem sunt vel ut quisquam omnis eveniet ex.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_850b93e2"], ["title", "Quo est magni molestiae eos illo dolore ex."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_434be490') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem enim dolores aut impedit. Aut id voluptas. Voluptas quas illo pariatur quia distinctio doloribus. Qui incidunt placeat nobis quo exercitationem fuga.\", \"Reiciendis itaque similique. Sed similique nostrum corrupti fugit. Et nostrum dignissimos est delectus aut labore architecto. Voluptatem aliquid quas. Ad distinctio nulla.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_434be490"], ["title", "Qui enim qui."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_433a9781') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi iste facere quo consequatur saepe ut vel. Adipisci optio est hic et minima inventore. Illo facere et reprehenderit laborum quia officiis.\", \"Est architecto sint et dolore dolores. Repellat velit sint explicabo possimus recusandae odio. Fuga nihil iste architecto voluptatem. Tempore ab dignissimos voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_433a9781"], ["title", "Est similique sit."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_007cadce') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati deleniti sit cumque. Placeat facere impedit est. Soluta qui repellat dicta ea. Ullam dolores et voluptate.\", \"Voluptas suscipit nam. Sit et excepturi. Porro provident eos itaque odio necessitatibus et repellendus. Accusantium laboriosam possimus quia cumque perspiciatis molestiae. Similique est quia quis nostrum consequatur repellat.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_007cadce"], ["title", "Veritatis harum ullam nostrum cum ut sint."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f4b55d24') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dignissimos velit vel quo atque corrupti perspiciatis. Occaecati voluptatem nam aperiam non iusto. Sequi dolorum et sed natus officiis non consequatur.\", \"Neque recusandae nulla id odio. Sint et quo. Fugit similique qui.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_f4b55d24"], ["title", "Fugit quos necessitatibus sit."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f4b55d24"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f4b55d24') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_fb915992') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero ex consequatur alias nemo iste et. Qui rerum ut voluptas laudantium cum. Non corrupti est.\", \"Vel nisi tempore sunt earum assumenda. Expedita quibusdam earum explicabo dolorem nihil placeat. Ut eum doloremque minus deserunt cumque sit. Possimus placeat et exercitationem ut sit et cupiditate.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_fb915992"], ["title", "Et voluptates rerum dignissimos ut quam."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d90c884c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et architecto officia voluptatem iure. Dolores cum aspernatur et. Quia illo ad quis ea qui. Aut vitae ipsa ea in neque. Non maiores mollitia in.\", \"Qui saepe aut consequuntur est voluptatem. Qui quibusdam ipsam ea. Perferendis in ipsa iusto dolor quibusdam consequatur eum. Quo illum quis aut rem explicabo aliquam sed. Vero voluptate et vitae ratione amet omnis.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_d90c884c"], ["title", "Voluptatibus ut sunt est."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c2f06c3f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam accusamus et. Ab cupiditate sed sit. Distinctio eos et sequi. Omnis eveniet et nemo qui sunt. Nemo vel molestiae.\", \"In natus animi. Officiis itaque culpa voluptates nulla exercitationem debitis. Ea et nisi reprehenderit. Totam tenetur quae quia quisquam.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_c2f06c3f"], ["title", "Illum quaerat expedita in rerum."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_249d06a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis doloribus a quisquam rem laborum optio. Perspiciatis corrupti alias qui voluptas. Nulla necessitatibus porro qui dolorem.\", \"Harum dolores eos voluptatum fuga. Quia non a. Ipsam non qui voluptas corrupti soluta iste voluptate.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_249d06a7"], ["title", "Molestias optio quos voluptatem error earum placeat non."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_4076614c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum in recusandae dolore delectus qui illo. Voluptates suscipit fugiat molestiae culpa. Possimus vitae hic.\", \"Quas aliquid incidunt ab omnis quis officiis. Et voluptatem possimus cupiditate repudiandae eveniet. Dolor placeat et. Omnis cum vel ut molestiae sunt. Occaecati in autem dolorem.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_4076614c"], ["title", "Unde nemo nobis quasi."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_f8b22dfe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab ea et ea molestiae et eaque possimus. Doloremque sit pariatur vel debitis nulla. Mollitia et corrupti. Saepe vero et ut nemo maiores velit laborum. Aliquam nobis laborum nesciunt qui omnis.\", \"Impedit sint eius aut. Magnam earum qui illum. Expedita et quam odit fugit dolor.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_f8b22dfe"], ["title", "Vel animi distinctio optio eos et quidem recusandae."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f8b22dfe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f8b22dfe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f8b22dfe' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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_f8b22dfe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab ea et ea molestiae et eaque possimus. Doloremque sit pariatur vel debitis nulla. Mollitia et corrupti. Saepe vero et ut nemo maiores velit laborum. Aliquam nobis laborum nesciunt qui omnis.\", \"Impedit sint eius aut. Magnam earum qui illum. Expedita et quam odit fugit dolor.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_f8b22dfe"], ["title", "Vel animi distinctio optio eos et quidem recusandae."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f8b22dfe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_f8b22dfe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_ef1e73a0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel quam voluptas sed sunt incidunt sit. Magni at quisquam. Illum voluptate sapiente dolore. Nemo enim nulla qui sint eos dolores.\", \"Laborum temporibus aut aut cum harum quos dolore. Repellat quis facilis. In libero laudantium quod eos velit deleniti. Animi sit a nobis. Quis impedit sed ut porro libero totam.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_ef1e73a0"], ["title", "Voluptatem voluptas vel voluptate excepturi iure consequatur."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ef1e73a0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ef1e73a0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ef1e73a0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel quam voluptas sed sunt incidunt sit. Magni at quisquam. Illum voluptate sapiente dolore. Nemo enim nulla qui sint eos dolores.\", \"Laborum temporibus aut aut cum harum quos dolore. Repellat quis facilis. In libero laudantium quod eos velit deleniti. Animi sit a nobis. Quis impedit sed ut porro libero totam.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "joe"], ["title", "Voluptatem voluptas vel voluptate excepturi iure consequatur."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_9e47841f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem sit fugit nesciunt. Quasi et sunt aut sit et. Consequatur vel fugiat alias aut rerum sunt voluptatem.\", \"Qui laboriosam aut. Magni nemo quo voluptatibus. Temporibus laboriosam est assumenda. Fugiat sed sint quia doloribus.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_9e47841f"], ["title", "Quo sit quia quis."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9e47841f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9e47841f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_9e47841f"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9e47841f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_9e47841f"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_0d96d0e9') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime odit amet. Vero molestias debitis occaecati et voluptas cumque repellat. Animi voluptatem ea odio qui laborum ut. Molestiae reiciendis earum dolorem saepe consectetur quo. Aperiam perspiciatis voluptate tempora voluptatem dolores quia non.\", \"Repellat qui debitis. Facilis rerum non recusandae. Ut officiis culpa est et. Unde nemo et quo quia. Quia et et consequatur ab facilis qui ea.\"]"], ["created_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00], ["name", "contract_0d96d0e9"], ["title", "Ut et eos fuga enim ad unde non."], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0d96d0e9"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0d96d0e9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0d96d0e9"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0d96d0e9"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_0d96d0e9"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_0d96d0e9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:19:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (11.3ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (5.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_f5d31c07') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo eius similique repudiandae exercitationem in voluptatum repellat. Ex reprehenderit vero soluta. Iusto nostrum omnis autem. Nihil alias voluptatem harum enim illum unde. Qui doloremque asperiores.\", \"Laboriosam eos nesciunt dolorem est. Quia aliquam tempore illum et sed. Et quisquam impedit illo. Alias qui voluptate soluta repellat. Aut quisquam eveniet sunt voluptates.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["name", "contract_f5d31c07"], ["title", "Fugit sapiente tenetur culpa sunt et."], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_a1caded0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit similique rerum vel saepe dolore. Sapiente beatae quasi iste atque mollitia repellat. Totam eaque ut dolorum velit.\", \"Commodi nostrum voluptatem aliquid velit doloremque distinctio ea. Perferendis facere similique laudantium quis. Quos sit repellendus totam cum.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["name", "contract_a1caded0"], ["title", "Doloremque iusto eos autem accusamus in."], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 14ms (ActiveRecord: 0.7ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d20da2c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut iure id. Asperiores est dolor totam porro quidem non. Odit et ut est est et impedit. Veritatis odio velit accusamus ut est sed. Et illo et est culpa.\", \"Ut quasi tempore nesciunt et enim quia natus. Quo fugit vitae impedit. Nihil reprehenderit et doloribus optio culpa aliquam aliquid. Non ut sequi animi culpa neque quo quaerat. Et pariatur quis.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["name", "contract_d20da2c5"], ["title", "Ex architecto voluptatibus."], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_36e00954') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores inventore cum dignissimos et officia. Molestiae deserunt modi a. Quo error voluptate aut. Velit sed soluta culpa sit sint in. Qui et molestiae dolor corporis quisquam.\", \"Et non placeat velit tempore iste id blanditiis. Recusandae rerum accusamus mollitia hic ipsa. Voluptas impedit magni id eveniet similique officiis ipsam.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["name", "contract_36e00954"], ["title", "Sint quo eligendi dolorem omnis ipsa sed."], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dfd16a8a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur dolor perferendis consectetur blanditiis repudiandae necessitatibus. Consectetur aut provident. Quia asperiores officia itaque autem nulla.\", \"Eaque dignissimos nemo et veritatis et aut molestiae. Cupiditate dolorem suscipit. Doloremque aut qui delectus.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00], ["name", "contract_dfd16a8a"], ["title", "Nesciunt libero eos nobis sit est sit."], ["updated_at", Fri, 07 Mar 2014 21:21:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_dfd16a8a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_dfd16a8a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_dfd16a8a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_aaa2313c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis omnis tenetur necessitatibus dolor aliquid enim. Aliquid ducimus nisi ut quisquam labore id. Eaque ex autem est veritatis.\", \"Quis pariatur non cum illum at. Totam quas laboriosam sit. Nisi quasi vero repudiandae sed eos voluptatem. Beatae et corrupti.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_aaa2313c"], ["title", "Quis est fugit nihil optio."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_aaa2313c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_aaa2313c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ef728153') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident labore ut dignissimos totam natus sed. Deserunt quidem quisquam ut. Et voluptatem illo. Hic ut voluptatem.\", \"Dolore debitis inventore. Alias quia iure. Eos voluptates cupiditate fuga atque sed quia. Qui dolorem perspiciatis. Optio at aut atque.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_ef728153"], ["title", "Cum et dolor."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9035c346') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque sed ab ea. Voluptatem qui itaque aliquam quae aut consequatur. Quia tempore enim qui molestiae ullam atque harum. Inventore adipisci mollitia facere consequatur.\", \"Blanditiis temporibus ipsa suscipit consequatur velit nulla et. Qui qui tempore velit sunt ut qui odit. Qui ad ratione ut molestiae voluptatum vitae esse.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_9035c346"], ["title", "Perferendis repellendus quas molestias perspiciatis."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ed347266') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo quis voluptate unde fuga et animi. Accusamus ratione libero sequi. Provident recusandae est a fuga mollitia neque numquam. Et eaque a asperiores sit et voluptates.\", \"Et cum minima eaque neque et. Qui ut autem odio at harum similique. Omnis officiis voluptas dolorum voluptatem distinctio iusto tempora. Minus provident ipsa et officia ut itaque vel.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_ed347266"], ["title", "Sint excepturi voluptas dolore quas numquam."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ed347266"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ed347266') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dbb95549') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum et aliquam quis sunt et est. Consequatur aliquam voluptas itaque. Nostrum aspernatur autem. Quae impedit dolor incidunt eos eveniet.\", \"Eius quas labore placeat dolor porro ut. Voluptas voluptatem aliquid repudiandae quod qui. Illum nulla tempore placeat voluptates ipsam sint non. Sit quam aliquid libero non nisi et omnis. Autem minus vel maxime similique neque laborum quo.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_dbb95549"], ["title", "Pariatur laboriosam est quia dolore quis quisquam ea."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e1853dba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut possimus voluptatem consequuntur et excepturi eum. Consequuntur possimus ut corrupti. Et magni illo deserunt et tempore. Provident nulla aliquid ut quis accusantium repellat. Numquam fuga quos minus laboriosam aut.\", \"Totam laudantium doloremque ut eum amet architecto. Inventore sint qui illo ipsam velit amet cupiditate. Sed at doloribus quae est autem. Eius aut modi. Fugit nisi aut odit rerum veniam voluptate.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_e1853dba"], ["title", "Nisi vel optio maiores et natus repellendus."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e1853dba"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e1853dba') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e1853dba"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_e1853dba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7d2fb617') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel dolores doloribus magni enim. Aut aliquid ipsa eveniet est omnis. Aut accusantium minus dolores voluptatem ex voluptate asperiores.\", \"Animi nostrum eligendi blanditiis corrupti voluptates id. Esse fugiat vitae animi eos excepturi blanditiis. Saepe porro aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_7d2fb617"], ["title", "In itaque delectus excepturi id et pariatur."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f161d201') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In dolorem sint velit. Praesentium corporis atque. Tempore ut ut qui id iusto eum. Fuga voluptate est non quod et delectus. Quas nostrum incidunt enim voluptates officiis sapiente.\", \"Minima fugiat harum molestiae quia est nulla. Enim eos dolorem pariatur esse. Voluptatem tenetur optio eius enim voluptas sit eum.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_f161d201"], ["title", "Quisquam expedita laboriosam recusandae."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c8225d73') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor et possimus facilis ab qui vel earum. Dolores ut ea id harum nulla. Quia nemo qui. Dolorem ea omnis. Quibusdam animi ipsa eos aut nobis.\", \"Quis sint et. Odit voluptas praesentium reiciendis delectus. Voluptatibus voluptas beatae dolor ratione quis illo. Quis et sed incidunt ut.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_c8225d73"], ["title", "Qui adipisci ullam."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_c8225d73"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_c8225d73') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_349095ea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo qui consequatur nihil aut quia et odit. Quae et consectetur quia. Ratione illum ullam blanditiis sed et. Sit beatae omnis hic et rerum cum. Nulla iure facilis et mollitia modi sint.\", \"Deleniti aut minima at neque corrupti. Deleniti ab totam omnis et nulla. Asperiores consequuntur qui. Quia aut accusamus vero est.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_349095ea"], ["title", "Dolores aperiam id."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_4475399d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut consequatur ab voluptas. Sint voluptatum distinctio sed veritatis. Officia rerum voluptas nihil officiis. Vel laboriosam debitis iusto.\", \"Exercitationem corporis ut rem aut ab et. Soluta minus aut. Aut eos voluptatem incidunt minus ratione inventore excepturi. Corrupti similique quia eius alias atque doloremque quos.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_4475399d"], ["title", "Temporibus explicabo voluptate."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7480ac68') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla repellat odit. Aut aut maxime qui est. Est labore alias totam voluptatibus id. Eum aut molestias quia impedit. Sed et voluptates.\", \"Corporis dolorem facere cumque. Nobis tenetur dignissimos fugiat ea. Quo in qui eveniet aut laborum ab. Voluptate sit aliquam sed ut quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_7480ac68"], ["title", "Similique et non."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (3.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9ba1802f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut harum odio est est nihil molestiae quod. Quo voluptatum labore sapiente. Voluptatum nostrum nemo occaecati deleniti dolorum non. Dolore atque minus dolor officia quaerat quos.\", \"Quidem nisi et sed. Mollitia laboriosam quisquam. Tempora dolore reprehenderit voluptas. Qui et voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_9ba1802f"], ["title", "Ad tempore ipsum est."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_3c933086') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora ab blanditiis id molestiae. In id facere. Necessitatibus at consequatur.\", \"Ipsam vitae nihil minima corrupti. Odio voluptas beatae non repellendus ea. Neque labore eligendi.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_3c933086"], ["title", "Accusantium ducimus quia quis quisquam ratione at autem."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_b245a366') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio praesentium officia eum iusto. Reiciendis soluta velit ut. Dolorem ut labore similique non est. Molestiae repudiandae nam. Non et ullam qui.\", \"Nobis ducimus omnis. Suscipit sed itaque ab aut unde ipsa. Nam est soluta. Quia voluptatem beatae qui et.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_b245a366"], ["title", "Et eum minima eveniet et officia."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b245a366"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_b245a366') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (8.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_93e14b91') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est fuga laboriosam sunt cupiditate commodi doloremque. Enim qui minima beatae hic. Neque eos voluptatem perferendis. Iure est recusandae exercitationem.\", \"Ab id accusamus laudantium omnis accusantium. Optio sunt accusantium ea perspiciatis. Quod tenetur dolores.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_93e14b91"], ["title", "Consequatur reiciendis qui voluptas unde."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_93e14b91"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_93e14b91') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae dignissimos corrupti dolorem fuga voluptates quos. Est corrupti consectetur facere consequuntur. Nisi consequatur ut necessitatibus et sed ad.\", \"At enim deserunt consectetur. Molestiae et quia in ab doloremque voluptates voluptas. Totam earum voluptatem soluta harum.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Dolorem molestiae iste itaque ut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem et laudantium laborum sint et ut. Id veniam ut. Dolorem voluptates nam aliquid omnis reprehenderit aut. Sit assumenda veritatis ut sunt et est.\", \"Ex quos tenetur error eum dolor. Dicta quos quaerat quasi. Ipsa a harum quaerat eum consequuntur. Id unde quas sint.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "beta"], ["title", "Laboriosam reiciendis voluptas non et corporis est."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Dolorem molestiae iste itaque ut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit nihil et. Enim eveniet sunt deleniti necessitatibus non. Ipsa qui numquam assumenda ipsam magni.\", \"Qui rerum nemo. Et aperiam ducimus illum aut. Ea tempora ad minus.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Voluptatem ut aliquam excepturi."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptatem dolorem. Tenetur consequatur consectetur corrupti. Et vel consequuntur ipsum dolore ea dolor. Provident sed ullam commodi.\", \"Eos quo ut. Quisquam provident et velit nesciunt aspernatur. Mollitia quibusdam modi. Hic odit possimus ut. Nihil corporis quo sit quia praesentium.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "beta"], ["title", "Incidunt at nam quo."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Voluptatem ut aliquam excepturi."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus iusto quos repellat voluptates consequatur et molestiae. Reprehenderit inventore aliquam maiores est nesciunt perspiciatis. Officia dolores odio eum repellat tempore dolor. Sequi maxime assumenda eius quod neque unde.\", \"Aspernatur error aperiam. Et sunt perferendis ut aspernatur. Voluptatibus voluptas earum molestiae ipsam eos aspernatur suscipit.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Deleniti vel aspernatur cumque aut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure quia non. Quisquam cupiditate tenetur molestias assumenda. Sint aliquam eveniet repellendus non amet debitis et. Temporibus est recusandae. Sed nisi nulla suscipit reprehenderit sint.\", \"Repellendus vitae ut dolorum. Omnis veritatis deserunt molestiae. Consectetur et voluptas deleniti.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "beta"], ["title", "Totam placeat doloribus."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "alpha"], ["title", "Deleniti vel aspernatur cumque aut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_7d22bf80') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab soluta quibusdam sunt non eos. Distinctio dicta non sed suscipit. Voluptate incidunt aliquam officia dolores. Sit similique qui tempore. Esse aliquam qui cumque aut.\", \"Nesciunt rem esse repellat. Provident maxime ratione voluptas hic. Voluptate dicta est. Est nulla quo et doloribus voluptas nesciunt accusantium.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_7d22bf80"], ["title", "Vel ut quia et rerum consequatur."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_7d22bf80"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_7d22bf80') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_7d22bf80"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_7d22bf80"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_7d22bf80"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_7d22bf80') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_66f862fe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse expedita enim quidem. Laboriosam veritatis unde dolor velit nisi est praesentium. Enim repudiandae voluptatem cum.\", \"Quisquam commodi molestias sunt mollitia quia. Voluptas praesentium et aut numquam dolorem. Nisi ipsa molestiae. Officiis necessitatibus commodi dolores. Repellendus enim sapiente.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_66f862fe"], ["title", "Quia non illo pariatur."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_66f862fe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_66f862fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_66f862fe"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_66f862fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_66f862fe"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0a427b96') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi aut at. Explicabo harum nostrum. Ut quaerat deleniti dolore quibusdam non nihil est. Et non porro qui natus in illo cum.\", \"Ut voluptas voluptatem quam sapiente autem asperiores deserunt. Est fugit dolorem sint illum voluptatem. Eos asperiores veritatis non excepturi. Neque illo blanditiis sint eaque.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_0a427b96"], ["title", "Pariatur eum amet quae ut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0a427b96"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0a427b96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0a427b96' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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_0a427b96') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi aut at. Explicabo harum nostrum. Ut quaerat deleniti dolore quibusdam non nihil est. Et non porro qui natus in illo cum.\", \"Ut voluptas voluptatem quam sapiente autem asperiores deserunt. Est fugit dolorem sint illum voluptatem. Eos asperiores veritatis non excepturi. Neque illo blanditiis sint eaque.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_0a427b96"], ["title", "Pariatur eum amet quae ut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0a427b96"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_0a427b96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_02ef441b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit accusamus doloremque. Repellat non aut dolor. Deleniti unde molestiae vel mollitia ea.\", \"Possimus aut consequatur dolorum. Quaerat quis ut dignissimos nulla asperiores perspiciatis adipisci. Exercitationem recusandae quia voluptatibus atque pariatur magni corporis.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_02ef441b"], ["title", "Eum illo accusamus voluptas possimus fugit et."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_02ef441b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_02ef441b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_02ef441b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit accusamus doloremque. Repellat non aut dolor. Deleniti unde molestiae vel mollitia ea.\", \"Possimus aut consequatur dolorum. Quaerat quis ut dignissimos nulla asperiores perspiciatis adipisci. Exercitationem recusandae quia voluptatibus atque pariatur magni corporis.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "joe"], ["title", "Eum illo accusamus voluptas possimus fugit et."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d0924f14') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo maxime sit. Aut eius aut ipsum voluptas. Ut cupiditate enim.\", \"Voluptates omnis vitae ipsa a reprehenderit modi. Adipisci eum illum quis. Reiciendis vel sequi non laudantium tempora enim.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_d0924f14"], ["title", "Quis quod quia aut molestias nihil ut aut."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d0924f14"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d0924f14') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a829305d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In totam reiciendis cum voluptatem excepturi sequi. Architecto omnis perferendis aspernatur aut qui. Animi quo voluptas ipsam similique quam aspernatur.\", \"Ut dolores suscipit accusantium nemo et in pariatur. Sed sint tempora deleniti aspernatur natus repellat. Eligendi cupiditate provident libero sunt voluptatibus. Et sunt laboriosam nisi exercitationem saepe tempore.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_a829305d"], ["title", "Numquam autem ratione quaerat blanditiis optio in adipisci."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a829305d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a829305d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_0830f85b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et deleniti quod. Sunt nostrum autem. Est voluptates omnis illum doloribus totam. Et aut sunt.\", \"Ea id eum mollitia laboriosam in quas. Omnis ipsa optio sunt. Aut esse asperiores explicabo perspiciatis fugit aut. Esse sint est consequatur corporis quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_0830f85b"], ["title", "Repudiandae qui sunt."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_0830f85b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0830f85b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_72128c28') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut eum iste fugiat iure deleniti delectus. Incidunt sit unde aut. Et eius nulla nemo. Odit dolorum minima quos quis assumenda.\", \"Quisquam alias deleniti. Fugiat ea illo. Voluptatem dolores sit. Et deserunt illum ipsam quo. Cumque et est deserunt in id beatae voluptatem.\"]"], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["name", "contract_72128c28"], ["title", "Fuga aut culpa consequatur nobis."], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_72128c28"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_72128c28') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:21:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus doloribus dolores tempora. Nihil quae qui quaerat corporis velit labore. Dignissimos quisquam laborum recusandae ducimus.\", \"Et sint possimus. Dolor quae veniam unde qui sequi exercitationem sunt. At et velit accusamus qui aut ratione. Accusamus aut cum velit.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Tenetur nesciunt quis soluta eum similique et."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quia et ab sint laudantium veniam est. Rem odio est fugiat blanditiis ullam. Ut iste magnam consequatur error.\", \"Ut et incidunt est est maxime sunt. Inventore sit ducimus nisi. Animi temporibus ut error. Dolore laborum voluptas quia aut sunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "beta"], ["title", "Mollitia et aperiam doloremque consequatur."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Tenetur nesciunt quis soluta eum similique et."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita sit quod quis quae. Provident tenetur non velit sed facilis. Voluptatem numquam fugit ratione.\", \"Et dolorum non. Unde magni omnis corporis eum autem ex autem. Ut dolorem qui aliquid. Ab rerum enim minima quo distinctio. Molestias cumque sed doloremque placeat sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Repellat rem doloribus consequatur ad illo nihil quia."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem earum ipsum nobis perspiciatis facere sint. Nemo maxime deleniti quod et vitae. Veritatis a facere debitis.\", \"Illo aut velit non. Est molestiae et accusamus. Ipsum vitae non ab est.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "beta"], ["title", "Voluptas voluptatem ut."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Repellat rem doloribus consequatur ad illo nihil quia."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas qui corporis est ducimus dolores non. Voluptatem consectetur ad aut. Labore natus beatae totam ratione ea repudiandae sint.\", \"Et odit maiores et et. Laudantium quia modi. Non magni nesciunt reprehenderit. Itaque et tempore dolore.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Fugiat et nobis."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae et accusamus reprehenderit et quia. Est veniam beatae qui excepturi ipsum blanditiis sed. Tenetur atque excepturi. Corrupti sunt omnis.\", \"Sit quod odio. Nihil quidem quis. Eos atque qui quis repudiandae minus qui debitis. Voluptatem officia sint cum modi. Est delectus cupiditate minima.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "beta"], ["title", "Dolores harum vitae ut voluptates temporibus."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "alpha"], ["title", "Fugiat et nobis."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_e2db73dc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore sequi commodi numquam. Debitis non tenetur ut. Tempora molestiae et quis aliquid. Corporis et deserunt. Consequatur veniam molestias aut laboriosam doloremque eius laborum.\", \"Molestias ab ea explicabo officiis aliquam dolorem. Distinctio aliquid vel dolores voluptas est. Architecto iste deserunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_e2db73dc"], ["title", "Nam placeat dicta dolorem."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e2db73dc"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e2db73dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e2db73dc"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e2db73dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e2db73dc"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_457106c0') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima consequatur perspiciatis porro. Nam optio culpa. Accusamus eveniet voluptatem sed. Est voluptatibus soluta est consequuntur.\", \"Molestias eligendi illum accusamus nihil quia. Dolorem voluptas animi dolorum aperiam. Dolorem quidem voluptates qui. Aperiam cum rerum nulla tenetur porro voluptas rem. Recusandae rerum alias eius.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_457106c0"], ["title", "Atque iusto assumenda minus tempora."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_457106c0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_457106c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_457106c0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_457106c0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima consequatur perspiciatis porro. Nam optio culpa. Accusamus eveniet voluptatem sed. Est voluptatibus soluta est consequuntur.\", \"Molestias eligendi illum accusamus nihil quia. Dolorem voluptas animi dolorum aperiam. Dolorem quidem voluptates qui. Aperiam cum rerum nulla tenetur porro voluptas rem. Recusandae rerum alias eius.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_457106c0"], ["title", "Atque iusto assumenda minus tempora."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_457106c0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_457106c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_4be9b6ac') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione modi molestias repellat sed. Deserunt hic et in iste ipsum. Sequi consequatur blanditiis.\", \"Quaerat aut illo. Est quibusdam fugiat consequatur qui ut inventore nihil. Quos ratione odio earum voluptatibus commodi.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_4be9b6ac"], ["title", "Vero sunt ut maiores."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_4be9b6ac"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_4be9b6ac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_4be9b6ac"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_4be9b6ac"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_4be9b6ac"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_4be9b6ac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_5aa92aaa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis nisi quisquam quaerat perspiciatis vitae. Ipsam libero illo. Soluta esse voluptatum molestiae animi nihil. Et rem id qui. Ut ut assumenda animi optio.\", \"Consectetur amet aperiam eveniet incidunt. Officia minima aut ut doloribus iste quia. Dicta quae molestias fugiat. Odio sint earum libero asperiores ex rerum.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_5aa92aaa"], ["title", "Totam natus molestiae sed accusantium laboriosam."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5aa92aaa"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5aa92aaa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5aa92aaa' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis nisi quisquam quaerat perspiciatis vitae. Ipsam libero illo. Soluta esse voluptatum molestiae animi nihil. Et rem id qui. Ut ut assumenda animi optio.\", \"Consectetur amet aperiam eveniet incidunt. Officia minima aut ut doloribus iste quia. Dicta quae molestias fugiat. Odio sint earum libero asperiores ex rerum.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "joe"], ["title", "Totam natus molestiae sed accusantium laboriosam."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c3db668f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae fugiat consequatur reprehenderit quis recusandae autem. Et quam adipisci velit repudiandae ab. Vel vitae similique eum. Deserunt expedita vitae quas ut provident quisquam. Repellendus distinctio numquam ipsam.\", \"Explicabo repudiandae corrupti alias perferendis reprehenderit. Cum et magni voluptas blanditiis est et. Est consequatur maiores optio perspiciatis tenetur laboriosam sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_c3db668f"], ["title", "Cum numquam quia sed sit."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_223a946a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolor ea culpa. Voluptatem perferendis delectus magni modi. Id ab et delectus voluptas velit illo.\", \"Eveniet iste repellendus dolorem fuga amet. Nesciunt quis repellat quia ex omnis voluptatem rerum. Ut et accusantium porro amet tempora aperiam. Nisi et quia ratione et occaecati totam rerum.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_223a946a"], ["title", "Ab quo dolorum."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e9248312') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error recusandae vitae minima reprehenderit. Voluptas et provident et dolore. Voluptate facere deserunt ratione.\", \"Sequi dolorum voluptas temporibus. Ut sint dolores velit consequuntur. Ut labore fugit qui. Blanditiis accusantium quis culpa sapiente iusto. Praesentium voluptates voluptate dolor ipsam.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_e9248312"], ["title", "Mollitia vitae saepe temporibus."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b52ed9d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et fuga ipsum quo quasi. Aut enim suscipit. Iste atque nihil ex delectus et voluptatem doloribus. Commodi quasi aut excepturi.\", \"Velit nobis sunt sunt ipsa. Numquam qui nihil id iste cumque. Enim impedit voluptatibus sit est in et. Adipisci unde iusto veritatis recusandae tenetur vel est. Commodi placeat repellat dicta.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_b52ed9d7"], ["title", "Consequatur magnam autem amet ipsa."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b52ed9d7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b52ed9d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_b52ed9d7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_b52ed9d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9eb77033') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus deleniti sequi. Cumque voluptatum reiciendis est laudantium vero et. Dignissimos ipsam facilis occaecati quibusdam inventore exercitationem. Nam occaecati explicabo ut numquam ab rerum quis. Saepe quisquam corporis ut.\", \"Cum blanditiis natus ad voluptatem tempore odio. Possimus sed dolor quia nostrum hic. Vel repellendus consequuntur quos a eligendi molestiae totam.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_9eb77033"], ["title", "Porro doloribus officia fugit a et pariatur."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_487f0d21') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et cumque est nesciunt voluptatem dolorum ut. Autem inventore laboriosam voluptates. Qui totam qui autem est corporis.\", \"Nihil animi necessitatibus omnis voluptas et odio. Dolores aut labore ratione sit. Ducimus nisi sit et optio praesentium in.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_487f0d21"], ["title", "Ut aut rerum sed."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5f363031') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit cupiditate qui. Doloremque et illo voluptatem in sit sed consequatur. Nam eius ea quia voluptatem nemo consequatur.\", \"Eveniet omnis voluptatem illo neque. Maxime cumque non eligendi rerum. Quia ullam placeat ex. At maiores exercitationem velit sunt. Repudiandae ut atque.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_5f363031"], ["title", "Aut consequatur aperiam temporibus cum minima unde perferendis."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_9f0311ae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi dolor esse aperiam recusandae suscipit. Perspiciatis optio praesentium qui eum nesciunt ratione. Vero nobis quo beatae ad. Nam autem ut. Error in quod accusamus.\", \"Officia nostrum sed dolores earum aliquid assumenda consequuntur. Sequi eos tenetur dolores porro. Quis accusantium iste qui voluptatem. Rerum odit accusantium est mollitia explicabo.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_9f0311ae"], ["title", "Consectetur quis corrupti."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9f0311ae"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9f0311ae') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_218c21f6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed ipsa quibusdam fuga velit quia. Eius voluptatem expedita. Dignissimos nihil magni ducimus consequatur id adipisci quo.\", \"Assumenda deserunt accusamus ratione amet tempore beatae sunt. Harum recusandae sed sapiente perspiciatis. Sint corrupti facere aut deserunt facilis dolores aut. Consequatur natus dolor aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_218c21f6"], ["title", "Quae aliquam voluptas."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_218c21f6"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_218c21f6') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 0.5ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_4c8bd149') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci necessitatibus praesentium pariatur saepe. Eligendi dolorem odit consequatur eum rem. Vero praesentium dolor. Ea hic earum ut nemo. Quo modi sit voluptatem voluptatibus voluptates quisquam.\", \"Quae provident adipisci molestias et beatae qui. Iusto unde aliquam quidem saepe neque ut dolor. Quo molestiae omnis deserunt.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_4c8bd149"], ["title", "Quisquam sed omnis consequatur commodi cupiditate."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_4c8bd149"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_4c8bd149') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4c8bd149' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_6ab3856f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime repudiandae nam. Veniam suscipit quaerat quia rerum. Inventore rem aspernatur. Ullam vel a similique ad sed incidunt.\", \"Ut blanditiis iure est rerum nobis mollitia fugit. Ab sapiente sequi commodi. Asperiores maxime esse quia aliquam. Consequatur ipsa ea distinctio. Ipsum iusto qui ut.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_6ab3856f"], ["title", "Consequuntur et totam."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_74ffe3fc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit consequatur dolore odit ab tempore accusamus. Voluptatem nulla et nostrum repellendus sit omnis sed. Impedit dolores in aut laborum possimus. Quas et ratione sint voluptatem voluptatibus ducimus velit. Soluta commodi omnis veritatis qui.\", \"Reprehenderit ut quisquam. Soluta iure illo. Aspernatur quo voluptatem id nam ut. Amet voluptates qui perferendis voluptatem aut veritatis sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_74ffe3fc"], ["title", "Ut rem animi."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3e2172be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus debitis ut eaque dolor cupiditate. Sed ipsa eum temporibus. Ullam quia quae omnis architecto inventore. Iusto aut nihil in consequatur. Sint praesentium rerum.\", \"Nihil deserunt aut impedit aut quia dicta. Ipsam enim quia exercitationem et deserunt qui. Ut fuga laborum et ut libero. Aut sint aut quisquam quibusdam sit possimus dignissimos. Enim consectetur tenetur sunt pariatur exercitationem.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_3e2172be"], ["title", "Eligendi numquam pariatur."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_beceb4d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium libero qui amet nesciunt repudiandae sequi. Et dolorem id odit. Minus quisquam perferendis vero et qui. Quibusdam ut est doloremque tempore. Voluptatem vitae voluptatum omnis beatae non.\", \"Enim dignissimos rerum non quia aliquid autem. Unde officia maiores sunt quasi aut iste. Nobis dolorem inventore sapiente vel quidem culpa.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_beceb4d6"], ["title", "Dolorem tempora exercitationem."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_fdc152ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non autem rerum est ipsam ipsa officia. Occaecati aliquam delectus fugit quia repudiandae. Nam quisquam id ad. Aliquid nihil voluptas quisquam.\", \"Tempore necessitatibus et enim libero ea omnis exercitationem. Et esse eveniet doloremque asperiores officiis quidem commodi. Dignissimos repudiandae dolores dolores saepe animi sequi. Dignissimos rerum quia fugiat ipsam qui ut. Repudiandae aut deleniti incidunt officia ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_fdc152ba"], ["title", "Quis quae nobis eum tempora molestias."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_bfd582fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum dolores quae. Est consequatur dolores veritatis. Non velit ut et eum quas.\", \"Explicabo consequatur temporibus quisquam. Cum rerum et ullam. Pariatur dolorem vel sed fuga doloremque rem voluptas. Eveniet quae est qui et voluptate possimus est.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_bfd582fa"], ["title", "Necessitatibus sit amet voluptas dolores incidunt labore."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3bc294d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur tenetur beatae dolorem animi ut sit. Nulla nemo quae ut fugiat quibusdam dolor. Id esse hic rerum. Fuga officia voluptatum voluptatem. Consectetur quis id veritatis aut rem ducimus quia.\", \"Non vel cumque sunt voluptatem omnis. Iusto nisi accusantium cupiditate. Fugiat nostrum eos. Est sint qui.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_3bc294d6"], ["title", "Recusandae sunt nisi in maxime quibusdam vel."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3bc294d6"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3bc294d6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_b825c786') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum sunt non vitae et. Ducimus magnam optio. Ut expedita sequi dolorem facere. Sit temporibus autem numquam.\", \"Consequuntur quia omnis. Tenetur recusandae quo. Qui ut iusto et voluptatem repellat aut sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_b825c786"], ["title", "Quo ut amet dolorum ipsum adipisci quo."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7b661f67') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime vel temporibus laborum. Ex est eligendi voluptas maxime excepturi in. Nihil est dolorem quod officia optio.\", \"Odio voluptatibus quasi. Explicabo odio ipsam doloremque. Quisquam similique voluptas facere enim possimus incidunt omnis.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_7b661f67"], ["title", "Tempore praesentium qui recusandae accusamus."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_7b661f67"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_7b661f67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8c7f62eb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et amet vero mollitia expedita vel rerum necessitatibus. Recusandae aut nesciunt aut velit voluptatum. Quisquam recusandae a adipisci.\", \"Aut placeat non. Voluptates et alias quo dolores qui delectus. Et perspiciatis omnis. Aperiam nam omnis mollitia voluptas at qui nisi. Architecto quidem quis accusamus.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_8c7f62eb"], ["title", "Ut eum qui atque odio aut ipsa."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_8c7f62eb"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8c7f62eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9722eb82') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque cupiditate consequatur cumque et. Beatae tenetur distinctio ad ut. Modi aut rerum et. Sunt laudantium est quis ullam velit.\", \"Velit magnam nesciunt quis occaecati sed consequatur et. Culpa qui blanditiis dicta ut qui consequatur sed. Facere id quibusdam aut fugit voluptatibus voluptatem. Quas aliquid excepturi.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_9722eb82"], ["title", "Exercitationem nesciunt dolor ut reprehenderit sunt consectetur molestias."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9722eb82"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9722eb82') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_39f50b8f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed eos aliquam. Numquam ullam facere quis accusantium. Iste deleniti eligendi temporibus unde aliquid commodi.\", \"Expedita reiciendis qui eos sunt modi ipsa ut. Qui temporibus culpa ipsum minus. Maxime aut officiis. Nemo nesciunt officiis. Accusamus dicta sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_39f50b8f"], ["title", "Magnam minus soluta."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_39f50b8f"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_39f50b8f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_f286545c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id minima necessitatibus quo. Tempore possimus est accusantium. Dolor possimus est distinctio nemo est in amet. Iusto sequi quidem id consectetur totam aut.\", \"Voluptatem ut adipisci. Accusantium deserunt blanditiis tempora est ad rerum. Ipsam non culpa est.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_f286545c"], ["title", "Molestiae impedit quod."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_19220531') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil consequatur nemo voluptatem sunt quo. Quia dolore qui aut numquam ut. Nemo ut distinctio et aperiam error dolorum.\", \"Rerum ab omnis aliquam in molestias ut. Recusandae ea enim sapiente ut non. Aut enim facere ut necessitatibus ipsa. Et vel facilis.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_19220531"], ["title", "Consectetur est asperiores qui laborum ducimus."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_19220531"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_19220531') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_b57f43d1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis animi culpa dignissimos quo id perspiciatis sed. Facere assumenda tempora doloribus culpa voluptatibus non. Ratione quidem et aperiam incidunt et non vel. Quam tempore quidem dolorum cum. Ad itaque voluptatum assumenda asperiores ut.\", \"Commodi ut neque vero. Quis dolorum hic saepe commodi quia. Dolor delectus blanditiis. Qui est molestiae dolorem culpa temporibus dignissimos.\"]"], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["name", "contract_b57f43d1"], ["title", "Quaerat impedit ut."], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b57f43d1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b57f43d1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:31:12 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_e9f97653') LIMIT 1 SQL (0.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati consectetur dolores excepturi amet impedit. Dicta qui et iure laboriosam ea. Consequatur quibusdam sunt autem.\", \"Eligendi non omnis aspernatur tempora et. Molestias ex omnis asperiores ut voluptatibus consequatur. Repudiandae blanditiis beatae et pariatur eveniet. Voluptas nobis atque in nulla. Minima corporis corrupti aut est.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_e9f97653"], ["title", "Nihil ipsum sapiente qui quia illum nobis dicta."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e9f97653"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e9f97653') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_35baccab') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos sed et in reiciendis sunt at illum. Laboriosam atque commodi officia in. Quibusdam est eum quae occaecati eveniet eos ducimus. Repudiandae quo libero ut. Exercitationem quia qui et.\", \"Eos rerum id modi minima. Rerum voluptas velit iure esse sed. Delectus vero voluptates quo minima nihil sit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_35baccab"], ["title", "Tenetur ratione voluptas iusto odit vero voluptate minus."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SAVEPOINT active_record_1 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_6d38b025') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum praesentium blanditiis. Nesciunt voluptatem autem nihil quo est quisquam omnis. Enim eos nemo minima adipisci sed. Qui ullam autem qui. Reiciendis hic esse qui quia.\", \"Sit ullam ipsa. Deleniti architecto natus saepe veniam impedit sequi. Aliquam et facere nobis mollitia esse nihil.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_6d38b025"], ["title", "Voluptatem est deserunt."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_6d38b025"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_6d38b025') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_e373ff67') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt nostrum quidem magni explicabo. Accusamus mollitia placeat. Nam dolores quisquam fugiat. Modi sequi atque et quidem non ea.\", \"Est voluptas magni iusto rerum. Facilis repudiandae tempore quis asperiores. Cupiditate culpa maiores laborum non. Sapiente veritatis eum et quis.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_e373ff67"], ["title", "Provident ab aliquam eos delectus reiciendis molestiae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e373ff67"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e373ff67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e373ff67"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e373ff67"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_e373ff67"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_e373ff67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_a3a63d22') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur impedit quis ea vel voluptatem provident culpa. Aut nulla aliquam et. Aspernatur voluptas vitae consectetur aliquam exercitationem doloribus. Magnam ut aut voluptatem eveniet aut dolore. Laudantium ut dolorem voluptas neque.\", \"Reprehenderit maxime dignissimos aut soluta dolor voluptatem iste. Cumque ut vel hic commodi dicta dolor. Voluptatem soluta vel dolor laboriosam ipsam quisquam odit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_a3a63d22"], ["title", "Dicta illo similique."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a3a63d22"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a3a63d22') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a3a63d22"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a3a63d22') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a3a63d22"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_49362372') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam provident laborum quia atque quibusdam. Ipsa ad incidunt. Ut architecto sit accusamus et.\", \"Id voluptatem possimus velit autem. Earum perspiciatis tempora nihil. Cum quis blanditiis dolore in quibusdam unde. Corrupti libero eum beatae. Consequatur non magni culpa eum.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_49362372"], ["title", "Qui tenetur ea."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_49362372"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_49362372') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_49362372' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam provident laborum quia atque quibusdam. Ipsa ad incidunt. Ut architecto sit accusamus et.\", \"Id voluptatem possimus velit autem. Earum perspiciatis tempora nihil. Cum quis blanditiis dolore in quibusdam unde. Corrupti libero eum beatae. Consequatur non magni culpa eum.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "joe"], ["title", "Qui tenetur ea."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_41292db1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus ab voluptatem molestiae suscipit. Voluptate tempore officia labore qui nemo libero sed. Illum labore et iste et. Iusto dolor voluptatem ut dolores. Quia impedit voluptatem reprehenderit deleniti quod.\", \"Corporis quos aliquid maxime eum neque. Aut in dolor beatae. Quia ipsa quisquam. Facilis animi perspiciatis dolorem et. Magnam reiciendis explicabo qui velit consectetur.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_41292db1"], ["title", "Officia nulla aut nostrum qui dicta optio numquam."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_41292db1"]]  (0.0ms) SAVEPOINT active_record_1 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_41292db1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_41292db1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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_41292db1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus ab voluptatem molestiae suscipit. Voluptate tempore officia labore qui nemo libero sed. Illum labore et iste et. Iusto dolor voluptatem ut dolores. Quia impedit voluptatem reprehenderit deleniti quod.\", \"Corporis quos aliquid maxime eum neque. Aut in dolor beatae. Quia ipsa quisquam. Facilis animi perspiciatis dolorem et. Magnam reiciendis explicabo qui velit consectetur.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_41292db1"], ["title", "Officia nulla aut nostrum qui dicta optio numquam."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_41292db1"]]  (0.0ms) SAVEPOINT active_record_1 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_41292db1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi qui sint. Tenetur distinctio iure voluptas et quas eligendi. Itaque vel dolores cumque qui. Quaerat doloremque sint corporis ratione deserunt vel dolor. Odit incidunt error provident.\", \"Nihil nulla sed dolorum qui. In voluptatibus esse itaque omnis blanditiis quo reiciendis. Eos vero dignissimos ab. Dicta et quam ut in nam non asperiores. Dolores rerum iste dolores in ab eaque eum.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Dolorem accusamus debitis doloremque."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et iste doloremque minima aut qui. Sequi error quae quas. Minus voluptas fuga.\", \"Nulla quod sit. Nulla minus quia. Voluptates aut quam quia aut sit est sed. Laboriosam voluptatem minima in saepe consequatur et reprehenderit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "beta"], ["title", "Ipsa quis dolores aperiam a amet."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.1ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Dolorem accusamus debitis doloremque."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At incidunt alias eos optio non architecto. Odio similique et corrupti aut ducimus placeat. A quo atque quos. Facilis minus voluptas sint totam rem rerum qui.\", \"Aut nihil qui. Omnis ut hic mollitia enim eum magni. Totam rem dolor numquam suscipit consequatur quos sit. Ex porro debitis voluptate harum. Sapiente distinctio in.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Soluta laborum exercitationem eum dolore ipsum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem non a exercitationem nulla asperiores. Qui laborum blanditiis repudiandae. Earum harum maxime. Voluptatum nulla ut.\", \"Quasi dolorem voluptatem autem eius. Porro voluptates eveniet eum consectetur voluptatem quibusdam eius. Delectus neque aut consequatur voluptatum. Quas enim qui praesentium fugit tempora sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "beta"], ["title", "Illum tempore eius omnis non molestiae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Soluta laborum exercitationem eum dolore ipsum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo autem nesciunt. Quis sed omnis iste voluptatum sunt voluptas. Nihil veniam dolore impedit non. Officia in aliquam perferendis aut ullam nemo. Aspernatur quaerat sed consequuntur blanditiis ullam quas.\", \"Soluta consequuntur doloribus nam. Enim eaque omnis vel ipsum rem. Aut qui qui officiis. Qui suscipit explicabo ipsa.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Corporis voluptatibus ducimus nostrum est porro."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores nisi atque esse. Maiores quasi voluptate tempora vel hic labore. Dicta non voluptas et at nemo aliquam explicabo.\", \"Quidem voluptas id laborum ut. Beatae quo vero fuga. Veritatis tenetur similique nostrum perferendis sed quos. Rerum nobis necessitatibus.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "beta"], ["title", "Adipisci et sit rerum aut qui voluptatem."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "alpha"], ["title", "Corporis voluptatibus ducimus nostrum est porro."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_f41d5ec7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad accusamus reprehenderit minus hic. Consequatur voluptatem molestias voluptatem iste accusamus ipsam. Consequatur quia dolores atque vero. Eveniet ipsa quam dolore.\", \"Hic inventore similique. Nisi sit neque doloribus. In nesciunt iste.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_f41d5ec7"], ["title", "Aperiam harum eveniet ad in."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f41d5ec7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f41d5ec7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e932e69b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae earum aut sapiente. Perspiciatis dolor assumenda eum impedit omnis rerum sunt. Est recusandae corrupti consequatur nihil delectus.\", \"Harum tempora unde ea ratione. Et ducimus alias ut doloremque cupiditate tenetur quidem. Aliquam non vero repellendus.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_e932e69b"], ["title", "Laboriosam vel quia alias dolorum aut aliquid et."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e932e69b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_e932e69b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_f55c3078') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta rerum earum. Eum cupiditate quasi sint perferendis consectetur. Dolorum quia magni autem fugit aut. Perspiciatis accusamus hic molestiae sit et sint omnis.\", \"Consequuntur enim similique. Placeat omnis architecto natus ea. Et non dignissimos sunt quia.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_f55c3078"], ["title", "Ipsa et repudiandae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f55c3078"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f55c3078') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1c73beda') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni omnis possimus voluptatum numquam impedit. Similique qui et fugiat cupiditate sit blanditiis facere. Voluptas praesentium voluptatibus sunt eveniet molestiae.\", \"Amet nobis accusantium aliquid. Harum non nulla sapiente ullam nihil qui. Eaque dignissimos praesentium est minima ab quae. Nostrum tempora ad rerum fugit reiciendis quia fugiat.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_1c73beda"], ["title", "Magnam harum quae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1c73beda"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1c73beda') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ff7a22a2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore soluta inventore. Quia earum voluptas. At voluptatem molestias.\", \"Eius eum facilis quasi modi mollitia. Voluptatem aliquid et aut sed libero ipsam. Sapiente minima voluptas accusamus sit et. Dolores perspiciatis reprehenderit qui.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_ff7a22a2"], ["title", "Aspernatur debitis voluptatem harum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_a016606e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quae velit sequi et qui ex quia. Debitis molestias quas iure reprehenderit. Aspernatur ut voluptas. Minima rem autem inventore et dolores.\", \"Quaerat sed beatae animi. Ratione consectetur iure error incidunt reprehenderit ullam. Molestiae est exercitationem doloribus. Et ea animi laborum.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_a016606e"], ["title", "Est in et."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a016606e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a016606e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_a016606e"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_a016606e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e891548e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate dolorem voluptas ut dolor est sed enim. Libero accusantium nisi praesentium. Ex odit doloremque omnis. Excepturi possimus pariatur culpa velit.\", \"Animi ipsa earum sunt rem et. Et tempore consequatur occaecati ut sed. Animi et incidunt ipsa voluptas dolores nobis cumque. Fugiat dolorum aliquam est. Qui fuga id facilis.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_e891548e"], ["title", "Quam consectetur et."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_722c9b1f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim hic sunt. Corrupti enim ducimus. Placeat similique eos. Vel unde officia distinctio perspiciatis. Et eum similique asperiores explicabo non maiores nihil.\", \"Repellendus illum culpa. Aut eum quis. Voluptas voluptates enim ab ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_722c9b1f"], ["title", "Quisquam aut aut cupiditate corrupti aut facilis."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_7f99c05a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur et qui quam omnis asperiores laudantium. Libero aut molestias. Autem cumque minus molestiae ab sed eius dolorem. Eum aut dignissimos nam. Quam at accusamus porro debitis ut.\", \"Neque sunt voluptatem libero. Mollitia ipsam est quod est odio. Vitae deleniti atque velit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_7f99c05a"], ["title", "Qui esse earum dolorem officiis."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d6f38d57') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum odio tenetur vero. Quia et repellendus sit debitis. Rerum deleniti quaerat rem.\", \"Quaerat dolores quis quae omnis quod nesciunt dolores. Culpa qui officiis accusamus est corporis. Et placeat harum nulla necessitatibus asperiores suscipit. Deserunt ea a inventore perferendis impedit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_d6f38d57"], ["title", "Debitis nihil facilis molestiae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_83509143') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus ut accusamus. Reiciendis aut ut consequatur ad maiores. Ut et dolore doloremque quaerat iste tenetur. Et in ullam expedita atque. Aut itaque nobis.\", \"Ratione doloribus ducimus. Vitae rerum qui voluptas aut quidem consequatur et. Quo dolorum rem quaerat et earum. Reiciendis aliquam ut officia quas laboriosam omnis.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_83509143"], ["title", "Aliquid pariatur dolor dolorem magni necessitatibus et earum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_3addf2b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus quia architecto assumenda impedit est. Tempore distinctio aperiam laudantium. Ipsam quia illo.\", \"Quae ea ad eaque qui et. Ut fugit ratione et vel at eos mollitia. Eligendi sit illo rerum. Recusandae pariatur et corporis. Quae distinctio enim.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_3addf2b1"], ["title", "Magnam repudiandae placeat."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3addf2b1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3addf2b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dfb59ff5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus in ea eveniet consequuntur cumque. Rem aut non et qui sed. Omnis aut culpa dolor natus.\", \"Eos illo est unde. Asperiores labore quod et sunt cum ea molestias. Quod omnis quibusdam.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_dfb59ff5"], ["title", "Ea quo veniam aut ratione et tempora."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_ce7946e5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero qui esse. Voluptas molestiae dolores eligendi. Sit facere et perspiciatis magni nisi est ipsam.\", \"Molestiae voluptatum ab dolores sint repellendus ad. Quia commodi reprehenderit a vel perferendis recusandae. Vel deleniti sunt repellat vitae qui dolor sed. Sapiente qui officiis maiores sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_ce7946e5"], ["title", "In quis totam sunt autem dolorem voluptatum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ce7946e5"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ce7946e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ce7946e5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c1d865ed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi neque ullam. Molestiae assumenda sint vel voluptatem laboriosam. Autem inventore quia culpa sint sit aut. In porro ea modi in. Molestiae et at est est natus modi.\", \"Qui impedit est fugit maiores. Fuga quae est. Et delectus quia ut. Velit ut aspernatur.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_c1d865ed"], ["title", "Amet cumque modi dolorum."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_840c0319') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et et porro. Et reprehenderit commodi et porro totam. Aut doloribus ut numquam minima.\", \"Provident facilis vero natus. Et animi rem accusamus. Et corrupti nam ut inventore. Eius magni rerum ut. Suscipit quo sequi velit aut.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_840c0319"], ["title", "Non quo distinctio beatae officia."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_4c22b320') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi porro ipsum voluptas dolores dolor explicabo. Voluptatibus recusandae accusamus quia. Repudiandae quos necessitatibus impedit quia assumenda sit. Eos veritatis excepturi quia minus illum nemo.\", \"Consectetur iure doloremque. Ipsum enim et a. Occaecati repellat id sequi ut eius non esse. Atque saepe reprehenderit sed.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_4c22b320"], ["title", "Ea mollitia et natus et iure."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_41b08ddc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum incidunt aut. Ut tempora sapiente perferendis aliquid quod autem aspernatur. Facilis et ipsa enim hic delectus.\", \"Qui provident numquam aliquid vel quia. Porro repudiandae laboriosam. Sint temporibus provident soluta sit rerum. Optio ex neque eveniet qui iusto placeat est.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_41b08ddc"], ["title", "Qui occaecati velit labore dolorem voluptas assumenda ut."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_41b08ddc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_41b08ddc') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1bace2c7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo non corrupti. Aspernatur inventore nostrum omnis amet soluta. Et quisquam eius hic minus autem vel numquam.\", \"Natus optio facere vero est eveniet enim. Et amet harum quae. At magni ipsa dolor. Itaque delectus recusandae voluptatem natus qui. Vel quis culpa ab.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_1bace2c7"], ["title", "Inventore et et dolorem quam quae."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_87978832') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil qui dignissimos aliquid magnam fugit qui. At et laboriosam in. Est consequatur quam. Dolorum non porro.\", \"Quo dolorem non nesciunt aut dolorum. Totam dicta omnis vitae consectetur rerum. Quo qui earum eaque architecto alias enim. Suscipit ut qui dignissimos.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_87978832"], ["title", "Aut eligendi vel at dolorum dignissimos."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c782a0d7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto neque quod. Nulla aliquam voluptatem consequuntur fuga rerum cum. Non et est asperiores et ipsa voluptas dolor.\", \"Nam distinctio autem qui qui itaque fugiat voluptas. Quo consectetur deleniti. Laboriosam et iusto quae. Consequatur fugiat recusandae omnis necessitatibus fugit.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_c782a0d7"], ["title", "Odio voluptatem illo est sapiente repudiandae dolores accusantium."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_c782a0d7"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_c782a0d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_42d16eca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quas officiis quaerat error tempora nihil est. Nam recusandae molestiae laudantium id perferendis magnam. Ullam minima et saepe voluptatem aut quia.\", \"Molestiae dolorem explicabo quam animi. Velit aperiam quaerat possimus ipsa. Rerum quis magni et voluptate. Non sit asperiores non ducimus.\"]"], ["created_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00], ["name", "contract_42d16eca"], ["title", "Ipsum tempore ea ipsam."], ["updated_at", Fri, 07 Mar 2014 21:59:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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 SQL (0.8ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas dicta sed est aut nam. Laborum inventore minus ea quisquam saepe. Porro nulla unde.\", \"Occaecati quibusdam cupiditate praesentium laborum quia cumque. At dolorem repudiandae dicta laudantium delectus temporibus. Occaecati aliquam repudiandae. Architecto suscipit ea atque ut alias quis fugit. Et nobis sapiente.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Occaecati iste quasi enim eligendi quia ab."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore consequatur optio quis consequatur rerum at. Quo quas sed atque. Nesciunt tempora blanditiis quia quia rem harum.\", \"Dolores sit ut laborum quas consequuntur ea. Quia id et officiis quos laudantium. Consequatur aut libero aperiam delectus. In eum expedita vitae cum beatae fugit.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "beta"], ["title", "Reprehenderit id pariatur inventore debitis magni laboriosam."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Occaecati iste quasi enim eligendi quia ab."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aliquam consequuntur nulla quos. Quia reiciendis aut sunt voluptas. In odit et sit ea.\", \"Tempora quasi ad tenetur laudantium odio delectus. Pariatur unde nobis dolores et quis esse laboriosam. Voluptate possimus itaque. Accusamus aliquam sunt magnam ut. Laudantium ut est quia.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Nostrum est dolor doloremque deserunt expedita."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel quia dolorem ullam. Et minima autem quo id ipsa sed sunt. Ut nostrum praesentium voluptas deleniti. Error nemo reprehenderit vitae nisi sit rerum eum. Consectetur est ipsam eos animi labore dolorum et.\", \"Eos nisi eligendi enim libero. Sunt ut sed dolorum qui provident. Laboriosam ut et consequuntur.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "beta"], ["title", "Quisquam officiis repellat tenetur assumenda omnis non."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Nostrum est dolor doloremque deserunt expedita."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis et non fugit voluptates voluptas. Sit dolor iusto. Recusandae maiores qui provident fuga repellat cum nulla. Voluptates beatae omnis repellat accusamus.\", \"Est quaerat ad sapiente aliquam. Voluptatem sequi magni. Autem qui ea. Id nam dolore. A ut eveniet neque.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Ullam numquam sit ea veniam deserunt quia placeat."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem magnam recusandae repellat velit sed. Molestiae consequatur ut delectus. Cupiditate laudantium sit aut voluptas enim fuga. Dolores voluptate sapiente dicta aut dolor quae ut.\", \"Qui officia delectus praesentium. Et distinctio possimus mollitia eum doloremque ut debitis. Dolorem rerum autem tenetur aspernatur voluptas. Mollitia aliquam laudantium est.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "beta"], ["title", "Aliquam pariatur quaerat fugit nostrum est nam."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "alpha"], ["title", "Ullam numquam sit ea veniam deserunt quia placeat."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_9af93cb8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat mollitia ut. Quia est laudantium voluptatem asperiores. Aut voluptas qui vel et voluptas aperiam et.\", \"Vitae ut delectus. Iure error exercitationem distinctio dolore temporibus. Non eligendi neque iste expedita pariatur.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "contract_9af93cb8"], ["title", "Dolores laborum ea ipsam est qui."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_ebcf0971') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus fugiat perferendis et dicta nulla dolor dolores. Voluptas asperiores non ipsam sunt. Similique perspiciatis laudantium.\", \"Corrupti nulla ea. Sed odit rerum est suscipit. Cumque ullam consequatur optio aperiam necessitatibus ut. Non quis ut voluptate.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "contract_ebcf0971"], ["title", "Adipisci doloremque sed aut omnis accusamus."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ebcf0971"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ebcf0971') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_9ad65528') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia aut id dolorem. Quia eaque expedita dolorum cumque ducimus voluptatibus quibusdam. Nihil odit ea porro dolorem. Nemo ratione qui nesciunt rerum.\", \"Quia dolor eaque. Voluptate et impedit et aliquid autem fuga. Dolores ipsa natus qui rerum officia neque mollitia.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00], ["name", "contract_9ad65528"], ["title", "Eum ut distinctio."], ["updated_at", Fri, 07 Mar 2014 22:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9ad65528"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9ad65528') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_ef04646d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis totam doloremque necessitatibus ea voluptas non deserunt. Placeat accusamus et velit provident esse dolor omnis. Aliquid modi voluptatem voluptatibus.\", \"Quas quae delectus fugiat quibusdam ut. Distinctio corrupti laudantium aut eos est. Nesciunt sapiente saepe consectetur placeat maxime qui temporibus. Inventore dicta et consequatur.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_ef04646d"], ["title", "Quae corporis ea."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ef04646d"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ef04646d') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_27b5c5d5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut dicta blanditiis cum. Harum quaerat nemo reprehenderit. Sapiente culpa quia.\", \"Voluptatem iste maxime recusandae provident voluptas repellat laudantium. Voluptas sapiente voluptas nostrum itaque dignissimos cumque. Enim harum et quam. A illum excepturi. Beatae sapiente quis amet reiciendis.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_27b5c5d5"], ["title", "Illo quidem officia consequatur."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_27b5c5d5"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_27b5c5d5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cef8e38b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque veritatis nisi molestiae. Consequatur libero voluptatem eos. Et animi dignissimos qui quis aspernatur. Eos consequuntur fuga velit iste et nisi.\", \"Culpa sed possimus aliquid assumenda dolores. Eaque et accusantium maiores est. Nobis quisquam vel voluptatem perferendis et. Molestias esse beatae porro.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_cef8e38b"], ["title", "Dolor exercitationem labore."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_cef8e38b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cef8e38b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_14ddf738') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde voluptates et recusandae velit molestias quae quis. Voluptas eligendi enim ut illo maxime est ea. Nesciunt voluptate in aliquam error.\", \"Veritatis esse adipisci molestiae reiciendis eveniet dolores quia. Repudiandae illum porro natus corporis et. Laudantium itaque incidunt aut ut et nisi velit. Rerum sint voluptate. Qui eum ut rerum modi earum quo.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_14ddf738"], ["title", "Consequatur libero veniam et perferendis omnis est reprehenderit."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_14ddf738"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_14ddf738') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_4b091440') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum occaecati a culpa quis et molestiae. Minima aliquam voluptatibus voluptatem dolores et dolor. In dolores quae minus nobis tenetur dicta.\", \"Ut necessitatibus incidunt id. Optio sunt repellat possimus. Iure aut magnam eos repellendus illum facilis. Provident vero porro.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_4b091440"], ["title", "Perferendis voluptates id."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_4b091440"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_4b091440') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4b091440' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum occaecati a culpa quis et molestiae. Minima aliquam voluptatibus voluptatem dolores et dolor. In dolores quae minus nobis tenetur dicta.\", \"Ut necessitatibus incidunt id. Optio sunt repellat possimus. Iure aut magnam eos repellendus illum facilis. Provident vero porro.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "joe"], ["title", "Perferendis voluptates id."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b307fb1c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum inventore aut et praesentium. Repellat sed porro. Necessitatibus voluptas voluptatem est. Placeat aut est.\", \"Illo et rerum optio odio ab. Voluptate facere qui. Eum atque autem rem quia perferendis occaecati. Dicta quam non accusantium fugiat perferendis. Cumque et deleniti dolores saepe.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_b307fb1c"], ["title", "Alias et optio sunt ex quia."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b307fb1c"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b307fb1c') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b307fb1c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_b307fb1c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum inventore aut et praesentium. Repellat sed porro. Necessitatibus voluptas voluptatem est. Placeat aut est.\", \"Illo et rerum optio odio ab. Voluptate facere qui. Eum atque autem rem quia perferendis occaecati. Dicta quam non accusantium fugiat perferendis. Cumque et deleniti dolores saepe.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_b307fb1c"], ["title", "Alias et optio sunt ex quia."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b307fb1c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_b307fb1c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_f1d65474') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum commodi temporibus. Consequatur quod libero dolorem consequatur omnis. Omnis aut dicta voluptates aperiam repellendus quo quis. Explicabo commodi reprehenderit. Eum optio veritatis assumenda quos sequi sapiente sit.\", \"Omnis nam voluptatem voluptatem tenetur ratione ut. Nam eius dolor. Explicabo qui est rerum magni quam earum facere. Iusto nesciunt sed. Voluptas est tenetur nulla.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_f1d65474"], ["title", "Qui itaque sed quia aut."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_f1d65474"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f1d65474') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_f1d65474"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f1d65474') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_f1d65474"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_1ac90a81') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni consectetur mollitia. Repudiandae quia sed deleniti possimus non ea. Cupiditate sit nesciunt et sed.\", \"Ipsa laborum reprehenderit sit aspernatur saepe. Odio sequi adipisci molestiae. Recusandae odit quia alias impedit eius minus et. Omnis non aut repudiandae neque laudantium eaque. Et aspernatur non iusto explicabo.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_1ac90a81"], ["title", "Sequi amet et sed et voluptate veniam ipsam."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1ac90a81"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1ac90a81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1ac90a81"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1ac90a81"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1ac90a81"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_1ac90a81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_72078128') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint consequuntur itaque omnis. Qui odio dignissimos aut voluptatem eum facere magnam. Rerum rerum sequi et. A non est architecto.\", \"Totam sed debitis ipsa reprehenderit ut. Fugiat accusamus quaerat illo aut similique ut in. Sint et voluptate consequatur incidunt cum quisquam voluptatem. Vel quia quo omnis. Et odio magni.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_72078128"], ["title", "Quaerat modi blanditiis et accusamus tempora aut voluptatem."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_5b3ddb88') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit quo laboriosam illo voluptas. Dolor numquam quidem qui quaerat. Autem consectetur enim cumque ipsum at. Ut sit fuga.\", \"Sequi nostrum rerum dolorem et nihil accusamus quam. Debitis et aut atque. Est ipsa eaque distinctio ea consequatur. Et doloribus aut ut harum dolores tenetur.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_5b3ddb88"], ["title", "Quia voluptatem porro."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_702ef4b5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus in debitis et quas architecto. Explicabo voluptas vitae minus. Nobis quis tempore recusandae corrupti. Est corporis rem dolorum eveniet consequatur omnis dolore. Ut amet commodi voluptatem alias occaecati.\", \"Quas suscipit autem consequatur minima illo. Deleniti perspiciatis consequatur. Ducimus itaque dolor explicabo est modi. Est accusantium aut sunt atque voluptas.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_702ef4b5"], ["title", "Tenetur doloremque magni."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_702ef4b5"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_702ef4b5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_50fa0c23') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi id fuga. Explicabo eaque reprehenderit earum corrupti laborum et. Tenetur neque placeat voluptatem iste consequatur dicta.\", \"Nihil voluptate temporibus. Laborum soluta in cumque. Officia earum aut dolor enim esse.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_50fa0c23"], ["title", "Soluta dolor excepturi ut repellendus et iste."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_50fa0c23"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_50fa0c23') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_50fa0c23"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_50fa0c23') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_9ce2aae6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi fugit autem. Odit aut vel quaerat at repellendus. Est ea omnis dolor facilis quo consequuntur esse. Earum dolor alias veniam sequi. Ea enim pariatur minus et.\", \"Perspiciatis dolore doloremque quo unde ea ducimus. Pariatur dolore voluptas nulla eveniet rerum cumque. Ut beatae velit dolore ea alias dolores. Ut eum aut sit nihil quidem incidunt magni. Et natus enim sed voluptatem aut aut nihil.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_9ce2aae6"], ["title", "Modi repellendus sint cumque molestiae nihil aut."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_8a1c52ae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ut aut et atque. Nostrum sed facere ducimus sunt. Vel eos cupiditate at necessitatibus ut. Et aut similique pariatur nisi delectus.\", \"Ratione modi magni quas illo. Nesciunt porro quas dignissimos magni quia fugiat nam. Quod qui sint velit dolores.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_8a1c52ae"], ["title", "Minus et cupiditate autem."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_c66b031d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et tenetur omnis repellat aperiam soluta autem dicta. Alias molestiae tempora illum ut. Voluptas culpa est officia. Blanditiis qui reprehenderit ut et sapiente culpa omnis.\", \"Esse omnis voluptatem quos sequi sed. Expedita veritatis animi. Qui enim aut sint beatae aut atque.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_c66b031d"], ["title", "Necessitatibus minima doloribus tempora dignissimos cum quaerat sed."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_527cf257') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque ex aut facilis sit praesentium occaecati placeat. Qui omnis recusandae ut quia at molestiae. In nobis laborum ullam sunt. Corrupti architecto qui.\", \"Est sint a ut nihil facere provident. Esse ut est quia at necessitatibus. Ut veritatis modi ad molestias et est.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_527cf257"], ["title", "Ducimus tempora totam reiciendis."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_963cf16e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda saepe enim voluptatum voluptatem voluptatem. Nihil qui itaque laboriosam fuga. Sequi ea fugiat repellendus est sed veritatis. Tempore beatae libero neque illum perferendis repellendus dolorem.\", \"Alias aut non cum totam. Labore sed est. Ipsum veniam autem amet error voluptas. Ipsum expedita ab voluptatem. Quas ipsum id sit fugit tempora.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_963cf16e"], ["title", "Nulla voluptatem sit ut nihil aut itaque."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_16237461') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia autem molestiae veniam. Voluptas assumenda iure tempore. Deserunt eum odio porro aut sed eum. Pariatur ut aliquid. Sit rem aut suscipit temporibus voluptatem.\", \"Nostrum placeat reprehenderit quis dolor impedit voluptatibus suscipit. Dolor modi ex suscipit itaque aut vel reprehenderit. At natus laudantium eos similique aliquam consequatur id. Libero nobis sed animi a.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_16237461"], ["title", "Ex dignissimos repellat enim alias expedita voluptas ratione."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_37bfc320') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque natus incidunt cupiditate accusamus iste quam perspiciatis. Exercitationem nobis alias. Rerum possimus architecto aut et quo. Optio quibusdam eligendi assumenda repudiandae.\", \"Dolores sit sunt et voluptatum est adipisci. Ratione rerum placeat vero. Perspiciatis nisi laborum. Nobis voluptatem vel deserunt in animi. Iste necessitatibus consectetur quaerat aut.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_37bfc320"], ["title", "Molestiae vitae quas ab repellat."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_619cf811') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint suscipit dolorum eos asperiores velit. Culpa similique laudantium atque velit. Nesciunt tempore recusandae optio rerum.\", \"Repellat voluptatem repellendus. Atque neque voluptas omnis et accusantium iste corporis. Explicabo a sunt neque omnis dolor saepe. Ipsam libero et. Deserunt maxime dolores voluptate iste.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_619cf811"], ["title", "Inventore soluta dolorem illum aliquam ut aliquid vitae."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_1acfd412') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus ipsum ducimus. Sint ab architecto. Voluptas omnis repudiandae et nam est aut. Enim expedita deleniti dolorem cum assumenda.\", \"Qui enim magni impedit eveniet sint. Eius modi dicta necessitatibus qui dolores. Aperiam at consectetur sint itaque quis ea iure. Totam laboriosam autem eos maxime facere atque non.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_1acfd412"], ["title", "Et asperiores deserunt."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1acfd412"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1acfd412') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1acfd412' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d664574c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo repellat culpa dolor cumque ad. Voluptatum rerum adipisci. Quia omnis magni voluptatem tempore ipsam minima. Totam est laborum qui sed. Velit voluptatem dolores et est veniam.\", \"Et ipsam distinctio adipisci ad laudantium sit. Reprehenderit voluptas enim totam modi distinctio beatae. Et enim nobis.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_d664574c"], ["title", "Est velit fugit nesciunt quibusdam est."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_6799f884') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias eos ea. Est quas voluptas. Est in tempora doloremque autem.\", \"Vel vel nostrum quasi a ut sit aut. Ducimus eos voluptas. Sapiente eveniet placeat.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_6799f884"], ["title", "Est quae consequatur quis."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_6799f884"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6799f884') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_2eff2f86') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quia aut at. Qui incidunt delectus. Aperiam molestias quae nesciunt.\", \"Est possimus omnis eos. Quam qui vero commodi rerum. At consequuntur deserunt molestiae aperiam necessitatibus perspiciatis dolore.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_2eff2f86"], ["title", "Aspernatur repellat nostrum tempore corporis dignissimos."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_2eff2f86"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2eff2f86') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dacdfe2b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis quos consequatur tenetur ullam reiciendis. Quia aut vel. Eum debitis enim consectetur illum. Sed sed ducimus excepturi distinctio. Sit distinctio omnis.\", \"Qui eveniet labore. Est voluptate qui magnam. Alias tempora beatae quia ut fugit deserunt. Enim aliquam temporibus.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_dacdfe2b"], ["title", "Eius doloribus provident et enim veniam."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_fab6c86a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum accusamus aut rem. Aut quis velit id voluptas. Atque enim ut illum. Repudiandae quod omnis.\", \"Ut dignissimos dolores minus commodi non temporibus aut. Tempora esse et eos soluta. Quia numquam est id qui maiores.\"]"], ["created_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00], ["name", "contract_fab6c86a"], ["title", "Debitis ut vitae delectus."], ["updated_at", Fri, 07 Mar 2014 22:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 4ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_321e8521') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod aut quas vero repudiandae inventore consectetur. Est sit dolores eos et rem officia molestiae. Non sequi dolorem accusamus et dolor sapiente. Nisi fuga aliquam ut dolores perferendis molestiae et.\", \"Sed sequi laborum ut recusandae repudiandae perspiciatis dolore. Et minima modi quam. Reiciendis nisi mollitia. Cumque repellat vero dicta et inventore consectetur.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["name", "contract_321e8521"], ["title", "Pariatur eius eveniet veritatis enim autem aspernatur."], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_644a5ece') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid esse porro tenetur non quaerat assumenda consequuntur. Rem enim quaerat numquam et minima. At itaque eum.\", \"Dolores eum qui adipisci voluptatem et voluptas doloribus. Et quisquam nobis voluptatem iure repudiandae. Autem tempora excepturi aspernatur dolores est. Id consequatur eius ut consequuntur necessitatibus. Nemo voluptatum laudantium a quia ullam velit.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["name", "contract_644a5ece"], ["title", "Placeat natus et."], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_964b7bc0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut perferendis molestias consequatur sequi vitae minus. Dolorum quidem quia. Voluptatem ut doloribus incidunt. Ab et et aut.\", \"Consequatur quo facilis non quisquam aut. Molestiae corrupti earum. Eius nulla sed similique eum illo mollitia soluta.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["name", "contract_964b7bc0"], ["title", "Dolores qui impedit et alias blanditiis."], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_964b7bc0"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_964b7bc0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_12fe776a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut laudantium animi. Placeat et rerum. Earum eum aperiam. Dolorem ipsam ducimus quidem dolor quod tempore.\", \"Veritatis voluptate dolorem hic dolorem aliquam. Non voluptatem dignissimos excepturi omnis fugit. Consequatur voluptatibus recusandae eum ut quas.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["name", "contract_12fe776a"], ["title", "Quis voluptas ipsa odit fugiat sapiente."], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_dc433f6b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum cumque hic necessitatibus id et et. Iste non hic. Est similique ullam voluptatem ut. Blanditiis quisquam enim ea cupiditate quod. Cum assumenda et voluptatibus eum.\", \"Dolores asperiores sapiente. Quia dolorem consequatur. Nesciunt eum dolores iste animi accusamus perferendis.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["name", "contract_dc433f6b"], ["title", "Soluta autem vitae deleniti officiis omnis inventore."], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_249b579f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo sunt placeat perspiciatis atque vitae doloribus esse. Error et dolores non quia dolorum. Maiores accusantium enim quam et sequi et et.\", \"Architecto quis deleniti quae. Commodi qui dolor. Soluta odio quis aperiam. Optio maxime saepe dolores excepturi nisi eum tenetur. Et mollitia voluptatum ut aut.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_249b579f"], ["title", "Omnis reiciendis repellat sed aut dolor."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_70540aa2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus dolorum et perspiciatis aut quidem ipsa. Quia dolores qui itaque suscipit saepe minima. Dolor rerum quo doloribus.\", \"Earum placeat ut quia non quia. Magnam velit veritatis laudantium commodi exercitationem. Dignissimos dolorem velit maxime voluptates et molestias ratione. Cum hic voluptatem.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_70540aa2"], ["title", "Omnis placeat voluptas laborum iste."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_70540aa2"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_70540aa2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_43c79025') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora animi consequatur dolor quia. Aut possimus laborum veritatis. Ullam omnis dolorum enim iure et suscipit. Dolor eum voluptatem ipsa nulla et temporibus.\", \"Ut officia fugit. Quia tempora eos commodi et non. Nulla atque quia omnis.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_43c79025"], ["title", "Sit cumque qui minima occaecati eaque quo est."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_042072bd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis neque ut aut molestias eveniet ut eaque. Dolor rem aliquid et suscipit amet. Doloribus rerum porro dolores aliquid. Est rerum enim quos molestiae.\", \"Vel quis nostrum alias corporis ut possimus. Earum et qui eligendi at. Iure et corporis voluptas laudantium nihil.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_042072bd"], ["title", "Nihil quo illum distinctio sed voluptatem aut."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_042072bd"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_042072bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_56563421') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt dolore delectus sequi harum. Saepe aut vel similique. Quidem itaque quia.\", \"Rerum omnis aperiam ipsam placeat quibusdam. Et sequi aut totam in tempore voluptatum provident. Sint ea sunt.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_56563421"], ["title", "Animi adipisci et facilis corrupti qui assumenda et."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_56563421"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_56563421') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_56563421"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_56563421') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.4ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_10ecfbcd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis excepturi velit labore voluptatem. Eligendi vel quos eveniet. Quo aut porro est.\", \"Sequi enim natus reiciendis nam et velit quia. Tenetur sapiente et ex adipisci quia harum. Distinctio eligendi et totam. Est blanditiis pariatur vero odio doloremque. Aut suscipit molestiae provident et.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_10ecfbcd"], ["title", "Voluptas blanditiis dolorem."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_cedbbedc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ut repudiandae est modi suscipit enim cupiditate. Molestiae dolores quis sunt. Sunt qui officia soluta sapiente ratione.\", \"Cumque totam quia aliquam commodi minima. Nulla sit quasi cumque saepe officiis laudantium. Assumenda dignissimos ut mollitia rerum ab et aut. Rerum illum soluta eius magni neque quas. Enim eum in.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_cedbbedc"], ["title", "Non ex dolor optio aliquam sunt."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (5.7ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_cedbbedc"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cedbbedc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cedbbedc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_baf6a098') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est aliquam aut quisquam porro facere veniam. Aut dolore pariatur a rerum nobis. Voluptatem consequuntur aut.\", \"Est earum asperiores necessitatibus provident. Nam nihil dolorem aut nemo et nesciunt eius. Odio ex distinctio qui cum.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_baf6a098"], ["title", "Maxime accusantium excepturi eum incidunt rerum."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_dfe615dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci quia et cum facilis id rerum odit. Exercitationem expedita quae totam quia aut ab. Nisi ut porro tenetur similique eos. Est aliquid eos deserunt.\", \"Quae vel voluptatem. Sed nesciunt aliquam accusamus voluptatem praesentium magnam doloribus. Laborum doloribus amet non adipisci nam.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_dfe615dc"], ["title", "Qui voluptatem quia omnis impedit ducimus veritatis ipsam."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e673da57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In ut aut omnis non. Deserunt et qui nemo rerum ad quia laborum. Rem enim voluptatem corrupti illum ducimus quia nihil.\", \"Aut consequuntur minima. Voluptas id aspernatur nihil asperiores consequuntur optio numquam. Voluptatibus incidunt est soluta ab ut. At assumenda est animi necessitatibus laboriosam quod voluptatem. Magni consectetur qui harum aut voluptates quod praesentium.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_e673da57"], ["title", "Illo animi similique aut."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_c362395a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis esse eum non et eligendi earum. Ut maxime et. Eos enim blanditiis molestias dolorem quisquam accusamus quam.\", \"Est voluptate quasi blanditiis. Dolor tenetur dolorem sunt. Quia aperiam nisi perspiciatis. Eos sint sed voluptas aut.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_c362395a"], ["title", "Magni est voluptatem."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) SAVEPOINT active_record_1 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_d439c5a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo neque laudantium fuga. Eum incidunt sequi tempora. Maiores odit et dolore nemo omnis.\", \"Enim aut impedit velit quod dolores. Ullam voluptatem suscipit eius quia voluptas. Voluptatem aut ut sunt est commodi nihil.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_d439c5a4"], ["title", "Minus possimus enim sint inventore nostrum voluptatibus."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_6e18578a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque officia praesentium quidem laudantium sequi. Dignissimos aut quam ex. Deleniti aliquam voluptas. Delectus eum occaecati earum qui aut incidunt qui.\", \"Repellendus est vitae id asperiores. Molestiae est sunt. Laboriosam ut enim quaerat quis quae est non. Ut id repudiandae nisi sit consequatur sapiente. Est corrupti enim accusamus aliquam quas velit.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_6e18578a"], ["title", "Unde autem laboriosam illum et iusto et."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_34206a8a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio nihil temporibus qui earum autem impedit tenetur. Et neque accusamus id. Sed magni aliquid similique est omnis commodi.\", \"Aperiam ea rerum in. Repellat ipsam laudantium est eveniet beatae consequatur iusto. Aut voluptatem voluptatibus.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_34206a8a"], ["title", "Maxime magni sit dolorum praesentium ut et."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_34206a8a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_34206a8a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_34206a8a"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_34206a8a"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_34206a8a"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) 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_34206a8a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", nil], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_47ef6e8c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit laboriosam dolorem non. Cupiditate perferendis non deserunt saepe. Sint quibusdam omnis nemo porro velit blanditiis repellat.\", \"Et harum perspiciatis sint et dolores. Autem error rerum illo deleniti inventore illum voluptas. Vel dolores autem eaque temporibus. Odit qui eaque omnis. Repudiandae eos eum et dolores recusandae.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_47ef6e8c"], ["title", "Laudantium aperiam rerum illum sit."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_47ef6e8c"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_47ef6e8c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_47ef6e8c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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_47ef6e8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit laboriosam dolorem non. Cupiditate perferendis non deserunt saepe. Sint quibusdam omnis nemo porro velit blanditiis repellat.\", \"Et harum perspiciatis sint et dolores. Autem error rerum illo deleniti inventore illum voluptas. Vel dolores autem eaque temporibus. Odit qui eaque omnis. Repudiandae eos eum et dolores recusandae.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_47ef6e8c"], ["title", "Laudantium aperiam rerum illum sit."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_47ef6e8c"]]  (0.0ms) SAVEPOINT active_record_1 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_47ef6e8c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 2], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_55145218') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus iste est et sit. Quis laborum ad aut harum et blanditiis. Qui quas adipisci aut officia consequuntur. Fuga sint inventore repudiandae corporis eum harum. Minima aut voluptatem.\", \"Iste vel illo et. Et maiores maxime qui. Quis sequi similique aut voluptatibus modi et dolorem.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_55145218"], ["title", "Numquam recusandae aut et."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_55145218"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_55145218') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_55145218"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_55145218') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_55145218"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_cf2fbdf1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt et est maxime. Qui dignissimos et inventore dolores voluptatem necessitatibus. Libero quae soluta dolorem necessitatibus. Quam sint cumque omnis sequi.\", \"Necessitatibus laboriosam quis esse non. Fuga voluptatem autem necessitatibus. Quo voluptates eaque nemo adipisci placeat rem sit.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_cf2fbdf1"], ["title", "Iusto sapiente nihil."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_cf2fbdf1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cf2fbdf1') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cf2fbdf1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt et est maxime. Qui dignissimos et inventore dolores voluptatem necessitatibus. Libero quae soluta dolorem necessitatibus. Quam sint cumque omnis sequi.\", \"Necessitatibus laboriosam quis esse non. Fuga voluptatem autem necessitatibus. Quo voluptates eaque nemo adipisci placeat rem sit.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "joe"], ["title", "Iusto sapiente nihil."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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_ebc76588') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque assumenda qui. Repellat vel ipsam. Aut quod sit.\", \"Nemo quia vero vel beatae tenetur maiores. Aliquam et sequi animi. Dolor placeat eius quasi quae rem. Soluta neque velit veritatis qui fugit cupiditate. Sit voluptatem nisi necessitatibus et officiis.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_ebc76588"], ["title", "Similique tempora earum distinctio fugit."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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_ba15b612') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem quod architecto omnis. Eum labore fugit veniam qui voluptas facere quam. Modi alias aut dolorum iste rerum. Ex voluptas magni rerum. Qui et nihil adipisci nesciunt soluta.\", \"At eius porro iste labore eos. Et quia fugiat. Voluptas sapiente voluptas. Quaerat officia et error rerum dolorem ut.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_ba15b612"], ["title", "Architecto sed aut dicta ut ut perferendis."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_ba15b612"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ba15b612') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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_29bc45f1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem dolor accusantium impedit libero sed. Maxime dolorum sequi aspernatur eaque. Laboriosam ex vitae. Quod et nostrum quaerat saepe ducimus quisquam odio. Sed et minus.\", \"Omnis quisquam dolorem voluptas natus omnis. Veniam voluptates corrupti fugiat nulla a nobis repellat. Dolorem quisquam omnis assumenda doloremque iusto. Architecto voluptas minima sed deserunt.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_29bc45f1"], ["title", "Perferendis doloribus qui qui."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_29bc45f1"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_29bc45f1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.0ms) SAVEPOINT active_record_1 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" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur natus molestiae qui ut ipsa explicabo corporis. Cumque incidunt molestiae quia blanditiis quaerat occaecati et. Soluta adipisci accusantium quae nemo tempore. Blanditiis unde officiis quo. Eos voluptatem nobis earum ipsam ullam tempore.\", \"Illo molestias aut aliquam expedita eos. Maxime id est aut at voluptatem temporibus et. Maiores a corporis voluptatem delectus aut. Occaecati id quasi aspernatur cumque expedita quo tempore.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Ab et perferendis aliquid accusantium."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum aliquam a quod. Assumenda aut dignissimos deleniti rerum sint quod. Nesciunt et aperiam molestiae ut alias qui. Repellendus nihil facilis aut est accusamus aliquam. Quis nihil omnis nam nesciunt eos nisi laborum.\", \"Distinctio voluptas excepturi qui. Officia repellendus laudantium. Dolore doloremque omnis dolorum ducimus.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "beta"], ["title", "Sed esse numquam dolore eaque."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Ab et perferendis aliquid accusantium."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga quos eum nihil repudiandae consequuntur distinctio. Quis laboriosam dolores recusandae illum voluptas et. Qui repellendus est blanditiis id vel velit laborum. Porro exercitationem excepturi. Aut blanditiis placeat tenetur ut molestiae vel.\", \"Impedit ullam tempora quis. Doloremque est necessitatibus quas quisquam natus assumenda quo. Officiis excepturi est maxime eligendi. Esse velit ut aliquid in est ipsam. Sit est fugiat voluptatem reiciendis.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Rem et est dicta quia sunt quasi sequi."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.3ms) 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 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde dolor illum quo voluptatum est iure. Magni corrupti ut asperiores. Aut quia dolorum quis commodi sint rerum sit. Unde eos provident consectetur. Consequuntur dignissimos expedita natus minima architecto.\", \"Cupiditate omnis culpa sed doloribus ipsam. Quae et accusamus. Eos iusto eum est a.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "beta"], ["title", "Sit similique dolorem."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Rem et est dicta quia sunt quasi sequi."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Contract Load (0.2ms) 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque qui sit quis aut voluptatem ea. In voluptas in natus et assumenda. Eos quos reprehenderit eligendi placeat reiciendis omnis in. Qui rerum aut aliquid quo.\", \"Quis culpa numquam est non. Laudantium consequuntur sequi et facilis. Voluptatem totam neque ipsa. Animi dolor cupiditate eius.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Eos voluptatem placeat facilis rerum autem."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut recusandae dolorem in nemo laborum non maxime. Aliquid esse ut exercitationem ducimus quam. Minus qui dolores. Et alias voluptatibus sit. Sed aut eum consequatur quam et delectus magnam.\", \"Eaque similique et magni. Ipsum velit odit voluptatem consequuntur suscipit vel. Ut vel alias aperiam et earum quae. Praesentium qui rerum voluptatem. Labore in temporibus quas ut voluptatibus.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "beta"], ["title", "Repellat ut magnam dolores."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = -1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "alpha"], ["title", "Eos voluptatem placeat facilis rerum autem."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) SAVEPOINT active_record_1 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 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["version", 2], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 3]] FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 2]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_400ce5fb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis placeat nemo. Odit rem quasi nulla. Ut non sequi aut sapiente. Blanditiis beatae quia omnis autem. Voluptatibus veniam voluptas.\", \"Rem repellat magni tenetur esse ipsam quos. Aliquid sequi modi ut voluptas expedita. Dolorum quia exercitationem repellendus dolorem dolor magni rerum. Provident quidem rerum atque.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_400ce5fb"], ["title", "Aliquam aliquid eaque ipsum neque."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_400ce5fb"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_400ce5fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_5620eea5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum qui qui voluptates inventore. Et aut similique voluptas et magnam quidem tenetur. Eius commodi omnis aut. Commodi vel nihil sit.\", \"Rem et occaecati est qui sunt expedita. Voluptatem impedit sunt illum et. Fuga ex accusamus et aut. Veniam eveniet est animi et. Sit est occaecati nemo.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_5620eea5"], ["title", "Saepe molestiae quam officiis nihil."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_5620eea5"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5620eea5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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_e2d7913e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates aliquam quidem est officiis perferendis tenetur omnis. Aut qui harum cum deleniti sunt enim aut. Animi impedit ullam molestiae aspernatur. Beatae qui distinctio sint temporibus repellendus. Magnam fugit ad nam.\", \"Voluptatem asperiores consequatur aut aperiam. Tenetur voluptatem maxime aut. Id dolores eius autem. Dolorem voluptas tempora nobis. Quidem quasi occaecati sed illum ea.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_e2d7913e"], ["title", "Et ut voluptate cupiditate rerum pariatur."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e2d7913e"]]  (0.0ms) SAVEPOINT active_record_1 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_e2d7913e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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_9d9b971b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio ducimus corporis. Alias repudiandae ullam velit autem quam perspiciatis. Fugit cum est. Consequuntur rerum itaque molestias eum.\", \"Dolores deserunt error occaecati est. Nostrum doloremque minus. Necessitatibus aut porro molestiae eveniet sint atque aliquam. Doloremque assumenda molestiae natus cum. Debitis alias optio assumenda nostrum placeat id quae.\"]"], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["name", "contract_9d9b971b"], ["title", "Et dolore earum blanditiis."], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9d9b971b"]]  (0.0ms) SAVEPOINT active_record_1 FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9d9b971b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["version", 1], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["updated_at", Sat, 08 Mar 2014 00:04:46 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/fine_print/signatures Completed 302 Found in 1ms (ActiveRecord: 0.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (58.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (11.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:16 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:16 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_180b9ab5') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique natus eius blanditiis. Explicabo non distinctio rerum omnis. Cum officiis at est corrupti earum tenetur voluptatibus. Corporis totam voluptatibus nostrum ut. Omnis maxime quasi optio in rem laudantium.\", \"Doloremque rem illo enim qui distinctio debitis. Et tempore consequatur minus corporis. Enim quis accusamus fuga cum consequatur sit.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_180b9ab5"], ["title", "Provident veniam et aut dolores rem iste."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.5ms) commit transaction FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) 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 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 1]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 68ms (ActiveRecord: 2.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_1ca2244e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam nihil totam. Laboriosam odit maiores ducimus et occaecati. Ea dolorem vel tempora doloremque rerum.\", \"Corrupti corporis voluptatem. Sed ullam illum animi id delectus. Autem et velit architecto laboriosam porro.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_1ca2244e"], ["title", "Ex praesentium perspiciatis molestiae officia enim."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_85cfe277') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique saepe voluptas. Officiis et est ducimus molestiae sint in. Omnis perspiciatis numquam nostrum libero corrupti. Eos maiores aut sequi. Dolores error atque.\", \"Tempore sapiente qui quo. Officiis ipsa sint sed. Cupiditate consectetur facilis et. Ad qui quod qui tenetur. Voluptas debitis est quaerat repellendus consequatur.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_85cfe277"], ["title", "Sed assumenda eum saepe quod."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_dd5a888a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In cumque dolore veritatis eligendi tempore accusantium. Voluptates quidem aliquid asperiores dicta pariatur. Officia aut eius adipisci aspernatur quae debitis culpa.\", \"Vel maiores accusamus eos rerum. Rem et neque molestiae suscipit nihil ad. Tempore sint ipsum quia soluta porro et consequatur.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_dd5a888a"], ["title", "Dolores ipsam alias id ut consectetur et rem."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b162219c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio at quasi et alias nostrum ducimus qui. Aut nam in. Possimus est adipisci quia accusamus cum suscipit. Doloremque ut ratione rem molestias. Est ut minima nihil impedit.\", \"Dolorum fugiat deserunt fuga sunt quam repudiandae aut. Laborum commodi sunt dolorum sequi eos suscipit. Consequuntur voluptatem ipsam rem. Aut vel quia voluptatum. Eligendi ut est omnis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_b162219c"], ["title", "Dolores ut eos debitis velit velit quo laudantium."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_00a46abd') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda quo mollitia dolor. Labore accusamus eum et ut vero quasi. Non quibusdam officiis est voluptates. Consequatur impedit ea perferendis nemo.\", \"Sit a nemo ea sed aspernatur aut non. Magnam unde in quia. Debitis quos consequatur facere et eum voluptas eligendi. Ad quia optio enim corrupti deserunt velit. Beatae sit at.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_00a46abd"], ["title", "Similique deserunt aspernatur dolores."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_00a46abd"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_00a46abd') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 6]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_90d93f66') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem cupiditate nisi sit ut et. Porro sed nulla et laudantium. Et est temporibus eveniet.\", \"Quia architecto sed voluptas quia sed consequatur. Ratione veniam vero. Possimus repellat nobis dolorum magni.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_90d93f66"], ["title", "Vel ipsa tempore qui at."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "7"]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_03adfce0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem quos eveniet doloribus et est ut non. Ut non molestiae. Qui laudantium vel deserunt doloremque ea beatae voluptates.\", \"Et ullam molestiae sed necessitatibus consequatur explicabo earum. Autem et et soluta. Occaecati nemo pariatur vero. Praesentium eligendi a fuga doloremque quia temporibus. Et et et fugiat quibusdam.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_03adfce0"], ["title", "Assumenda dolor voluptatem corrupti sed."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_03adfce0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_03adfce0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 8]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 8 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "8"]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_03adfce0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction 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_9289edb0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore a et enim. Voluptate iusto quisquam et quibusdam harum totam. Ut qui recusandae suscipit sint ut cumque nihil. Voluptatem nesciunt dolorem quae non pariatur voluptatibus mollitia. Rerum qui dignissimos repudiandae nisi qui pariatur vel.\", \"Culpa cumque veniam exercitationem atque quia. Quaerat blanditiis ipsum perferendis. Natus est voluptas dolorem eveniet. Nobis qui non velit. A ducimus ipsum aut nam eum.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_9289edb0"], ["title", "Quos mollitia et incidunt fugit non accusamus."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9c400832') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate unde veritatis illum qui eum. Sapiente tempore aut ipsa. Quia accusamus iste dolore velit dolorem doloremque. Aut qui maxime et error facere iste eum. Nihil distinctio ullam.\", \"Eos adipisci reiciendis optio. Omnis consequuntur dolor laudantium aut suscipit repellat. Consectetur aspernatur a cupiditate.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_9c400832"], ["title", "Expedita autem cum illum quas animi cumque."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_9c400832"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_9c400832') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 10]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 10 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "10"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 10]]  (0.2ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_9c400832"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_9c400832') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 10]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 10 [["version", nil], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 1.7ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2707a697') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est eveniet temporibus fugit illum quidem ipsam repudiandae. Ea velit id. Ex eum voluptas impedit adipisci non ut et. Porro eligendi quibusdam sint molestiae.\", \"Velit eaque et sunt. Quos et aliquam sunt harum sed. Praesentium dicta iure non officia dolores expedita dolor. Et aut soluta reiciendis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_2707a697"], ["title", "Rerum quia omnis aliquid voluptas odit alias voluptatum."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"11"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"11"} Completed 500 Internal Server Error in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_d64c5e02') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quos harum esse aliquam molestiae enim possimus. Quis autem eveniet culpa. Earum ipsam voluptas nobis. Libero neque molestiae occaecati vel quae. Sunt molestiae aut soluta hic eveniet vel rerum.\", \"Asperiores omnis cum ipsa. Nostrum illo at incidunt accusamus numquam error. Voluptatem quisquam occaecati ab tempore. Ut earum unde.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_d64c5e02"], ["title", "Quas occaecati earum sunt exercitationem voluptatum laboriosam."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "12"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 12]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 12]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 12 ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_bd6752e0') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel distinctio corrupti. Consequatur optio asperiores. Blanditiis eos labore.\", \"Quis fuga ipsam qui vero minima voluptatem. Voluptatum ipsam asperiores facilis alias pariatur saepe. Dolor nostrum ut repellendus fuga dolores. Odio qui expedita.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_bd6752e0"], ["title", "Explicabo omnis quia nisi dolorum architecto molestiae voluptatem."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 36ms Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_7b8c494a') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam dolorem recusandae placeat voluptatibus. Ex placeat similique tempore omnis veritatis rerum dolor. Ratione harum soluta recusandae sed.\", \"Modi et vel. Quod eligendi reiciendis. Nemo reiciendis vel. Ea ab id dolores at necessitatibus quos.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_7b8c494a"], ["title", "Et nihil eligendi."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_7b8c494a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_7b8c494a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 14]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f1492c99') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime totam est veniam aspernatur et fugit dolorum. Sed dolor sunt nihil non autem voluptatem. Ipsam animi provident. Adipisci at reprehenderit laborum officia ipsam quas repudiandae.\", \"Rerum ut autem et voluptas. Ullam repellendus libero odio est deserunt in. Voluptas fuga ut officia et iusto. Consequatur occaecati sunt officiis velit aut impedit eos. Aut pariatur placeat corporis consectetur libero incidunt.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_f1492c99"], ["title", "Dolor minus sed velit quo ipsam perferendis eveniet."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b8832e4d') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut aliquid voluptatem perferendis culpa necessitatibus. Pariatur repellendus consequuntur perferendis nemo cum expedita est. Veniam temporibus accusantium dolorem in est odio. Facere voluptatem quos.\", \"Rerum consectetur in incidunt ipsam. Beatae accusantium eos blanditiis est maxime ipsa. Eveniet asperiores explicabo occaecati voluptatem quos. Et optio voluptates excepturi et. Tempora et odit expedita cum.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_b8832e4d"], ["title", "Cupiditate et enim sunt sint voluptatum."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", "16"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b8832e4d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_b8832e4d') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 16]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 16 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_165846b2') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam porro hic repellat. Doloribus dignissimos placeat aut unde est. Necessitatibus vel praesentium qui assumenda. Ab reprehenderit quaerat voluptatibus quos voluptatum. Quo possimus et iusto rerum asperiores facere quas.\", \"Beatae possimus placeat. Facilis officiis officia et. Nihil tempora voluptatem doloremque. Nihil qui veritatis explicabo et quam.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_165846b2"], ["title", "Ipsum temporibus molestiae modi."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_94352021') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit soluta at earum placeat facilis mollitia sed. Qui dolores non dolorem explicabo perspiciatis reiciendis. Laudantium vitae a exercitationem numquam tempora nisi consequatur. Nostrum nulla ullam perferendis voluptatem eum veritatis.\", \"Illum voluptatem quam commodi natus necessitatibus. Aut voluptas est ex. Voluptatem possimus nemo tempora harum consequatur et facere. Corrupti aut porro at laborum.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_94352021"], ["title", "Dolorum et et ut qui ut quidem."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction 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_fa2beba6') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe sit rerum illum. Qui qui voluptatum impedit non necessitatibus et. Neque recusandae debitis.\", \"Quia facilis eveniet rerum porro mollitia ab. Facilis et dolorem aspernatur est sint ut. At qui quasi pariatur.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_fa2beba6"], ["title", "Consequatur repellat quasi expedita quidem nisi."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 19]]  (0.1ms) begin transaction 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_53a555ad') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ex nihil numquam doloribus similique praesentium ut. Dolor rerum non laborum earum voluptatum sit consectetur. Placeat aut earum maxime aperiam fuga non. Quia rerum placeat. Voluptas iste quia est totam.\", \"Culpa nesciunt omnis qui debitis eum. Qui voluptatem quasi dolor id porro adipisci non. Ad et ipsum dolore doloremque tempora tempore eos.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_53a555ad"], ["title", "Occaecati alias eaque magni."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_53a555ad"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_53a555ad') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 20 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 19]]  (0.1ms) begin transaction 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_d403a879') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo magnam voluptate corrupti sapiente totam. Dolor exercitationem sed nisi totam deserunt vero ratione. Quia quisquam repellat et quia sunt.\", \"Saepe hic autem. Rerum laudantium aut delectus. Autem non sed et. Saepe rerum eos voluptatem.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_d403a879"], ["title", "Sint dolorum nisi voluptate rem."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_d403a879"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_d403a879') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 21]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 21 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 21]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 21]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.3ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam quia et. Nostrum aliquam rerum molestiae nihil. Quo error labore veniam. Et voluptates quia quo.\", \"Facere pariatur rem aut. Qui maxime sequi deleniti nesciunt. Magni est dolorem autem.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Quibusdam voluptatem quos dolorem amet ullam quis adipisci."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 22 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id aliquid pariatur. Est debitis distinctio ducimus. Quo accusamus cum eligendi corrupti.\", \"Unde similique aperiam. Iusto facilis quas sit. Dolores aperiam in laborum voluptas. Quibusdam voluptas expedita maxime reprehenderit animi quia.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "beta"], ["title", "Quibusdam occaecati aut rerum."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 23]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 23 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Quibusdam voluptatem quos dolorem amet ullam quis adipisci."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 24 [["version", 2], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction 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 fine_print_contracts.id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, version DESC  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi soluta suscipit. Consequatur modi eos dolorum. Sunt voluptatum qui sit placeat non nisi.\", \"Accusamus aut qui et corporis voluptate molestias. Laudantium nam hic iste. Molestiae dolores et quaerat voluptatem iure. Veritatis quis aliquid reprehenderit nostrum et. Accusantium omnis voluptates sed.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Sit eveniet culpa velit repudiandae vel quia."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 25]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 25 [["version", 3], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi facere repellendus. Enim odio qui distinctio cum dolorum. Porro maiores sed distinctio occaecati eius. Nemo quo a commodi.\", \"Et velit dolorem modi. Doloremque laudantium reiciendis. Iste sapiente consequatur consectetur alias esse eum. Nihil unde et est. Temporibus minus ducimus necessitatibus.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "beta"], ["title", "Neque saepe eius aut assumenda velit eaque."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["version", 2], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Sit eveniet culpa velit repudiandae vel quia."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 27 [["version", 4], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["id", 25]] 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ex veritatis. Aut eos eum quia. Porro occaecati sunt omnis quo.\", \"Voluptatem occaecati ipsam nihil sed nisi nam. Et voluptatem qui ex. Officiis veritatis soluta est eaque in quibusdam. Fuga accusamus aliquid quisquam pariatur dolorem aliquam vitae. Sint possimus rem est.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Nulla qui modi ex corrupti beatae fuga laudantium."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 28]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 28 [["version", 5], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (4.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor unde voluptas ut facere nostrum. Laudantium aliquid rerum. Soluta quia perferendis dolor qui sunt. Molestiae dicta ipsum dolor iste odio laudantium consequatur.\", \"Rem quaerat repellendus qui unde magnam beatae. Laboriosam adipisci nobis architecto. Temporibus quam hic eius. Voluptates ipsam aut.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "beta"], ["title", "Dolorum velit blanditiis quisquam nisi."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 29 [["version", 3], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "alpha"], ["title", "Nulla qui modi ex corrupti beatae fuga laudantium."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 30 [["version", 6], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (4.2ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 28]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 30]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 29]] 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 28]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 30]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 29]] FinePrint::Signature Load (0.2ms) 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 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 "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_92c2465a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur alias voluptatem accusamus est dolores. Rem aut aut nihil ut atque velit impedit. Molestiae minima similique. Aspernatur modi et voluptatum et.\", \"Similique error quod dolores quia. Dolore ipsa ea nulla doloremque incidunt autem cupiditate. Magnam autem non ut animi dolores voluptatem. Labore iste minima delectus cumque optio non debitis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_92c2465a"], ["title", "Aperiam rerum similique dolores consectetur odio."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_92c2465a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_92c2465a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 31]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 31 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", 45], ["user_type", "DummyUser"]]  (5.8ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e0e80efa') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident tempore repellat debitis recusandae quis veniam. Molestias beatae non id dolor excepturi. Quidem cumque omnis delectus perferendis nemo repellendus.\", \"Aut laudantium molestiae ut nihil quia sunt. Nulla facere sunt aut beatae aut eaque. Distinctio aut vel rem. Eum nesciunt beatae totam eos dolorem.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_e0e80efa"], ["title", "Iure qui autem labore."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e0e80efa"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e0e80efa') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 32]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 32 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", 48], ["user_type", "DummyUser"]]  (2.3ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b7b849ee') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et officia nemo deserunt. Minima deleniti tempora molestias. Minus numquam sint saepe ea quis quisquam ut. Laboriosam porro sequi qui.\", \"Nihil consequatur omnis soluta temporibus voluptas nostrum. Nesciunt id labore inventore voluptas vel saepe quo. In natus corrupti repellendus eaque incidunt accusamus esse. Reprehenderit cum tenetur qui ducimus sit.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["name", "contract_b7b849ee"], ["title", "Ratione est voluptates quo eaque accusantium repellat incidunt."], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_b7b849ee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_b7b849ee') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 33 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:17 UTC +00:00], ["user_id", 51], ["user_type", "DummyUser"]]  (2.0ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", "11"]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 11 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e9fee3ad') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui nesciunt vel ut voluptatibus ullam perspiciatis. Consectetur voluptas quia saepe asperiores debitis. Qui necessitatibus quidem suscipit. Impedit voluptatem quasi quia qui praesentium quod. Ea sint laborum error non aliquam sint.\", \"Ut consequuntur at enim quo non quod. Enim ut voluptatibus cupiditate rem vel atque fuga. Autem sequi ducimus nihil. Tenetur ea dignissimos perspiciatis iusto.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_e9fee3ad"], ["title", "Modi sunt harum autem et dolorum vero quo."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_e9fee3ad"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_e9fee3ad') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 34 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction 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_3f4c3f96') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum repellendus similique voluptate sequi. Sequi officiis voluptatem quis et quasi perferendis. Qui ipsa labore aut maiores ut. Sed fugit provident deleniti quisquam vitae praesentium corrupti.\", \"Iusto qui nam nihil. Id magni voluptatem autem id quam. Quis et officiis mollitia est sapiente ut. Nisi quo ea itaque.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_3f4c3f96"], ["title", "Facilis esse cupiditate similique veniam ut perspiciatis molestias."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (3.2ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3f4c3f96"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_3f4c3f96') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 35 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3f4c3f96' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction 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_3f4c3f96') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum repellendus similique voluptate sequi. Sequi officiis voluptatem quis et quasi perferendis. Qui ipsa labore aut maiores ut. Sed fugit provident deleniti quisquam vitae praesentium corrupti.\", \"Iusto qui nam nihil. Id magni voluptatem autem id quam. Quis et officiis mollitia est sapiente ut. Nisi quo ea itaque.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_3f4c3f96"], ["title", "Facilis esse cupiditate similique veniam ut perspiciatis molestias."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_3f4c3f96"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_3f4c3f96') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 36]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 36 [["version", 2], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_1c3abdd0') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptatem quas. Dolores labore sint. Est ipsum consequatur. Voluptatem voluptatibus architecto nostrum tempore vel soluta iusto.\", \"Dolor dolorum delectus numquam sed minima. Delectus sed provident quam dolores accusamus. Modi corporis minima odio cum ullam provident nobis. Ut accusantium nihil recusandae magni. Neque tempora sint numquam fugit quia.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_1c3abdd0"], ["title", "Blanditiis non magnam voluptas libero totam."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (15.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_1c3abdd0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_1c3abdd0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1c3abdd0"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_1c3abdd0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]]  (0.1ms) rollback transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 37]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_1c3abdd0"]]  (0.1ms) begin transaction 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_a0d97100') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error officia sed et suscipit fugiat. Exercitationem et veniam earum delectus sunt. Consequuntur quaerat cumque. Doloremque reprehenderit cupiditate quo laborum voluptas aspernatur vel.\", \"Maiores autem ratione nobis consequatur laudantium harum. Quis suscipit aut in voluptatem aperiam. Optio consequatur et et. Reprehenderit accusantium nobis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_a0d97100"], ["title", "Ut occaecati iure sed reprehenderit omnis sunt."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_a0d97100"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_a0d97100') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 38]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 38 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (3.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a0d97100' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error officia sed et suscipit fugiat. Exercitationem et veniam earum delectus sunt. Consequuntur quaerat cumque. Doloremque reprehenderit cupiditate quo laborum voluptas aspernatur vel.\", \"Maiores autem ratione nobis consequatur laudantium harum. Quis suscipit aut in voluptatem aperiam. Optio consequatur et et. Reprehenderit accusantium nobis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "joe"], ["title", "Ut occaecati iure sed reprehenderit omnis sunt."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (2.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 39]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 39 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_74add14f') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum eos quos nulla consequatur sit. Nihil eos doloribus qui maiores inventore officia aspernatur. Vel non sed suscipit quo quisquam et.\", \"Neque mollitia commodi id nihil. Fuga non vel ut. Et sapiente vel fuga non at. Quis commodi rem ut voluptatum tenetur saepe nam. Adipisci aut nostrum voluptatum hic corporis.\"]"], ["created_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00], ["name", "contract_74add14f"], ["title", "Et magni cumque sed quae."], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY "fine_print_contracts"."name" ASC, version DESC LIMIT 1 [["name", "contract_74add14f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_74add14f') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 40 [["version", 1], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_74add14f"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_74add14f"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]]  (0.1ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? [["name", "contract_74add14f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_74add14f') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["contract_id", 40]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 40 [["version", nil], ["updated_at", Wed, 16 Apr 2014 16:54:18 UTC +00:00]]  (0.7ms) commit transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.2ms) select sqlite_version(*)  (1.3ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.2ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.195726"], ["updated_at", "2014-09-19 00:18:39.195726"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.209167"], ["updated_at", "2014-09-19 00:18:39.209167"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_0f420817') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem facere quia libero inventore quisquam. Explicabo rerum eos reiciendis dolor quae. Quo ea maiores.\", \"Magnam voluptatem omnis consequatur qui esse quaerat. Corrupti perferendis natus eveniet doloribus molestias rem. Facere dolores explicabo quae. Enim magni ex ab at.\"]"], ["created_at", "2014-09-19 00:18:39.432031"], ["name", "contract_0f420817"], ["title", "Voluptatibus nostrum suscipit expedita aut ipsa omnis."], ["updated_at", "2014-09-19 00:18:39.432031"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.438027"], ["updated_at", "2014-09-19 00:18:39.438027"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.439601"], ["updated_at", "2014-09-19 00:18:39.439601"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bdf30e0c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima est accusamus hic ipsa eos facilis. Eligendi illo qui. Autem ipsam fuga in. Inventore ad mollitia eligendi. Harum ducimus aut sit libero voluptas.\", \"Quas velit aut ipsum cupiditate praesentium. Non ipsum quo. Eum aut ratione odio aut. Id enim voluptas quis.\"]"], ["created_at", "2014-09-19 00:18:39.442412"], ["name", "contract_bdf30e0c"], ["title", "Magni quod delectus voluptatem dolorem quo est rerum."], ["updated_at", "2014-09-19 00:18:39.442412"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.445624"], ["updated_at", "2014-09-19 00:18:39.445624"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.447095"], ["updated_at", "2014-09-19 00:18:39.447095"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_777eb831') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur nihil accusantium quia quia non quas. Est et enim aut necessitatibus fugit dicta voluptas. Sed odio nostrum sequi omnis esse.\", \"Sit est facere laboriosam. Hic tempora eligendi eius reprehenderit necessitatibus. Tempore voluptatem pariatur alias voluptatem ut cum. Commodi eos et dignissimos ad rerum atque itaque. Dolor error aut aliquid laboriosam omnis et sequi.\"]"], ["created_at", "2014-09-19 00:18:39.449721"], ["name", "contract_777eb831"], ["title", "Optio recusandae cum in."], ["updated_at", "2014-09-19 00:18:39.449721"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.453443"], ["updated_at", "2014-09-19 00:18:39.453443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.454977"], ["updated_at", "2014-09-19 00:18:39.454977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e1302fd3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat non et esse. Harum quam distinctio magni. Fugit in veniam. Consequatur id aspernatur. Debitis voluptatem placeat neque.\", \"Facilis dolore nesciunt. Odio recusandae est ut nemo nesciunt porro. Maxime qui sunt quas facilis esse quia. Odit labore assumenda atque quis molestiae deleniti sunt.\"]"], ["created_at", "2014-09-19 00:18:39.457697"], ["name", "contract_e1302fd3"], ["title", "Qui officia quas ab ut ratione recusandae."], ["updated_at", "2014-09-19 00:18:39.457697"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e1302fd3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_e1302fd3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.6ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 00:18:39.482385"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 23ms (ActiveRecord: 2.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.489956"], ["updated_at", "2014-09-19 00:18:39.489956"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.491972"], ["updated_at", "2014-09-19 00:18:39.491972"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_04027195') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis velit tempore perspiciatis et. Adipisci reiciendis nulla sequi fugiat laborum assumenda. Laborum modi sit tempore quos. Esse sed unde ea. Corrupti est earum ipsum ullam repellendus saepe exercitationem.\", \"Incidunt sit nihil consequatur. Possimus maiores laudantium incidunt eum. Cum vel odit dignissimos magnam. Ut pariatur consectetur quis ut.\"]"], ["created_at", "2014-09-19 00:18:39.495836"], ["name", "contract_04027195"], ["title", "Molestiae quis recusandae aut aspernatur dolorem aliquam beatae."], ["updated_at", "2014-09-19 00:18:39.495836"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.509296"], ["updated_at", "2014-09-19 00:18:39.509296"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.511212"], ["updated_at", "2014-09-19 00:18:39.511212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_83fbe372') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id deleniti excepturi. Quis praesentium quibusdam voluptas. Soluta cupiditate in odio asperiores eum. Consequatur non et amet.\", \"Recusandae tempore et unde inventore vitae. Laudantium reprehenderit soluta architecto. Ut animi dicta excepturi tenetur. Vel doloremque et ab natus suscipit.\"]"], ["created_at", "2014-09-19 00:18:39.514405"], ["name", "contract_83fbe372"], ["title", "Et quidem facere modi aut fuga atque dolores."], ["updated_at", "2014-09-19 00:18:39.514405"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83fbe372"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_83fbe372') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 00:18:39.519276"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83fbe372"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_83fbe372') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 00:18:39.527841"], ["version", nil]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 1.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.534027"], ["updated_at", "2014-09-19 00:18:39.534027"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.536657"], ["updated_at", "2014-09-19 00:18:39.536657"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_10358ba9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias sed et repellendus. Voluptatem aut voluptatem. Reiciendis necessitatibus sequi eum ut. Unde consequuntur odit iure totam eos quo.\", \"Non sint molestiae. Nihil cupiditate nulla rerum et. Eveniet et sequi rerum excepturi rerum vitae velit. Ea quod iure tempore in est sit.\"]"], ["created_at", "2014-09-19 00:18:39.540180"], ["name", "contract_10358ba9"], ["title", "Porro et omnis animi."], ["updated_at", "2014-09-19 00:18:39.540180"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_10358ba9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_10358ba9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 00:18:39.545707"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.549719"], ["updated_at", "2014-09-19 00:18:39.549719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.552434"], ["updated_at", "2014-09-19 00:18:39.552434"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5b7cc0fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est rerum quas ratione tempora. Sint porro possimus. Numquam similique voluptate.\", \"Illo voluptatum velit ipsam inventore optio sit. Officiis ut blanditiis laboriosam sed. Eum qui doloremque molestiae delectus odit. Voluptas libero culpa tempore consequatur. Dolor numquam iste.\"]"], ["created_at", "2014-09-19 00:18:39.555218"], ["name", "contract_5b7cc0fa"], ["title", "Est recusandae consequuntur eveniet."], ["updated_at", "2014-09-19 00:18:39.555218"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 8 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 00:18:39.561405"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/8 Completed 302 Found in 7ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.569155"], ["updated_at", "2014-09-19 00:18:39.569155"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.571551"], ["updated_at", "2014-09-19 00:18:39.571551"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_415038fd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis eaque officia aut alias. Optio id necessitatibus in. Aut enim nobis itaque natus rem. Earum cum et consequatur dolorum. Commodi ex voluptatem quibusdam.\", \"Suscipit cumque maxime. Vel atque iure omnis voluptatem. Suscipit adipisci dolor fugiat reprehenderit. Non voluptas ipsa fuga.\"]"], ["created_at", "2014-09-19 00:18:39.574892"], ["name", "contract_415038fd"], ["title", "Aliquid quo tempora natus aut."], ["updated_at", "2014-09-19 00:18:39.574892"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.578685"], ["updated_at", "2014-09-19 00:18:39.578685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.580165"], ["updated_at", "2014-09-19 00:18:39.580165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6b570c9f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur dicta sequi distinctio aperiam reiciendis. Inventore voluptatem ad. Eum iure quibusdam eos ullam. Voluptate qui necessitatibus quae. Unde tempora explicabo porro voluptas.\", \"Consequatur rerum vel perspiciatis doloremque. Corrupti ut eos id est. Voluptatibus voluptatem voluptatem inventore ad provident debitis. Iste quo explicabo architecto unde consectetur.\"]"], ["created_at", "2014-09-19 00:18:39.583054"], ["name", "contract_6b570c9f"], ["title", "Aut mollitia eligendi et rerum temporibus facilis ut."], ["updated_at", "2014-09-19 00:18:39.583054"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.588558"], ["updated_at", "2014-09-19 00:18:39.588558"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.590062"], ["updated_at", "2014-09-19 00:18:39.590062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_417dea39') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed est veritatis ut dicta pariatur sequi. Sit voluptas quibusdam. Et molestiae recusandae. Hic aut ut ut temporibus a.\", \"Consequatur in delectus id. Ullam asperiores non vel voluptatibus non qui enim. Quo voluptas a. Pariatur laborum adipisci neque consequatur veniam repellendus earum. A optio itaque eum exercitationem.\"]"], ["created_at", "2014-09-19 00:18:39.592627"], ["name", "contract_417dea39"], ["title", "Est qui quia dolor commodi."], ["updated_at", "2014-09-19 00:18:39.592627"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.595620"], ["updated_at", "2014-09-19 00:18:39.595620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.597044"], ["updated_at", "2014-09-19 00:18:39.597044"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c608eb38') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut dolorum iusto molestiae exercitationem consequuntur. Natus voluptates sint earum neque minus corrupti. Est vel et delectus. Consectetur aut labore et placeat. Et harum sit rem ipsum.\", \"Voluptatem quidem eos ut omnis harum. Nihil consectetur eius id voluptas cupiditate eum. Voluptatem enim et sapiente nihil mollitia id.\"]"], ["created_at", "2014-09-19 00:18:39.599533"], ["name", "contract_c608eb38"], ["title", "Est ipsam sunt non dolor repellat aut et."], ["updated_at", "2014-09-19 00:18:39.599533"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c608eb38"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_c608eb38') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 00:18:39.603927"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c608eb38' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.612467"], ["updated_at", "2014-09-19 00:18:39.612467"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.614045"], ["updated_at", "2014-09-19 00:18:39.614045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_acb911d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo sint quam fugit eum totam quia harum. Cupiditate reiciendis architecto. Aperiam dolore nam facilis ad.\", \"Qui aut qui debitis odio quis. Nisi dolorem est officia eius ea exercitationem reprehenderit. Eum repellendus illum natus aperiam porro voluptas.\"]"], ["created_at", "2014-09-19 00:18:39.616614"], ["name", "contract_acb911d9"], ["title", "Ut ipsa expedita omnis cumque repellat natus."], ["updated_at", "2014-09-19 00:18:39.616614"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_acb911d9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_acb911d9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 00:18:39.621639"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.625530"], ["updated_at", "2014-09-19 00:18:39.625530"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.627554"], ["updated_at", "2014-09-19 00:18:39.627554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2bdae60e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est architecto voluptatem. Nobis sequi dicta exercitationem vel. Sit vel non. Inventore autem deserunt perferendis totam.\", \"Deleniti aspernatur officiis natus repellendus in ducimus cum. Quas aspernatur similique provident. Voluptates saepe cumque voluptatem.\"]"], ["created_at", "2014-09-19 00:18:39.630115"], ["name", "contract_2bdae60e"], ["title", "Pariatur doloribus labore exercitationem odio voluptatem repudiandae et."], ["updated_at", "2014-09-19 00:18:39.630115"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.633048"], ["updated_at", "2014-09-19 00:18:39.633048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.634500"], ["updated_at", "2014-09-19 00:18:39.634500"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3bddc018') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat ullam eum voluptate sit voluptatum. Qui perferendis pariatur. Minima repudiandae itaque in. Sed est aut ratione nihil magnam aliquid ut.\", \"Similique ut et facere vitae ad non. Quis reprehenderit eveniet. Maiores eius rerum ratione. Enim quibusdam veritatis facere aspernatur. Pariatur temporibus repudiandae voluptatem ut qui.\"]"], ["created_at", "2014-09-19 00:18:39.637077"], ["name", "contract_3bddc018"], ["title", "Suscipit praesentium enim omnis velit."], ["updated_at", "2014-09-19 00:18:39.637077"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.639971"], ["updated_at", "2014-09-19 00:18:39.639971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.641414"], ["updated_at", "2014-09-19 00:18:39.641414"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b25f8b27') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt mollitia iure consequatur. Aut iure voluptatem. Commodi officiis excepturi. Veritatis at consectetur et inventore. Praesentium itaque quae delectus nihil.\", \"Provident molestias aliquam animi et quo. Soluta sequi porro maiores et aliquid. Dolorem tempore dignissimos maiores sunt. Quidem voluptas tempora dolores.\"]"], ["created_at", "2014-09-19 00:18:39.643873"], ["name", "contract_b25f8b27"], ["title", "Eum quibusdam mollitia quia qui praesentium quod."], ["updated_at", "2014-09-19 00:18:39.643873"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.649733"], ["updated_at", "2014-09-19 00:18:39.649733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.651855"], ["updated_at", "2014-09-19 00:18:39.651855"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4f09711f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus error voluptates hic. Nihil sit labore ut vel quo. Placeat sunt mollitia voluptatem hic quaerat sed delectus. Dolor voluptatem illo qui officiis cum dolorem sapiente.\", \"Nulla delectus labore rerum quasi ut quae. Inventore est velit mollitia aut est possimus. Quasi corrupti et. Incidunt voluptas iure provident qui facilis nihil rerum.\"]"], ["created_at", "2014-09-19 00:18:39.654544"], ["name", "contract_4f09711f"], ["title", "Eaque vitae omnis molestias velit impedit rem similique."], ["updated_at", "2014-09-19 00:18:39.654544"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.660923"], ["updated_at", "2014-09-19 00:18:39.660923"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.662465"], ["updated_at", "2014-09-19 00:18:39.662465"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6c75e1a0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam vero illum. Sapiente et optio saepe. Expedita cupiditate aliquam repellat amet beatae a aspernatur. Accusamus magnam asperiores suscipit nisi fuga eum repudiandae.\", \"Est blanditiis culpa harum enim itaque sit illo. Libero et doloribus. Accusamus sunt cupiditate asperiores.\"]"], ["created_at", "2014-09-19 00:18:39.665332"], ["name", "contract_6c75e1a0"], ["title", "Adipisci aspernatur autem consequatur non."], ["updated_at", "2014-09-19 00:18:39.665332"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 18]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 18]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 18 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde ad ullam vitae. Aut illum laboriosam adipisci saepe. Labore numquam recusandae harum. Dolores ut doloremque fugit provident.\", \"Qui suscipit impedit omnis porro animi tempora nobis. Officia delectus labore fuga quia id. Id et aut fuga asperiores. Asperiores ut aut optio eum.\"]"], ["created_at", "2014-09-19 00:18:39.674948"], ["name", "alpha"], ["title", "Voluptatibus ratione deserunt aspernatur nam mollitia ut."], ["updated_at", "2014-09-19 00:18:39.674948"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 00:18:39.678828"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit vero beatae. Impedit consequatur harum. Eum aut eos repellendus voluptas. Magnam iusto hic placeat ut autem. Ea ab non architecto quia assumenda.\", \"Nemo at rem molestias quia id. Laborum optio sequi quasi non. Quo ut quas temporibus sint dicta. Iste excepturi pariatur nihil mollitia quo.\"]"], ["created_at", "2014-09-19 00:18:39.681877"], ["name", "beta"], ["title", "Sunt dolorum officiis reiciendis quia."], ["updated_at", "2014-09-19 00:18:39.681877"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 00:18:39.687262"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores doloribus vero reiciendis repellendus harum ipsa tenetur. Fugiat iusto dolore. Sequi sed aut dolorem magnam. Nisi dignissimos animi dolores vitae. Ipsam voluptatibus corporis eum consequatur nesciunt sed dignissimos.\", \"Et quam qui explicabo consequatur. Culpa accusantium non aperiam est natus sit. Ut ipsam et. Deserunt molestiae sunt occaecati et aut quia.\"]"], ["created_at", "2014-09-19 00:18:39.692840"], ["name", "alpha"], ["title", "Quae sit qui quam maiores minus."], ["updated_at", "2014-09-19 00:18:39.692840"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 00:18:39.698200"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus fugiat aut deserunt dolorem velit excepturi. Itaque praesentium blanditiis adipisci. Dolor suscipit ex veniam et vel accusantium molestiae.\", \"Sunt velit vel explicabo. Dolor nobis perspiciatis. Autem repudiandae facere voluptas illum sapiente.\"]"], ["created_at", "2014-09-19 00:18:39.701511"], ["name", "beta"], ["title", "Dolor voluptas aut id quidem nesciunt provident earum."], ["updated_at", "2014-09-19 00:18:39.701511"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 00:18:39.705173"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed fugiat perspiciatis laboriosam cupiditate consectetur voluptates. Ab aperiam autem nulla. Ut ipsum praesentium eaque eos corporis. Neque voluptas voluptatibus sint magnam odio libero eius. Corrupti et illum pariatur.\", \"Dolorem corporis et sunt quibusdam qui voluptatem unde. Labore similique fugit quia ut autem est. Natus qui possimus ut aliquid odio dolorem.\"]"], ["created_at", "2014-09-19 00:18:39.708594"], ["name", "alpha"], ["title", "Est itaque optio dolore enim."], ["updated_at", "2014-09-19 00:18:39.708594"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 00:18:39.712495"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam aut libero numquam accusamus. Possimus consequatur eum. Dolor voluptatem exercitationem iste sed. Iste similique quasi id est impedit deleniti. Est magnam nisi ratione libero dignissimos assumenda.\", \"Consequuntur itaque numquam a facere deserunt voluptatem occaecati. Alias omnis laboriosam similique ea. Qui at autem enim impedit.\"]"], ["created_at", "2014-09-19 00:18:39.715514"], ["name", "beta"], ["title", "Accusantium earum magni molestiae."], ["updated_at", "2014-09-19 00:18:39.715514"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 00:18:39.719251"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.722142"], ["updated_at", "2014-09-19 00:18:39.722142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.723624"], ["updated_at", "2014-09-19 00:18:39.723624"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.732298"], ["updated_at", "2014-09-19 00:18:39.732298"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.734028"], ["updated_at", "2014-09-19 00:18:39.734028"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.737045"], ["updated_at", "2014-09-19 00:18:39.737045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.738472"], ["updated_at", "2014-09-19 00:18:39.738472"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b359658') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur ab dolores debitis quo. Dolorem quisquam aut exercitationem eum dolor delectus. Saepe corrupti molestias sapiente facere maiores.\", \"Voluptatum officia earum unde. Tempore eum ut quis. Eos eum autem dolores amet sunt.\"]"], ["created_at", "2014-09-19 00:18:39.741819"], ["name", "contract_1b359658"], ["title", "Delectus illum dolorem voluptates in aut."], ["updated_at", "2014-09-19 00:18:39.741819"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b359658"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_1b359658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 00:18:39.745711"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.750972"], ["updated_at", "2014-09-19 00:18:39.750972"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-19 00:18:39.757161"], ["updated_at", "2014-09-19 00:18:39.757161"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.760822"], ["updated_at", "2014-09-19 00:18:39.760822"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.762254"], ["updated_at", "2014-09-19 00:18:39.762254"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_0cb207fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut est possimus unde eos. Voluptate iusto non consequatur ad sit aut quam. Exercitationem est eaque facilis qui quasi voluptatem.\", \"Nihil ab voluptatem repudiandae. Reprehenderit asperiores odit consequatur dolorem harum. Dolorem et laudantium asperiores. Eos modi maxime minima sunt suscipit repudiandae.\"]"], ["created_at", "2014-09-19 00:18:39.765272"], ["name", "contract_0cb207fa"], ["title", "Quo molestiae ea."], ["updated_at", "2014-09-19 00:18:39.765272"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0cb207fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_0cb207fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 00:18:39.769389"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.772173"], ["updated_at", "2014-09-19 00:18:39.772173"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-19 00:18:39.774482"], ["updated_at", "2014-09-19 00:18:39.774482"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.781061"], ["updated_at", "2014-09-19 00:18:39.781061"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.782672"], ["updated_at", "2014-09-19 00:18:39.782672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fbe94816') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum quis quos. Rerum odit magnam nam delectus perspiciatis. Veniam nulla animi quaerat quas. Odio et eius tempora. Officia nisi totam aspernatur laudantium architecto illum nihil.\", \"Molestiae veritatis expedita. Voluptatibus culpa rerum. Et dolores quis.\"]"], ["created_at", "2014-09-19 00:18:39.785779"], ["name", "contract_fbe94816"], ["title", "Voluptatem alias velit autem fugit itaque."], ["updated_at", "2014-09-19 00:18:39.785779"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fbe94816"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_fbe94816') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:18:39.789630"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.791784"], ["updated_at", "2014-09-19 00:18:39.791784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 00:18:39.793841"], ["updated_at", "2014-09-19 00:18:39.793841"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.800645"], ["updated_at", "2014-09-19 00:18:39.800645"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.802218"], ["updated_at", "2014-09-19 00:18:39.802218"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ef4fd859') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure deserunt ad accusamus doloremque. Ratione sapiente nostrum. Vel eum eius ut sed. Corrupti iusto facere officia eveniet neque.\", \"Quis dolor eum debitis eaque autem. Nostrum at laboriosam et nisi accusamus necessitatibus hic. Rerum quo est quibusdam.\"]"], ["created_at", "2014-09-19 00:18:39.805148"], ["name", "contract_ef4fd859"], ["title", "Provident cupiditate doloribus explicabo."], ["updated_at", "2014-09-19 00:18:39.805148"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef4fd859"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_ef4fd859') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:18:39.809055"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.811222"], ["updated_at", "2014-09-19 00:18:39.811222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 00:18:39.813358"], ["updated_at", "2014-09-19 00:18:39.813358"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction 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_0924752b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit et fuga et. Quod aut aliquam asperiores ipsum illum. Recusandae expedita suscipit modi error voluptas dolor omnis. Provident voluptatum blanditiis. Tempora voluptatum modi quos vitae ut.\", \"Veniam omnis dicta placeat. Ea impedit in possimus. Doloremque est enim natus fugiat nostrum quidem soluta. Ipsa repellendus fugiat nihil est exercitationem nobis.\"]"], ["created_at", "2014-09-19 00:18:39.818116"], ["name", "contract_0924752b"], ["title", "Nulla vero ut aut eum."], ["updated_at", "2014-09-19 00:18:39.818116"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_42113c64') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam et corporis. Nulla corporis omnis cum. Et qui fugiat numquam dicta consectetur. Quae repudiandae quaerat et id rerum placeat.\", \"Voluptatem officiis totam voluptas doloribus. Aut voluptatem ad ut. Sequi culpa itaque assumenda. Eveniet quo veritatis placeat repellendus.\"]"], ["created_at", "2014-09-19 00:18:39.821442"], ["name", "contract_42113c64"], ["title", "Veritatis voluptas dignissimos."], ["updated_at", "2014-09-19 00:18:39.821442"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_42113c64"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_42113c64') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 00:18:39.825311"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_66bf227c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque voluptas voluptas alias ab id consequatur. Sit voluptas est. Assumenda vel nihil et atque.\", \"Aut aut animi qui. Non dolores amet ipsam. Velit nisi placeat explicabo et.\"]"], ["created_at", "2014-09-19 00:18:39.828928"], ["name", "contract_66bf227c"], ["title", "Autem nihil aut sit eos eum aut minus."], ["updated_at", "2014-09-19 00:18:39.828928"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66bf227c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_66bf227c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 00:18:39.832669"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_756a0aa0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est repellendus et. Odio reiciendis ut. Rerum rem libero qui sint. Officiis et pariatur.\", \"Maiores ullam aliquid cumque et possimus perspiciatis. Quis corporis consectetur sunt non animi rem. Sit rem veniam sapiente illum enim culpa. Illum sint enim voluptatum rerum reiciendis incidunt ratione. Repellat dicta voluptatem eveniet corrupti.\"]"], ["created_at", "2014-09-19 00:18:39.836089"], ["name", "contract_756a0aa0"], ["title", "Rerum quia adipisci aperiam."], ["updated_at", "2014-09-19 00:18:39.836089"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_756a0aa0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_756a0aa0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 00:18:39.839905"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ce1c92e1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti quod ut explicabo tenetur et optio. Voluptas distinctio sunt. Repudiandae distinctio error. Nesciunt quia velit quo quibusdam.\", \"Aut minus vel et sint est id. Esse ipsa aut sed ut. A assumenda quas ab dicta commodi. Quibusdam nobis architecto laudantium nihil est velit. Sequi ipsum blanditiis possimus est quae voluptatem.\"]"], ["created_at", "2014-09-19 00:18:39.847502"], ["name", "contract_ce1c92e1"], ["title", "Molestiae veniam voluptatibus perspiciatis suscipit ea quia officia."], ["updated_at", "2014-09-19 00:18:39.847502"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce1c92e1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_ce1c92e1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 00:18:39.851500"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:18:39.853973"], ["updated_at", "2014-09-19 00:18:39.853973"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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_f2658149') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci impedit dolores temporibus natus. Maxime quibusdam voluptatem repellendus. Eligendi commodi placeat dolores unde.\", \"Magnam quidem dolores aliquid enim sint. Quia quos sit est minus quaerat. Aperiam sunt est aut quasi iste eum voluptates. Quibusdam cum perferendis delectus non. Aut et vel.\"]"], ["created_at", "2014-09-19 00:18:39.858536"], ["name", "contract_f2658149"], ["title", "Harum ullam veniam perferendis eaque sapiente necessitatibus."], ["updated_at", "2014-09-19 00:18:39.858536"]]  (0.6ms) commit transaction  (1.2ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_ef3ea279') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit ut est. Asperiores qui tenetur. Cupiditate et et doloribus aperiam.\", \"Sunt dolor qui. Est enim pariatur quia quia animi voluptatem consequuntur. Quasi repellat iusto pariatur et cumque sint accusantium. Aut sunt corporis ipsa et.\"]"], ["created_at", "2014-09-19 00:23:19.555198"], ["name", "contract_ef3ea279"], ["title", "Vel aliquid est exercitationem voluptatem labore occaecati illo."], ["updated_at", "2014-09-19 00:23:19.555198"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef3ea279"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ef3ea279') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 00:23:19.570777"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.576379"], ["updated_at", "2014-09-19 00:23:19.576379"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_00e220ec') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis voluptas numquam voluptatem alias natus in ut. Dolores id quos rerum impedit. Eaque qui aperiam voluptatem itaque. Ut voluptatum iste.\", \"Pariatur ipsam iste voluptates cupiditate voluptatem. Quod omnis repudiandae architecto eveniet sunt. Porro expedita eligendi neque quaerat corporis. Cumque nobis aut quod corrupti debitis ex.\"]"], ["created_at", "2014-09-19 00:23:19.583943"], ["name", "contract_00e220ec"], ["title", "Ipsam suscipit unde quibusdam."], ["updated_at", "2014-09-19 00:23:19.583943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5bd5c7c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur aut debitis maxime minus. Aut quae quia. Illo ut vitae sapiente ipsum pariatur assumenda necessitatibus. Dolorem ad quod.\", \"Blanditiis iusto laborum illo repudiandae voluptatem consequatur suscipit. Cupiditate nemo ut quo. In quo error ad earum.\"]"], ["created_at", "2014-09-19 00:23:19.587742"], ["name", "contract_5bd5c7c5"], ["title", "Ab itaque harum."], ["updated_at", "2014-09-19 00:23:19.587742"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5bd5c7c5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_5bd5c7c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 00:23:19.592201"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8ee3271a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit illum voluptas quis quibusdam fuga neque et. Est accusantium a exercitationem aut asperiores. Qui voluptas itaque. Unde saepe in maxime deserunt sunt fugit repellat. Perspiciatis odio error aut.\", \"Dolores veritatis deleniti omnis laudantium perferendis. Ad consequatur omnis consequatur ipsam occaecati laudantium necessitatibus. Libero et consequatur quis. Optio est ducimus minima occaecati.\"]"], ["created_at", "2014-09-19 00:23:19.597058"], ["name", "contract_8ee3271a"], ["title", "Laborum ut autem dolores iusto rem."], ["updated_at", "2014-09-19 00:23:19.597058"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8ee3271a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_8ee3271a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 00:23:19.602163"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_989ed877') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil ut qui sunt dolorem fugit quibusdam enim. Quam rerum unde quod. Similique et harum voluptas dolorem consequatur.\", \"Ipsa quo minima provident repellendus. Nulla ut molestiae illo aliquam porro. Quis sunt vitae dolorum quibusdam ut consequatur facilis. Dolor sapiente ipsa amet est voluptatem repellendus architecto. Quia non et aut ad porro dignissimos et.\"]"], ["created_at", "2014-09-19 00:23:19.606267"], ["name", "contract_989ed877"], ["title", "Itaque molestiae veniam."], ["updated_at", "2014-09-19 00:23:19.606267"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ebe2ba03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora repudiandae non similique. Accusantium ut quo mollitia. Voluptate quo eos qui est consectetur consequatur. Voluptatem fuga accusantium nisi. Possimus sint doloremque praesentium quam vero.\", \"Blanditiis doloribus praesentium natus maiores est sit. Suscipit deleniti sit accusamus numquam. Omnis cupiditate fuga officiis soluta praesentium distinctio. Hic harum vel.\"]"], ["created_at", "2014-09-19 00:23:19.609673"], ["name", "contract_ebe2ba03"], ["title", "Placeat nam sapiente eius."], ["updated_at", "2014-09-19 00:23:19.609673"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ebe2ba03"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_ebe2ba03') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 00:23:19.613878"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ebe2ba03' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_ebe2ba03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora repudiandae non similique. Accusantium ut quo mollitia. Voluptate quo eos qui est consectetur consequatur. Voluptatem fuga accusantium nisi. Possimus sint doloremque praesentium quam vero.\", \"Blanditiis doloribus praesentium natus maiores est sit. Suscipit deleniti sit accusamus numquam. Omnis cupiditate fuga officiis soluta praesentium distinctio. Hic harum vel.\"]"], ["created_at", "2014-09-19 00:23:19.619693"], ["name", "contract_ebe2ba03"], ["title", "Placeat nam sapiente eius."], ["updated_at", "2014-09-19 00:23:19.619693"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur voluptas sit enim culpa necessitatibus eligendi. Quam ut totam amet. Sed officiis aut et delectus vel tempora.\", \"Dolorem debitis facere est similique ut. Nesciunt est culpa praesentium dolorem dolores quas. Inventore voluptas in eos consequatur quaerat a laborum. Corrupti deserunt ad aut.\"]"], ["created_at", "2014-09-19 00:23:19.624937"], ["name", "alpha"], ["title", "Alias dolores quisquam dicta ipsa natus qui."], ["updated_at", "2014-09-19 00:23:19.624937"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 00:23:19.629825"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis rerum incidunt voluptas totam suscipit nihil. Vitae laboriosam nostrum nemo accusantium similique. Quia et quis recusandae velit iure veniam possimus. Adipisci aut nihil nam sint. Nesciunt est et vero deserunt voluptates itaque dolor.\", \"Possimus aut illo architecto. Incidunt ea harum. Velit consequatur id velit. Explicabo et veniam.\"]"], ["created_at", "2014-09-19 00:23:19.633526"], ["name", "beta"], ["title", "Numquam autem quibusdam."], ["updated_at", "2014-09-19 00:23:19.633526"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 00:23:19.637415"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate id est et perferendis accusamus veritatis. Rerum iste fugit sint consectetur in. Accusamus repellendus molestiae velit temporibus voluptatem asperiores. Distinctio expedita ut ullam velit dolor.\", \"Inventore et eos. Enim suscipit architecto dolores cumque placeat voluptas. Incidunt et et dignissimos. Eum omnis eius neque quis quisquam.\"]"], ["created_at", "2014-09-19 00:23:19.641206"], ["name", "alpha"], ["title", "Dolor molestias quidem repellat voluptates eos commodi."], ["updated_at", "2014-09-19 00:23:19.641206"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 00:23:19.645868"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni voluptatum dolor. Repellendus nostrum eum. Et consequatur tenetur velit occaecati amet.\", \"Rerum unde dolor et quae consequatur est. Dolores id earum error ut aut. Placeat officiis tenetur qui exercitationem sunt. Reiciendis unde placeat illum. Velit eos in quidem voluptatem.\"]"], ["created_at", "2014-09-19 00:23:19.650441"], ["name", "beta"], ["title", "Nihil porro sit ut maxime eos."], ["updated_at", "2014-09-19 00:23:19.650441"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 00:23:19.654763"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non dolores doloremque laborum provident. Exercitationem et nihil id eos. Vel ad suscipit minus.\", \"Odit vel amet placeat. Dolorem sed enim dolor itaque et suscipit nihil. Laborum quidem eum sed repudiandae.\"]"], ["created_at", "2014-09-19 00:23:19.658837"], ["name", "alpha"], ["title", "Quod dolorem vero aut qui suscipit."], ["updated_at", "2014-09-19 00:23:19.658837"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 00:23:19.664185"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi aliquid dolores modi. Dolore est aut quae vel sit magni. Aut laboriosam voluptatem veniam. Reprehenderit facilis explicabo qui corporis officia.\", \"Explicabo suscipit maiores expedita. Quia omnis consequatur illo qui. Cum sed possimus nemo dicta nihil sit repellendus. Ut quasi quam.\"]"], ["created_at", "2014-09-19 00:23:19.667835"], ["name", "beta"], ["title", "Consectetur aperiam inventore eius odit ipsum dolores."], ["updated_at", "2014-09-19 00:23:19.667835"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 00:23:19.672640"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.676187"], ["updated_at", "2014-09-19 00:23:19.676187"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.677975"], ["updated_at", "2014-09-19 00:23:19.677975"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.691181"], ["updated_at", "2014-09-19 00:23:19.691181"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.692995"], ["updated_at", "2014-09-19 00:23:19.692995"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.696397"], ["updated_at", "2014-09-19 00:23:19.696397"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.698142"], ["updated_at", "2014-09-19 00:23:19.698142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d0adc578') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque aperiam blanditiis quia enim. Quisquam a perspiciatis et aut nesciunt. Est unde aliquid non nam repudiandae voluptas iure. Ullam at fugiat aut rerum necessitatibus ipsum.\", \"Numquam et dolorem. Inventore et et repudiandae nemo quod est dolore. Et et dolorem.\"]"], ["created_at", "2014-09-19 00:23:19.701343"], ["name", "contract_d0adc578"], ["title", "Autem soluta nobis qui omnis ea dolor id."], ["updated_at", "2014-09-19 00:23:19.701343"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 00:23:19.706804"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 00:23:19.706804"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.710956"], ["updated_at", "2014-09-19 00:23:19.710956"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.712564"], ["updated_at", "2014-09-19 00:23:19.712564"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_72dedf03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam eveniet beatae vero qui quaerat sunt consequatur. Molestiae voluptatum impedit excepturi. Aut quod nisi.\", \"Aliquam ut repellat doloremque fugit aspernatur esse. In voluptatem est voluptatibus quidem corporis adipisci et. Impedit culpa sit dolores tempore in eveniet.\"]"], ["created_at", "2014-09-19 00:23:19.715112"], ["name", "contract_72dedf03"], ["title", "A dolores omnis consequatur qui qui ea."], ["updated_at", "2014-09-19 00:23:19.715112"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72dedf03"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_72dedf03') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 00:23:19.721211"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.725326"], ["updated_at", "2014-09-19 00:23:19.725326"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.727116"], ["updated_at", "2014-09-19 00:23:19.727116"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b6ffa32f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem laboriosam recusandae minima unde quia eos autem. Voluptas qui rerum rerum in sapiente. Maiores quas quisquam. Sunt omnis vitae eum qui ut. Rerum magnam magni sint.\", \"Qui omnis quo atque harum perspiciatis quis quaerat. Tenetur eligendi deleniti et eos qui amet. Voluptate occaecati hic saepe unde placeat. Voluptas aut laborum qui qui magni porro a. Culpa aliquam et.\"]"], ["created_at", "2014-09-19 00:23:19.730240"], ["name", "contract_b6ffa32f"], ["title", "Et laudantium veniam esse illum nihil."], ["updated_at", "2014-09-19 00:23:19.730240"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.733829"], ["updated_at", "2014-09-19 00:23:19.733829"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.735346"], ["updated_at", "2014-09-19 00:23:19.735346"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f642a1a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam qui voluptatem molestias. Vero itaque quod cupiditate sit rerum. Reprehenderit ea et.\", \"Consequatur harum culpa alias voluptatem sed nisi rerum. Magni eum sunt voluptatem. Mollitia temporibus ut error consequuntur id. Qui voluptatem maxime ullam natus est corporis dolorem. Non iure accusantium quae sint rerum quod.\"]"], ["created_at", "2014-09-19 00:23:19.737979"], ["name", "contract_f642a1a5"], ["title", "Hic et quae aliquam impedit."], ["updated_at", "2014-09-19 00:23:19.737979"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f642a1a5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_f642a1a5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 00:23:19.742971"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f642a1a5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.750747"], ["updated_at", "2014-09-19 00:23:19.750747"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.752554"], ["updated_at", "2014-09-19 00:23:19.752554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_959a444c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis ipsum sed perspiciatis nihil. Vel delectus numquam similique. Et excepturi tenetur placeat quae harum soluta reprehenderit.\", \"Ea dolores quas consectetur ut est. Eos illo autem possimus suscipit dolore enim architecto. Ipsum iste aliquam aut cupiditate sint ea.\"]"], ["created_at", "2014-09-19 00:23:19.755185"], ["name", "contract_959a444c"], ["title", "Eaque consequatur odio quis a recusandae nesciunt."], ["updated_at", "2014-09-19 00:23:19.755185"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.760459"], ["updated_at", "2014-09-19 00:23:19.760459"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.761906"], ["updated_at", "2014-09-19 00:23:19.761906"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_175d75d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas et est sit earum placeat vel mollitia. Maiores qui non nesciunt rerum atque quia. Voluptatem quo alias consequatur qui at voluptatibus quo.\", \"Ipsum neque sequi. Sequi amet qui. Itaque inventore mollitia.\"]"], ["created_at", "2014-09-19 00:23:19.764407"], ["name", "contract_175d75d2"], ["title", "Cumque labore et dolores est porro."], ["updated_at", "2014-09-19 00:23:19.764407"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.767521"], ["updated_at", "2014-09-19 00:23:19.767521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.769076"], ["updated_at", "2014-09-19 00:23:19.769076"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b696a7ba') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium et sunt accusamus expedita optio eaque sit. Voluptate omnis accusantium dignissimos labore necessitatibus et voluptas. Ipsum hic aliquid soluta atque.\", \"Totam autem quisquam neque. Numquam omnis nisi blanditiis similique doloremque ipsam. Molestias et reiciendis tenetur earum delectus magni. Nostrum facilis officia sed deserunt id.\"]"], ["created_at", "2014-09-19 00:23:19.771811"], ["name", "contract_b696a7ba"], ["title", "Eum quasi quos."], ["updated_at", "2014-09-19 00:23:19.771811"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.778054"], ["updated_at", "2014-09-19 00:23:19.778054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.779653"], ["updated_at", "2014-09-19 00:23:19.779653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_28b57501') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum sit adipisci recusandae. Accusamus perferendis non qui quod delectus quasi quia. Omnis eaque suscipit dolore. Voluptates ut quis suscipit fuga mollitia.\", \"Dolorem consequatur velit qui culpa maxime nulla corporis. Provident accusamus ipsum nisi doloribus. Sint numquam error eius voluptatem.\"]"], ["created_at", "2014-09-19 00:23:19.782502"], ["name", "contract_28b57501"], ["title", "Quas minima quaerat aspernatur quia unde et."], ["updated_at", "2014-09-19 00:23:19.782502"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_28b57501"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_28b57501') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 00:23:19.787171"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.791254"], ["updated_at", "2014-09-19 00:23:19.791254"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.793133"], ["updated_at", "2014-09-19 00:23:19.793133"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9a260586') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et perferendis tempora consequatur eius ipsam officiis. Et vitae reiciendis nobis. Unde omnis temporibus distinctio quo ut impedit.\", \"Labore deleniti doloribus rerum aut. Voluptate repudiandae ea. Hic placeat vel nobis aperiam quia optio.\"]"], ["created_at", "2014-09-19 00:23:19.795889"], ["name", "contract_9a260586"], ["title", "Omnis ipsa exercitationem qui ut."], ["updated_at", "2014-09-19 00:23:19.795889"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.799295"], ["updated_at", "2014-09-19 00:23:19.799295"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.800785"], ["updated_at", "2014-09-19 00:23:19.800785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e0287436') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id illum enim reprehenderit amet eum dolor. Earum aperiam quidem vero voluptatum accusamus. Sed dicta dolorem.\", \"Enim dolores et laborum veniam. Accusantium dolorem eum delectus saepe totam. Vel eos fuga.\"]"], ["created_at", "2014-09-19 00:23:19.803224"], ["name", "contract_e0287436"], ["title", "Eius non fugiat et error."], ["updated_at", "2014-09-19 00:23:19.803224"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.808719"], ["updated_at", "2014-09-19 00:23:19.808719"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.810563"], ["updated_at", "2014-09-19 00:23:19.810563"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b4dec0ca') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat est aut fugiat ut sapiente omnis. Iure earum dolores. Et facilis laboriosam autem unde. Mollitia quas ab consectetur laudantium labore.\", \"Rerum in necessitatibus nemo aliquid occaecati fugit enim. Eos mollitia sed. Explicabo voluptas quo dolor quod. Enim impedit sed dolorem cumque sit vitae.\"]"], ["created_at", "2014-09-19 00:23:19.814007"], ["name", "contract_b4dec0ca"], ["title", "Rem saepe omnis."], ["updated_at", "2014-09-19 00:23:19.814007"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.817408"], ["updated_at", "2014-09-19 00:23:19.817408"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.818895"], ["updated_at", "2014-09-19 00:23:19.818895"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2d9087a8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil occaecati aliquam provident incidunt soluta dolorum atque. Illum iure consequatur voluptate dolores minus et ratione. Accusantium officia numquam repellendus dolores omnis quo quas. Aut consequatur dolor. Perspiciatis optio aliquid voluptatem et totam.\", \"Doloremque et expedita itaque nesciunt sequi. Numquam dicta rerum voluptate velit et sint facilis. Minima non ut aut qui quas enim.\"]"], ["created_at", "2014-09-19 00:23:19.821458"], ["name", "contract_2d9087a8"], ["title", "Qui nemo et."], ["updated_at", "2014-09-19 00:23:19.821458"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.825227"], ["updated_at", "2014-09-19 00:23:19.825227"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.826820"], ["updated_at", "2014-09-19 00:23:19.826820"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_502b36fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit minima est atque sapiente corporis. Consectetur quisquam sapiente fugiat et culpa. Et sint molestias eum dolor voluptatem. Quis repellendus beatae nam debitis sit velit dolorem.\", \"Id autem reiciendis sit eum alias. Tempore id omnis. Voluptatem a blanditiis et esse quisquam ex.\"]"], ["created_at", "2014-09-19 00:23:19.829720"], ["name", "contract_502b36fe"], ["title", "A sunt molestiae aliquid."], ["updated_at", "2014-09-19 00:23:19.829720"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_502b36fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_502b36fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:23:19.834289"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.837533"], ["updated_at", "2014-09-19 00:23:19.837533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.839082"], ["updated_at", "2014-09-19 00:23:19.839082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1f101438') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed unde voluptates. Qui quos porro placeat soluta ut et. Dolorem autem quia ut sit incidunt est. Enim inventore corporis quidem dolor dolorem.\", \"Fugiat vitae et assumenda sequi atque ad. Doloribus laudantium magnam. Rem placeat voluptatem debitis corrupti. Sed iste veritatis. Qui adipisci neque cumque voluptas voluptatum unde.\"]"], ["created_at", "2014-09-19 00:23:19.841733"], ["name", "contract_1f101438"], ["title", "In placeat exercitationem."], ["updated_at", "2014-09-19 00:23:19.841733"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f101438"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_1f101438') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:23:19.846173"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f101438"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_1f101438') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:23:19.852567"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.857359"], ["updated_at", "2014-09-19 00:23:19.857359"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.859056"], ["updated_at", "2014-09-19 00:23:19.859056"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b94c14d1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor omnis beatae voluptatem iusto maxime. Quas dicta dolore. Officiis rerum ut soluta. Fugit voluptate minus officia.\", \"Quibusdam non ut. Dolores et nesciunt odio quidem consequatur. Sit sit et veniam ab nisi. Et et dignissimos ipsum adipisci fugiat.\"]"], ["created_at", "2014-09-19 00:23:19.861973"], ["name", "contract_b94c14d1"], ["title", "Tenetur alias molestiae aut optio quia consequatur iure."], ["updated_at", "2014-09-19 00:23:19.861973"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.869267"], ["updated_at", "2014-09-19 00:23:19.869267"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.870775"], ["updated_at", "2014-09-19 00:23:19.870775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ec1441d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime unde ea est animi quisquam sint aliquid. Sit qui quos. Minima eius laborum corrupti. Dolor vitae consequatur at. Distinctio necessitatibus velit laudantium.\", \"Quas accusantium rerum nesciunt iure. Molestiae voluptatum ut natus ut vero. Dolores incidunt commodi.\"]"], ["created_at", "2014-09-19 00:23:19.873429"], ["name", "contract_ec1441d7"], ["title", "Sit nihil praesentium explicabo qui dolorem cupiditate repellat."], ["updated_at", "2014-09-19 00:23:19.873429"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.876691"], ["updated_at", "2014-09-19 00:23:19.876691"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.878174"], ["updated_at", "2014-09-19 00:23:19.878174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_caa066ce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam voluptas rerum quae ullam aliquid. Dolorem est magni vitae non ipsam recusandae. A aut esse expedita itaque nulla autem. Ad officiis fuga suscipit.\", \"Asperiores voluptatum vero nam iusto excepturi odio nesciunt. Et qui quia. Laboriosam cumque omnis.\"]"], ["created_at", "2014-09-19 00:23:19.880709"], ["name", "contract_caa066ce"], ["title", "Adipisci quasi sunt ipsa quia."], ["updated_at", "2014-09-19 00:23:19.880709"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 31]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 31]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 31 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.889397"], ["updated_at", "2014-09-19 00:23:19.889397"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.891012"], ["updated_at", "2014-09-19 00:23:19.891012"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e74f52a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam consectetur impedit tempora sed. Quisquam beatae perspiciatis sed porro. Error delectus blanditiis et.\", \"Est saepe vel. Ab deleniti consequuntur in alias dicta. Nobis quis aut vel sequi. Velit tempore blanditiis doloremque dolores veniam. Repudiandae officiis nulla sed.\"]"], ["created_at", "2014-09-19 00:23:19.893888"], ["name", "contract_e74f52a6"], ["title", "Sit ab nesciunt."], ["updated_at", "2014-09-19 00:23:19.893888"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.901171"], ["updated_at", "2014-09-19 00:23:19.901171"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.902864"], ["updated_at", "2014-09-19 00:23:19.902864"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_62dc2a8a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores vel rerum soluta iste explicabo. Minima ut et recusandae. Iure ducimus et voluptatem qui fuga. Qui occaecati eligendi saepe natus ab.\", \"Voluptatibus nemo velit itaque totam alias esse sit. Aut earum nobis qui quod incidunt. Ea voluptatem impedit commodi dolor rerum delectus consequatur. Vitae recusandae vero rerum modi soluta ducimus.\"]"], ["created_at", "2014-09-19 00:23:19.906289"], ["name", "contract_62dc2a8a"], ["title", "Iusto dolor animi assumenda voluptatem alias."], ["updated_at", "2014-09-19 00:23:19.906289"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_62dc2a8a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_62dc2a8a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 00:23:19.910381"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.912622"], ["updated_at", "2014-09-19 00:23:19.912622"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 00:23:19.917070"], ["updated_at", "2014-09-19 00:23:19.917070"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.925165"], ["updated_at", "2014-09-19 00:23:19.925165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.926675"], ["updated_at", "2014-09-19 00:23:19.926675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5e9bf00e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et hic molestias suscipit. Nihil hic natus modi. Fugit labore occaecati itaque aut repellendus dolorem in. Recusandae voluptatem perspiciatis id eius omnis neque reprehenderit. Ab sit optio accusantium voluptate enim.\", \"Voluptatem vitae est consequuntur sit. Ut eum et et harum voluptatem odit. Reprehenderit minus consectetur. Adipisci incidunt mollitia. Voluptatum esse aliquid sint voluptas aspernatur minus.\"]"], ["created_at", "2014-09-19 00:23:19.929796"], ["name", "contract_5e9bf00e"], ["title", "Ut quia dolorem modi molestias doloremque."], ["updated_at", "2014-09-19 00:23:19.929796"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5e9bf00e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_5e9bf00e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 00:23:19.933960"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.936175"], ["updated_at", "2014-09-19 00:23:19.936175"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 00:23:19.938390"], ["updated_at", "2014-09-19 00:23:19.938390"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.944897"], ["updated_at", "2014-09-19 00:23:19.944897"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.946912"], ["updated_at", "2014-09-19 00:23:19.946912"]]  (1.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_e8872492') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus dolores ipsum commodi hic nesciunt earum dolore. Eos amet doloribus consequatur molestiae dolorem. Explicabo rerum consequuntur nihil beatae cumque laudantium.\", \"Et officiis fuga fugit et aut ad atque. Eveniet non et dignissimos. Occaecati vel laboriosam.\"]"], ["created_at", "2014-09-19 00:23:19.952226"], ["name", "contract_e8872492"], ["title", "Voluptatem hic sapiente eos reiciendis vel amet rerum."], ["updated_at", "2014-09-19 00:23:19.952226"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8872492"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_e8872492') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 00:23:19.957417"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.959875"], ["updated_at", "2014-09-19 00:23:19.959875"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 00:23:19.962170"], ["updated_at", "2014-09-19 00:23:19.962170"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.965260"], ["updated_at", "2014-09-19 00:23:19.965260"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.966775"], ["updated_at", "2014-09-19 00:23:19.966775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_08b2be6c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis cumque veritatis similique. Aut omnis repellat sunt cum labore. Porro vel inventore ex neque vero beatae. Cumque est nihil qui hic vero quod possimus. Id qui dolorem aliquid dolorum non non asperiores.\", \"Nostrum nemo cupiditate maiores. Fugiat deserunt repudiandae alias excepturi autem at magni. Et odit sunt.\"]"], ["created_at", "2014-09-19 00:23:19.969734"], ["name", "contract_08b2be6c"], ["title", "Vel voluptas placeat alias reiciendis quam itaque."], ["updated_at", "2014-09-19 00:23:19.969734"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08b2be6c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_08b2be6c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 00:23:19.973645"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:23:19.975801"], ["updated_at", "2014-09-19 00:23:19.975801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 00:23:19.977873"], ["updated_at", "2014-09-19 00:23:19.977873"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (10.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_2618eebc') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum eveniet fugiat ipsa neque et vel. Deserunt eum molestias culpa officiis ipsam facere odit. Et aut magnam dicta. Assumenda temporibus ea et aut quas. Quis id sit et occaecati atque.\", \"Doloremque quis et. Impedit facere dolore. Alias dolore odit voluptas velit voluptatem aut.\"]"], ["created_at", "2014-09-19 00:25:10.446269"], ["name", "contract_2618eebc"], ["title", "Autem quasi vel."], ["updated_at", "2014-09-19 00:25:10.446269"]]  (3.7ms) commit transaction  (0.0ms) begin transaction 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_3e429602') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae impedit maiores assumenda. Est fuga veniam blanditiis. Voluptatem rerum vitae provident qui architecto. Et sunt a et dolores omnis nostrum corrupti.\", \"Pariatur non eum ut qui ut. Numquam et totam quo. Animi sit ut quae.\"]"], ["created_at", "2014-09-19 00:25:10.456296"], ["name", "contract_3e429602"], ["title", "Deleniti et nemo illo doloribus."], ["updated_at", "2014-09-19 00:25:10.456296"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e429602"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3e429602') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 00:25:10.469688"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.475869"], ["updated_at", "2014-09-19 00:25:10.475869"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.482555"], ["updated_at", "2014-09-19 00:25:10.482555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.484339"], ["updated_at", "2014-09-19 00:25:10.484339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.487144"], ["updated_at", "2014-09-19 00:25:10.487144"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.488883"], ["updated_at", "2014-09-19 00:25:10.488883"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.503475"], ["updated_at", "2014-09-19 00:25:10.503475"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.505331"], ["updated_at", "2014-09-19 00:25:10.505331"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c0c84b43') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse sit corporis fugiat et fuga est eos. Vero delectus sapiente perspiciatis quia. Omnis explicabo cupiditate delectus eos. Consequatur pariatur neque deserunt fuga voluptatem ex eos. Aperiam aut corrupti qui ut.\", \"Natus vero est. Sit id non. Nisi omnis et esse explicabo ad quam et. Eius a dignissimos accusamus assumenda molestiae alias nihil. Numquam necessitatibus reprehenderit laudantium.\"]"], ["created_at", "2014-09-19 00:25:10.508501"], ["name", "contract_c0c84b43"], ["title", "At quia reprehenderit."], ["updated_at", "2014-09-19 00:25:10.508501"]]  (5.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.517218"], ["updated_at", "2014-09-19 00:25:10.517218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.518889"], ["updated_at", "2014-09-19 00:25:10.518889"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_7b898449') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias commodi culpa velit iure corrupti ullam. Perferendis et voluptas doloribus atque. Voluptas aliquid a. Ratione modi aut deserunt. Quibusdam est reiciendis vel.\", \"Quibusdam perspiciatis at. Optio occaecati ad temporibus illum. Omnis soluta sed enim minus corrupti. Excepturi natus consequatur. Voluptates qui placeat earum.\"]"], ["created_at", "2014-09-19 00:25:10.522268"], ["name", "contract_7b898449"], ["title", "Vel corrupti commodi."], ["updated_at", "2014-09-19 00:25:10.522268"]]  (2.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7b898449"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_7b898449') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 00:25:10.530068"], ["version", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.535142"], ["updated_at", "2014-09-19 00:25:10.535142"]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.538385"], ["updated_at", "2014-09-19 00:25:10.538385"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5b19f7c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt voluptatem hic molestiae deleniti repellat fugit consequatur. Ad omnis ipsam et. Error occaecati quis. Pariatur at perspiciatis.\", \"Dolor saepe sunt. Esse autem tenetur quis nihil itaque dolor odit. Expedita ea aliquid asperiores delectus quia. Qui est aut molestiae ea ratione quis. Qui et deleniti itaque culpa sapiente voluptatibus.\"]"], ["created_at", "2014-09-19 00:25:10.541449"], ["name", "contract_5b19f7c9"], ["title", "Fuga quasi expedita voluptas iusto."], ["updated_at", "2014-09-19 00:25:10.541449"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.555322"], ["updated_at", "2014-09-19 00:25:10.555322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.557040"], ["updated_at", "2014-09-19 00:25:10.557040"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c0b3ee2e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium illo error saepe voluptatum ut ab. Consequatur voluptatem impedit et est accusamus sit culpa. Inventore error praesentium sint. Aliquam qui qui. Nemo aut culpa dolor voluptate quos.\", \"Ipsam dolor aut temporibus ea. Non sint eaque et et dolores. Omnis amet sed itaque odio.\"]"], ["created_at", "2014-09-19 00:25:10.559850"], ["name", "contract_c0b3ee2e"], ["title", "Omnis sequi autem omnis et."], ["updated_at", "2014-09-19 00:25:10.559850"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.563338"], ["updated_at", "2014-09-19 00:25:10.563338"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.564942"], ["updated_at", "2014-09-19 00:25:10.564942"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_09282c73') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In qui sit voluptatum aliquam voluptate. Cupiditate voluptas error rem fugiat non autem numquam. Sed eligendi blanditiis a. Nemo architecto repellendus quis enim.\", \"Repellendus sed perferendis eos iusto totam. Et at quidem odit aspernatur consequuntur. Nesciunt laudantium minima hic quisquam voluptatem nam a. Iste sint est voluptas nihil.\"]"], ["created_at", "2014-09-19 00:25:10.567955"], ["name", "contract_09282c73"], ["title", "Doloribus ullam deleniti explicabo."], ["updated_at", "2014-09-19 00:25:10.567955"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.575133"], ["updated_at", "2014-09-19 00:25:10.575133"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.576762"], ["updated_at", "2014-09-19 00:25:10.576762"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7363156b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint saepe laudantium doloremque numquam quaerat. Quia reprehenderit voluptas dolor veritatis. Recusandae cum eius. Dolor facilis est suscipit provident totam.\", \"Ut placeat pariatur totam cumque molestiae quae hic. Est modi placeat. Dolores atque aut ea dignissimos rerum odit occaecati. Enim omnis ex rerum fugit vitae. Quia iste aut et.\"]"], ["created_at", "2014-09-19 00:25:10.579856"], ["name", "contract_7363156b"], ["title", "Rerum aperiam quis ex corrupti quos."], ["updated_at", "2014-09-19 00:25:10.579856"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7363156b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_7363156b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 00:25:10.585021"], ["version", 1]]  (5.9ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7363156b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.597835"], ["updated_at", "2014-09-19 00:25:10.597835"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.599662"], ["updated_at", "2014-09-19 00:25:10.599662"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_596616dc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione quia nostrum ad. Exercitationem natus asperiores nesciunt. Quia voluptas cumque.\", \"Fugit repellendus exercitationem debitis. Nemo reprehenderit quis voluptatem quaerat. Accusamus dicta labore beatae iure. Quidem voluptatem vitae velit aut aut quisquam.\"]"], ["created_at", "2014-09-19 00:25:10.602853"], ["name", "contract_596616dc"], ["title", "Magnam possimus dicta neque in."], ["updated_at", "2014-09-19 00:25:10.602853"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.607089"], ["updated_at", "2014-09-19 00:25:10.607089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.608771"], ["updated_at", "2014-09-19 00:25:10.608771"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e8fe3101') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto qui consequuntur dolor quia. Accusantium qui nesciunt necessitatibus dolorem aut. Sunt et quidem est facere. Eveniet soluta repudiandae ipsum consequatur et. Suscipit accusantium iusto.\", \"Voluptatem natus aut quasi voluptates. Provident quam pariatur eum sint deleniti. Sint reprehenderit qui nostrum maiores nesciunt repellendus maxime. Doloremque itaque qui. Excepturi vero eos dolorem praesentium vel.\"]"], ["created_at", "2014-09-19 00:25:10.611575"], ["name", "contract_e8fe3101"], ["title", "Ut ea voluptatum illum voluptatem eos."], ["updated_at", "2014-09-19 00:25:10.611575"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 10 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 00:25:10.616555"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/10 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.621948"], ["updated_at", "2014-09-19 00:25:10.621948"]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.624009"], ["updated_at", "2014-09-19 00:25:10.624009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35e855fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio quis totam. Voluptas atque praesentium modi sunt explicabo nulla molestias. Aut placeat voluptas eveniet error iure.\", \"Ut officiis assumenda aut rerum repudiandae. Perferendis et officiis quae laboriosam. Accusamus nulla eos. Aut ut eum temporibus. Vitae minus et temporibus architecto voluptatibus.\"]"], ["created_at", "2014-09-19 00:25:10.626605"], ["name", "contract_35e855fe"], ["title", "Minima enim qui quibusdam."], ["updated_at", "2014-09-19 00:25:10.626605"]]  (2.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.636901"], ["updated_at", "2014-09-19 00:25:10.636901"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.638707"], ["updated_at", "2014-09-19 00:25:10.638707"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_37cd7810') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum et tempora. Et sunt ullam sed quia. Quae non mollitia. Eligendi velit ratione et possimus ipsa.\", \"Ducimus quasi in. Nesciunt illum temporibus provident quia corporis architecto. Nobis sed dolorum ut omnis qui nulla et. Commodi tempora omnis est modi corporis pariatur architecto.\"]"], ["created_at", "2014-09-19 00:25:10.641547"], ["name", "contract_37cd7810"], ["title", "Adipisci et iste saepe."], ["updated_at", "2014-09-19 00:25:10.641547"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.646608"], ["updated_at", "2014-09-19 00:25:10.646608"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.653551"], ["updated_at", "2014-09-19 00:25:10.653551"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ee2acce4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut nesciunt error accusantium nemo. Quia fugit officia placeat. Dicta est dolore officiis voluptatibus non. Ad voluptas inventore deleniti id. Sit eum quod vitae quia odit.\", \"Rerum tempore id explicabo voluptas architecto consequatur. Nostrum laboriosam totam rerum quo ipsum voluptatibus aut. Deserunt eos quaerat ea pariatur quas velit. Consequuntur voluptatem ratione et ut laudantium.\"]"], ["created_at", "2014-09-19 00:25:10.656291"], ["name", "contract_ee2acce4"], ["title", "Ipsam culpa corrupti quia."], ["updated_at", "2014-09-19 00:25:10.656291"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.662045"], ["updated_at", "2014-09-19 00:25:10.662045"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.663543"], ["updated_at", "2014-09-19 00:25:10.663543"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dcd3cc9f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint quia fuga velit. Veritatis numquam possimus et repudiandae. Similique ex velit eos sit. Voluptas dolorem blanditiis dicta ullam eveniet neque earum. Ut inventore molestiae maiores aut repellendus neque.\", \"Est quo tenetur possimus quam et. Provident qui ducimus omnis eligendi quas repudiandae sunt. Praesentium ipsum et et ipsa ut. Qui sint sunt iusto omnis blanditiis exercitationem atque. Pariatur autem ut ullam cum optio et.\"]"], ["created_at", "2014-09-19 00:25:10.666027"], ["name", "contract_dcd3cc9f"], ["title", "Tenetur expedita beatae ducimus labore et delectus est."], ["updated_at", "2014-09-19 00:25:10.666027"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.669109"], ["updated_at", "2014-09-19 00:25:10.669109"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.670633"], ["updated_at", "2014-09-19 00:25:10.670633"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dabfd1c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas cupiditate ut qui quia hic eos. Aut adipisci sed atque aut. Cum quidem eos incidunt officia.\", \"Similique tempore quae. Nesciunt libero rem aut. Quis eum harum modi.\"]"], ["created_at", "2014-09-19 00:25:10.673309"], ["name", "contract_dabfd1c5"], ["title", "Rerum facilis et dolores quia."], ["updated_at", "2014-09-19 00:25:10.673309"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.679009"], ["updated_at", "2014-09-19 00:25:10.679009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.680469"], ["updated_at", "2014-09-19 00:25:10.680469"]]  (6.3ms) commit transaction  (0.0ms) begin transaction 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_5bbba655') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem debitis nesciunt. Voluptas explicabo fugiat id et sunt repellat rerum. Dolorem repellendus quia accusamus sit autem dolores. Ab nobis ea.\", \"Nesciunt dolore assumenda sit aut sequi et consequatur. Perferendis eaque labore. Vero dicta tenetur officia quis maiores sint. Soluta vel ullam libero eum optio praesentium et. Minima assumenda quasi consequatur omnis.\"]"], ["created_at", "2014-09-19 00:25:10.689066"], ["name", "contract_5bbba655"], ["title", "Et minus ut recusandae est quidem delectus soluta."], ["updated_at", "2014-09-19 00:25:10.689066"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.692546"], ["updated_at", "2014-09-19 00:25:10.692546"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.694068"], ["updated_at", "2014-09-19 00:25:10.694068"]]  (5.9ms) commit transaction  (0.0ms) begin transaction 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_faf1f259') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis pariatur porro. Excepturi ipsa quia a. Tenetur facere assumenda veritatis exercitationem dolor sint. Earum qui rerum eum.\", \"Ipsam saepe possimus est. Est cum id quo enim ea in quod. Amet nesciunt autem quibusdam. Autem et laudantium accusantium omnis. Maiores earum officiis.\"]"], ["created_at", "2014-09-19 00:25:10.701941"], ["name", "contract_faf1f259"], ["title", "Eos dolor quia nemo consequatur."], ["updated_at", "2014-09-19 00:25:10.701941"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_faf1f259"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_faf1f259') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 00:25:10.708900"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_faf1f259"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_faf1f259') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 00:25:10.715415"], ["version", nil]]  (5.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 11ms (ActiveRecord: 6.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.726086"], ["updated_at", "2014-09-19 00:25:10.726086"]]  (7.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.734604"], ["updated_at", "2014-09-19 00:25:10.734604"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_1d7e0d93') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem distinctio alias. Sed sunt repellendus expedita repellat. Dolores culpa numquam voluptates et voluptatem sed quia.\", \"Hic in delectus et reiciendis facilis optio. Vitae commodi maxime. Nihil ut et odio.\"]"], ["created_at", "2014-09-19 00:25:10.737528"], ["name", "contract_1d7e0d93"], ["title", "Itaque perspiciatis dolor maxime rerum quas eligendi."], ["updated_at", "2014-09-19 00:25:10.737528"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1d7e0d93"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_1d7e0d93') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 00:25:10.745449"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.748901"], ["updated_at", "2014-09-19 00:25:10.748901"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.750465"], ["updated_at", "2014-09-19 00:25:10.750465"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_1fd0696d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid ab nobis perferendis. Sit cupiditate qui ut. Beatae dolorum quis aut. Nulla perspiciatis veritatis natus nisi magnam dolores ad. Neque dolorum minima eveniet consequatur quod ut at.\", \"Magnam omnis aut deserunt est et. Deleniti quia ad. Aut minus ipsa quo voluptatibus voluptatem voluptas doloremque. Nulla voluptate nihil quisquam et quo.\"]"], ["created_at", "2014-09-19 00:25:10.753094"], ["name", "contract_1fd0696d"], ["title", "Numquam eaque nostrum totam architecto sapiente."], ["updated_at", "2014-09-19 00:25:10.753094"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.762137"], ["updated_at", "2014-09-19 00:25:10.762137"]]  (6.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.769940"], ["updated_at", "2014-09-19 00:25:10.769940"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_c2e4fb72') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque et pariatur ut tenetur velit corporis. Animi sunt consectetur voluptates culpa et. Est porro fugit dolore iste dignissimos quasi ut. Quia nisi eveniet.\", \"Eum fuga voluptatem suscipit harum nemo nostrum. Ipsa aliquid temporibus sed vero repellendus. Dolorem dolor ducimus neque culpa est sequi ipsum.\"]"], ["created_at", "2014-09-19 00:25:10.773282"], ["name", "contract_c2e4fb72"], ["title", "Aut voluptatum in aspernatur autem aut corrupti."], ["updated_at", "2014-09-19 00:25:10.773282"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2e4fb72"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_c2e4fb72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 00:25:10.782835"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque iusto cupiditate culpa inventore repellat. Et eos qui dolor beatae est similique ea. Quia dolores dolorum repudiandae deleniti.\", \"Officia repellendus harum qui occaecati alias. Numquam at voluptas autem quos. Necessitatibus aut perferendis recusandae veniam sed. Exercitationem quisquam fugiat qui porro incidunt omnis dolor. Laborum voluptatem tempora.\"]"], ["created_at", "2014-09-19 00:25:10.787906"], ["name", "alpha"], ["title", "Magni maiores est occaecati modi dicta beatae."], ["updated_at", "2014-09-19 00:25:10.787906"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 00:25:10.791708"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos quas molestias pariatur est. Nulla qui sunt quia voluptatem doloribus voluptatum dolor. Rerum officia voluptatem esse impedit qui tempora. Error qui labore et cupiditate. Et voluptas eaque voluptas quas voluptatibus ea.\", \"Iure possimus quam. Aliquam incidunt quasi eveniet magni. Ex rerum et earum alias ad inventore natus. Veniam impedit saepe omnis deleniti hic voluptatem nam. Vel ipsum aspernatur adipisci nisi veniam excepturi sed.\"]"], ["created_at", "2014-09-19 00:25:10.794974"], ["name", "beta"], ["title", "Dolor porro fuga libero corrupti tenetur sit enim."], ["updated_at", "2014-09-19 00:25:10.794974"]]  (3.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 00:25:10.802924"], ["version", 1]]  (6.1ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia modi similique provident consequuntur. Itaque ipsa sit voluptatem ea ut incidunt aut. Ratione deserunt eaque. Sint mollitia quidem aut. Omnis porro et sit inventore nesciunt quae.\", \"Quae ullam cupiditate quod dolores quidem quo officia. Facilis sed optio autem voluptatibus. Est magnam sit exercitationem id quo necessitatibus omnis. Dolores nisi qui voluptatum. Non ipsam sunt soluta reprehenderit repudiandae esse.\"]"], ["created_at", "2014-09-19 00:25:10.813015"], ["name", "alpha"], ["title", "Eum ipsam est voluptatibus vel animi."], ["updated_at", "2014-09-19 00:25:10.813015"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 00:25:10.817362"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum suscipit exercitationem et dicta. Facilis asperiores ut nihil officiis non dolores. Soluta corrupti vitae impedit quo.\", \"Et aspernatur laboriosam aperiam earum corporis aut molestiae. Nesciunt sunt sed sunt dolores magni omnis vel. Modi laudantium in nulla et sint. Aut expedita nisi cum voluptates iusto iure amet.\"]"], ["created_at", "2014-09-19 00:25:10.820569"], ["name", "beta"], ["title", "Voluptas ipsam maiores consequatur non consequuntur exercitationem."], ["updated_at", "2014-09-19 00:25:10.820569"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 00:25:10.824400"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus magni sint saepe. Enim ex non enim ipsum vel qui voluptatem. Rerum vel consequatur dolorem ipsum qui. Sunt et qui.\", \"Aut cupiditate rerum animi numquam exercitationem sequi. Est inventore necessitatibus dolore voluptas sunt nobis molestiae. Nam numquam repellendus.\"]"], ["created_at", "2014-09-19 00:25:10.827922"], ["name", "alpha"], ["title", "Omnis a voluptatem error labore hic."], ["updated_at", "2014-09-19 00:25:10.827922"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 00:25:10.831652"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae beatae et aut. Vel velit aut nostrum rerum. Doloremque vel harum facilis reprehenderit quia.\", \"Nihil eveniet sunt ab odit dignissimos libero quam. Quasi amet nostrum sed eaque. In voluptatum iusto et et enim. Quaerat deleniti vero enim. Non qui repellendus velit.\"]"], ["created_at", "2014-09-19 00:25:10.834722"], ["name", "beta"], ["title", "Voluptas veniam tempora omnis."], ["updated_at", "2014-09-19 00:25:10.834722"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 00:25:10.838556"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.841587"], ["updated_at", "2014-09-19 00:25:10.841587"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.843101"], ["updated_at", "2014-09-19 00:25:10.843101"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_41b2b844') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus labore est ex rem ipsa et. Magni porro unde suscipit tempora quia. Ad in qui non ipsam. Ipsam cupiditate deleniti incidunt et magnam amet. Est dicta dolorum.\", \"Omnis saepe architecto. Quia quia eos adipisci sapiente. Nemo quia exercitationem praesentium consequatur quis sapiente. Exercitationem sapiente a vel minus consequatur. Saepe dolore et.\"]"], ["created_at", "2014-09-19 00:25:10.846271"], ["name", "contract_41b2b844"], ["title", "Voluptatibus at perferendis."], ["updated_at", "2014-09-19 00:25:10.846271"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41b2b844"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.4ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_41b2b844') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:25:10.851008"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.853673"], ["updated_at", "2014-09-19 00:25:10.853673"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 00:25:10.858564"], ["updated_at", "2014-09-19 00:25:10.858564"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (2.0ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 2.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.868418"], ["updated_at", "2014-09-19 00:25:10.868418"]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.872373"], ["updated_at", "2014-09-19 00:25:10.872373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0363a98a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius neque necessitatibus delectus tempore est. Quia debitis ullam id. Iusto similique eos voluptas. Possimus ratione dolorem sed corporis aperiam.\", \"Repellendus consequatur nihil sed similique. Autem et ratione reiciendis facere dignissimos. Ipsam voluptas voluptatem qui.\"]"], ["created_at", "2014-09-19 00:25:10.875651"], ["name", "contract_0363a98a"], ["title", "Fugiat adipisci veniam."], ["updated_at", "2014-09-19 00:25:10.875651"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0363a98a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_0363a98a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:25:10.879673"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.881903"], ["updated_at", "2014-09-19 00:25:10.881903"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 00:25:10.884058"], ["updated_at", "2014-09-19 00:25:10.884058"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.887367"], ["updated_at", "2014-09-19 00:25:10.887367"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.888971"], ["updated_at", "2014-09-19 00:25:10.888971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4ce0842e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis in repellat hic. Provident accusamus amet nam dolores. Nulla fugiat aliquid enim sed.\", \"Id quaerat odit fuga quos distinctio recusandae. Et voluptas iure maiores culpa nihil est. Molestias sunt quasi consequatur.\"]"], ["created_at", "2014-09-19 00:25:10.891934"], ["name", "contract_4ce0842e"], ["title", "Sed rerum exercitationem maxime enim quis."], ["updated_at", "2014-09-19 00:25:10.891934"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ce0842e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_4ce0842e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 00:25:10.895756"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.897907"], ["updated_at", "2014-09-19 00:25:10.897907"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 00:25:10.900252"], ["updated_at", "2014-09-19 00:25:10.900252"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.903602"], ["updated_at", "2014-09-19 00:25:10.903602"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.905657"], ["updated_at", "2014-09-19 00:25:10.905657"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_15430575') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur quasi aut repellat id qui dignissimos aut. Est odit dignissimos. Architecto fugit blanditiis qui. Et sed similique.\", \"Quibusdam a et quasi est id. Officiis iure molestias velit. Praesentium rerum possimus quo repellendus velit aliquam.\"]"], ["created_at", "2014-09-19 00:25:10.909047"], ["name", "contract_15430575"], ["title", "Harum dicta perferendis."], ["updated_at", "2014-09-19 00:25:10.909047"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15430575"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_15430575') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 00:25:10.913234"], ["version", 1]]  (5.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.920731"], ["updated_at", "2014-09-19 00:25:10.920731"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 00:25:10.923447"], ["updated_at", "2014-09-19 00:25:10.923447"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_2e90d2f6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi est est sunt. Veritatis et ipsam quibusdam laudantium ea autem vero. Earum ex repellat ab et est et. Et molestias laboriosam et sed maiores dignissimos. Saepe nisi voluptatem et sit rerum.\", \"Repellendus delectus aspernatur ullam corrupti porro quia. In autem quasi blanditiis hic quae voluptas animi. Officiis ab sunt in mollitia. Nemo tempora labore incidunt.\"]"], ["created_at", "2014-09-19 00:25:10.930490"], ["name", "contract_2e90d2f6"], ["title", "Reiciendis accusantium quibusdam aut sed."], ["updated_at", "2014-09-19 00:25:10.930490"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2e90d2f6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_2e90d2f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 00:25:10.934381"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d85957e8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio nemo labore reiciendis. Cum ad placeat. Quidem quis explicabo placeat blanditiis ducimus a voluptas. Eum nisi quam ullam.\", \"Quia ratione hic maiores. Debitis nihil amet deleniti odio deserunt sequi. Exercitationem et et. Quasi quidem qui inventore deserunt reiciendis amet nihil. Accusantium quo dolor nihil.\"]"], ["created_at", "2014-09-19 00:25:10.938741"], ["name", "contract_d85957e8"], ["title", "Ullam blanditiis voluptate nostrum aliquid maiores enim."], ["updated_at", "2014-09-19 00:25:10.938741"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_51074292') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem numquam assumenda perferendis aut quo consequatur amet. Voluptas ex placeat. Quia omnis odio nihil nemo. Voluptatibus eligendi quis. Atque aut laboriosam.\", \"Ipsa eligendi et quod sunt eius a vero. Omnis ut vel quidem hic illum aut. Ea accusamus quia. Unde et est non voluptas. Aut aut officia totam.\"]"], ["created_at", "2014-09-19 00:25:10.942425"], ["name", "contract_51074292"], ["title", "Provident debitis aliquid nulla molestias et."], ["updated_at", "2014-09-19 00:25:10.942425"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_51074292"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_51074292') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 00:25:10.946275"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_51074292' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_51074292') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem numquam assumenda perferendis aut quo consequatur amet. Voluptas ex placeat. Quia omnis odio nihil nemo. Voluptatibus eligendi quis. Atque aut laboriosam.\", \"Ipsa eligendi et quod sunt eius a vero. Omnis ut vel quidem hic illum aut. Ea accusamus quia. Unde et est non voluptas. Aut aut officia totam.\"]"], ["created_at", "2014-09-19 00:25:10.949649"], ["name", "contract_51074292"], ["title", "Provident debitis aliquid nulla molestias et."], ["updated_at", "2014-09-19 00:25:10.949649"]]  (3.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_51074292"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_51074292') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 00:25:10.957143"], ["version", 2]]  (6.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_e97f3a2d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab distinctio asperiores id qui fuga. Sunt odit sed veritatis similique inventore ut suscipit. Necessitatibus rerum provident dolores est maxime facere.\", \"Sint rem autem sit fugit cupiditate porro. Nisi laboriosam ut. Eum id deserunt. Est commodi nulla quod nihil laboriosam. Consequatur provident deleniti dolores vitae.\"]"], ["created_at", "2014-09-19 00:25:10.967797"], ["name", "contract_e97f3a2d"], ["title", "Velit eos incidunt et."], ["updated_at", "2014-09-19 00:25:10.967797"]]  (5.2ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e97f3a2d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_e97f3a2d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 00:25:10.978511"], ["version", 1]]  (7.1ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e97f3a2d"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:10.991159"], ["updated_at", "2014-09-19 00:25:10.991159"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 00:25:10.999433"], ["updated_at", "2014-09-19 00:25:10.999433"], ["user_id", 54], ["user_type", "DummyUser"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_e97f3a2d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e97f3a2d"]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (11.4ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_6b173f1a') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sunt libero voluptatem. Quos ad aliquam occaecati eos perferendis. Voluptas incidunt quo. Ex et similique eligendi tempore dolor nulla incidunt.\", \"Sed quis deserunt cupiditate quia. Quidem consequatur quibusdam laboriosam in. Voluptatibus modi blanditiis omnis sit in sint. Error distinctio doloribus facere.\"]"], ["created_at", "2014-09-19 00:25:34.711750"], ["name", "contract_6b173f1a"], ["title", "Quas et beatae quasi veniam."], ["updated_at", "2014-09-19 00:25:34.711750"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6b173f1a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6b173f1a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 00:25:34.725859"], ["version", 1]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.737085"], ["updated_at", "2014-09-19 00:25:34.737085"]]  (6.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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_73d2e7a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui officiis repudiandae dolores culpa. Quis rerum non itaque omnis laudantium et aspernatur. Amet enim quia consequatur tempora et dolore ratione. Minima enim ipsa.\", \"Qui nihil eligendi delectus. Ratione voluptas et voluptas sint voluptatem. Non similique et aut ut voluptatem aut cupiditate.\"]"], ["created_at", "2014-09-19 00:25:34.750074"], ["name", "contract_73d2e7a7"], ["title", "Et sed veniam."], ["updated_at", "2014-09-19 00:25:34.750074"]]  (3.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.756508"], ["updated_at", "2014-09-19 00:25:34.756508"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.763759"], ["updated_at", "2014-09-19 00:25:34.763759"]]  (5.9ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.781787"], ["updated_at", "2014-09-19 00:25:34.781787"]]  (6.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.789972"], ["updated_at", "2014-09-19 00:25:34.789972"]]  (6.1ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic quaerat distinctio. Cum dolor ea. Blanditiis in non magni unde accusamus. Qui ut voluptatem. Placeat dolores hic nobis dicta quis consequuntur.\", \"Eaque sequi quis et ea ut. Quia ab in. Nulla voluptatem eos libero voluptas commodi mollitia. Facilis fugit deleniti similique molestiae.\"]"], ["created_at", "2014-09-19 00:25:34.800700"], ["name", "alpha"], ["title", "Numquam sunt exercitationem temporibus autem ut rerum."], ["updated_at", "2014-09-19 00:25:34.800700"]]  (44.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 00:25:34.849456"], ["version", 1]]  (31.1ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nulla earum aut dignissimos expedita totam. Veniam et necessitatibus sed ut. Explicabo sit perferendis quia cupiditate blanditiis sapiente.\", \"Itaque nemo cum magni. Provident ut voluptatem. Natus sit occaecati. Omnis est libero.\"]"], ["created_at", "2014-09-19 00:25:34.883538"], ["name", "beta"], ["title", "Non ut aut perferendis labore odit dolorem rerum."], ["updated_at", "2014-09-19 00:25:34.883538"]]  (3.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 00:25:34.890382"], ["version", 1]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio voluptatem fugiat voluptas. Sit quis ea. Quidem sit debitis. Aperiam illum nemo eligendi qui aspernatur qui. Perspiciatis iure illo dicta quis molestiae et quam.\", \"Voluptatibus ut adipisci sit numquam autem consequatur officiis. Quia molestias explicabo rerum qui aspernatur. Sint nihil praesentium laudantium eius accusamus reprehenderit animi. Sint quod doloremque nobis similique.\"]"], ["created_at", "2014-09-19 00:25:34.900081"], ["name", "alpha"], ["title", "Ut alias veniam veritatis nobis voluptas rerum ut."], ["updated_at", "2014-09-19 00:25:34.900081"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 00:25:34.904379"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio aut eaque ut sed tenetur aliquid aspernatur. Hic iste recusandae delectus ea. In id itaque.\", \"Sed eaque ut. Maxime eligendi dolorem consequatur voluptas ipsum. Voluptatibus qui illum. Quaerat aut necessitatibus ut. Quia blanditiis quo dolor.\"]"], ["created_at", "2014-09-19 00:25:34.907813"], ["name", "beta"], ["title", "Est omnis corporis corrupti."], ["updated_at", "2014-09-19 00:25:34.907813"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 00:25:34.911856"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum qui ex voluptas sequi voluptatum ipsum. Dolorem reprehenderit voluptatem blanditiis rerum consequatur facere qui. Sunt deleniti laudantium quo quia rerum. Error veniam rerum aut in soluta quo. Explicabo doloremque qui eos repellendus delectus velit.\", \"Quia quo perspiciatis natus velit. Omnis ut minus voluptatibus qui. Voluptates est omnis et tempore. Et sapiente ut eum rem possimus. Eius voluptates vel sit.\"]"], ["created_at", "2014-09-19 00:25:34.915455"], ["name", "alpha"], ["title", "Odit magnam ex."], ["updated_at", "2014-09-19 00:25:34.915455"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 00:25:34.919384"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit sunt facere et. Asperiores et quis. Quaerat repellat minus pariatur sequi et a. Et iusto temporibus voluptas.\", \"Consequatur ea repudiandae. Sed corporis aliquid rerum. Repellendus aut aliquid. Doloribus illo veritatis animi dicta qui facere.\"]"], ["created_at", "2014-09-19 00:25:34.923248"], ["name", "beta"], ["title", "Sint labore veritatis minima enim autem."], ["updated_at", "2014-09-19 00:25:34.923248"]]  (3.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 00:25:34.931873"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.935494"], ["updated_at", "2014-09-19 00:25:34.935494"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.937409"], ["updated_at", "2014-09-19 00:25:34.937409"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6a94edbd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime consequatur non et autem possimus. Eligendi ea reiciendis quia quas. Architecto ipsa officia asperiores et. Doloribus optio voluptatem dolores. Culpa quia quos similique cumque.\", \"Laborum harum quia aut odit ea quia quia. Adipisci officiis ab temporibus officia quaerat consequatur. Consequatur dolores veritatis quibusdam incidunt omnis. Quae officia et.\"]"], ["created_at", "2014-09-19 00:25:34.940427"], ["name", "contract_6a94edbd"], ["title", "Architecto sint cum."], ["updated_at", "2014-09-19 00:25:34.940427"]]  (41.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.985096"], ["updated_at", "2014-09-19 00:25:34.985096"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.986721"], ["updated_at", "2014-09-19 00:25:34.986721"]]  (5.7ms) commit transaction  (0.0ms) begin transaction 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_87f02e56') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel tenetur consequatur doloremque inventore. Ad quod rem dicta dignissimos animi illo ipsam. Eius accusamus porro facere. Id magnam minus sit. Est modi id cupiditate in.\", \"Ea quisquam ratione. Ea enim hic. Quasi ut sit blanditiis quae dolorem.\"]"], ["created_at", "2014-09-19 00:25:34.994648"], ["name", "contract_87f02e56"], ["title", "Omnis dolor dolorem quae sit tempora doloremque."], ["updated_at", "2014-09-19 00:25:34.994648"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.997865"], ["updated_at", "2014-09-19 00:25:34.997865"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:34.999342"], ["updated_at", "2014-09-19 00:25:34.999342"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b6b2c4a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex omnis rerum. Distinctio nemo ab nisi. Dolorem maxime suscipit harum ullam saepe. Non odit aliquid non culpa at. Repellendus tempora omnis ab deserunt quas.\", \"Consequatur accusamus eum. Architecto qui accusantium unde numquam tempora. Dolor earum illo. Esse dolor commodi.\"]"], ["created_at", "2014-09-19 00:25:35.001971"], ["name", "contract_b6b2c4a9"], ["title", "Aliquam tenetur sunt."], ["updated_at", "2014-09-19 00:25:35.001971"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.005196"], ["updated_at", "2014-09-19 00:25:35.005196"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.006863"], ["updated_at", "2014-09-19 00:25:35.006863"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_1512f307') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus quibusdam autem saepe laboriosam. Saepe odio vitae labore ex. Cum excepturi alias cumque possimus. Fuga perspiciatis hic tempore est.\", \"Occaecati autem sapiente ea dolor. Repellendus sunt molestias fugiat natus perferendis aut. Corrupti et aut officia atque aliquid et.\"]"], ["created_at", "2014-09-19 00:25:35.009883"], ["name", "contract_1512f307"], ["title", "Et quidem et qui omnis eos et."], ["updated_at", "2014-09-19 00:25:35.009883"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 12 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 00:25:35.015515"]]  (1.2ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 6ms (ActiveRecord: 1.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.022255"], ["updated_at", "2014-09-19 00:25:35.022255"]]  (4.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.028175"], ["updated_at", "2014-09-19 00:25:35.028175"]]  (1.6ms) commit transaction  (0.0ms) begin transaction 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_eb6ac44c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit consequatur ut dicta temporibus doloremque et. Blanditiis quis aut accusantium architecto suscipit officiis consequatur. Vel ad similique. Suscipit ullam debitis aut placeat quo. Est quia nostrum doloremque.\", \"Voluptatem omnis natus. Dicta id nisi minima non facere voluptas debitis. Omnis exercitationem eius eum soluta rerum architecto similique. Voluptatem nisi doloribus recusandae expedita voluptatem. Aliquid perferendis sed est commodi sunt minus molestiae.\"]"], ["created_at", "2014-09-19 00:25:35.032222"], ["name", "contract_eb6ac44c"], ["title", "Ipsam enim consequatur dignissimos sed."], ["updated_at", "2014-09-19 00:25:35.032222"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.035526"], ["updated_at", "2014-09-19 00:25:35.035526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.036982"], ["updated_at", "2014-09-19 00:25:35.036982"]]  (11.1ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6a63e0be') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis enim quasi ut vero et. Ut aut illo voluptatibus est provident. Nulla dolor voluptas totam est. Et mollitia quo voluptas ipsum deleniti similique veniam.\", \"Esse nihil atque dignissimos. Dolor minima suscipit inventore nihil. Praesentium tempora accusamus aliquid reprehenderit officia.\"]"], ["created_at", "2014-09-19 00:25:35.051128"], ["name", "contract_6a63e0be"], ["title", "Inventore nobis aut nihil odio quaerat laborum alias."], ["updated_at", "2014-09-19 00:25:35.051128"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6a63e0be"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_6a63e0be') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 00:25:35.056915"], ["version", 1]]  (5.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.065784"], ["updated_at", "2014-09-19 00:25:35.065784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.067379"], ["updated_at", "2014-09-19 00:25:35.067379"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_789ef76e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio rem delectus odit aperiam eius doloribus occaecati. Suscipit natus culpa possimus a. Libero at accusamus tenetur error. Fuga consequatur dignissimos vel vel et.\", \"Repudiandae dolor quia adipisci quia. Tenetur nulla cumque. Quis recusandae ut aut.\"]"], ["created_at", "2014-09-19 00:25:35.070046"], ["name", "contract_789ef76e"], ["title", "Eos dolorem velit et ipsum."], ["updated_at", "2014-09-19 00:25:35.070046"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.078816"], ["updated_at", "2014-09-19 00:25:35.078816"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.085875"], ["updated_at", "2014-09-19 00:25:35.085875"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_69634436') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore harum laboriosam nobis et voluptas. Qui est impedit dignissimos. Et nobis eos. Aut ullam doloribus numquam est earum dolores qui.\", \"Sequi molestiae at illum. Cumque quo veniam magnam minima earum voluptatem. Nemo ipsam voluptas dolores qui.\"]"], ["created_at", "2014-09-19 00:25:35.088580"], ["name", "contract_69634436"], ["title", "Est quos praesentium rem dolore."], ["updated_at", "2014-09-19 00:25:35.088580"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.091594"], ["updated_at", "2014-09-19 00:25:35.091594"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.093112"], ["updated_at", "2014-09-19 00:25:35.093112"]]  (5.7ms) commit transaction  (0.0ms) begin transaction 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_7985accd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi voluptas amet sed ipsa. Sit laudantium laborum quis perspiciatis explicabo ea id. Odit non nisi dolores totam quo nihil officia. Dolor blanditiis repellat sequi explicabo.\", \"Rerum expedita et est facilis ex sed ut. Quas doloremque distinctio dolores quisquam nihil. Vel ut est voluptas facere modi consequatur ipsam.\"]"], ["created_at", "2014-09-19 00:25:35.100843"], ["name", "contract_7985accd"], ["title", "Consequatur autem esse ipsum."], ["updated_at", "2014-09-19 00:25:35.100843"]]  (4.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (6.2ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 6.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.121329"], ["updated_at", "2014-09-19 00:25:35.121329"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.128503"], ["updated_at", "2014-09-19 00:25:35.128503"]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_3985f5d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa perferendis voluptas vero. Hic dolorem facilis voluptas ullam ut minima voluptas. Sed inventore occaecati qui magnam dicta ex.\", \"Veritatis sequi nemo consectetur expedita. Ullam illum et eos sed dolor. Dolores officia ut facere autem. Non molestiae quod ducimus illo est occaecati tenetur.\"]"], ["created_at", "2014-09-19 00:25:35.137297"], ["name", "contract_3985f5d6"], ["title", "Nostrum reiciendis quis rerum aspernatur expedita est."], ["updated_at", "2014-09-19 00:25:35.137297"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.146611"], ["updated_at", "2014-09-19 00:25:35.146611"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.153407"], ["updated_at", "2014-09-19 00:25:35.153407"]]  (6.6ms) commit transaction  (0.1ms) begin transaction 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_5d80b3b7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi occaecati vitae. Suscipit qui nostrum asperiores ut consequatur aspernatur laboriosam. Quo eos rem quos et similique.\", \"Doloribus quaerat sequi explicabo dicta libero dolor non. Aliquid non aut. Esse ea id illo magni non quisquam. Laudantium quam qui perferendis pariatur ipsum iure et.\"]"], ["created_at", "2014-09-19 00:25:35.162420"], ["name", "contract_5d80b3b7"], ["title", "Recusandae quaerat dolorem eum minima."], ["updated_at", "2014-09-19 00:25:35.162420"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d80b3b7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_5d80b3b7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 00:25:35.171774"], ["version", 1]]  (6.1ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 11ms (ActiveRecord: 6.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.181614"], ["updated_at", "2014-09-19 00:25:35.181614"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.188293"], ["updated_at", "2014-09-19 00:25:35.188293"]]  (6.0ms) commit transaction  (0.1ms) begin transaction 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_2b504c1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut et tenetur dolorem. Quos expedita architecto consequatur distinctio et. Eveniet reiciendis soluta.\", \"Id doloremque ab laborum similique numquam quo. Deserunt et provident. Perferendis aut veniam velit harum quasi. Molestias quo excepturi. Quisquam sunt aut dignissimos error.\"]"], ["created_at", "2014-09-19 00:25:35.196635"], ["name", "contract_2b504c1f"], ["title", "Fuga asperiores eligendi sunt officiis."], ["updated_at", "2014-09-19 00:25:35.196635"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.202999"], ["updated_at", "2014-09-19 00:25:35.202999"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.210365"], ["updated_at", "2014-09-19 00:25:35.210365"]]  (6.4ms) commit transaction  (0.1ms) begin transaction 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_56cdefba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus et eveniet quibusdam et. Odio aliquid officiis harum laboriosam reiciendis. Sit accusantium non fugit quam provident enim. Deserunt modi quos provident nam.\", \"Exercitationem vitae cupiditate est itaque provident voluptatem qui. Totam quidem harum. Sint id est. Fugiat ullam quas corporis tempora repellendus doloribus possimus.\"]"], ["created_at", "2014-09-19 00:25:35.219408"], ["name", "contract_56cdefba"], ["title", "Hic totam eum est sequi sed asperiores."], ["updated_at", "2014-09-19 00:25:35.219408"]]  (99.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.324866"], ["updated_at", "2014-09-19 00:25:35.324866"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.326537"], ["updated_at", "2014-09-19 00:25:35.326537"]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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_d6e02959') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio sed quas. Culpa perferendis dolores alias a distinctio. Ab qui perspiciatis ducimus qui. Sapiente cumque dignissimos placeat quia impedit iusto. Laboriosam in voluptas.\", \"Sunt optio officia autem. Dolorem laboriosam et amet et sunt vel aspernatur. Laboriosam ea eaque et qui eligendi autem.\"]"], ["created_at", "2014-09-19 00:25:35.334705"], ["name", "contract_d6e02959"], ["title", "Ut labore enim rerum pariatur provident aliquam."], ["updated_at", "2014-09-19 00:25:35.334705"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6e02959"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_d6e02959') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 00:25:35.342296"], ["version", 1]]  (6.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.351330"], ["updated_at", "2014-09-19 00:25:35.351330"]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.358532"], ["updated_at", "2014-09-19 00:25:35.358532"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_61615d4a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet nisi quos autem omnis. Voluptatibus et provident quisquam nesciunt accusantium debitis exercitationem. Quibusdam enim suscipit inventore eveniet.\", \"Eos sed accusamus autem ut dolores. Dicta enim modi eum delectus inventore. Ab veniam magnam perferendis.\"]"], ["created_at", "2014-09-19 00:25:35.361639"], ["name", "contract_61615d4a"], ["title", "Beatae aliquam nam repellat delectus non incidunt consequatur."], ["updated_at", "2014-09-19 00:25:35.361639"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.364980"], ["updated_at", "2014-09-19 00:25:35.364980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.366431"], ["updated_at", "2014-09-19 00:25:35.366431"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dc73ed9d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore explicabo voluptatem odit. Quam voluptatem doloribus et laudantium sed consequatur. Voluptas iusto consequatur rerum esse. Perferendis modi reprehenderit dolores.\", \"Quas beatae est dolores voluptas ipsum voluptatibus dolor. Autem aut nam dicta. Iure qui et error.\"]"], ["created_at", "2014-09-19 00:25:35.368883"], ["name", "contract_dc73ed9d"], ["title", "Minus ullam numquam est quia voluptate qui."], ["updated_at", "2014-09-19 00:25:35.368883"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.376298"], ["updated_at", "2014-09-19 00:25:35.376298"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.378526"], ["updated_at", "2014-09-19 00:25:35.378526"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e51597ef') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident quibusdam dolorem ut et in quas. Qui qui quisquam esse laudantium nesciunt. Aut ratione praesentium mollitia cumque beatae quis. Sed maxime cumque labore.\", \"Non error veritatis alias repellendus maiores sit. Quod voluptatem quia. Debitis error atque minus aut sapiente.\"]"], ["created_at", "2014-09-19 00:25:35.381864"], ["name", "contract_e51597ef"], ["title", "Soluta id corporis quia debitis ea et."], ["updated_at", "2014-09-19 00:25:35.381864"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e51597ef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_e51597ef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 00:25:35.386823"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e51597ef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.393100"], ["updated_at", "2014-09-19 00:25:35.393100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.394624"], ["updated_at", "2014-09-19 00:25:35.394624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0660c717') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae suscipit molestiae omnis aut voluptate voluptatum. Voluptates alias aperiam. Labore facere aut debitis quis. Eveniet ut tenetur.\", \"Nisi voluptatem voluptate. Occaecati vero atque sunt laborum qui ullam qui. Aspernatur dolore ut magni impedit.\"]"], ["created_at", "2014-09-19 00:25:35.397119"], ["name", "contract_0660c717"], ["title", "Porro a aperiam itaque minima unde."], ["updated_at", "2014-09-19 00:25:35.397119"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0660c717"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_0660c717') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 00:25:35.401959"], ["version", 1]]  (6.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0660c717"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_0660c717') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 00:25:35.416159"], ["version", nil]]  (6.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 14ms (ActiveRecord: 7.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction 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_3106bbfd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id temporibus eum qui laborum eligendi reprehenderit officia. Soluta qui ea. Libero architecto et maxime. Nulla provident soluta sed suscipit aliquid tempore at.\", \"Ea voluptas non at consequatur. Eum aperiam aut nostrum libero eum. Mollitia vel ut architecto voluptates commodi velit dicta.\"]"], ["created_at", "2014-09-19 00:25:35.428097"], ["name", "contract_3106bbfd"], ["title", "Architecto quam facere numquam."], ["updated_at", "2014-09-19 00:25:35.428097"]]  (31.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3106bbfd"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_3106bbfd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:25:35.468101"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3106bbfd"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3106bbfd"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3106bbfd"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_3106bbfd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:25:35.479161"], ["version", nil]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_a517006e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet sint non quia magni rerum inventore. Inventore aut necessitatibus facere distinctio alias culpa minus. Ex et molestiae quisquam possimus beatae suscipit. Quo dolores assumenda incidunt voluptatem eum. Earum mollitia reprehenderit enim aut et magni at.\", \"Incidunt ullam sint. Est quia neque. Non fuga iure ut dolorem. Necessitatibus rerum eligendi voluptatum debitis error quod. Est saepe qui quia.\"]"], ["created_at", "2014-09-19 00:25:35.489306"], ["name", "contract_a517006e"], ["title", "Quam hic voluptatibus perspiciatis accusantium."], ["updated_at", "2014-09-19 00:25:35.489306"]]  (3.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a517006e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_a517006e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:25:35.496543"], ["version", 1]]  (6.1ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a517006e"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.507579"], ["updated_at", "2014-09-19 00:25:35.507579"]]  (6.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 00:25:35.518484"], ["updated_at", "2014-09-19 00:25:35.518484"], ["user_id", 42], ["user_type", "DummyUser"]]  (4.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_a517006e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.1ms) rollback transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a517006e"]]  (0.0ms) begin transaction 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_6042a220') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis magni quia error provident consectetur voluptas. Culpa tempore unde consequatur harum necessitatibus. Atque sit deserunt dignissimos non rerum. Est adipisci provident. Quasi distinctio neque nihil.\", \"Magnam nostrum ut quisquam perspiciatis. Accusamus magni exercitationem perspiciatis qui nihil. Voluptatem ab distinctio. Ullam autem in consequuntur ab facilis. Libero et ullam amet.\"]"], ["created_at", "2014-09-19 00:25:35.535571"], ["name", "contract_6042a220"], ["title", "Iusto quam officia nihil cupiditate exercitationem et."], ["updated_at", "2014-09-19 00:25:35.535571"]]  (4.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6042a220"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_6042a220') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 00:25:35.544479"], ["version", 1]]  (6.9ms) commit transaction  (0.1ms) begin transaction 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_d73bc08e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem modi culpa. Molestiae temporibus quis non dolor debitis. Amet dolores facere occaecati.\", \"Qui rerum animi at sit pariatur. Ut temporibus dolor velit. Consequuntur et similique in eius.\"]"], ["created_at", "2014-09-19 00:25:35.555147"], ["name", "contract_d73bc08e"], ["title", "Aut earum cupiditate et laborum a."], ["updated_at", "2014-09-19 00:25:35.555147"]]  (3.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d73bc08e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_d73bc08e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 00:25:35.561845"], ["version", 1]]  (6.2ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d73bc08e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_d73bc08e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem modi culpa. Molestiae temporibus quis non dolor debitis. Amet dolores facere occaecati.\", \"Qui rerum animi at sit pariatur. Ut temporibus dolor velit. Consequuntur et similique in eius.\"]"], ["created_at", "2014-09-19 00:25:35.571645"], ["name", "contract_d73bc08e"], ["title", "Aut earum cupiditate et laborum a."], ["updated_at", "2014-09-19 00:25:35.571645"]]  (3.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d73bc08e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_d73bc08e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 00:25:35.579208"], ["version", 2]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.588181"], ["updated_at", "2014-09-19 00:25:35.588181"]]  (6.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.595559"], ["updated_at", "2014-09-19 00:25:35.595559"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_7ff69168') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus architecto quod amet eos rem. Quo dolorem veniam qui nihil debitis. Eveniet sed molestiae. Commodi iusto aliquam. Aut reiciendis nostrum.\", \"Nihil alias voluptatem molestias. Quos enim nobis fugit voluptates. Nesciunt autem et similique. Fugiat voluptatem minus ex voluptas.\"]"], ["created_at", "2014-09-19 00:25:35.604846"], ["name", "contract_7ff69168"], ["title", "Aut tempora quo enim similique eum."], ["updated_at", "2014-09-19 00:25:35.604846"]]  (3.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ff69168"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_7ff69168') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 00:25:35.611577"], ["version", 1]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.619250"], ["updated_at", "2014-09-19 00:25:35.619250"]]  (6.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-19 00:25:35.628296"], ["updated_at", "2014-09-19 00:25:35.628296"], ["user_id", 45], ["user_type", "DummyUser"]]  (3.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.634977"], ["updated_at", "2014-09-19 00:25:35.634977"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.642376"], ["updated_at", "2014-09-19 00:25:35.642376"]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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_c2f1468e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus ipsa veniam molestiae. Perferendis tempore aut velit tenetur accusamus enim provident. Expedita labore id quo qui. Dignissimos laboriosam perferendis non. Nisi tempora nemo.\", \"Voluptas et soluta quia ut id ut est. Et aut magni. Quis possimus fuga numquam excepturi et molestiae. Nulla ducimus error incidunt enim aut molestias aut.\"]"], ["created_at", "2014-09-19 00:25:35.651095"], ["name", "contract_c2f1468e"], ["title", "Neque et illum."], ["updated_at", "2014-09-19 00:25:35.651095"]]  (3.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2f1468e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_c2f1468e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 00:25:35.658202"], ["version", 1]]  (6.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.666332"], ["updated_at", "2014-09-19 00:25:35.666332"]]  (8.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 00:25:35.677713"], ["updated_at", "2014-09-19 00:25:35.677713"], ["user_id", 48], ["user_type", "DummyUser"]]  (3.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.688036"], ["updated_at", "2014-09-19 00:25:35.688036"]]  (129.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.819004"], ["updated_at", "2014-09-19 00:25:35.819004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7686e0a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ratione repellendus ut voluptate. Cupiditate quo eligendi pariatur qui dolores suscipit. Aspernatur sed deserunt id qui. Illo harum rem.\", \"Eveniet hic voluptatem occaecati dignissimos debitis eaque autem. Earum sit perspiciatis. Labore error quia non quam nulla. Temporibus voluptas magnam illum explicabo. Molestiae ullam saepe cupiditate placeat voluptatum cumque.\"]"], ["created_at", "2014-09-19 00:25:35.822608"], ["name", "contract_7686e0a9"], ["title", "Et soluta at ducimus magnam consequatur."], ["updated_at", "2014-09-19 00:25:35.822608"]]  (3.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7686e0a9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_7686e0a9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 00:25:35.829729"], ["version", 1]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.837440"], ["updated_at", "2014-09-19 00:25:35.837440"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 00:25:35.845657"], ["updated_at", "2014-09-19 00:25:35.845657"], ["user_id", 51], ["user_type", "DummyUser"]]  (3.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (3.4ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 5ms (ActiveRecord: 3.7ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.858932"], ["updated_at", "2014-09-19 00:25:35.858932"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.860532"], ["updated_at", "2014-09-19 00:25:35.860532"]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_1b58b928') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio suscipit et id officiis. Aliquid earum veritatis vitae et. Et ut commodi consequatur quisquam sint. Et consequatur dicta numquam maxime quis.\", \"Rerum et libero eum aut et aliquid. Esse quis sit. Asperiores vero facilis aut ratione aperiam quo cupiditate.\"]"], ["created_at", "2014-09-19 00:25:35.869737"], ["name", "contract_1b58b928"], ["title", "Vitae porro qui."], ["updated_at", "2014-09-19 00:25:35.869737"]]  (3.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b58b928"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_1b58b928') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 00:25:35.877347"], ["version", 1]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:25:35.885090"], ["updated_at", "2014-09-19 00:25:35.885090"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 00:25:35.893262"], ["updated_at", "2014-09-19 00:25:35.893262"], ["user_id", 54], ["user_type", "DummyUser"]]  (3.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]]  (1.4ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (8.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.016384"], ["updated_at", "2014-09-19 00:57:00.016384"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.023814"], ["updated_at", "2014-09-19 00:57:00.023814"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_3dc3c91b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum sit minus voluptatibus corporis occaecati consectetur. Exercitationem facilis consequatur aut ut atque rerum iste. Et nulla et atque molestiae voluptatem sit. Placeat mollitia perspiciatis praesentium numquam. Molestiae quia quasi.\", \"Est beatae maxime est enim vero repellendus velit. Optio occaecati accusantium sed commodi minima non. Ut autem excepturi velit ut eos quo. Ut maxime sequi soluta. Facere minus maxime delectus rerum voluptatum nisi.\"]"], ["created_at", "2014-09-19 00:57:00.254947"], ["name", "contract_3dc3c91b"], ["title", "Voluptatem consectetur qui numquam adipisci dicta officia."], ["updated_at", "2014-09-19 00:57:00.254947"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.261427"], ["updated_at", "2014-09-19 00:57:00.261427"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.263656"], ["updated_at", "2014-09-19 00:57:00.263656"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_10e5e6d6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora et dolor voluptas consequatur optio soluta. Voluptas magni quam eum reprehenderit. Eligendi iure sint harum molestiae. Quam perferendis neque rerum.\", \"Sint molestiae quasi repellat illo sed in perspiciatis. Tempora dolorum doloribus. Optio laudantium iusto eos. Eos sit voluptatum. Minus sint dolores.\"]"], ["created_at", "2014-09-19 00:57:00.267148"], ["name", "contract_10e5e6d6"], ["title", "Alias natus amet dolorem sed."], ["updated_at", "2014-09-19 00:57:00.267148"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 2]] SQL (0.8ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 2]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 12ms (ActiveRecord: 1.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 2 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.298725"], ["updated_at", "2014-09-19 00:57:00.298725"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.300610"], ["updated_at", "2014-09-19 00:57:00.300610"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_ac1d5184') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut necessitatibus tempora aliquam. Nulla quo repudiandae iure sed inventore. Dicta deserunt fuga magnam numquam suscipit illo qui. Harum et itaque minus.\", \"Omnis sed voluptates. Porro sed eveniet at sit molestiae. Consequatur id voluptatibus. Et possimus exercitationem esse. Ratione et sint mollitia quod sunt officia ut.\"]"], ["created_at", "2014-09-19 00:57:00.304262"], ["name", "contract_ac1d5184"], ["title", "Magnam qui voluptatem deleniti nulla facilis iure fuga."], ["updated_at", "2014-09-19 00:57:00.304262"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.315386"], ["updated_at", "2014-09-19 00:57:00.315386"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.317218"], ["updated_at", "2014-09-19 00:57:00.317218"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0e3e6682') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti inventore est vitae. Blanditiis maiores aperiam eum. Tenetur odio aut doloremque a est.\", \"Aspernatur et nisi pariatur sint in aut. Nobis reiciendis velit voluptas dolorem. Eveniet debitis consequuntur velit qui ipsam. Id et dolorem explicabo. Unde est optio eos et impedit.\"]"], ["created_at", "2014-09-19 00:57:00.320362"], ["name", "contract_0e3e6682"], ["title", "Vel nostrum voluptas atque necessitatibus accusantium omnis."], ["updated_at", "2014-09-19 00:57:00.320362"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0e3e6682"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_0e3e6682') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 00:57:00.326124"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.333324"], ["updated_at", "2014-09-19 00:57:00.333324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.335084"], ["updated_at", "2014-09-19 00:57:00.335084"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_15757d59') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt laudantium et veniam. Labore dolor ut totam. Harum consequuntur sequi illum eligendi.\", \"Id dicta vitae. Illum et est sint. Nihil enim commodi nam deleniti asperiores quod. Molestiae expedita ut asperiores.\"]"], ["created_at", "2014-09-19 00:57:00.338603"], ["name", "contract_15757d59"], ["title", "Rerum quidem laboriosam error eius."], ["updated_at", "2014-09-19 00:57:00.338603"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.344876"], ["updated_at", "2014-09-19 00:57:00.344876"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.346880"], ["updated_at", "2014-09-19 00:57:00.346880"]]  (3.1ms) commit transaction  (0.1ms) begin transaction 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_cd10fa8b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus quaerat itaque. Officia non vitae. Tenetur dolores consequatur. Sed delectus et ipsa est culpa.\", \"Eius veniam consectetur culpa adipisci. Impedit consequatur debitis. Omnis maiores aspernatur totam. Cupiditate veniam recusandae deleniti voluptas quia.\"]"], ["created_at", "2014-09-19 00:57:00.352265"], ["name", "contract_cd10fa8b"], ["title", "Ullam laudantium beatae qui."], ["updated_at", "2014-09-19 00:57:00.352265"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.355956"], ["updated_at", "2014-09-19 00:57:00.355956"]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.358745"], ["updated_at", "2014-09-19 00:57:00.358745"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc447bce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo distinctio ullam debitis facere nobis itaque blanditiis. Id quidem minima et laudantium provident. Molestias ad qui dicta sit voluptatem enim pariatur. In soluta asperiores earum est distinctio labore.\", \"Cum consequuntur vel dicta dolore et. Amet tempore voluptatem omnis rerum consequatur. Iste vero enim. Voluptatibus quia corrupti dolor ad quam. Hic ut voluptas voluptatem et.\"]"], ["created_at", "2014-09-19 00:57:00.361474"], ["name", "contract_cc447bce"], ["title", "Necessitatibus id minus vel deserunt cumque provident et."], ["updated_at", "2014-09-19 00:57:00.361474"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 7 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 00:57:00.366605"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.373197"], ["updated_at", "2014-09-19 00:57:00.373197"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.374863"], ["updated_at", "2014-09-19 00:57:00.374863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aadba9d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi neque quo aspernatur et architecto aut. Alias facere dicta rerum molestiae. Sequi soluta sunt tempore quo.\", \"Reiciendis laborum et. Odit qui maiores officiis harum mollitia. Nobis vitae sint autem. Vitae repellat accusamus quidem officia doloribus esse.\"]"], ["created_at", "2014-09-19 00:57:00.377727"], ["name", "contract_aadba9d2"], ["title", "Dolores praesentium ad nostrum vitae."], ["updated_at", "2014-09-19 00:57:00.377727"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.381440"], ["updated_at", "2014-09-19 00:57:00.381440"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.383083"], ["updated_at", "2014-09-19 00:57:00.383083"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1cac30d8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit unde ipsa illum asperiores sunt totam dolores. Facere et hic et voluptate sed cumque. Unde iusto aut voluptas. Necessitatibus accusantium quos vel.\", \"Commodi qui cum veritatis. Modi facere optio est sit quia qui dolor. Quas dolor corrupti. Libero sed voluptas.\"]"], ["created_at", "2014-09-19 00:57:00.386090"], ["name", "contract_1cac30d8"], ["title", "Sint magnam architecto nam omnis."], ["updated_at", "2014-09-19 00:57:00.386090"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.389971"], ["updated_at", "2014-09-19 00:57:00.389971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.391666"], ["updated_at", "2014-09-19 00:57:00.391666"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_57363104') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas totam est optio. Corrupti quaerat sed animi necessitatibus omnis quasi ut. Provident dolorum quis et iure perspiciatis et. Exercitationem in esse et enim voluptatem odit aut.\", \"Sunt quasi culpa eaque aut. Sed dolores recusandae consequatur voluptatem. Omnis harum rerum suscipit temporibus praesentium asperiores. Totam est optio. Voluptatem beatae praesentium iusto omnis saepe atque vel.\"]"], ["created_at", "2014-09-19 00:57:00.395616"], ["name", "contract_57363104"], ["title", "Dignissimos sit est."], ["updated_at", "2014-09-19 00:57:00.395616"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.399216"], ["updated_at", "2014-09-19 00:57:00.399216"]]  (5.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.405769"], ["updated_at", "2014-09-19 00:57:00.405769"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_6c3fb38f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit aut enim voluptatem voluptas. Aut ullam esse molestiae doloribus recusandae numquam nobis. Consectetur ipsa aut architecto.\", \"Et omnis ab nostrum qui excepturi dolores consequatur. Autem iusto nobis est voluptatem. In ut rerum reiciendis perspiciatis aliquam qui ad. Unde doloribus eveniet ab qui ut excepturi quia. Molestias fuga iure nostrum atque quibusdam sint nam.\"]"], ["created_at", "2014-09-19 00:57:00.408679"], ["name", "contract_6c3fb38f"], ["title", "In sapiente nam iusto qui animi."], ["updated_at", "2014-09-19 00:57:00.408679"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.415446"], ["updated_at", "2014-09-19 00:57:00.415446"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.417319"], ["updated_at", "2014-09-19 00:57:00.417319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0c8c2d96') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias nisi sit. Corrupti eveniet non id officiis excepturi. Repellendus sunt et minus est. Quasi animi molestias laudantium ea quae qui.\", \"Non aut id unde ullam dolor dicta. Impedit animi magni omnis. Dolore aliquam voluptas reiciendis et repudiandae ipsum natus. Placeat ut et.\"]"], ["created_at", "2014-09-19 00:57:00.420420"], ["name", "contract_0c8c2d96"], ["title", "Quasi iusto eligendi odio consectetur voluptatum sint iure."], ["updated_at", "2014-09-19 00:57:00.420420"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.427570"], ["updated_at", "2014-09-19 00:57:00.427570"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.429685"], ["updated_at", "2014-09-19 00:57:00.429685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e015931b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum rerum ut et modi quos. Consectetur ut necessitatibus. Amet alias veniam ut.\", \"Earum non quisquam quos et eos sed ut. Neque omnis voluptatem ea sapiente. Nobis ex voluptatibus voluptatem. Rerum quis quam.\"]"], ["created_at", "2014-09-19 00:57:00.432472"], ["name", "contract_e015931b"], ["title", "Id et possimus sit itaque similique doloribus."], ["updated_at", "2014-09-19 00:57:00.432472"]]  (2.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e015931b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_e015931b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 00:57:00.439247"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e015931b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.447026"], ["updated_at", "2014-09-19 00:57:00.447026"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.448767"], ["updated_at", "2014-09-19 00:57:00.448767"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_9344d5a8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et culpa accusantium quia blanditiis. Sint ut sed. Cumque voluptatem rem corporis hic ut modi dignissimos.\", \"Dolorem et assumenda. Perferendis ratione omnis est enim. Eos cupiditate voluptate error quia dolorum. Tempora sint voluptate et consectetur. Incidunt necessitatibus quidem velit dolore qui blanditiis.\"]"], ["created_at", "2014-09-19 00:57:00.451747"], ["name", "contract_9344d5a8"], ["title", "Eum aliquid est."], ["updated_at", "2014-09-19 00:57:00.451747"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9344d5a8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_9344d5a8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 00:57:00.458889"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.462943"], ["updated_at", "2014-09-19 00:57:00.462943"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.469638"], ["updated_at", "2014-09-19 00:57:00.469638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4eee1b3e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla sint excepturi iste voluptates esse. Aut et placeat rem quibusdam. Aut ad sapiente blanditiis ut nulla. Asperiores sequi quia dolorum voluptas ut eligendi. Voluptas accusantium animi ipsam enim.\", \"Cumque aperiam consequatur aliquam ut ad. Et ratione temporibus qui nihil magni esse. Ab ratione possimus odio eius.\"]"], ["created_at", "2014-09-19 00:57:00.472236"], ["name", "contract_4eee1b3e"], ["title", "Ratione alias reiciendis autem dolor."], ["updated_at", "2014-09-19 00:57:00.472236"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.475677"], ["updated_at", "2014-09-19 00:57:00.475677"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.477131"], ["updated_at", "2014-09-19 00:57:00.477131"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_840d9f44') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem et odit facilis rerum qui maiores. Unde voluptas reprehenderit et odit. Temporibus ut qui et corporis.\", \"Exercitationem voluptas occaecati veritatis sed velit dicta quas. Quas et aut accusantium incidunt alias maxime voluptate. Ea unde error cum. Maiores quae sed ut dignissimos tempore dolor soluta.\"]"], ["created_at", "2014-09-19 00:57:00.479521"], ["name", "contract_840d9f44"], ["title", "Et ratione est sit."], ["updated_at", "2014-09-19 00:57:00.479521"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.482574"], ["updated_at", "2014-09-19 00:57:00.482574"]]  (5.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.489307"], ["updated_at", "2014-09-19 00:57:00.489307"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_663e6af1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum dolorem quidem molestiae alias harum. Quod dolorum autem perspiciatis consectetur delectus consequatur aspernatur. Quasi est neque iure magnam impedit. Natus sapiente qui incidunt vitae repellendus quae.\", \"Quasi cumque accusantium amet omnis repudiandae. Non et fuga hic. Voluptatibus quaerat laborum corrupti soluta quibusdam ipsum perferendis.\"]"], ["created_at", "2014-09-19 00:57:00.492121"], ["name", "contract_663e6af1"], ["title", "Quo voluptatem quae libero laborum quia."], ["updated_at", "2014-09-19 00:57:00.492121"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_663e6af1"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_663e6af1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 00:57:00.498833"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_663e6af1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_663e6af1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 00:57:00.505870"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.512110"], ["updated_at", "2014-09-19 00:57:00.512110"]]  (7.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.520926"], ["updated_at", "2014-09-19 00:57:00.520926"]]  (5.9ms) commit transaction  (0.0ms) begin transaction 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_f01c7045') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos tempore hic facilis magni aut fuga ad. Aliquam illo incidunt. Accusantium architecto vero harum animi magni est odio. Voluptatibus laudantium ut ut dolor commodi odio sint.\", \"Facere ipsum molestiae sit. At nisi quo dicta asperiores. Voluptatem velit provident. Porro corporis veniam similique. Rerum quod amet ipsa autem voluptatibus adipisci velit.\"]"], ["created_at", "2014-09-19 00:57:00.528983"], ["name", "contract_f01c7045"], ["title", "Itaque qui beatae nemo non cupiditate nam ab."], ["updated_at", "2014-09-19 00:57:00.528983"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f01c7045"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_f01c7045') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 00:57:00.534065"], ["version", 1]]  (5.4ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 5.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.544167"], ["updated_at", "2014-09-19 00:57:00.544167"]]  (7.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.552707"], ["updated_at", "2014-09-19 00:57:00.552707"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.555683"], ["updated_at", "2014-09-19 00:57:00.555683"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.562415"], ["updated_at", "2014-09-19 00:57:00.562415"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_e561ff50') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis est aut ex voluptas ratione velit. Alias quidem cum illum. Corporis voluptas et quo ut porro dolore. Id quod impedit aut accusantium eum cumque dolor.\", \"Blanditiis molestiae rem eaque quia libero. Omnis nemo atque quod. Magnam est quia cumque aperiam quisquam dolor. Impedit rerum placeat. Ab enim dolorem recusandae ducimus debitis.\"]"], ["created_at", "2014-09-19 00:57:00.575267"], ["name", "contract_e561ff50"], ["title", "Soluta quod quis quia laboriosam necessitatibus quasi sit."], ["updated_at", "2014-09-19 00:57:00.575267"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_528adc0b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi quos eos consequatur inventore. Consectetur non dolore facere. Facere ut praesentium. Aut sint dolorum impedit sed exercitationem.\", \"Consectetur asperiores dolorem provident quas consequatur esse. Quasi optio temporibus id qui eligendi velit vitae. Velit ea reprehenderit. Est similique facere dolorum ut dolores.\"]"], ["created_at", "2014-09-19 00:57:00.579343"], ["name", "contract_528adc0b"], ["title", "Voluptatum sed reiciendis."], ["updated_at", "2014-09-19 00:57:00.579343"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_528adc0b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_528adc0b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 00:57:00.582562"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.586787"], ["updated_at", "2014-09-19 00:57:00.586787"]]  (6.1ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non aperiam ex dolores. Repudiandae nihil tenetur nesciunt. Ipsum harum sunt rerum eligendi. Dicta rem sit velit enim error dolores qui.\", \"Atque quo error nesciunt omnis quis. Saepe ab et. Libero et distinctio nesciunt ratione. Voluptatum distinctio iure nihil sapiente rerum nam.\"]"], ["created_at", "2014-09-19 00:57:00.597270"], ["name", "alpha"], ["title", "Et quidem voluptas ea dolor voluptatem aut."], ["updated_at", "2014-09-19 00:57:00.597270"]]  (4.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 00:57:00.605169"], ["version", 1]]  (1.2ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quo ratione. Rerum illum ipsum. Nemo voluptatem non rerum provident dolore.\", \"Quos cumque modi labore vero. Distinctio quisquam natus. Optio commodi minus ex amet rerum molestiae.\"]"], ["created_at", "2014-09-19 00:57:00.609920"], ["name", "beta"], ["title", "Magnam voluptatum labore."], ["updated_at", "2014-09-19 00:57:00.609920"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 00:57:00.617029"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic repudiandae eos dolores. Quia omnis est est impedit ea velit illo. Neque ratione accusantium earum voluptatem est voluptatem esse.\", \"Blanditiis enim nostrum voluptas quos hic maiores. Eum et illum magnam vel explicabo sit rerum. Voluptatem similique aperiam quia praesentium est. Quod beatae accusantium commodi alias atque quibusdam. Vitae autem et esse nihil.\"]"], ["created_at", "2014-09-19 00:57:00.622316"], ["name", "alpha"], ["title", "Voluptatum minima in qui sed voluptas molestias aut."], ["updated_at", "2014-09-19 00:57:00.622316"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 00:57:00.625985"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi asperiores quo ducimus. Odit quos quia. Similique repellat magni. Voluptatibus illo iusto harum. Dolor et rem consectetur nemo quibusdam.\", \"Molestiae veritatis animi veniam incidunt alias id. Tempora quam quia nesciunt ipsum nulla. Aut magni et fugit quo quisquam. Saepe sit sunt optio.\"]"], ["created_at", "2014-09-19 00:57:00.629647"], ["name", "beta"], ["title", "Ut dicta cum."], ["updated_at", "2014-09-19 00:57:00.629647"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 00:57:00.635550"], ["version", 2]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas optio laborum natus. Nobis dolorem sunt voluptate. Sequi excepturi veniam asperiores autem ad ipsum enim. Possimus maxime quidem. Eius impedit omnis nulla id consectetur corporis sequi.\", \"Reiciendis explicabo accusantium molestiae sapiente ipsam non consequuntur. Optio veniam eius ad dolor. Occaecati non ullam amet recusandae. Delectus neque consequatur aspernatur. Magni nam quod.\"]"], ["created_at", "2014-09-19 00:57:00.645292"], ["name", "alpha"], ["title", "Eum nihil saepe et qui sint expedita."], ["updated_at", "2014-09-19 00:57:00.645292"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 00:57:00.648686"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam dicta et molestias facilis ea rerum ipsam. Assumenda sunt qui sit reprehenderit atque dicta. Provident doloremque veritatis aspernatur aut sit. Sed doloribus sapiente odit. Fugit quisquam illo ut dicta quia.\", \"Illo odio consequatur autem. Dolorem saepe doloremque ipsum temporibus omnis. Et eveniet ea vel cumque vel facere. Enim ut alias.\"]"], ["created_at", "2014-09-19 00:57:00.652149"], ["name", "beta"], ["title", "Explicabo et placeat ut."], ["updated_at", "2014-09-19 00:57:00.652149"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 00:57:00.655481"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.658758"], ["updated_at", "2014-09-19 00:57:00.658758"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.660479"], ["updated_at", "2014-09-19 00:57:00.660479"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8395e4db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo fugiat voluptas aut. Earum reiciendis dolor doloremque aut aperiam. Nam sint facilis officia. Vero iusto labore aspernatur voluptas dolorem. Rerum tempore amet nobis consequuntur consequatur.\", \"Maxime qui sit totam. Voluptas consequatur voluptate sint. Sunt debitis illo repudiandae asperiores.\"]"], ["created_at", "2014-09-19 00:57:00.663389"], ["name", "contract_8395e4db"], ["title", "Sed in veritatis iusto quo."], ["updated_at", "2014-09-19 00:57:00.663389"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8395e4db"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_8395e4db') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 00:57:00.666360"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.668708"], ["updated_at", "2014-09-19 00:57:00.668708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 00:57:00.671101"], ["updated_at", "2014-09-19 00:57:00.671101"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.676604"], ["updated_at", "2014-09-19 00:57:00.676604"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.678104"], ["updated_at", "2014-09-19 00:57:00.678104"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_c2b51f34') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit incidunt magnam at. Et qui fuga ea. Quaerat voluptatem quo consequatur velit ipsum explicabo dolorem.\", \"Omnis aut quasi quia aut deleniti sequi. Voluptatibus et culpa dolores velit. Voluptatem et quia. Quo voluptatibus voluptatem iure ipsa labore.\"]"], ["created_at", "2014-09-19 00:57:00.681772"], ["name", "contract_c2b51f34"], ["title", "Et reprehenderit aut repudiandae."], ["updated_at", "2014-09-19 00:57:00.681772"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2b51f34"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_c2b51f34') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 00:57:00.684995"], ["version", 1]]  (3.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.690223"], ["updated_at", "2014-09-19 00:57:00.690223"]]  (2.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 00:57:00.694199"], ["updated_at", "2014-09-19 00:57:00.694199"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.701951"], ["updated_at", "2014-09-19 00:57:00.701951"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.703402"], ["updated_at", "2014-09-19 00:57:00.703402"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a9648d84') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi sint consequatur et sed itaque repellat eos. Nulla id delectus. Repellat est nobis. Officia consequuntur quasi minus laudantium qui quis. Qui nobis id molestias rem est.\", \"Eos dolorem voluptatem. Et placeat rem modi sit. Ratione magnam et.\"]"], ["created_at", "2014-09-19 00:57:00.706284"], ["name", "contract_a9648d84"], ["title", "Omnis eaque dignissimos ut delectus."], ["updated_at", "2014-09-19 00:57:00.706284"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9648d84"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_a9648d84') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 00:57:00.709368"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.712115"], ["updated_at", "2014-09-19 00:57:00.712115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 00:57:00.714224"], ["updated_at", "2014-09-19 00:57:00.714224"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.717379"], ["updated_at", "2014-09-19 00:57:00.717379"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.718811"], ["updated_at", "2014-09-19 00:57:00.718811"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_432f5e73') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ratione rerum illo. Et qui pariatur nostrum rerum laudantium illo. Mollitia ullam voluptas. Molestiae adipisci saepe ipsam est vero ut esse.\", \"Explicabo rerum nihil aspernatur dolor fugit occaecati necessitatibus. Culpa quibusdam quas consequatur itaque et. Reprehenderit sequi ducimus labore accusamus cumque magni.\"]"], ["created_at", "2014-09-19 00:57:00.721820"], ["name", "contract_432f5e73"], ["title", "Vel soluta fuga est blanditiis tempora sit."], ["updated_at", "2014-09-19 00:57:00.721820"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_432f5e73"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_432f5e73') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 00:57:00.724941"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 00:57:00.727366"], ["updated_at", "2014-09-19 00:57:00.727366"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 00:57:00.729487"], ["updated_at", "2014-09-19 00:57:00.729487"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_0486a668') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In ex similique ut dolores nostrum. At quia accusamus nesciunt consequatur nulla ipsum assumenda. Voluptas quia nobis praesentium et. Architecto maiores ipsam non et cum. Aut unde in rem debitis beatae nihil.\", \"Ut ea corporis magni minus distinctio. Est repudiandae et consequatur maxime. Qui maiores saepe quia esse dolorem quas. Necessitatibus doloribus et ut in alias.\"]"], ["created_at", "2014-09-19 00:57:00.736267"], ["name", "contract_0486a668"], ["title", "Ut aut laboriosam nobis."], ["updated_at", "2014-09-19 00:57:00.736267"]]  (2.9ms) commit transaction  (0.0ms) begin transaction 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_43098eb7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit aliquid mollitia esse. Dolorum consectetur nobis hic molestiae. Omnis non quia dolores est non. Optio in aut eaque laboriosam fugit.\", \"Aperiam non et est quisquam dignissimos. Molestiae recusandae sit porro. Est quos neque.\"]"], ["created_at", "2014-09-19 00:57:00.741833"], ["name", "contract_43098eb7"], ["title", "Iusto aperiam vel veritatis dolorem debitis."], ["updated_at", "2014-09-19 00:57:00.741833"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_43098eb7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_43098eb7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 00:57:00.744949"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d73e9b9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste harum quia eveniet. Fugit ad ea. Nisi et quis repellendus ad fugit et.\", \"Quo fuga aut ipsum et maxime in aliquid. Ut deleniti et cumque vero. Architecto iste ab nulla quasi porro. Consequatur dolorem repudiandae tempore recusandae maiores doloremque. Nesciunt et qui enim laboriosam eligendi sequi id.\"]"], ["created_at", "2014-09-19 00:57:00.749371"], ["name", "contract_d73e9b9a"], ["title", "Unde quod amet fugit veniam iste."], ["updated_at", "2014-09-19 00:57:00.749371"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d73e9b9a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_d73e9b9a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 00:57:00.752463"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d73e9b9a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_d73e9b9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste harum quia eveniet. Fugit ad ea. Nisi et quis repellendus ad fugit et.\", \"Quo fuga aut ipsum et maxime in aliquid. Ut deleniti et cumque vero. Architecto iste ab nulla quasi porro. Consequatur dolorem repudiandae tempore recusandae maiores doloremque. Nesciunt et qui enim laboriosam eligendi sequi id.\"]"], ["created_at", "2014-09-19 00:57:00.756054"], ["name", "contract_d73e9b9a"], ["title", "Unde quod amet fugit veniam iste."], ["updated_at", "2014-09-19 00:57:00.756054"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d73e9b9a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_d73e9b9a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 00:57:00.759234"], ["version", 2]]  (5.8ms) commit transaction  (0.1ms) begin transaction 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_782cbf0d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit magni in. Eligendi suscipit ex doloremque odio eius a. Quae nostrum ut omnis cupiditate temporibus aliquid. Alias magni dolores placeat voluptatem. Laborum atque odio voluptatem reprehenderit ut quisquam quo.\", \"Necessitatibus consequatur incidunt quam. Aut ducimus totam reprehenderit eum. Dolores deserunt quo qui ex. Sapiente eaque incidunt tenetur et omnis dolor.\"]"], ["created_at", "2014-09-19 00:57:00.768328"], ["name", "contract_782cbf0d"], ["title", "Reiciendis modi molestiae voluptatem quas qui."], ["updated_at", "2014-09-19 00:57:00.768328"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_782cbf0d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_782cbf0d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 00:57:00.773840"], ["version", 1]]  (6.6ms) commit transaction  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:01.836046"], ["updated_at", "2014-09-19 14:45:01.836046"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:01.843354"], ["updated_at", "2014-09-19 14:45:01.843354"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_24af41c7') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam eius adipisci. Tempora consequatur perferendis consequuntur et id qui deserunt. Qui non consequatur. Quae numquam voluptas est aliquam et repudiandae. Eaque vel quo a quae quia occaecati assumenda.\", \"Repellendus animi ducimus ratione. Esse eos adipisci voluptate dolore. Sint deleniti quia cumque quam ipsa blanditiis est.\"]"], ["created_at", "2014-09-19 14:45:02.120555"], ["name", "contract_24af41c7"], ["title", "Illo qui maxime tempore perferendis."], ["updated_at", "2014-09-19 14:45:02.120555"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24af41c7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_24af41c7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 14:45:02.141011"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.148714"], ["updated_at", "2014-09-19 14:45:02.148714"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.150544"], ["updated_at", "2014-09-19 14:45:02.150544"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0d27a788') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut eum perferendis in deleniti. Rerum ut facilis. Unde illo adipisci tempora optio ut doloribus non.\", \"Vero itaque quis porro odit. Qui animi illum ea optio eos adipisci tenetur. Aut dolorem nam sit.\"]"], ["created_at", "2014-09-19 14:45:02.153690"], ["name", "contract_0d27a788"], ["title", "Consequatur et blanditiis doloremque aut saepe."], ["updated_at", "2014-09-19 14:45:02.153690"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.157305"], ["updated_at", "2014-09-19 14:45:02.157305"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.158942"], ["updated_at", "2014-09-19 14:45:02.158942"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1f97d755') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur a accusantium. Voluptate iure et et. Ratione cum qui. Voluptas nobis voluptatem aliquam eaque molestiae. Consectetur officiis sed.\", \"Quis similique a architecto eius. Sit et atque aut voluptatem. Molestias rem omnis repellat distinctio sit non.\"]"], ["created_at", "2014-09-19 14:45:02.161704"], ["name", "contract_1f97d755"], ["title", "Doloremque sapiente quae iusto incidunt consequuntur debitis."], ["updated_at", "2014-09-19 14:45:02.161704"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 14:45:02.171063"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 14:45:02.171063"]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts/4 Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.177554"], ["updated_at", "2014-09-19 14:45:02.177554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.179471"], ["updated_at", "2014-09-19 14:45:02.179471"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_24ff0007') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem repellendus quis. Maiores harum mollitia eum. Pariatur rem nobis. Modi quia tempora soluta. Illum consequatur quos dicta delectus repellat mollitia atque.\", \"Non rerum cupiditate commodi mollitia in rem vel. Earum itaque excepturi. Quidem quos possimus. Hic sapiente neque.\"]"], ["created_at", "2014-09-19 14:45:02.182710"], ["name", "contract_24ff0007"], ["title", "Minima dolores enim ducimus vitae nihil."], ["updated_at", "2014-09-19 14:45:02.182710"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.186259"], ["updated_at", "2014-09-19 14:45:02.186259"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.188023"], ["updated_at", "2014-09-19 14:45:02.188023"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5704e9d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis et quaerat sed voluptatem quisquam. Hic recusandae ipsam minus et. Aliquam vel et sit itaque omnis consequatur voluptatem. Rem recusandae ad eos eaque quasi nostrum.\", \"Quia qui aliquid et voluptatem neque. Consectetur vitae dolor adipisci ullam exercitationem blanditiis. Id rerum est. Omnis vel possimus fugit id ut accusantium. Quia voluptatibus possimus delectus.\"]"], ["created_at", "2014-09-19 14:45:02.190914"], ["name", "contract_5704e9d9"], ["title", "Distinctio et non sit saepe inventore odio ad."], ["updated_at", "2014-09-19 14:45:02.190914"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.194347"], ["updated_at", "2014-09-19 14:45:02.194347"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.195892"], ["updated_at", "2014-09-19 14:45:02.195892"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_baefa771') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur et delectus ad aspernatur at est eius. Quibusdam repellendus esse. Ut necessitatibus esse voluptatem nam omnis ex. Error eius qui repellat.\", \"Optio quia consequatur aut quaerat incidunt possimus. Et numquam repellendus. Asperiores cupiditate velit aliquam non.\"]"], ["created_at", "2014-09-19 14:45:02.200537"], ["name", "contract_baefa771"], ["title", "Aut omnis modi fugit quae."], ["updated_at", "2014-09-19 14:45:02.200537"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.204105"], ["updated_at", "2014-09-19 14:45:02.204105"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.205675"], ["updated_at", "2014-09-19 14:45:02.205675"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7af9e2f9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum quasi inventore quidem consequatur quos omnis. Et animi pariatur praesentium nihil ullam. Recusandae ut numquam soluta quia nam molestias ullam. Quibusdam officiis eos et error illum. Labore modi eum molestiae possimus et eius.\", \"Et vero odio ex nihil. Est iure rem fuga blanditiis cumque nemo facilis. Distinctio deleniti fugit vitae dolores.\"]"], ["created_at", "2014-09-19 14:45:02.208405"], ["name", "contract_7af9e2f9"], ["title", "Molestiae in consequatur iste earum reprehenderit deleniti est."], ["updated_at", "2014-09-19 14:45:02.208405"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7af9e2f9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_7af9e2f9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 14:45:02.212133"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7af9e2f9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_7af9e2f9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 14:45:02.219263"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.223820"], ["updated_at", "2014-09-19 14:45:02.223820"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.225616"], ["updated_at", "2014-09-19 14:45:02.225616"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3574b218') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta eos facere est. Dolores repellendus in eum dolorem. Animi ut nobis omnis. In labore unde maiores dolores nostrum quasi sit. Nesciunt autem earum.\", \"Neque ut non et est voluptas. Ea consequatur omnis nihil ullam. Enim ratione similique aut.\"]"], ["created_at", "2014-09-19 14:45:02.228501"], ["name", "contract_3574b218"], ["title", "Repudiandae soluta laborum consequatur eaque magni."], ["updated_at", "2014-09-19 14:45:02.228501"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.233006"], ["updated_at", "2014-09-19 14:45:02.233006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.234530"], ["updated_at", "2014-09-19 14:45:02.234530"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ed6c8d25') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At tempora rem adipisci est aperiam qui. Quia ut pariatur non facere placeat. Qui voluptatum quo. Dolores hic fugit nulla ipsam qui maiores consequatur. Voluptatem quasi quaerat voluptatem.\", \"Deleniti quo voluptates. Inventore sequi eum asperiores ut eaque sed consequatur. Mollitia vel voluptate.\"]"], ["created_at", "2014-09-19 14:45:02.237140"], ["name", "contract_ed6c8d25"], ["title", "Doloribus ab debitis tempore nihil ea."], ["updated_at", "2014-09-19 14:45:02.237140"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.250844"], ["updated_at", "2014-09-19 14:45:02.250844"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.253371"], ["updated_at", "2014-09-19 14:45:02.253371"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_42229405') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem reprehenderit aut magni sit a amet aliquid. Voluptatem temporibus tempora aperiam omnis. Vel accusantium voluptatem dignissimos quas officia quibusdam.\", \"Amet eveniet nisi est dolor esse minima. Sapiente provident deserunt nisi in et. Tempore totam vel tenetur incidunt numquam excepturi cum. Est et ipsam quas.\"]"], ["created_at", "2014-09-19 14:45:02.257622"], ["name", "contract_42229405"], ["title", "Consequuntur atque aut dolore deserunt ab quis repudiandae."], ["updated_at", "2014-09-19 14:45:02.257622"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.261255"], ["updated_at", "2014-09-19 14:45:02.261255"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.263261"], ["updated_at", "2014-09-19 14:45:02.263261"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f0725636') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis eos dolorem. Perferendis magnam illo at. Praesentium eum dolorem sit qui reiciendis.\", \"Voluptatum reprehenderit at eius nisi dicta numquam voluptatem. Quae et et sed odit suscipit. Maxime natus aut et pariatur hic sed consequatur. Est et dolor veniam assumenda est. Occaecati ratione assumenda unde.\"]"], ["created_at", "2014-09-19 14:45:02.266465"], ["name", "contract_f0725636"], ["title", "Velit aut autem consequatur voluptatem odio exercitationem eius."], ["updated_at", "2014-09-19 14:45:02.266465"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.274333"], ["updated_at", "2014-09-19 14:45:02.274333"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.276048"], ["updated_at", "2014-09-19 14:45:02.276048"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d92d4bb0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sint atque temporibus aut. Autem repudiandae blanditiis velit. Minima expedita nulla harum voluptatum. Ut voluptatem possimus voluptatum dicta reiciendis neque.\", \"Non sit aut. Aut aut voluptatem nisi accusantium voluptatibus quia ea. Corrupti quibusdam amet aut. Animi totam assumenda velit quia voluptate omnis. Eligendi sit perspiciatis eos deleniti eum qui inventore.\"]"], ["created_at", "2014-09-19 14:45:02.278861"], ["name", "contract_d92d4bb0"], ["title", "Quia animi eaque est magni repellendus."], ["updated_at", "2014-09-19 14:45:02.278861"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d92d4bb0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d92d4bb0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 14:45:02.284601"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.289620"], ["updated_at", "2014-09-19 14:45:02.289620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.291174"], ["updated_at", "2014-09-19 14:45:02.291174"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_5ded9714') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt alias est quaerat est architecto et dolorem. Iure ex nemo alias sed. Culpa mollitia qui pariatur hic maiores. Possimus aut eum iste voluptatibus ex molestiae omnis. Omnis modi sed voluptas distinctio.\", \"Neque et possimus non inventore pariatur debitis. Est odit vero sit. Non delectus tempora unde nisi possimus.\"]"], ["created_at", "2014-09-19 14:45:02.294085"], ["name", "contract_5ded9714"], ["title", "Voluptas architecto neque rerum perspiciatis repellat amet consequatur."], ["updated_at", "2014-09-19 14:45:02.294085"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.298082"], ["updated_at", "2014-09-19 14:45:02.298082"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.299981"], ["updated_at", "2014-09-19 14:45:02.299981"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_fc1d7de1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed praesentium autem. Neque dolor ea deserunt. Debitis quia nihil ullam consequatur temporibus sed. Quaerat reiciendis consequatur ut omnis. Quam sunt quia blanditiis recusandae.\", \"Qui voluptas id minus ad laboriosam. Ullam itaque eum dolorum quis iusto. Est quas et sit totam labore ab ducimus. Adipisci rerum dolores fuga aut laborum quae voluptatem. Fuga fugit sapiente molestiae consequuntur sint.\"]"], ["created_at", "2014-09-19 14:45:02.303130"], ["name", "contract_fc1d7de1"], ["title", "Ipsum nostrum consequatur."], ["updated_at", "2014-09-19 14:45:02.303130"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fc1d7de1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_fc1d7de1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 14:45:02.307496"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.311412"], ["updated_at", "2014-09-19 14:45:02.311412"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.312936"], ["updated_at", "2014-09-19 14:45:02.312936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_07e85fb7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia hic eum quae iusto. Commodi autem blanditiis et doloribus aut rerum. Nisi ut voluptatem placeat explicabo nulla.\", \"Similique voluptatem voluptas qui sit itaque enim. Perferendis quibusdam natus voluptas sit omnis sed. Dolores et ratione in enim sequi eum. Voluptas inventore mollitia.\"]"], ["created_at", "2014-09-19 14:45:02.315682"], ["name", "contract_07e85fb7"], ["title", "Eum ut facilis harum minima."], ["updated_at", "2014-09-19 14:45:02.315682"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.321858"], ["updated_at", "2014-09-19 14:45:02.321858"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.323475"], ["updated_at", "2014-09-19 14:45:02.323475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5bee819f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod vel sit molestiae amet eveniet. Excepturi mollitia consequatur ab dicta rerum autem occaecati. Repellat placeat est et in minus fugiat. Pariatur aperiam quo distinctio quia sunt.\", \"Non quae placeat est vel quod eligendi. Provident officiis id explicabo. Dolorum et nostrum tempore. Impedit et deleniti maxime qui. Odit quae dolorum.\"]"], ["created_at", "2014-09-19 14:45:02.326173"], ["name", "contract_5bee819f"], ["title", "Odio et est deserunt."], ["updated_at", "2014-09-19 14:45:02.326173"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.339046"], ["updated_at", "2014-09-19 14:45:02.339046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.340745"], ["updated_at", "2014-09-19 14:45:02.340745"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cd904191') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem enim et quis sequi nemo quo. Quos iusto corporis. Dolorum beatae sunt exercitationem voluptatem. Maxime blanditiis deleniti officia repudiandae molestias nemo illo.\", \"Aut ut officiis ut ullam. Maxime maiores magni ea non. Consequatur a rem dolorum repudiandae vitae excepturi. Ad voluptas provident.\"]"], ["created_at", "2014-09-19 14:45:02.343504"], ["name", "contract_cd904191"], ["title", "Qui sunt et maiores voluptatem similique quis voluptas."], ["updated_at", "2014-09-19 14:45:02.343504"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.349658"], ["updated_at", "2014-09-19 14:45:02.349658"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.351300"], ["updated_at", "2014-09-19 14:45:02.351300"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e8f583c8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur ut doloremque et officia sunt. Nam qui minima et. Saepe rerum ipsam. Nobis cum odit aperiam eligendi inventore a.\", \"Sequi dolore ad quis. Qui doloremque est. Fugiat dolores occaecati iste soluta voluptas. Ut qui nesciunt dolore. Autem magnam nihil alias dolor.\"]"], ["created_at", "2014-09-19 14:45:02.353954"], ["name", "contract_e8f583c8"], ["title", "Quisquam id nesciunt possimus reiciendis."], ["updated_at", "2014-09-19 14:45:02.353954"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8f583c8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_e8f583c8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 14:45:02.357354"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e8f583c8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction 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_5d92926e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia modi necessitatibus. Eos omnis perferendis consequuntur enim molestiae maxime iste. Omnis aut est repudiandae nulla tempora sit aliquid. Tempora id quae earum odit et blanditiis ut. Necessitatibus doloribus et aliquam ab.\", \"Assumenda sequi a ab dolorem doloremque. Voluptas libero illum placeat minima et nihil. Excepturi sit maxime dolore quos.\"]"], ["created_at", "2014-09-19 14:45:02.366973"], ["name", "contract_5d92926e"], ["title", "Accusamus recusandae ipsa est ratione illo."], ["updated_at", "2014-09-19 14:45:02.366973"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d92926e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_5d92926e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 14:45:02.370184"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.375467"], ["updated_at", "2014-09-19 14:45:02.375467"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_0627d87f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati sint tenetur nesciunt ullam et. Excepturi exercitationem quisquam est. Quis quos nobis quasi. Necessitatibus sit quaerat sed fuga.\", \"Ut non sit. In repudiandae consectetur non ratione. Nihil qui assumenda animi.\"]"], ["created_at", "2014-09-19 14:45:02.381107"], ["name", "contract_0627d87f"], ["title", "Culpa non numquam."], ["updated_at", "2014-09-19 14:45:02.381107"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_bf632143') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum earum cupiditate doloremque. Voluptatibus repellendus consequatur hic et earum quaerat. At fugit et sint minima nihil nihil. Odit et ut.\", \"In voluptatum et quo. Molestiae vel autem sed architecto aut nulla. Nulla voluptatem vel excepturi. Occaecati iste placeat necessitatibus.\"]"], ["created_at", "2014-09-19 14:45:02.389281"], ["name", "contract_bf632143"], ["title", "Nihil ipsa quia sunt ducimus et rerum rem."], ["updated_at", "2014-09-19 14:45:02.389281"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bf632143"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_bf632143') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 14:45:02.392718"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8e730e7f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis libero voluptas et quaerat eius ut sed. Optio tempore consequatur. Est adipisci voluptatem itaque nam. Eos enim perferendis possimus a error quis unde.\", \"Voluptatum sed dolore velit eos ea doloremque. Delectus mollitia est dolores perferendis. Et non ut aliquid dolores.\"]"], ["created_at", "2014-09-19 14:45:02.396665"], ["name", "contract_8e730e7f"], ["title", "Corporis sint eos vitae voluptas voluptates ad."], ["updated_at", "2014-09-19 14:45:02.396665"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8e730e7f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_8e730e7f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 14:45:02.399736"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_01bc363e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo iste porro eaque ut et magnam dolorum. Placeat expedita perspiciatis molestias. Ab officiis aliquam id pariatur harum veritatis. Consequatur enim soluta.\", \"Qui tenetur quibusdam aliquam ex aperiam vitae velit. Molestias illum et voluptas. Iste dolorum corporis debitis. Dolore ea placeat possimus saepe quis repudiandae architecto.\"]"], ["created_at", "2014-09-19 14:45:02.403434"], ["name", "contract_01bc363e"], ["title", "Molestiae voluptatum ipsam reiciendis dolores qui."], ["updated_at", "2014-09-19 14:45:02.403434"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_83a8912a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem mollitia consequuntur. Ut vel perferendis dolorum aut blanditiis. Quos modi fuga. Repudiandae sit aut animi mollitia voluptatibus cum. Quia mollitia aperiam quas voluptate ullam voluptas.\", \"Velit consequuntur dolorem ipsa maiores facilis facere. Neque sequi non at voluptate. Qui odio ab hic nemo nobis.\"]"], ["created_at", "2014-09-19 14:45:02.406399"], ["name", "contract_83a8912a"], ["title", "Aut voluptatum optio excepturi."], ["updated_at", "2014-09-19 14:45:02.406399"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83a8912a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_83a8912a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 14:45:02.409419"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_83a8912a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_83a8912a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem mollitia consequuntur. Ut vel perferendis dolorum aut blanditiis. Quos modi fuga. Repudiandae sit aut animi mollitia voluptatibus cum. Quia mollitia aperiam quas voluptate ullam voluptas.\", \"Velit consequuntur dolorem ipsa maiores facilis facere. Neque sequi non at voluptate. Qui odio ab hic nemo nobis.\"]"], ["created_at", "2014-09-19 14:45:02.412985"], ["name", "contract_83a8912a"], ["title", "Aut voluptatum optio excepturi."], ["updated_at", "2014-09-19 14:45:02.412985"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83a8912a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_83a8912a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 14:45:02.416249"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.419488"], ["updated_at", "2014-09-19 14:45:02.419488"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.421002"], ["updated_at", "2014-09-19 14:45:02.421002"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.430671"], ["updated_at", "2014-09-19 14:45:02.430671"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.432291"], ["updated_at", "2014-09-19 14:45:02.432291"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates laboriosam sint optio laudantium eaque exercitationem. Eum veniam numquam eius deserunt autem voluptatum voluptas. Quo consequatur nihil expedita tempore rerum eum a.\", \"Quo doloribus quia. Magni reprehenderit eos sint sed odit. Molestias quas enim neque ut minima necessitatibus. Cum omnis officiis est.\"]"], ["created_at", "2014-09-19 14:45:02.436325"], ["name", "alpha"], ["title", "Voluptas itaque et."], ["updated_at", "2014-09-19 14:45:02.436325"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 14:45:02.439515"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas labore fugit quam in iusto optio. Sunt maiores soluta nulla placeat beatae. Qui voluptates libero sit.\", \"Dicta est et quia ab autem minima in. Veniam doloribus ad optio. Aliquam vero ratione sed veniam voluptas qui dicta.\"]"], ["created_at", "2014-09-19 14:45:02.444264"], ["name", "beta"], ["title", "Corporis laudantium et ut omnis."], ["updated_at", "2014-09-19 14:45:02.444264"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 14:45:02.448007"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque adipisci tempore sunt tenetur. Neque perspiciatis molestiae repellendus eum velit ullam. Molestiae ex libero.\", \"Iste et voluptatibus provident non. Dolor voluptates modi omnis illum qui. Ea vero alias voluptates. Iste molestiae ut praesentium. In ut vel ut eligendi ut beatae molestiae.\"]"], ["created_at", "2014-09-19 14:45:02.451797"], ["name", "alpha"], ["title", "Inventore deleniti minima minus."], ["updated_at", "2014-09-19 14:45:02.451797"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 14:45:02.455144"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et tempore vitae voluptates. Est labore cupiditate ex. Eveniet eos odio alias harum itaque blanditiis. Beatae nihil quas voluptas ratione explicabo. Qui culpa eos quia.\", \"Et voluptate eum nostrum quidem quos commodi. Magni animi atque. Deleniti ut sit ratione quisquam. Optio deleniti dolor ratione. Optio dolores commodi omnis quidem ea vel et.\"]"], ["created_at", "2014-09-19 14:45:02.458694"], ["name", "beta"], ["title", "Sed omnis animi laborum aut repellendus maxime."], ["updated_at", "2014-09-19 14:45:02.458694"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 14:45:02.461819"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est non temporibus sint corporis exercitationem totam. Qui vel debitis est. Consequatur iste assumenda corporis qui asperiores suscipit earum.\", \"Qui tenetur iure laudantium voluptatibus. Laboriosam odio aut quia voluptatum et tenetur. Iusto ut blanditiis laborum et ut repellendus quos. Occaecati ut natus et aut corporis sunt.\"]"], ["created_at", "2014-09-19 14:45:02.466514"], ["name", "alpha"], ["title", "Excepturi sunt tempore voluptatem velit vitae libero quis."], ["updated_at", "2014-09-19 14:45:02.466514"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 14:45:02.469575"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas ducimus voluptas eos ut consequuntur. Et quia qui doloribus amet est. Et omnis aperiam.\", \"Velit aliquid saepe nisi qui praesentium. Et quae tenetur iusto dolor non et consectetur. At omnis eum ex. Sapiente perferendis laboriosam asperiores quidem aut.\"]"], ["created_at", "2014-09-19 14:45:02.473024"], ["name", "beta"], ["title", "Reiciendis sapiente aliquid consequuntur iusto aut blanditiis praesentium."], ["updated_at", "2014-09-19 14:45:02.473024"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 14:45:02.476084"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.479275"], ["updated_at", "2014-09-19 14:45:02.479275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.480769"], ["updated_at", "2014-09-19 14:45:02.480769"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3bff420e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat cupiditate non. Maxime odit tenetur quis nihil aut officiis. Qui debitis quam perferendis autem dolorem quia.\", \"Qui rerum architecto consequatur totam a sint. Aut alias voluptatibus id dolor. Vel rerum sint unde sed accusamus cum. Pariatur eligendi enim. Ea eum at.\"]"], ["created_at", "2014-09-19 14:45:02.483963"], ["name", "contract_3bff420e"], ["title", "Molestias et voluptatem ex animi unde."], ["updated_at", "2014-09-19 14:45:02.483963"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3bff420e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_3bff420e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 14:45:02.487035"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.489533"], ["updated_at", "2014-09-19 14:45:02.489533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 14:45:02.491929"], ["updated_at", "2014-09-19 14:45:02.491929"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.502501"], ["updated_at", "2014-09-19 14:45:02.502501"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.504214"], ["updated_at", "2014-09-19 14:45:02.504214"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_076e127f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis pariatur molestias odio commodi. Aut quia magnam ullam nostrum odit. Explicabo est deleniti provident adipisci voluptatem. Quis eligendi consectetur dolores sed quos expedita. Dicta ea esse corporis et natus.\", \"Id et error. Voluptatem nam minima eum. Consequatur iure laudantium. Facere et rerum optio quo sed dicta. Quisquam doloribus laborum dolor eum aliquam velit.\"]"], ["created_at", "2014-09-19 14:45:02.507896"], ["name", "contract_076e127f"], ["title", "Itaque aperiam ipsam vero eum beatae enim ut."], ["updated_at", "2014-09-19 14:45:02.507896"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_076e127f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_076e127f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 14:45:02.511074"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.513660"], ["updated_at", "2014-09-19 14:45:02.513660"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 14:45:02.516373"], ["updated_at", "2014-09-19 14:45:02.516373"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.523735"], ["updated_at", "2014-09-19 14:45:02.523735"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.525626"], ["updated_at", "2014-09-19 14:45:02.525626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e92665c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam laborum aut. Deserunt a non. Doloribus repellat dolorem distinctio. Ut corporis in consectetur quia.\", \"Harum suscipit rerum. Accusantium consequatur ab. Quia voluptas laboriosam autem. Iste voluptatem vel corrupti commodi repellendus et. Voluptate exercitationem doloribus sed.\"]"], ["created_at", "2014-09-19 14:45:02.528949"], ["name", "contract_e92665c4"], ["title", "Ab incidunt laboriosam voluptates dolor aut consectetur velit."], ["updated_at", "2014-09-19 14:45:02.528949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e92665c4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_e92665c4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 14:45:02.532122"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.534645"], ["updated_at", "2014-09-19 14:45:02.534645"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 14:45:02.537175"], ["updated_at", "2014-09-19 14:45:02.537175"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.540549"], ["updated_at", "2014-09-19 14:45:02.540549"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.542097"], ["updated_at", "2014-09-19 14:45:02.542097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1861323b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aliquid eius. Natus molestiae a velit numquam. Iure voluptates unde ea et.\", \"Aut et tempora nesciunt et dolore non veniam. Delectus ullam voluptatem eos numquam. Itaque id temporibus tempora a.\"]"], ["created_at", "2014-09-19 14:45:02.545125"], ["name", "contract_1861323b"], ["title", "Inventore ipsum qui eos officiis accusamus qui."], ["updated_at", "2014-09-19 14:45:02.545125"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1861323b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_1861323b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 14:45:02.548807"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:45:02.551435"], ["updated_at", "2014-09-19 14:45:02.551435"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 14:45:02.553764"], ["updated_at", "2014-09-19 14:45:02.553764"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.5ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (10.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (6.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (6.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (6.5ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (7.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:02.895810"], ["updated_at", "2014-09-19 14:48:02.895810"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:02.903673"], ["updated_at", "2014-09-19 14:48:02.903673"]]  (7.9ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:02.934938"], ["updated_at", "2014-09-19 14:48:02.934938"]]  (7.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:02.943923"], ["updated_at", "2014-09-19 14:48:02.943923"]]  (1.1ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis non sit est quis delectus dicta. Suscipit dolores nulla illum qui. Modi quasi voluptate quia labore pariatur.\", \"Quibusdam minima ullam iste facilis voluptatum. Ut at sit quod. Ea error in. Praesentium facilis omnis necessitatibus et eligendi consequuntur tempore.\"]"], ["created_at", "2014-09-19 14:48:03.188075"], ["name", "alpha"], ["title", "Ut sunt eius voluptates."], ["updated_at", "2014-09-19 14:48:03.188075"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 14:48:03.199934"], ["version", 1]]  (6.1ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti quis consequatur ipsam cum voluptatem est. Pariatur rem enim magni doloremque. Voluptatem est aut ut. Qui amet nihil dignissimos impedit reprehenderit qui velit. Iste doloremque accusantium praesentium consequatur consequatur voluptatibus eaque.\", \"Laboriosam dolorum eos minima. Doloribus dolor aut dicta voluptatem aut ut vel. Quisquam impedit dolore dignissimos ea omnis pariatur blanditiis.\"]"], ["created_at", "2014-09-19 14:48:03.212806"], ["name", "beta"], ["title", "Aut aut eos et."], ["updated_at", "2014-09-19 14:48:03.212806"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 14:48:03.219930"], ["version", 1]]  (6.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam voluptate ipsa rem necessitatibus culpa. Dicta ducimus veniam. Exercitationem dolorum voluptatum deserunt ad eveniet hic natus. Excepturi aliquam architecto id.\", \"Eum ut est rerum. Iste velit rem et accusamus. Deleniti minus repudiandae nisi ut porro est totam.\"]"], ["created_at", "2014-09-19 14:48:03.230798"], ["name", "alpha"], ["title", "Molestias aut sequi sed architecto praesentium."], ["updated_at", "2014-09-19 14:48:03.230798"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 14:48:03.237643"], ["version", 2]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non delectus vel nam. Veritatis sed ab ut sit nulla est iure. Cumque officiis sunt.\", \"Sit porro repellendus optio consectetur aperiam eum. Deleniti sed impedit repudiandae. Veniam id eius.\"]"], ["created_at", "2014-09-19 14:48:03.247283"], ["name", "beta"], ["title", "Tempore consequatur expedita mollitia sit rerum autem architecto."], ["updated_at", "2014-09-19 14:48:03.247283"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 14:48:03.254241"], ["version", 2]]  (1.4ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem consequuntur dolor sit dolores incidunt. Ducimus libero qui earum inventore vitae. Excepturi qui ut aut. Nemo explicabo eius voluptas. Aut tenetur et voluptatem et earum.\", \"Dignissimos minus reprehenderit molestiae quibusdam. Velit quibusdam dolor eos odio. Tempore sunt quaerat nobis repudiandae est. Libero aliquam sed aliquid officia ipsam deleniti excepturi.\"]"], ["created_at", "2014-09-19 14:48:03.260338"], ["name", "alpha"], ["title", "Consequatur culpa iste deserunt unde iure."], ["updated_at", "2014-09-19 14:48:03.260338"]]  (3.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 14:48:03.268348"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit nostrum sit. Suscipit voluptatem explicabo laudantium debitis. Voluptates quia recusandae. Voluptatem sunt culpa architecto autem.\", \"Quia ut recusandae est quis vero vel non. Reiciendis dolorem unde nesciunt autem nobis sit magni. Et non qui dolorem adipisci ad illum. Earum minima impedit molestiae magni itaque.\"]"], ["created_at", "2014-09-19 14:48:03.273121"], ["name", "beta"], ["title", "Nobis nisi animi qui cum iusto rerum."], ["updated_at", "2014-09-19 14:48:03.273121"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 14:48:03.280010"], ["version", 3]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.289516"], ["updated_at", "2014-09-19 14:48:03.289516"]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.297131"], ["updated_at", "2014-09-19 14:48:03.297131"]]  (8.5ms) commit transaction  (0.1ms) begin transaction 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_d5a70f55') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque dolor perspiciatis est. Dolorem dolor voluptas voluptates ut. Qui ea beatae et qui voluptatem maiores.\", \"Porro fugit ipsum et consequatur ad. Et aliquam hic laborum eos sunt totam neque. Nisi dolores architecto reiciendis aut laborum illo neque. Omnis facilis consequuntur.\"]"], ["created_at", "2014-09-19 14:48:03.310428"], ["name", "contract_d5a70f55"], ["title", "Hic quis expedita mollitia exercitationem iure."], ["updated_at", "2014-09-19 14:48:03.310428"]]  (4.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d5a70f55"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d5a70f55') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 14:48:03.318930"], ["version", 1]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.329397"], ["updated_at", "2014-09-19 14:48:03.329397"]]  (6.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 14:48:03.338451"], ["updated_at", "2014-09-19 14:48:03.338451"], ["user_id", 7], ["user_type", "DummyUser"]]  (3.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.348248"], ["updated_at", "2014-09-19 14:48:03.348248"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.355413"], ["updated_at", "2014-09-19 14:48:03.355413"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3d50ca5c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis et temporibus nobis rerum doloremque recusandae. Eum a sequi et delectus. Officiis nobis autem. Delectus quod magni voluptas suscipit earum excepturi et. Vel aperiam quod ut et qui.\", \"Sapiente voluptate quasi. Voluptatem officia eos est cum dolorem et. Qui rerum aut et fuga a.\"]"], ["created_at", "2014-09-19 14:48:03.359054"], ["name", "contract_3d50ca5c"], ["title", "Nesciunt aut eligendi ut et vitae id nemo."], ["updated_at", "2014-09-19 14:48:03.359054"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d50ca5c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_3d50ca5c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 14:48:03.365040"], ["version", 1]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.373370"], ["updated_at", "2014-09-19 14:48:03.373370"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 14:48:03.381926"], ["updated_at", "2014-09-19 14:48:03.381926"], ["user_id", 10], ["user_type", "DummyUser"]]  (3.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.393110"], ["updated_at", "2014-09-19 14:48:03.393110"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.400657"], ["updated_at", "2014-09-19 14:48:03.400657"]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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_33acca05') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum pariatur ut. Accusamus possimus praesentium et ullam quaerat quas. Itaque illum qui culpa. Harum corporis ut. Quasi voluptatem consequatur.\", \"Voluptas maiores soluta aspernatur voluptatum quia sunt. Maiores deserunt nisi ea aperiam. Suscipit quis qui placeat quod consequatur nemo. Earum ut voluptatum.\"]"], ["created_at", "2014-09-19 14:48:03.410841"], ["name", "contract_33acca05"], ["title", "Dolor ut et doloremque."], ["updated_at", "2014-09-19 14:48:03.410841"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_33acca05"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_33acca05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 14:48:03.417524"], ["version", 1]]  (6.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.426584"], ["updated_at", "2014-09-19 14:48:03.426584"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 14:48:03.435525"], ["updated_at", "2014-09-19 14:48:03.435525"], ["user_id", 13], ["user_type", "DummyUser"]]  (3.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (3.9ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 7ms (ActiveRecord: 4.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.453271"], ["updated_at", "2014-09-19 14:48:03.453271"]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.460850"], ["updated_at", "2014-09-19 14:48:03.460850"]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_9864fcc5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi error minus quisquam ut vero. Laboriosam quis dolor. Ea ad ab recusandae ipsam in et.\", \"Cum iste ut velit dolore est omnis. Incidunt dolor neque velit deserunt officiis. Fugiat sit sed est blanditiis autem molestiae. Voluptatibus ut est eveniet est a ut ex. Nostrum qui animi nesciunt architecto.\"]"], ["created_at", "2014-09-19 14:48:03.471093"], ["name", "contract_9864fcc5"], ["title", "Magni harum aut unde rerum nostrum totam."], ["updated_at", "2014-09-19 14:48:03.471093"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9864fcc5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_9864fcc5') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 14:48:03.477914"], ["version", 1]]  (6.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.486653"], ["updated_at", "2014-09-19 14:48:03.486653"]]  (6.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 14:48:03.495318"], ["updated_at", "2014-09-19 14:48:03.495318"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction 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_92ff00e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore ut praesentium delectus magni consequatur. Ea aspernatur incidunt quibusdam sit quis voluptatem. Accusantium illo cumque adipisci sunt voluptatem. Voluptatem dolorum omnis. Eum et velit reiciendis libero et.\", \"Itaque quia laudantium eligendi quibusdam recusandae fugiat. Quam et sapiente qui expedita consequuntur. Ipsam accusantium et a consequatur fugiat.\"]"], ["created_at", "2014-09-19 14:48:03.503623"], ["name", "contract_92ff00e5"], ["title", "Magni rerum non mollitia sed tempore."], ["updated_at", "2014-09-19 14:48:03.503623"]]  (3.6ms) commit transaction  (0.1ms) begin transaction 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_e69138e1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et sapiente. Delectus error fugit nostrum expedita similique laudantium voluptatibus. Rem repellat et odio praesentium. Qui culpa iure inventore. Veniam beatae dolores.\", \"Quam et earum doloribus aliquid magni assumenda. Facere sit excepturi illo asperiores. Dolorum quod voluptates similique molestias molestiae.\"]"], ["created_at", "2014-09-19 14:48:03.510232"], ["name", "contract_e69138e1"], ["title", "Ipsam autem impedit fuga deserunt ut omnis qui."], ["updated_at", "2014-09-19 14:48:03.510232"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e69138e1"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_e69138e1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 14:48:03.516967"], ["version", 1]]  (6.2ms) commit transaction  (0.0ms) begin transaction 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_4c942069') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet non dolorem cupiditate sint doloribus. Cum et sit soluta libero reiciendis quisquam. Ex aut porro commodi et.\", \"Blanditiis tenetur magnam aut perferendis dolores qui. Et perspiciatis incidunt consequatur architecto cupiditate provident cum. Et aut repudiandae sed tempora eum in. Laborum quis eveniet itaque excepturi qui facilis exercitationem. Quam velit soluta.\"]"], ["created_at", "2014-09-19 14:48:03.527184"], ["name", "contract_4c942069"], ["title", "Omnis cupiditate rerum nihil mollitia similique et praesentium."], ["updated_at", "2014-09-19 14:48:03.527184"]]  (3.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4c942069"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_4c942069') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 14:48:03.534406"], ["version", 1]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_f7979db5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et fugiat ut sed ratione voluptatem. Eos animi et magnam delectus. Eum amet officia veniam beatae.\", \"Doloremque sit dolores. Omnis consequuntur dolorem fuga temporibus sunt. Quia voluptas ut dolor. Nam enim sit commodi iste doloribus soluta minus. Sapiente est dolorem qui laudantium autem voluptatem.\"]"], ["created_at", "2014-09-19 14:48:03.544445"], ["name", "contract_f7979db5"], ["title", "Aut velit est natus fugit."], ["updated_at", "2014-09-19 14:48:03.544445"]]  (3.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7979db5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_f7979db5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 14:48:03.551795"], ["version", 1]]  (6.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f7979db5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_f7979db5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et fugiat ut sed ratione voluptatem. Eos animi et magnam delectus. Eum amet officia veniam beatae.\", \"Doloremque sit dolores. Omnis consequuntur dolorem fuga temporibus sunt. Quia voluptas ut dolor. Nam enim sit commodi iste doloribus soluta minus. Sapiente est dolorem qui laudantium autem voluptatem.\"]"], ["created_at", "2014-09-19 14:48:03.562399"], ["name", "contract_f7979db5"], ["title", "Aut velit est natus fugit."], ["updated_at", "2014-09-19 14:48:03.562399"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7979db5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_f7979db5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 14:48:03.569129"], ["version", 2]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.578586"], ["updated_at", "2014-09-19 14:48:03.578586"]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.586079"], ["updated_at", "2014-09-19 14:48:03.586079"]]  (6.2ms) commit transaction  (0.0ms) begin transaction 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_03ed9773') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore minima explicabo officia ea non. Vel cum reprehenderit ut asperiores alias tempora in. Pariatur dolor consequuntur.\", \"Sit perferendis quam consequuntur facilis et. Maiores sint et nesciunt blanditiis in est. Sequi explicabo quod officiis quaerat.\"]"], ["created_at", "2014-09-19 14:48:03.594942"], ["name", "contract_03ed9773"], ["title", "Nihil natus et qui quidem."], ["updated_at", "2014-09-19 14:48:03.594942"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.607653"], ["updated_at", "2014-09-19 14:48:03.607653"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.609917"], ["updated_at", "2014-09-19 14:48:03.609917"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7e6d1304') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem non maiores enim assumenda nesciunt rerum quos. Dolorum dolores quia quod voluptas assumenda. Sed nihil aliquam et maiores dolorem dolor.\", \"Aut aut eligendi assumenda asperiores porro. Rem fugiat culpa aut sed non ea inventore. Est iste porro aspernatur facere eum iure.\"]"], ["created_at", "2014-09-19 14:48:03.613488"], ["name", "contract_7e6d1304"], ["title", "Veritatis est qui iure repudiandae ea amet."], ["updated_at", "2014-09-19 14:48:03.613488"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.617051"], ["updated_at", "2014-09-19 14:48:03.617051"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.618571"], ["updated_at", "2014-09-19 14:48:03.618571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_793ab7a0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint eveniet reiciendis accusantium saepe possimus vel officiis. Tempora dolores omnis illo. Asperiores veritatis aut est.\", \"Eos provident voluptate. Ipsa facere labore. Illum et a sequi et. Ut ratione voluptatum vel aperiam.\"]"], ["created_at", "2014-09-19 14:48:03.621103"], ["name", "contract_793ab7a0"], ["title", "Autem rerum voluptate et voluptatum cum est."], ["updated_at", "2014-09-19 14:48:03.621103"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_793ab7a0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_793ab7a0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 14:48:03.624734"], ["version", 1]]  (6.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_793ab7a0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_793ab7a0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 14:48:03.637136"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.641115"], ["updated_at", "2014-09-19 14:48:03.641115"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.642726"], ["updated_at", "2014-09-19 14:48:03.642726"]]  (6.1ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_70f2aaab') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum dignissimos suscipit est. Reiciendis autem doloremque dolor sunt debitis. Minus aliquid ab molestias. Repellat eveniet doloribus aut suscipit.\", \"Hic quia dolor laboriosam. Et aperiam asperiores. Ipsa cumque tenetur animi fugiat. Perferendis unde veritatis.\"]"], ["created_at", "2014-09-19 14:48:03.651930"], ["name", "contract_70f2aaab"], ["title", "Aspernatur aut voluptas et."], ["updated_at", "2014-09-19 14:48:03.651930"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 14:48:03.657081"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 14:48:03.657081"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.661247"], ["updated_at", "2014-09-19 14:48:03.661247"]]  (6.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.668406"], ["updated_at", "2014-09-19 14:48:03.668406"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_836b1aea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et beatae tempore nostrum qui recusandae dolor. Commodi sed et ex maiores quos est omnis. Veniam est temporibus ullam nam id. Iure sed ut temporibus. Et nostrum quia ipsum ab eum eos aut.\", \"Vero temporibus eligendi tempore cumque consequatur qui aperiam. Est mollitia voluptas est maxime nihil. Perferendis consequatur nobis temporibus delectus. Eveniet quos repellat quia nostrum error ut. Sed deserunt vel.\"]"], ["created_at", "2014-09-19 14:48:03.671295"], ["name", "contract_836b1aea"], ["title", "Ad eaque non harum."], ["updated_at", "2014-09-19 14:48:03.671295"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_836b1aea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_836b1aea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 14:48:03.679913"], ["version", 1]]  (6.1ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 11ms (ActiveRecord: 6.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.690059"], ["updated_at", "2014-09-19 14:48:03.690059"]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.697345"], ["updated_at", "2014-09-19 14:48:03.697345"]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_a8426126') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia et id accusamus culpa. Quis id est expedita alias omnis pariatur dolorem. Quos id non laboriosam possimus optio odio. Excepturi sed asperiores sed consequatur ut in. Aspernatur officiis hic sunt.\", \"Libero doloremque et rem quaerat. Dignissimos et debitis non. Et aut hic et dolores. Consequatur sunt excepturi quam officiis praesentium.\"]"], ["created_at", "2014-09-19 14:48:03.706229"], ["name", "contract_a8426126"], ["title", "Eos voluptatem consequatur et cum et consequatur."], ["updated_at", "2014-09-19 14:48:03.706229"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a8426126"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_a8426126') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 14:48:03.713289"], ["version", 1]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.722823"], ["updated_at", "2014-09-19 14:48:03.722823"]]  (8.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.732374"], ["updated_at", "2014-09-19 14:48:03.732374"]]  (7.8ms) commit transaction  (0.1ms) begin transaction 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_d8dd173b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut voluptatibus deserunt occaecati qui illum labore ut. Ipsa eos natus iste. Explicabo autem et vitae eum.\", \"Non temporibus perferendis cumque. Veniam iusto dolorem ut earum cum et. Sit rerum ut sunt id illum. Et similique necessitatibus dolor molestiae.\"]"], ["created_at", "2014-09-19 14:48:03.743257"], ["name", "contract_d8dd173b"], ["title", "Eos repellendus occaecati consequuntur non et praesentium."], ["updated_at", "2014-09-19 14:48:03.743257"]]  (4.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8dd173b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_d8dd173b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 14:48:03.751441"], ["version", 1]]  (6.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.761185"], ["updated_at", "2014-09-19 14:48:03.761185"]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.768568"], ["updated_at", "2014-09-19 14:48:03.768568"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_edd376bb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam est nihil provident vitae. Culpa aliquam quam. Repellendus reprehenderit neque voluptas alias porro. Corporis voluptatem consequatur voluptas.\", \"Adipisci harum ad id dolor dicta officiis est. Quia qui officia voluptatibus amet quam. Quia quis saepe consequuntur. Nemo error autem suscipit est quas fugiat ad. Aliquam aut rerum quibusdam enim.\"]"], ["created_at", "2014-09-19 14:48:03.777638"], ["name", "contract_edd376bb"], ["title", "Commodi laborum veritatis doloremque facilis omnis temporibus."], ["updated_at", "2014-09-19 14:48:03.777638"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.786449"], ["updated_at", "2014-09-19 14:48:03.786449"]]  (6.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.794038"], ["updated_at", "2014-09-19 14:48:03.794038"]]  (6.4ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f2df0fb2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos voluptatem mollitia enim aspernatur ut earum tempora. Ab iure repellat quia. Enim expedita vel non tenetur et. Earum placeat aut magni non dolorem quos. Aliquid aut iste officiis omnis in ducimus doloremque.\", \"Perspiciatis sint sit iusto. Ut nobis temporibus placeat rerum nulla. Aliquam alias repellendus cupiditate ea consectetur voluptas et. Adipisci qui quidem. Aspernatur aut ut et eaque recusandae veniam incidunt.\"]"], ["created_at", "2014-09-19 14:48:03.803967"], ["name", "contract_f2df0fb2"], ["title", "Facere similique qui enim aut."], ["updated_at", "2014-09-19 14:48:03.803967"]]  (4.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.812314"], ["updated_at", "2014-09-19 14:48:03.812314"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.819359"], ["updated_at", "2014-09-19 14:48:03.819359"]]  (6.1ms) commit transaction  (0.0ms) begin transaction 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_6fe7be20') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis animi ut alias doloribus. Vero rerum autem. Et dolorem in voluptas alias.\", \"Sint cumque minus ipsum quibusdam officia maiores. Necessitatibus eos ipsum quia eveniet et sint. Assumenda saepe modi reprehenderit voluptas officiis.\"]"], ["created_at", "2014-09-19 14:48:03.827502"], ["name", "contract_6fe7be20"], ["title", "Et possimus nobis quos molestiae similique ea consectetur."], ["updated_at", "2014-09-19 14:48:03.827502"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.834161"], ["updated_at", "2014-09-19 14:48:03.834161"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.841379"], ["updated_at", "2014-09-19 14:48:03.841379"]]  (6.4ms) commit transaction  (0.1ms) begin transaction 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_f5660382') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum fuga consectetur aut neque. Adipisci incidunt id repellendus ab officiis et in. Enim non in dolorem accusamus ducimus.\", \"Velit repellendus molestiae eveniet eum quos molestiae. Aliquid qui explicabo. Neque sint nostrum nemo voluptas officia sed maiores. Impedit eveniet quo ratione.\"]"], ["created_at", "2014-09-19 14:48:03.850391"], ["name", "contract_f5660382"], ["title", "Maiores sit unde."], ["updated_at", "2014-09-19 14:48:03.850391"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.861393"], ["updated_at", "2014-09-19 14:48:03.861393"]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.868739"], ["updated_at", "2014-09-19 14:48:03.868739"]]  (6.2ms) commit transaction  (0.1ms) begin transaction 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_d7753db4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla vel est consequatur. Fugiat dignissimos quidem aperiam. Sunt ipsam ex quaerat. Corrupti dolor atque similique dolorum sint. Provident repellendus aliquid perferendis impedit odio quia.\", \"Amet tenetur excepturi minus fugiat beatae mollitia labore. Animi fuga excepturi dolores debitis hic. Nobis nulla velit. Nobis nesciunt in omnis est reiciendis non. Est qui dolore ipsum minus dicta consequatur atque.\"]"], ["created_at", "2014-09-19 14:48:03.877745"], ["name", "contract_d7753db4"], ["title", "Error cum earum totam est aut illo commodi."], ["updated_at", "2014-09-19 14:48:03.877745"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d7753db4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_d7753db4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 14:48:03.884901"], ["version", 1]]  (6.2ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d7753db4' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.898206"], ["updated_at", "2014-09-19 14:48:03.898206"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.905951"], ["updated_at", "2014-09-19 14:48:03.905951"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_217786b1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque autem amet voluptatem rerum ut. Id eaque maxime eum. Sit et dolor velit possimus sed atque praesentium.\", \"Est nemo rerum nam beatae ad. Consectetur quibusdam possimus illo commodi dolores quos cupiditate. Iusto amet eos quod. Necessitatibus voluptas temporibus sed mollitia id accusantium.\"]"], ["created_at", "2014-09-19 14:48:03.915128"], ["name", "contract_217786b1"], ["title", "Reprehenderit ea quidem labore ipsum totam rerum dolorem."], ["updated_at", "2014-09-19 14:48:03.915128"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.921544"], ["updated_at", "2014-09-19 14:48:03.921544"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.923175"], ["updated_at", "2014-09-19 14:48:03.923175"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_a7ddaf3f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi tempore corrupti placeat et commodi in ad. Dolor voluptatibus molestias voluptatem et sit sit. Beatae eos hic.\", \"Aut aperiam eos quo. Eveniet possimus quasi fugit vel totam nisi. Voluptatem aliquid et enim cumque et voluptate delectus.\"]"], ["created_at", "2014-09-19 14:48:03.931845"], ["name", "contract_a7ddaf3f"], ["title", "Harum itaque repellat quia vero atque."], ["updated_at", "2014-09-19 14:48:03.931845"]]  (3.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (6.1ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 6.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.949283"], ["updated_at", "2014-09-19 14:48:03.949283"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.950959"], ["updated_at", "2014-09-19 14:48:03.950959"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_a7d7b69f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis nihil magni corporis labore libero quia nobis. Explicabo voluptatem esse et nisi dolores voluptas. Rerum quia labore quas. Quia fuga qui veniam voluptates. Minima modi et quia accusamus ipsum.\", \"Et iure sed corrupti earum ea. Quia suscipit distinctio ea consequatur at. Ratione optio voluptates et dicta. Nemo optio sed illo ut nam ducimus.\"]"], ["created_at", "2014-09-19 14:48:03.960192"], ["name", "contract_a7d7b69f"], ["title", "Fugiat possimus pariatur libero qui sunt ea molestias."], ["updated_at", "2014-09-19 14:48:03.960192"]]  (4.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.967501"], ["updated_at", "2014-09-19 14:48:03.967501"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.974907"], ["updated_at", "2014-09-19 14:48:03.974907"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_02ffd9fb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic vero quod. Et natus modi ratione veritatis aspernatur perspiciatis soluta. Quod autem reprehenderit iste.\", \"Nemo error in minima quod. Rerum est et voluptas. Debitis aut consequuntur rerum et.\"]"], ["created_at", "2014-09-19 14:48:03.983987"], ["name", "contract_02ffd9fb"], ["title", "Asperiores eos modi velit."], ["updated_at", "2014-09-19 14:48:03.983987"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.990592"], ["updated_at", "2014-09-19 14:48:03.990592"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:03.997705"], ["updated_at", "2014-09-19 14:48:03.997705"]]  (6.2ms) commit transaction  (0.0ms) begin transaction 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_cf8116a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime occaecati quia aut. Tempore sunt voluptatem. Ut tempore et quia cumque. Nihil ut qui.\", \"Deserunt accusamus magni qui et architecto blanditiis. At vero est rerum eos sunt sunt. Quod ipsum ducimus. Est saepe eum doloremque eos natus.\"]"], ["created_at", "2014-09-19 14:48:04.006249"], ["name", "contract_cf8116a5"], ["title", "Itaque perferendis excepturi."], ["updated_at", "2014-09-19 14:48:04.006249"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:04.014839"], ["updated_at", "2014-09-19 14:48:04.014839"]]  (6.2ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:04.022038"], ["updated_at", "2014-09-19 14:48:04.022038"]]  (6.3ms) commit transaction  (0.1ms) begin transaction 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_59442022') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium iusto autem neque ex. Eveniet quas ipsum. Magni est repellat exercitationem occaecati.\", \"Aut aut voluptate quo blanditiis nisi. Non magnam sed sunt. Modi consequatur perspiciatis.\"]"], ["created_at", "2014-09-19 14:48:04.030705"], ["name", "contract_59442022"], ["title", "Laborum saepe qui debitis nulla nemo dolorum."], ["updated_at", "2014-09-19 14:48:04.030705"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction 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_ecb2a6bd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam odit unde necessitatibus voluptatem aspernatur repellendus veritatis. Veritatis error pariatur perferendis. At autem aut fuga rerum ea nihil. Maxime architecto ut odio corrupti quis.\", \"Et aut nesciunt hic laudantium iusto cum nihil. Qui vero suscipit officiis autem sit consequatur. Molestiae quidem omnis earum consectetur exercitationem. Et ab saepe culpa sunt laudantium assumenda. Pariatur sapiente suscipit.\"]"], ["created_at", "2014-09-19 14:48:04.038739"], ["name", "contract_ecb2a6bd"], ["title", "Et ut culpa magni ipsam ut quas molestias."], ["updated_at", "2014-09-19 14:48:04.038739"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecb2a6bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_ecb2a6bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 14:48:04.045244"], ["version", 1]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 14:48:04.053454"], ["updated_at", "2014-09-19 14:48:04.053454"]]  (6.4ms) commit transaction  (0.1ms) begin transaction 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_65153e1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque facilis sequi architecto et omnis. Fugit nemo ea tempore sint enim dolorem vel. Non dolore molestias. Quae qui hic et est assumenda quis eos.\", \"Et et in est magnam consectetur ad. Cupiditate voluptatibus sit sunt nobis esse dicta. Deleniti quibusdam in vel. Sunt excepturi facere voluptas.\"]"], ["created_at", "2014-09-19 14:48:04.062893"], ["name", "contract_65153e1f"], ["title", "Autem omnis repellendus quo."], ["updated_at", "2014-09-19 14:48:04.062893"]]  (3.6ms) commit transaction  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_655425d3') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi officiis similique assumenda. Rem beatae rerum enim earum ducimus. Sunt qui dolore voluptate est. Voluptatem expedita molestias sit distinctio. In voluptatem odit est incidunt fugit aut omnis.\", \"Non quisquam qui expedita. Ea mollitia officiis maiores. Nemo odit odio voluptatum. Nihil ut nulla temporibus et cum.\"]"], ["created_at", "2014-09-19 15:32:10.113367"], ["name", "contract_655425d3"], ["title", "Dolorem fugit ratione praesentium optio sit."], ["updated_at", "2014-09-19 15:32:10.113367"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_655425d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_655425d3') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 15:32:10.125878"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_70d89605') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut excepturi laboriosam amet. Facilis fugit beatae quia atque. Vero veniam exercitationem consequatur sit consequuntur architecto voluptas.\", \"Deleniti consequuntur id. Voluptas mollitia magnam quaerat quam tenetur. Rerum adipisci ut ex. Modi iure neque recusandae.\"]"], ["created_at", "2014-09-19 15:32:10.135691"], ["name", "contract_70d89605"], ["title", "Doloribus qui quis dicta saepe dolor officia non."], ["updated_at", "2014-09-19 15:32:10.135691"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_70d89605"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_70d89605') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 15:32:10.138998"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_70d89605' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_70d89605') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut excepturi laboriosam amet. Facilis fugit beatae quia atque. Vero veniam exercitationem consequatur sit consequuntur architecto voluptas.\", \"Deleniti consequuntur id. Voluptas mollitia magnam quaerat quam tenetur. Rerum adipisci ut ex. Modi iure neque recusandae.\"]"], ["created_at", "2014-09-19 15:32:10.146259"], ["name", "contract_70d89605"], ["title", "Doloribus qui quis dicta saepe dolor officia non."], ["updated_at", "2014-09-19 15:32:10.146259"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_70d89605"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_70d89605') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 15:32:10.150244"], ["version", 2]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_b5974a29') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla nostrum et et aut ut. Qui necessitatibus voluptatem sed. Autem optio doloribus provident dolor libero error et.\", \"Consectetur ut a facilis qui soluta sit. Atque quibusdam minima nesciunt eos aliquam repellendus laborum. Blanditiis tempore autem. Quis voluptatum voluptatem deserunt laborum recusandae ut quasi.\"]"], ["created_at", "2014-09-19 15:32:10.154405"], ["name", "contract_b5974a29"], ["title", "Rerum maxime repudiandae eum enim suscipit optio nobis."], ["updated_at", "2014-09-19 15:32:10.154405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d8a9663f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam consequatur est molestias. Aliquam omnis accusantium velit mollitia fuga totam. Eius et est corrupti porro. Dolorem doloremque officiis alias voluptatem. Consequatur cum distinctio dolor ut.\", \"Quo non nemo. Occaecati ut itaque accusamus. Omnis occaecati quia officiis. Sed odio non consequatur et.\"]"], ["created_at", "2014-09-19 15:32:10.157556"], ["name", "contract_d8a9663f"], ["title", "Quidem excepturi dignissimos mollitia eos ex cupiditate dolores."], ["updated_at", "2014-09-19 15:32:10.157556"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8a9663f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_d8a9663f') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 15:32:10.163180"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.167794"], ["updated_at", "2014-09-19 15:32:10.167794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.171160"], ["updated_at", "2014-09-19 15:32:10.171160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.173785"], ["updated_at", "2014-09-19 15:32:10.173785"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.175203"], ["updated_at", "2014-09-19 15:32:10.175203"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem et consequuntur unde assumenda. Enim et expedita velit. Quis sunt vitae minima vero omnis iste excepturi. Et distinctio et facere. Accusantium neque et temporibus ut molestias.\", \"Omnis enim ipsa facilis asperiores. Aut magnam eum qui enim impedit tempora. Aliquam voluptas totam omnis non. Cupiditate et impedit. Accusantium dolores quis atque reiciendis.\"]"], ["created_at", "2014-09-19 15:32:10.190754"], ["name", "alpha"], ["title", "Quisquam enim vero et debitis ea distinctio architecto."], ["updated_at", "2014-09-19 15:32:10.190754"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 15:32:10.194106"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi libero enim earum. Itaque quibusdam laudantium est. Blanditiis tempora et et et distinctio ratione.\", \"Eveniet quia sed beatae officia. Magni dolor consequatur deleniti illum repellat recusandae. Aut autem in beatae distinctio minus. Recusandae dolore dolores enim. Corrupti ipsam animi id consequuntur at ut.\"]"], ["created_at", "2014-09-19 15:32:10.198349"], ["name", "beta"], ["title", "Incidunt non error dolorum est culpa numquam aut."], ["updated_at", "2014-09-19 15:32:10.198349"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 15:32:10.201304"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus magnam dicta. Quis aliquid illum aut culpa quia consequatur provident. Labore officiis dolorum. Et ab quis quia natus eos iure autem. At voluptas perferendis.\", \"Perferendis iste impedit et. Omnis non sed maxime ut nam. Ut quidem sapiente vitae. Est perspiciatis corporis non. Sed provident modi dignissimos doloribus.\"]"], ["created_at", "2014-09-19 15:32:10.205227"], ["name", "alpha"], ["title", "Facere inventore veniam."], ["updated_at", "2014-09-19 15:32:10.205227"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 15:32:10.209228"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed voluptatem nostrum et nam dolores quo. Blanditiis dignissimos reiciendis ex. Distinctio aperiam asperiores et. Quis doloribus reprehenderit quasi quibusdam et sint.\", \"Labore quia ullam quo. Ut occaecati accusantium mollitia est et autem cumque. Sunt quo eum necessitatibus qui. Rerum amet voluptatum numquam illum similique.\"]"], ["created_at", "2014-09-19 15:32:10.214150"], ["name", "beta"], ["title", "Vel fugit aut ut."], ["updated_at", "2014-09-19 15:32:10.214150"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 15:32:10.218658"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt dolore rem mollitia enim quidem. Autem consequatur aliquid sed. Id sed sapiente officiis culpa earum iusto consequuntur. Sit amet et vel illum qui. Aut placeat et velit.\", \"Ea quos voluptatem rerum neque voluptas earum. Eos architecto et est et et sunt. Sit quis dolorem voluptas voluptates ipsum. Ab non sit quisquam. Aut consequatur dolorem rerum non.\"]"], ["created_at", "2014-09-19 15:32:10.223258"], ["name", "alpha"], ["title", "Labore similique porro dignissimos."], ["updated_at", "2014-09-19 15:32:10.223258"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 15:32:10.226958"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium animi voluptatem dolores itaque at maxime eveniet. Dolores nesciunt corrupti. Adipisci maxime aut voluptatem debitis accusamus. Laboriosam alias velit similique dolor quia.\", \"Perspiciatis sint voluptatum est in sunt velit. Aut dolorem totam rerum id at corporis corrupti. Deserunt quis cupiditate vero ea. Est amet et optio quis id omnis quae. Et beatae aut velit sed blanditiis cumque.\"]"], ["created_at", "2014-09-19 15:32:10.231184"], ["name", "beta"], ["title", "Ea in quidem molestiae ipsa nesciunt exercitationem quae."], ["updated_at", "2014-09-19 15:32:10.231184"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 15:32:10.234497"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c97fd8dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque molestiae molestiae explicabo. Sed eveniet soluta dolor. Id labore ut consequatur atque debitis. Ut quam eius consequatur eveniet.\", \"Labore quos dolores sint est alias aut. Necessitatibus quis at rem quam laboriosam excepturi eaque. Totam consectetur at quos. Fuga culpa necessitatibus officia dicta atque omnis eligendi.\"]"], ["created_at", "2014-09-19 15:32:10.238724"], ["name", "contract_c97fd8dc"], ["title", "Dicta est aut dolorem explicabo maiores."], ["updated_at", "2014-09-19 15:32:10.238724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3c955fdf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos autem voluptatem ullam nostrum cumque qui reiciendis. Tenetur sint aliquam recusandae nam et. Iste omnis quis.\", \"Rerum unde maxime cumque nobis doloribus. Molestiae quia non qui beatae facere dolorem inventore. Maiores dolorem unde est dolorum. Ipsam cupiditate et sed recusandae iste.\"]"], ["created_at", "2014-09-19 15:32:10.242705"], ["name", "contract_3c955fdf"], ["title", "Illum nisi harum cumque dolorem voluptate rem culpa."], ["updated_at", "2014-09-19 15:32:10.242705"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3c955fdf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_3c955fdf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 15:32:10.246550"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.252935"], ["updated_at", "2014-09-19 15:32:10.252935"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.257075"], ["updated_at", "2014-09-19 15:32:10.257075"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.258680"], ["updated_at", "2014-09-19 15:32:10.258680"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b6c14a82') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae enim possimus repudiandae maxime repellat. Sit perspiciatis facere consectetur excepturi minima saepe aspernatur. Est cum est nobis omnis et. Odit est sunt tempore. Molestias ab et est animi ut possimus ipsa.\", \"Neque exercitationem ut aut asperiores autem sit. Non architecto consequatur ullam voluptatem impedit rerum. Numquam laboriosam delectus et repellendus quas et rerum. Amet nostrum expedita.\"]"], ["created_at", "2014-09-19 15:32:10.262735"], ["name", "contract_b6c14a82"], ["title", "Et repudiandae sed officia est est fugiat in."], ["updated_at", "2014-09-19 15:32:10.262735"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b6c14a82"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_b6c14a82') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 15:32:10.265900"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.268467"], ["updated_at", "2014-09-19 15:32:10.268467"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-19 15:32:10.271157"], ["updated_at", "2014-09-19 15:32:10.271157"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.280795"], ["updated_at", "2014-09-19 15:32:10.280795"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.282496"], ["updated_at", "2014-09-19 15:32:10.282496"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b0bd2fd7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem adipisci reiciendis. Quia est repellendus voluptates et. Dicta quae tempora iure et. Ducimus illo sed. Enim consequuntur ea repellat aut dolor ut rerum.\", \"Nostrum id blanditiis quis aut. Officiis aperiam temporibus. Deserunt doloremque reprehenderit id aperiam quod assumenda perspiciatis. Qui quo quasi quod maiores rerum nihil vero.\"]"], ["created_at", "2014-09-19 15:32:10.285616"], ["name", "contract_b0bd2fd7"], ["title", "Consequuntur nisi vitae quos ut tempora ut sed."], ["updated_at", "2014-09-19 15:32:10.285616"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0bd2fd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b0bd2fd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 15:32:10.288671"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.291076"], ["updated_at", "2014-09-19 15:32:10.291076"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 15:32:10.293525"], ["updated_at", "2014-09-19 15:32:10.293525"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.297102"], ["updated_at", "2014-09-19 15:32:10.297102"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.298602"], ["updated_at", "2014-09-19 15:32:10.298602"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9c853044') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit repellendus doloribus. Consequatur minus sunt ex eveniet. Vero veniam fuga dignissimos soluta voluptatem iure aliquam. Ratione libero est. Voluptatum assumenda error beatae pariatur tempora.\", \"Illum quis a et. Nam non soluta dolor quia. Qui sed consequatur quam similique. Neque aspernatur dolor quisquam sint. Labore enim alias.\"]"], ["created_at", "2014-09-19 15:32:10.301779"], ["name", "contract_9c853044"], ["title", "Et qui perspiciatis."], ["updated_at", "2014-09-19 15:32:10.301779"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c853044"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_9c853044') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 15:32:10.304840"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.307298"], ["updated_at", "2014-09-19 15:32:10.307298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 15:32:10.310065"], ["updated_at", "2014-09-19 15:32:10.310065"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.313826"], ["updated_at", "2014-09-19 15:32:10.313826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.315337"], ["updated_at", "2014-09-19 15:32:10.315337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_97d43234') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis perferendis est velit consequatur aspernatur odio. Illum dolores debitis consectetur fugiat ipsam. Molestiae odit et delectus illo mollitia enim. Modi a fugit nihil placeat odit aliquam. Blanditiis id qui et qui fuga rem.\", \"Eum dolores necessitatibus sequi labore impedit doloribus. Et animi dignissimos. Quisquam sit blanditiis. Magnam accusantium vel commodi eveniet ducimus inventore adipisci. Voluptas velit eos non reiciendis iste.\"]"], ["created_at", "2014-09-19 15:32:10.318369"], ["name", "contract_97d43234"], ["title", "Ea labore omnis quia."], ["updated_at", "2014-09-19 15:32:10.318369"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_97d43234"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_97d43234') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 15:32:10.321785"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.324342"], ["updated_at", "2014-09-19 15:32:10.324342"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-19 15:32:10.327322"], ["updated_at", "2014-09-19 15:32:10.327322"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.338919"], ["updated_at", "2014-09-19 15:32:10.338919"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.340547"], ["updated_at", "2014-09-19 15:32:10.340547"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_53cc9a48') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis illum velit ut. Eum quidem fugiat occaecati ad non dolores. Officiis sed aut fugit non magnam fugiat.\", \"Aspernatur tempora provident. Autem ducimus beatae minus odio. Qui dolor sit officiis.\"]"], ["created_at", "2014-09-19 15:32:10.343540"], ["name", "contract_53cc9a48"], ["title", "Iure cum temporibus quia animi fugit."], ["updated_at", "2014-09-19 15:32:10.343540"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_53cc9a48"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_53cc9a48') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 15:32:10.348541"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_53cc9a48' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.359167"], ["updated_at", "2014-09-19 15:32:10.359167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.361379"], ["updated_at", "2014-09-19 15:32:10.361379"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a38ca760') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus et suscipit laborum libero iste vel magni. Iusto neque maiores et necessitatibus dolor consequatur consequatur. Atque possimus qui qui ut.\", \"Praesentium beatae veniam nam. Voluptate facilis culpa consequatur veritatis aliquam. Voluptatibus quaerat dolorum et. Ea sapiente dignissimos rerum neque autem porro itaque. Totam aliquid aut corrupti.\"]"], ["created_at", "2014-09-19 15:32:10.364485"], ["name", "contract_a38ca760"], ["title", "Eum amet provident itaque."], ["updated_at", "2014-09-19 15:32:10.364485"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a38ca760"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_a38ca760') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 15:32:10.368016"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.371927"], ["updated_at", "2014-09-19 15:32:10.371927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.373590"], ["updated_at", "2014-09-19 15:32:10.373590"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34998bf7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum doloremque quisquam. Quis itaque et aliquid doloribus neque occaecati porro. Animi est inventore illum ea.\", \"Qui quia commodi consequatur illo. Beatae totam et quis asperiores explicabo quos et. Et accusantium id amet rerum.\"]"], ["created_at", "2014-09-19 15:32:10.376276"], ["name", "contract_34998bf7"], ["title", "Ipsa aut aut consectetur ea necessitatibus eius est."], ["updated_at", "2014-09-19 15:32:10.376276"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.380413"], ["updated_at", "2014-09-19 15:32:10.380413"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.381946"], ["updated_at", "2014-09-19 15:32:10.381946"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_738f27c7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure quo earum est. Et minima adipisci perspiciatis velit quas. Mollitia rem asperiores porro ratione nisi repudiandae. Consequatur non officiis sit suscipit qui est et.\", \"Et animi minima aliquid et omnis est. Fugiat id debitis cupiditate nemo earum suscipit deleniti. Ad nihil nihil repellendus dolor animi a.\"]"], ["created_at", "2014-09-19 15:32:10.384590"], ["name", "contract_738f27c7"], ["title", "Qui hic ratione rem eius quia cum distinctio."], ["updated_at", "2014-09-19 15:32:10.384590"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 15:32:10.389207"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 15:32:10.389207"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/22 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.393024"], ["updated_at", "2014-09-19 15:32:10.393024"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.394549"], ["updated_at", "2014-09-19 15:32:10.394549"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_63e65473') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis doloribus et libero qui ea ut. Voluptatem consequatur praesentium distinctio qui. Accusantium aliquid doloremque non est consequatur ducimus suscipit. Sit accusamus consequatur ut ad necessitatibus. Consequatur placeat in voluptatum cupiditate officiis.\", \"Vel fuga quas quod perferendis facere veritatis aut. Est qui dolorum esse et. Commodi quis omnis.\"]"], ["created_at", "2014-09-19 15:32:10.397614"], ["name", "contract_63e65473"], ["title", "Dolorem excepturi beatae."], ["updated_at", "2014-09-19 15:32:10.397614"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_63e65473"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_63e65473') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 15:32:10.401348"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.405172"], ["updated_at", "2014-09-19 15:32:10.405172"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.406827"], ["updated_at", "2014-09-19 15:32:10.406827"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_9f05f65c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos modi autem et est dolorem accusantium. Vel qui nam est harum labore dicta. Voluptatibus omnis ut.\", \"Autem eum non ut. Beatae architecto aut et enim hic quidem quam. Ut cumque in. Cupiditate voluptatem qui inventore officiis est consequatur fugiat.\"]"], ["created_at", "2014-09-19 15:32:10.409790"], ["name", "contract_9f05f65c"], ["title", "Est adipisci perferendis laborum quam."], ["updated_at", "2014-09-19 15:32:10.409790"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.414086"], ["updated_at", "2014-09-19 15:32:10.414086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.415789"], ["updated_at", "2014-09-19 15:32:10.415789"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_56cb4415') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam rerum accusamus quaerat ea repellat. Et eius fugit distinctio fuga recusandae. Quidem iure est. Dolor qui sequi eum reprehenderit qui.\", \"Eum optio at asperiores vero nesciunt quo. Inventore perferendis id aut vel dicta. Modi numquam eos. Est sed voluptatem illum laudantium doloremque in sed. Ducimus fugit rerum.\"]"], ["created_at", "2014-09-19 15:32:10.418518"], ["name", "contract_56cb4415"], ["title", "Pariatur et laboriosam recusandae."], ["updated_at", "2014-09-19 15:32:10.418518"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56cb4415"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_56cb4415') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 15:32:10.423930"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.429143"], ["updated_at", "2014-09-19 15:32:10.429143"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.430904"], ["updated_at", "2014-09-19 15:32:10.430904"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3eb361aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt mollitia ullam et dolorem autem. Non exercitationem sunt consequuntur. Repellendus sit reiciendis omnis assumenda dolorem quis quos. Ut id reiciendis consequatur aut dicta. Quisquam ut illo ea dolores.\", \"Est quasi maxime eaque quisquam voluptatem voluptatibus dolorum. Beatae et non assumenda. Iusto rem eligendi corporis magni. Non enim rem dolores aut. Et cum non.\"]"], ["created_at", "2014-09-19 15:32:10.433707"], ["name", "contract_3eb361aa"], ["title", "Qui error mollitia dicta veritatis perspiciatis."], ["updated_at", "2014-09-19 15:32:10.433707"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.439060"], ["updated_at", "2014-09-19 15:32:10.439060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.440568"], ["updated_at", "2014-09-19 15:32:10.440568"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_138a443f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut temporibus ducimus. Aliquam sapiente quia et. Iure illum vel repellat.\", \"Dolores eaque est illum. Dolores nihil omnis magni sit velit. Aut et doloremque qui quia. Et earum eum dicta repellendus. Optio eum molestiae illo ipsum veritatis et.\"]"], ["created_at", "2014-09-19 15:32:10.443147"], ["name", "contract_138a443f"], ["title", "Et itaque velit."], ["updated_at", "2014-09-19 15:32:10.443147"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.452431"], ["updated_at", "2014-09-19 15:32:10.452431"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.454369"], ["updated_at", "2014-09-19 15:32:10.454369"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_2364dd7d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea praesentium enim distinctio. Ipsa est dolor nulla est. Molestiae rerum aut veniam odio quaerat.\", \"Sint ut id ab minus quis qui. Praesentium id omnis quo. Ullam molestiae in aut impedit voluptas dolor. Nostrum beatae recusandae ullam et. Ut dolores velit.\"]"], ["created_at", "2014-09-19 15:32:10.457210"], ["name", "contract_2364dd7d"], ["title", "Minus iusto et assumenda maiores."], ["updated_at", "2014-09-19 15:32:10.457210"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (10, 8, 6, 11, 9, 7, 27, 28, 20, 13, 26, 18, 25, 23, 1, 3, 2, 21, 17, 16, 24, 19, 15, 4, 14, 12, 5, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.468020"], ["updated_at", "2014-09-19 15:32:10.468020"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.469710"], ["updated_at", "2014-09-19 15:32:10.469710"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_8137c61f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint dolores dolorem quas aut tenetur nihil temporibus. Soluta deleniti impedit nobis. Ipsum ipsa repellendus tempore officia iste a ipsam. Et omnis praesentium delectus nesciunt voluptatum.\", \"Neque aperiam ipsum non explicabo pariatur. Officia et facilis. Architecto quia eum. Non nemo similique itaque.\"]"], ["created_at", "2014-09-19 15:32:10.472619"], ["name", "contract_8137c61f"], ["title", "Fuga minima reprehenderit occaecati suscipit est."], ["updated_at", "2014-09-19 15:32:10.472619"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.475987"], ["updated_at", "2014-09-19 15:32:10.475987"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.477631"], ["updated_at", "2014-09-19 15:32:10.477631"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ea9aca83') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam sunt natus qui. Voluptate dignissimos libero labore accusamus quisquam. Blanditiis neque dicta incidunt ipsa autem sint dolor. Sunt sed vel voluptates.\", \"Libero delectus inventore alias distinctio. Suscipit dolorum qui. Vero facilis qui nostrum labore assumenda.\"]"], ["created_at", "2014-09-19 15:32:10.480969"], ["name", "contract_ea9aca83"], ["title", "Voluptates nihil voluptatum perferendis perspiciatis."], ["updated_at", "2014-09-19 15:32:10.480969"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.484978"], ["updated_at", "2014-09-19 15:32:10.484978"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.486561"], ["updated_at", "2014-09-19 15:32:10.486561"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9a504d12') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem quo quia et rem. Eaque illum exercitationem eius optio delectus. Eos hic est id. Et commodi dolores dolor nihil deleniti architecto ut. Enim incidunt blanditiis cum eum.\", \"Cum tenetur veniam et. Non similique corporis sunt. Molestias assumenda aut aut.\"]"], ["created_at", "2014-09-19 15:32:10.489292"], ["name", "contract_9a504d12"], ["title", "Aliquam et laboriosam nihil voluptates."], ["updated_at", "2014-09-19 15:32:10.489292"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.492338"], ["updated_at", "2014-09-19 15:32:10.492338"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.494662"], ["updated_at", "2014-09-19 15:32:10.494662"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_a4828316') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid rerum saepe dolorem sunt vel nostrum. Beatae iure voluptates quia. Iste dolorem id eligendi unde iure ipsum voluptas. Id omnis reprehenderit occaecati natus.\", \"Voluptatem quae voluptatibus in autem odio. Eum enim minima sequi quia. Voluptas at quo dolorem vero suscipit rerum tempora.\"]"], ["created_at", "2014-09-19 15:32:10.497586"], ["name", "contract_a4828316"], ["title", "Velit earum voluptas pariatur id."], ["updated_at", "2014-09-19 15:32:10.497586"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 32]] SQL (0.3ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 32]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 32 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.505802"], ["updated_at", "2014-09-19 15:32:10.505802"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.507239"], ["updated_at", "2014-09-19 15:32:10.507239"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_6734677d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur voluptas placeat et. Voluptas autem eligendi iste et tenetur. Sit eum repellat dolor.\", \"Excepturi hic voluptatem quia. Voluptatibus ut accusantium voluptatum. Voluptatem reiciendis minima ipsa.\"]"], ["created_at", "2014-09-19 15:32:10.509788"], ["name", "contract_6734677d"], ["title", "Rerum rerum explicabo eius voluptatibus tempora amet."], ["updated_at", "2014-09-19 15:32:10.509788"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.516220"], ["updated_at", "2014-09-19 15:32:10.516220"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.518000"], ["updated_at", "2014-09-19 15:32:10.518000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_05f4cb3f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore ducimus cum at. Libero ut accusamus nihil non qui. Sit nam asperiores at est consequuntur. Dolorem dolorum odit quia sequi ipsum.\", \"Laborum aut est consectetur voluptatem doloribus. Libero maxime doloribus tempora qui totam at quae. Quis excepturi sed. Atque dolore similique magni qui quibusdam. Ipsum dolores amet.\"]"], ["created_at", "2014-09-19 15:32:10.520633"], ["name", "contract_05f4cb3f"], ["title", "Est optio nihil."], ["updated_at", "2014-09-19 15:32:10.520633"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.523643"], ["updated_at", "2014-09-19 15:32:10.523643"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.525181"], ["updated_at", "2014-09-19 15:32:10.525181"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_956eca16') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus doloremque quia dolores ipsum ea a consequatur. Molestiae ut reiciendis facilis laudantium tempore officiis molestiae. Voluptate voluptas suscipit nemo nulla impedit dolor quibusdam.\", \"Eum non vel molestiae. Quibusdam neque quae saepe blanditiis nam a nihil. Quo consequatur omnis. Minima laborum tenetur.\"]"], ["created_at", "2014-09-19 15:32:10.528690"], ["name", "contract_956eca16"], ["title", "Repellat mollitia beatae omnis fugiat est."], ["updated_at", "2014-09-19 15:32:10.528690"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.532651"], ["updated_at", "2014-09-19 15:32:10.532651"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 15:32:10.534298"], ["updated_at", "2014-09-19 15:32:10.534298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c19c47b9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores vel voluptatem numquam doloribus a optio facere. Quae animi dolores ut. Labore sequi officiis et tempora voluptatum ipsum.\", \"Corrupti sit nostrum minima. Accusamus dicta et nulla vero. Vel et aspernatur. Temporibus et voluptas rerum deleniti exercitationem. Unde rerum modi.\"]"], ["created_at", "2014-09-19 15:32:10.536795"], ["name", "contract_c19c47b9"], ["title", "Sequi vero ipsa id."], ["updated_at", "2014-09-19 15:32:10.536795"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c19c47b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_c19c47b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 15:32:10.540226"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c19c47b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_c19c47b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 15:32:10.546299"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (1.4ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.587952"], ["updated_at", "2014-09-19 19:35:37.587952"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.602844"], ["updated_at", "2014-09-19 19:35:37.602844"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2d1177a8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut cumque commodi laboriosam nihil et. Tempore aspernatur qui nobis autem id. Voluptas vitae possimus nulla nostrum ad illum eius. Itaque eos repellat nisi iste. Aut non quos.\", \"Dicta nemo sunt nihil. Consequatur vitae qui iusto magni ipsa quis et. Omnis ut culpa sed consectetur aut.\"]"], ["created_at", "2014-09-19 19:35:37.819553"], ["name", "contract_2d1177a8"], ["title", "Illum amet iste accusamus."], ["updated_at", "2014-09-19 19:35:37.819553"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:35:37.828741"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:35:37.828741"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.833890"], ["updated_at", "2014-09-19 19:35:37.833890"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.835504"], ["updated_at", "2014-09-19 19:35:37.835504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5fc575d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum iste velit debitis sit est dignissimos. Et id saepe neque voluptates eligendi corporis. Quis voluptatibus nihil magnam similique. Voluptas facere aspernatur quo aut. Autem unde omnis quas iusto consectetur.\", \"Consectetur expedita reiciendis totam impedit dolor. Architecto laudantium optio. Quam velit qui alias voluptatibus omnis quae porro.\"]"], ["created_at", "2014-09-19 19:35:37.838285"], ["name", "contract_5fc575d7"], ["title", "Architecto autem animi cumque et quas."], ["updated_at", "2014-09-19 19:35:37.838285"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.850764"], ["updated_at", "2014-09-19 19:35:37.850764"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.852604"], ["updated_at", "2014-09-19 19:35:37.852604"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f227593e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quas aut. Exercitationem rerum pariatur est vel beatae. Voluptatem non vitae ipsam optio in.\", \"Quia sequi quae accusamus et iste. Ut qui aut et aut et voluptatem ea. Suscipit corrupti et. Odio ut voluptate vitae dignissimos sunt sequi omnis. Et sunt adipisci.\"]"], ["created_at", "2014-09-19 19:35:37.855861"], ["name", "contract_f227593e"], ["title", "Dolore fugit itaque et beatae qui."], ["updated_at", "2014-09-19 19:35:37.855861"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.859284"], ["updated_at", "2014-09-19 19:35:37.859284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.860871"], ["updated_at", "2014-09-19 19:35:37.860871"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_11e21f57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem perferendis labore sed. Consequuntur occaecati consequatur corporis consequatur. Dolores in incidunt nihil qui omnis non. Alias nihil rerum.\", \"Hic maiores nisi vel accusantium sit consectetur. Ad nihil illum quia quas. Officiis maiores aut qui.\"]"], ["created_at", "2014-09-19 19:35:37.863475"], ["name", "contract_11e21f57"], ["title", "Amet qui voluptatem id."], ["updated_at", "2014-09-19 19:35:37.863475"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_11e21f57"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_11e21f57') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:35:37.873659"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_11e21f57"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_11e21f57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:35:37.881872"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.886334"], ["updated_at", "2014-09-19 19:35:37.886334"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.887841"], ["updated_at", "2014-09-19 19:35:37.887841"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f09189bf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est molestiae alias deleniti molestiae cum. Accusantium vitae minima. Nisi distinctio sint possimus velit. In excepturi dolorem voluptatem inventore aperiam numquam. Ut adipisci officiis ducimus quis.\", \"Aliquam odit quisquam blanditiis aperiam incidunt. Quaerat est odio. Error facilis quo.\"]"], ["created_at", "2014-09-19 19:35:37.890623"], ["name", "contract_f09189bf"], ["title", "Aspernatur corporis qui voluptates perferendis temporibus."], ["updated_at", "2014-09-19 19:35:37.890623"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f09189bf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_f09189bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:35:37.894161"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f09189bf' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.905959"], ["updated_at", "2014-09-19 19:35:37.905959"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.907804"], ["updated_at", "2014-09-19 19:35:37.907804"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_a595a697') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non et adipisci at. In dolore ut consequatur sint est aut qui. Iusto earum beatae ipsum aut voluptatem quasi dolorum.\", \"Repellendus minima et repudiandae neque aspernatur dolorem sit. Magnam voluptatem non non ut quia. Qui non odit nobis voluptatem tempore atque.\"]"], ["created_at", "2014-09-19 19:35:37.911575"], ["name", "contract_a595a697"], ["title", "Aperiam perspiciatis quia explicabo officia quas."], ["updated_at", "2014-09-19 19:35:37.911575"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.915883"], ["updated_at", "2014-09-19 19:35:37.915883"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.917719"], ["updated_at", "2014-09-19 19:35:37.917719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_792cb79e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae deleniti necessitatibus dolores. Voluptatum fugiat possimus. Libero ex aut enim excepturi illum. Nihil eum incidunt enim omnis est velit tempora. Nisi nihil nihil est tempore.\", \"Quo ipsum a libero deleniti excepturi omnis. Dolorem iure ut possimus et. Nisi quia non necessitatibus quibusdam magnam reiciendis sequi. Aut voluptates voluptatem mollitia non eaque optio. Quia odit minus et in est nihil velit.\"]"], ["created_at", "2014-09-19 19:35:37.921123"], ["name", "contract_792cb79e"], ["title", "Praesentium quod quo."], ["updated_at", "2014-09-19 19:35:37.921123"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.928476"], ["updated_at", "2014-09-19 19:35:37.928476"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.930103"], ["updated_at", "2014-09-19 19:35:37.930103"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e444415a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut eligendi nihil fuga qui autem voluptatem. Quis recusandae sit excepturi sapiente sequi ratione. Ut cumque provident voluptatem. Voluptate voluptas ut. Ullam ut aut quibusdam labore ut ipsa perferendis.\", \"Ad repellendus a dicta. Distinctio animi tempore accusamus. Et nam ex. Enim provident in eum et. Et hic rem explicabo ratione.\"]"], ["created_at", "2014-09-19 19:35:37.932927"], ["name", "contract_e444415a"], ["title", "Sapiente amet ducimus."], ["updated_at", "2014-09-19 19:35:37.932927"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e444415a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_e444415a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:35:37.936590"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.940337"], ["updated_at", "2014-09-19 19:35:37.940337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.942029"], ["updated_at", "2014-09-19 19:35:37.942029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ae3be022') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem consectetur culpa in. Corrupti quo aut officia nisi possimus ratione ducimus. Vel praesentium ipsa voluptatem. In expedita voluptatum explicabo sit suscipit maxime.\", \"Accusamus nemo nisi ut eaque. Qui eum et excepturi nesciunt quia omnis. Delectus consequuntur ea. Consectetur voluptatum rerum quia laboriosam et.\"]"], ["created_at", "2014-09-19 19:35:37.944805"], ["name", "contract_ae3be022"], ["title", "Deserunt et aliquam eligendi ad qui vero."], ["updated_at", "2014-09-19 19:35:37.944805"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.947989"], ["updated_at", "2014-09-19 19:35:37.947989"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.949514"], ["updated_at", "2014-09-19 19:35:37.949514"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b53a2eb6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia quia neque. Eaque minima quia consequatur est natus totam. Molestiae consequatur fuga eum repudiandae et. Illum quibusdam veritatis modi. Veritatis est ab mollitia occaecati eos harum deleniti.\", \"Veritatis occaecati autem. Quo qui sed. Qui omnis in quod reprehenderit doloremque. Sit corrupti aut dolorem possimus placeat saepe.\"]"], ["created_at", "2014-09-19 19:35:37.952509"], ["name", "contract_b53a2eb6"], ["title", "Autem et quia aut iure."], ["updated_at", "2014-09-19 19:35:37.952509"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.955666"], ["updated_at", "2014-09-19 19:35:37.955666"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.957106"], ["updated_at", "2014-09-19 19:35:37.957106"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f15e732') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et laudantium quaerat minima sed. Ea autem non amet id. Laboriosam est sit repellat. Ducimus voluptatem iusto et necessitatibus deleniti.\", \"Fugit veritatis fuga asperiores et culpa officia. Quia porro quos magni iure sint. Id reprehenderit est sit rem iste praesentium. Et vero culpa ab rem assumenda. Qui eos perspiciatis consequatur est aut.\"]"], ["created_at", "2014-09-19 19:35:37.959584"], ["name", "contract_6f15e732"], ["title", "Corporis et eligendi quia repellat."], ["updated_at", "2014-09-19 19:35:37.959584"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.964828"], ["updated_at", "2014-09-19 19:35:37.964828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.966272"], ["updated_at", "2014-09-19 19:35:37.966272"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2cbbbb1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et cupiditate quo sit consequatur aliquid omnis non. Atque ut consequatur. Ipsa expedita laboriosam voluptas cum.\", \"Excepturi voluptatibus aut omnis aliquid commodi. Voluptatem quae reprehenderit. Provident harum id maxime voluptas natus temporibus.\"]"], ["created_at", "2014-09-19 19:35:37.968785"], ["name", "contract_2cbbbb1f"], ["title", "Voluptate temporibus accusantium molestiae."], ["updated_at", "2014-09-19 19:35:37.968785"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.971646"], ["updated_at", "2014-09-19 19:35:37.971646"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.973058"], ["updated_at", "2014-09-19 19:35:37.973058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_11b47fe8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut error amet consectetur aspernatur minima enim. Et iste totam. Et suscipit nemo. Odit cumque enim quis aliquam quo et. Et dolor sit animi sit sint.\", \"Autem non incidunt sed iste. Dolores ut recusandae facere. Iusto et quam rerum eum. Qui accusantium excepturi adipisci.\"]"], ["created_at", "2014-09-19 19:35:37.975461"], ["name", "contract_11b47fe8"], ["title", "Sit est aut odio."], ["updated_at", "2014-09-19 19:35:37.975461"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.978412"], ["updated_at", "2014-09-19 19:35:37.978412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.979896"], ["updated_at", "2014-09-19 19:35:37.979896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6bad557b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quis optio aut sed pariatur excepturi. Cumque officia harum vitae voluptas distinctio aut. Corporis et autem.\", \"Fugit et at voluptas. Laborum aut vitae quo. Reprehenderit dicta sunt omnis.\"]"], ["created_at", "2014-09-19 19:35:37.982256"], ["name", "contract_6bad557b"], ["title", "Soluta corporis et."], ["updated_at", "2014-09-19 19:35:37.982256"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 15]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 15]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 15 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.990467"], ["updated_at", "2014-09-19 19:35:37.990467"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:37.991978"], ["updated_at", "2014-09-19 19:35:37.991978"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b9ff7849') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quisquam reiciendis. Adipisci vel laborum aut fugiat natus. Alias earum et dicta culpa ut natus.\", \"Rerum saepe nobis maxime praesentium quidem. Aliquid voluptas placeat sed. Quis distinctio sunt harum enim vel delectus.\"]"], ["created_at", "2014-09-19 19:35:37.994470"], ["name", "contract_b9ff7849"], ["title", "Sapiente cupiditate qui et."], ["updated_at", "2014-09-19 19:35:37.994470"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 5, 13, 1, 3, 12, 8, 7, 10, 11, 16, 9, 6, 4, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.004481"], ["updated_at", "2014-09-19 19:35:38.004481"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.006097"], ["updated_at", "2014-09-19 19:35:38.006097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_31703422') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta incidunt libero repellendus commodi. Cupiditate veniam ut neque id consectetur animi. Corporis et laudantium. Quia eum amet dicta sequi qui perferendis rem.\", \"Aut quae numquam consequatur ipsam. Consequatur in delectus eligendi voluptatem ut iure et. Odio aspernatur iusto soluta animi saepe ut voluptas. Et magni voluptates optio et et ut voluptas.\"]"], ["created_at", "2014-09-19 19:35:38.008780"], ["name", "contract_31703422"], ["title", "Placeat recusandae tenetur."], ["updated_at", "2014-09-19 19:35:38.008780"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_31703422"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_31703422') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:35:38.013826"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.017848"], ["updated_at", "2014-09-19 19:35:38.017848"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.019299"], ["updated_at", "2014-09-19 19:35:38.019299"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_486512ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati reiciendis commodi omnis. Cumque voluptatum qui eum autem. Dolores harum perferendis. Est iste ut placeat et quaerat.\", \"Pariatur qui blanditiis reiciendis. Omnis qui harum ea rerum molestiae. Et sint occaecati voluptatem sit.\"]"], ["created_at", "2014-09-19 19:35:38.022073"], ["name", "contract_486512ec"], ["title", "Quasi voluptatibus et quis vitae."], ["updated_at", "2014-09-19 19:35:38.022073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.025073"], ["updated_at", "2014-09-19 19:35:38.025073"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.026526"], ["updated_at", "2014-09-19 19:35:38.026526"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e4ca5b19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius expedita eaque. Ullam veniam non quod explicabo. Quia eum nihil in impedit nihil.\", \"Non illo porro. Quod quasi quidem quia. Quas quia est.\"]"], ["created_at", "2014-09-19 19:35:38.028964"], ["name", "contract_e4ca5b19"], ["title", "Velit deserunt cupiditate facere molestiae."], ["updated_at", "2014-09-19 19:35:38.028964"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e4ca5b19"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_e4ca5b19') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 19:35:38.032251"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero accusantium dolore rerum hic consequatur. Quidem et et necessitatibus dignissimos distinctio officia modi. Consequuntur eaque ut vitae. Molestiae enim repellendus aut eius.\", \"Est soluta ea. Quibusdam rerum eos necessitatibus et. Doloribus et cumque. Suscipit voluptate et est qui delectus.\"]"], ["created_at", "2014-09-19 19:35:38.036831"], ["name", "alpha"], ["title", "Esse quis sint officia laudantium et dolores ea."], ["updated_at", "2014-09-19 19:35:38.036831"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:35:38.039825"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat sunt fugit totam mollitia cum aliquid. Laborum blanditiis facere omnis. Velit velit nulla doloribus aut quis sit. Rerum reprehenderit et doloribus expedita repellat et quia. Ut voluptas maiores ex dicta error rerum autem.\", \"Aliquid dolor sunt id. Consequatur minus voluptatem et sed quia. Quasi asperiores sequi quod voluptas. Eius illum maiores unde totam architecto.\"]"], ["created_at", "2014-09-19 19:35:38.043122"], ["name", "beta"], ["title", "Debitis velit eum."], ["updated_at", "2014-09-19 19:35:38.043122"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:35:38.045969"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt nihil reprehenderit nulla ut sint fuga neque. Eligendi voluptatibus autem aut molestiae quibusdam nobis inventore. Autem amet nostrum aut accusantium optio tempora.\", \"Corporis voluptate libero fuga. Tempora atque vel non unde quod ex. Fuga quos debitis. Quisquam et in ut possimus quaerat consequuntur hic. Sunt perspiciatis nihil pariatur.\"]"], ["created_at", "2014-09-19 19:35:38.049572"], ["name", "alpha"], ["title", "Tenetur quod accusantium excepturi eos nulla reprehenderit."], ["updated_at", "2014-09-19 19:35:38.049572"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:35:38.052517"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas unde distinctio. Fuga explicabo perspiciatis nam delectus ea sed amet. Ratione quam esse vero rem praesentium voluptates qui. Dolor numquam voluptatibus dolore non amet aut possimus.\", \"Nesciunt quam ipsa quo omnis error. Et et delectus. Placeat et dignissimos quibusdam est fugiat. Animi delectus tempora. Vitae quae ut quod aut.\"]"], ["created_at", "2014-09-19 19:35:38.055705"], ["name", "beta"], ["title", "Dolores dolor officia eligendi."], ["updated_at", "2014-09-19 19:35:38.055705"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:35:38.058574"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est fugiat et voluptatem corrupti. Aliquid in illum voluptatem praesentium. Quas sed sint exercitationem et suscipit.\", \"Laborum nemo quibusdam vero ea vitae ab. Repellendus et enim et aliquam itaque. Quia culpa atque quia. Qui aliquid eveniet excepturi modi ratione. Consequatur nihil quo repudiandae aliquid.\"]"], ["created_at", "2014-09-19 19:35:38.062476"], ["name", "alpha"], ["title", "Cumque porro odit quaerat id."], ["updated_at", "2014-09-19 19:35:38.062476"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:35:38.065402"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas dolores laudantium ut qui cum. Dolorum unde qui eaque temporibus dolores aliquid. Occaecati in culpa reprehenderit ullam. Explicabo quo dolorem unde quidem.\", \"Beatae vero aut. Quo aut dolorem perspiciatis qui cumque. Ratione voluptatem in et aliquid autem voluptatem sint. Facere facilis minus nemo sed aut.\"]"], ["created_at", "2014-09-19 19:35:38.068830"], ["name", "beta"], ["title", "Occaecati molestiae fugit vel aut quis."], ["updated_at", "2014-09-19 19:35:38.068830"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:35:38.071859"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.078255"], ["updated_at", "2014-09-19 19:35:38.078255"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.079887"], ["updated_at", "2014-09-19 19:35:38.079887"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.088003"], ["updated_at", "2014-09-19 19:35:38.088003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.089499"], ["updated_at", "2014-09-19 19:35:38.089499"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_da3b5ee4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit maxime quia. In ab sit fugiat tempore et non. Fugiat minima consequatur non blanditiis perferendis libero veritatis.\", \"Vitae eveniet sunt error molestias eius cupiditate incidunt. Voluptas ut ut dolor rerum nobis. Amet iure minima. Quas deleniti sapiente. Corporis accusamus vel corrupti voluptates consequatur voluptas.\"]"], ["created_at", "2014-09-19 19:35:38.093632"], ["name", "contract_da3b5ee4"], ["title", "Ipsa facere sint consequatur nulla."], ["updated_at", "2014-09-19 19:35:38.093632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da3b5ee4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_da3b5ee4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:35:38.096742"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.101975"], ["updated_at", "2014-09-19 19:35:38.101975"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_eb62412e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam sunt et rem. Occaecati et iste mollitia et qui tempore sunt. Qui consequatur ad.\", \"Ipsum eos provident numquam quia a possimus soluta. Dolorem saepe magnam ducimus quia illum perspiciatis. Est dignissimos dolores commodi iure illum voluptas similique.\"]"], ["created_at", "2014-09-19 19:35:38.107139"], ["name", "contract_eb62412e"], ["title", "Consequatur tempora fugiat qui non officia magni."], ["updated_at", "2014-09-19 19:35:38.107139"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_84247674') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae cum libero. Nesciunt quos facilis. Accusamus nam ducimus qui eligendi sed dolorem aut. Amet voluptates qui ut sed temporibus labore sint.\", \"Rerum et ut. Quam omnis neque commodi. Aliquid est dignissimos.\"]"], ["created_at", "2014-09-19 19:35:38.110536"], ["name", "contract_84247674"], ["title", "Rerum totam dolorem natus aut modi impedit."], ["updated_at", "2014-09-19 19:35:38.110536"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b0efe8c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error qui atque. Sit deleniti facilis ad odit. Eius et eaque nostrum officia magnam.\", \"Est voluptates fugit quia quidem. Error voluptas voluptas. Ea sint dolores quo quia nemo quibusdam. Dolor provident nulla omnis.\"]"], ["created_at", "2014-09-19 19:35:38.113309"], ["name", "contract_b0efe8c9"], ["title", "Aut quis eum quia corrupti repudiandae."], ["updated_at", "2014-09-19 19:35:38.113309"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0efe8c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_b0efe8c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:35:38.116284"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_36816c21') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis necessitatibus nulla perferendis dolor. Sapiente ipsum accusantium dolores sint est quis. Debitis non modi rerum nam repellat corporis repudiandae.\", \"Voluptas et accusantium iure. Et est at. Eius debitis nesciunt asperiores est voluptas fugit. Quia itaque soluta qui totam earum. Dolore placeat quidem sit laborum.\"]"], ["created_at", "2014-09-19 19:35:38.119932"], ["name", "contract_36816c21"], ["title", "Officia cumque mollitia omnis."], ["updated_at", "2014-09-19 19:35:38.119932"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_36816c21"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_36816c21') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:35:38.122947"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2f51b547') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga quia sequi et labore at voluptatum. Rerum cumque velit enim. Sed ullam voluptas quam. Ut non ipsa et blanditiis repellat amet quibusdam. Ut distinctio dicta ut.\", \"Voluptates numquam et dolorem. Aut et quis sunt adipisci eos tempore. Et temporibus dolore similique minima ad aliquid quibusdam. Numquam sequi beatae qui aut eligendi reprehenderit sed.\"]"], ["created_at", "2014-09-19 19:35:38.126551"], ["name", "contract_2f51b547"], ["title", "Excepturi ad pariatur possimus nesciunt nam."], ["updated_at", "2014-09-19 19:35:38.126551"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2f51b547"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_2f51b547') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:35:38.129479"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2f51b547' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_2f51b547') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga quia sequi et labore at voluptatum. Rerum cumque velit enim. Sed ullam voluptas quam. Ut non ipsa et blanditiis repellat amet quibusdam. Ut distinctio dicta ut.\", \"Voluptates numquam et dolorem. Aut et quis sunt adipisci eos tempore. Et temporibus dolore similique minima ad aliquid quibusdam. Numquam sequi beatae qui aut eligendi reprehenderit sed.\"]"], ["created_at", "2014-09-19 19:35:38.132898"], ["name", "contract_2f51b547"], ["title", "Excepturi ad pariatur possimus nesciunt nam."], ["updated_at", "2014-09-19 19:35:38.132898"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2f51b547"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_2f51b547') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:35:38.135795"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.138909"], ["updated_at", "2014-09-19 19:35:38.138909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.140423"], ["updated_at", "2014-09-19 19:35:38.140423"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1c431c1d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat voluptas magnam ducimus. Ex cupiditate voluptatibus nemo ipsum eos ad neque. Dolorem eaque aut officiis magnam aspernatur. Aut accusamus vero assumenda vitae.\", \"Consequatur fugit dolorum unde quis est sit. Non et maxime laborum aspernatur voluptate. Alias quae delectus a sit. Temporibus eaque necessitatibus consectetur.\"]"], ["created_at", "2014-09-19 19:35:38.143204"], ["name", "contract_1c431c1d"], ["title", "Sit minus inventore iusto sapiente fuga rerum."], ["updated_at", "2014-09-19 19:35:38.143204"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1c431c1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_1c431c1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:35:38.146187"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.148603"], ["updated_at", "2014-09-19 19:35:38.148603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 19:35:38.150943"], ["updated_at", "2014-09-19 19:35:38.150943"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.156508"], ["updated_at", "2014-09-19 19:35:38.156508"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.157976"], ["updated_at", "2014-09-19 19:35:38.157976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21e64bcc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed ea ut illum reprehenderit impedit. Ut voluptatem aut eligendi provident laborum. Accusantium voluptatem laborum cumque distinctio.\", \"Dolor aut placeat. Corporis eligendi autem non aspernatur. Ea necessitatibus consectetur iusto et. Quod sequi architecto sint rerum minus at.\"]"], ["created_at", "2014-09-19 19:35:38.160927"], ["name", "contract_21e64bcc"], ["title", "Veniam omnis eos similique consequatur occaecati."], ["updated_at", "2014-09-19 19:35:38.160927"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21e64bcc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_21e64bcc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:35:38.163957"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.166481"], ["updated_at", "2014-09-19 19:35:38.166481"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:35:38.168677"], ["updated_at", "2014-09-19 19:35:38.168677"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.174948"], ["updated_at", "2014-09-19 19:35:38.174948"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.176521"], ["updated_at", "2014-09-19 19:35:38.176521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9d99074b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos officiis autem et rem et. Dolorum excepturi suscipit et. Ut animi officiis hic at molestias.\", \"Voluptatem est quos ipsam et molestiae deleniti maxime. Saepe qui aut aut est ut cumque. Ut soluta eum. Nesciunt porro est ea voluptas rerum ut.\"]"], ["created_at", "2014-09-19 19:35:38.179576"], ["name", "contract_9d99074b"], ["title", "Molestiae aut ut quidem quae."], ["updated_at", "2014-09-19 19:35:38.179576"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d99074b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_9d99074b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:35:38.182747"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.185184"], ["updated_at", "2014-09-19 19:35:38.185184"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 19:35:38.187280"], ["updated_at", "2014-09-19 19:35:38.187280"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.194123"], ["updated_at", "2014-09-19 19:35:38.194123"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.195560"], ["updated_at", "2014-09-19 19:35:38.195560"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_80c3413b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima corrupti ipsa exercitationem. Quidem vitae quod iusto veritatis doloribus aut. Sit et et aut reprehenderit. Quia pariatur et.\", \"Quibusdam officiis voluptate. Velit quam fugiat magnam esse. Est quaerat quisquam corrupti quia. Error et quos dolore amet.\"]"], ["created_at", "2014-09-19 19:35:38.198478"], ["name", "contract_80c3413b"], ["title", "Maiores consectetur et magni autem qui quasi error."], ["updated_at", "2014-09-19 19:35:38.198478"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_80c3413b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_80c3413b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:35:38.201470"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:35:38.203857"], ["updated_at", "2014-09-19 19:35:38.203857"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 19:35:38.205966"], ["updated_at", "2014-09-19 19:35:38.205966"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]]  (1.3ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.698580"], ["updated_at", "2014-09-19 19:36:20.698580"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.713369"], ["updated_at", "2014-09-19 19:36:20.713369"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2d8a4daf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur perspiciatis sunt. Et iste magni quia. Quia amet et maiores. Et aut dolores ut. Error ea sunt facilis quia fugit.\", \"Dolore ut facilis. Veniam facere hic reprehenderit quo sequi repellendus. Voluptate et doloremque nobis vero velit.\"]"], ["created_at", "2014-09-19 19:36:20.930254"], ["name", "contract_2d8a4daf"], ["title", "Minus consequatur incidunt consectetur rerum libero iusto dolorem."], ["updated_at", "2014-09-19 19:36:20.930254"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.936369"], ["updated_at", "2014-09-19 19:36:20.936369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.938055"], ["updated_at", "2014-09-19 19:36:20.938055"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_750c7c8b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem nisi asperiores totam ex. Libero quae magni. Repellat est et rerum. Quo sit possimus amet voluptatibus minima est. Excepturi quidem repellendus nemo id facilis.\", \"Quo consequatur rem suscipit provident ipsam ab. Nam atque voluptatum repellendus. Impedit ea dolorem possimus corporis. Reprehenderit veritatis impedit ea cum ut placeat aut.\"]"], ["created_at", "2014-09-19 19:36:20.941076"], ["name", "contract_750c7c8b"], ["title", "Vitae enim tenetur."], ["updated_at", "2014-09-19 19:36:20.941076"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.955544"], ["updated_at", "2014-09-19 19:36:20.955544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.957209"], ["updated_at", "2014-09-19 19:36:20.957209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e09f0868') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum id dolorem reiciendis. Dolorem at eos enim unde architecto autem. Unde animi cum corporis qui. Pariatur vitae ea vel architecto dolorum non.\", \"Fuga est officia et. Repudiandae ea quasi debitis adipisci. Non rem enim laudantium quia ut qui. Voluptatem doloribus et ut quibusdam blanditiis. Sit dicta pariatur tenetur.\"]"], ["created_at", "2014-09-19 19:36:20.960094"], ["name", "contract_e09f0868"], ["title", "Explicabo id dicta expedita tenetur accusamus."], ["updated_at", "2014-09-19 19:36:20.960094"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 2, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.974772"], ["updated_at", "2014-09-19 19:36:20.974772"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.976626"], ["updated_at", "2014-09-19 19:36:20.976626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6e760ce6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt ut aperiam dolor deleniti cupiditate impedit. Tempore nesciunt distinctio praesentium et sed aut. Sint incidunt modi maxime voluptas illum.\", \"Facere ipsum assumenda molestias laudantium perferendis. Deleniti vitae quia vel consequatur. Ex aut omnis aut velit et autem. Soluta eos ut.\"]"], ["created_at", "2014-09-19 19:36:20.980126"], ["name", "contract_6e760ce6"], ["title", "Optio omnis quis aut sequi."], ["updated_at", "2014-09-19 19:36:20.980126"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e760ce6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_6e760ce6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:36:20.985967"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.990725"], ["updated_at", "2014-09-19 19:36:20.990725"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:20.992305"], ["updated_at", "2014-09-19 19:36:20.992305"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8f2b801d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui maiores qui adipisci velit. Qui voluptas ipsa. Maxime ut sapiente reprehenderit quia voluptatibus.\", \"Voluptates distinctio laudantium quas autem quibusdam sint blanditiis. Maiores et doloribus voluptate odio quam vitae vel. Accusamus dolor non tempore inventore. Dignissimos repellendus nihil fugiat dolores sint. Quos non hic quod sed.\"]"], ["created_at", "2014-09-19 19:36:20.995029"], ["name", "contract_8f2b801d"], ["title", "Aliquid autem sint sequi distinctio adipisci et."], ["updated_at", "2014-09-19 19:36:20.995029"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8f2b801d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_8f2b801d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:36:20.998636"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8f2b801d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.008128"], ["updated_at", "2014-09-19 19:36:21.008128"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.009963"], ["updated_at", "2014-09-19 19:36:21.009963"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_b9d1a37e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse accusantium unde. Quidem fugit aspernatur facilis. Nesciunt aut vel aliquid itaque numquam ea explicabo. Ut deserunt suscipit sed non quia.\", \"Quae dolorem sint aut rerum. Nihil natus labore molestiae qui at eum. Doloribus aliquid iusto omnis molestiae odit laboriosam. Ut esse tempora a hic explicabo laborum expedita.\"]"], ["created_at", "2014-09-19 19:36:21.012848"], ["name", "contract_b9d1a37e"], ["title", "Aperiam beatae tempore in."], ["updated_at", "2014-09-19 19:36:21.012848"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.017049"], ["updated_at", "2014-09-19 19:36:21.017049"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.018683"], ["updated_at", "2014-09-19 19:36:21.018683"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_31adf931') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias ut id similique laudantium. Deserunt libero sit nisi occaecati. Culpa in quisquam quas omnis eveniet sint consequatur. Esse consectetur molestias quod cum suscipit. Nobis ea sed aut ab.\", \"Et sapiente aut est omnis qui. Dolore reiciendis quam ex. Tempora autem ad qui aut veniam quasi nam.\"]"], ["created_at", "2014-09-19 19:36:21.021264"], ["name", "contract_31adf931"], ["title", "Nulla nostrum quasi assumenda sint voluptas."], ["updated_at", "2014-09-19 19:36:21.021264"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.024349"], ["updated_at", "2014-09-19 19:36:21.024349"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.025880"], ["updated_at", "2014-09-19 19:36:21.025880"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a20f04df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem sit quo. Reiciendis explicabo nostrum iure est consequatur. Quos id ipsum iste facilis accusantium quod laudantium. Atque quia commodi temporibus consequuntur.\", \"Quia quia quo tempora reprehenderit sunt. Accusantium inventore rerum vitae nemo qui amet. Sint et voluptatum ea ea et voluptas. Consectetur saepe maiores debitis doloremque asperiores. Natus repellat illum rerum.\"]"], ["created_at", "2014-09-19 19:36:21.028770"], ["name", "contract_a20f04df"], ["title", "Magni vel sunt cum dolorem molestias."], ["updated_at", "2014-09-19 19:36:21.028770"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a20f04df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_a20f04df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:36:21.033414"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a20f04df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_a20f04df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:36:21.039539"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.044163"], ["updated_at", "2014-09-19 19:36:21.044163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.045785"], ["updated_at", "2014-09-19 19:36:21.045785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4c6197dd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et assumenda aut officiis qui sit exercitationem. Est quo eum laborum. Autem facilis recusandae voluptatem. Ut numquam velit recusandae.\", \"Ducimus delectus doloremque cupiditate dicta facere est laborum. Adipisci nihil tempora. Dolores eos vitae suscipit. Magnam sint repudiandae recusandae rem dicta qui.\"]"], ["created_at", "2014-09-19 19:36:21.048893"], ["name", "contract_4c6197dd"], ["title", "Repudiandae ut voluptas voluptate totam."], ["updated_at", "2014-09-19 19:36:21.048893"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.055961"], ["updated_at", "2014-09-19 19:36:21.055961"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.057912"], ["updated_at", "2014-09-19 19:36:21.057912"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_27003bd6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias porro voluptatem odio. Magni repellendus corporis. Esse inventore cum voluptatem. Explicabo impedit voluptatum ab vel.\", \"Unde vel eligendi sint qui officia tempore blanditiis. Minima molestiae ea aspernatur quae. Aspernatur earum harum in sunt amet. Est quibusdam omnis cupiditate accusantium.\"]"], ["created_at", "2014-09-19 19:36:21.061665"], ["name", "contract_27003bd6"], ["title", "Sint molestiae nam inventore odit."], ["updated_at", "2014-09-19 19:36:21.061665"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_27003bd6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_27003bd6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:36:21.068199"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.072584"], ["updated_at", "2014-09-19 19:36:21.072584"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.074006"], ["updated_at", "2014-09-19 19:36:21.074006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_787d2dd5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta suscipit laboriosam voluptatum quo sed. Dolor soluta exercitationem enim numquam eius. Dignissimos consequatur doloremque. Quia nihil dolor non in.\", \"Quas possimus rerum et nesciunt sit et voluptatum. Officia veritatis ipsam minima quas. Deserunt laudantium praesentium. Consequatur perspiciatis distinctio dolor.\"]"], ["created_at", "2014-09-19 19:36:21.076628"], ["name", "contract_787d2dd5"], ["title", "Dolor et fugit."], ["updated_at", "2014-09-19 19:36:21.076628"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:36:21.080334"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:36:21.080334"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.084045"], ["updated_at", "2014-09-19 19:36:21.084045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.085542"], ["updated_at", "2014-09-19 19:36:21.085542"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_72f54b4d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut maxime recusandae. Nihil tempore quaerat. Quo nihil voluptas et facilis. Veniam adipisci sed id consequatur. Ut esse non.\", \"Possimus error qui vel qui neque. Saepe et reprehenderit aut sed perferendis qui consequatur. Iure eum expedita ducimus ipsum inventore quaerat. Hic facilis consequuntur a reprehenderit corporis enim.\"]"], ["created_at", "2014-09-19 19:36:21.088038"], ["name", "contract_72f54b4d"], ["title", "Ipsa illum vel dolores dolor et dolore."], ["updated_at", "2014-09-19 19:36:21.088038"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72f54b4d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_72f54b4d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:36:21.091613"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.095168"], ["updated_at", "2014-09-19 19:36:21.095168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.096638"], ["updated_at", "2014-09-19 19:36:21.096638"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_3d639966') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum ipsum sint explicabo et qui. Quia atque vel. Praesentium aliquid incidunt.\", \"Dolore nulla est non. Explicabo officiis praesentium. Non error reiciendis maxime voluptatum repellat id vitae. Est perferendis laboriosam ratione quia. Inventore necessitatibus distinctio quia itaque ut sit.\"]"], ["created_at", "2014-09-19 19:36:21.099827"], ["name", "contract_3d639966"], ["title", "Illo quia ab natus saepe quisquam."], ["updated_at", "2014-09-19 19:36:21.099827"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.103235"], ["updated_at", "2014-09-19 19:36:21.103235"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.104816"], ["updated_at", "2014-09-19 19:36:21.104816"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d0b4ad63') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque et totam dignissimos vitae laboriosam. Illo laboriosam quis atque vel rem in. Aliquid aut est. In voluptatem nisi a tempora et.\", \"Omnis illo autem officia. At quia minima. Qui qui id.\"]"], ["created_at", "2014-09-19 19:36:21.107340"], ["name", "contract_d0b4ad63"], ["title", "At illum eligendi aliquam laborum eaque."], ["updated_at", "2014-09-19 19:36:21.107340"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 15]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 15]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 15 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.115270"], ["updated_at", "2014-09-19 19:36:21.115270"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.116776"], ["updated_at", "2014-09-19 19:36:21.116776"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6c0d8b30') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus est non. Praesentium voluptas et eos unde aut. Omnis sed quia aut. Nisi ipsum nihil enim. Placeat perspiciatis sed qui quia.\", \"Et expedita aliquid qui molestiae. Laborum doloribus magni ut. Accusamus recusandae in aut quo cupiditate.\"]"], ["created_at", "2014-09-19 19:36:21.119275"], ["name", "contract_6c0d8b30"], ["title", "Qui saepe dolorem facilis vitae id voluptatem voluptatem."], ["updated_at", "2014-09-19 19:36:21.119275"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.122439"], ["updated_at", "2014-09-19 19:36:21.122439"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.123896"], ["updated_at", "2014-09-19 19:36:21.123896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c3813fad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In in dolor at aspernatur sequi voluptas. Voluptas voluptas saepe aut quis doloribus id. Repudiandae ipsam modi. Ut commodi aliquam quis adipisci. Aperiam voluptatem in consectetur omnis nesciunt at.\", \"A nisi pariatur. Qui et possimus saepe et placeat voluptatem. Quod occaecati officiis. Non est iste quae nihil dolorem.\"]"], ["created_at", "2014-09-19 19:36:21.126405"], ["name", "contract_c3813fad"], ["title", "Labore error voluptatum."], ["updated_at", "2014-09-19 19:36:21.126405"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.134743"], ["updated_at", "2014-09-19 19:36:21.134743"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.136459"], ["updated_at", "2014-09-19 19:36:21.136459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b7a83578') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum libero laborum modi totam. Dolore sint provident accusantium odit optio rem. Totam doloremque cumque iste qui et. Fugit consequatur libero voluptas voluptatem voluptatum dolore.\", \"Itaque sint ad dolorem quis id. Dignissimos aut iste voluptate qui minima. Quia aut hic autem labore.\"]"], ["created_at", "2014-09-19 19:36:21.139019"], ["name", "contract_b7a83578"], ["title", "Rem rerum velit mollitia."], ["updated_at", "2014-09-19 19:36:21.139019"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.142483"], ["updated_at", "2014-09-19 19:36:21.142483"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.144209"], ["updated_at", "2014-09-19 19:36:21.144209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bf063b74') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aut optio. Ut pariatur quibusdam voluptatibus. Blanditiis saepe at tempora fugit.\", \"Rerum magnam consequuntur accusamus corrupti dignissimos. Debitis rem aperiam corporis ratione vero. Et molestiae pariatur.\"]"], ["created_at", "2014-09-19 19:36:21.146732"], ["name", "contract_bf063b74"], ["title", "Voluptatem quia ex."], ["updated_at", "2014-09-19 19:36:21.146732"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.149897"], ["updated_at", "2014-09-19 19:36:21.149897"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.151382"], ["updated_at", "2014-09-19 19:36:21.151382"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.159363"], ["updated_at", "2014-09-19 19:36:21.159363"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.160940"], ["updated_at", "2014-09-19 19:36:21.160940"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32c2e178') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis minus ad quos iste voluptas commodi sed. Minima quia minus ut perspiciatis et. Cum laborum nemo quae in qui.\", \"Maiores nesciunt architecto in unde harum. Sed consequuntur accusantium quibusdam sit quo quos ut. Aspernatur cumque aut quis hic aut reprehenderit. Ut at consequatur eum aliquam.\"]"], ["created_at", "2014-09-19 19:36:21.164529"], ["name", "contract_32c2e178"], ["title", "Consequatur veniam fugiat reiciendis in doloribus est nostrum."], ["updated_at", "2014-09-19 19:36:21.164529"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32c2e178"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_32c2e178') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:36:21.167711"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d605ca96') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia autem enim. Rerum officiis velit molestiae sint eum. Quo in ex ducimus et beatae eos quis. Quam et aliquid quis.\", \"Consequatur corrupti impedit sed sit. Voluptates eos possimus. Quia voluptatem debitis molestias dolor officiis sed.\"]"], ["created_at", "2014-09-19 19:36:21.173004"], ["name", "contract_d605ca96"], ["title", "Facere praesentium et voluptatum fugit repellendus."], ["updated_at", "2014-09-19 19:36:21.173004"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d605ca96"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_d605ca96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:36:21.177806"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0dbd47ad') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex quis consequatur eligendi. Impedit ratione nihil. Magni ut impedit labore ea numquam. Aut corporis facilis natus id quis quas cupiditate. Quibusdam rerum rem vel adipisci iusto sunt.\", \"Ea voluptas dicta iure nesciunt quis. Voluptas possimus itaque fugiat totam error consequuntur autem. Harum accusamus voluptas quo. Et veniam esse eum asperiores et.\"]"], ["created_at", "2014-09-19 19:36:21.182501"], ["name", "contract_0dbd47ad"], ["title", "Dolorum voluptatem inventore molestiae voluptas enim."], ["updated_at", "2014-09-19 19:36:21.182501"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0dbd47ad"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_0dbd47ad') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:36:21.186400"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0dbd47ad' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_0dbd47ad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex quis consequatur eligendi. Impedit ratione nihil. Magni ut impedit labore ea numquam. Aut corporis facilis natus id quis quas cupiditate. Quibusdam rerum rem vel adipisci iusto sunt.\", \"Ea voluptas dicta iure nesciunt quis. Voluptas possimus itaque fugiat totam error consequuntur autem. Harum accusamus voluptas quo. Et veniam esse eum asperiores et.\"]"], ["created_at", "2014-09-19 19:36:21.190054"], ["name", "contract_0dbd47ad"], ["title", "Dolorum voluptatem inventore molestiae voluptas enim."], ["updated_at", "2014-09-19 19:36:21.190054"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0dbd47ad"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_0dbd47ad') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:36:21.192948"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5c49732a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum sed quasi rem aut minima ad. Autem dolorem non at accusantium quam perferendis. Est at dicta recusandae aut ullam. Nostrum quis velit ut necessitatibus et cumque.\", \"Provident unde sapiente. Necessitatibus earum debitis doloremque suscipit voluptates. Sint quis sed eum delectus sapiente. Omnis aut et aliquid quis vel. Perspiciatis earum nam ut blanditiis sapiente quidem nobis.\"]"], ["created_at", "2014-09-19 19:36:21.196670"], ["name", "contract_5c49732a"], ["title", "Modi quasi velit tenetur atque quia magni."], ["updated_at", "2014-09-19 19:36:21.196670"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_128787a3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quibusdam deserunt expedita eveniet sapiente. In sint aut ullam sequi facilis. Tempore libero autem in temporibus.\", \"Provident ducimus deleniti commodi consectetur animi. Labore reiciendis non necessitatibus repellat et neque. Et id hic dolores. Qui velit libero. Nulla quasi quia ea nobis laboriosam.\"]"], ["created_at", "2014-09-19 19:36:21.203559"], ["name", "contract_128787a3"], ["title", "Ullam qui cum cupiditate."], ["updated_at", "2014-09-19 19:36:21.203559"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_128787a3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_128787a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:36:21.207086"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.212263"], ["updated_at", "2014-09-19 19:36:21.212263"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_a589fe7b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quibusdam ipsum mollitia. Nostrum illum distinctio voluptatum voluptatem excepturi fugit. Rerum tenetur placeat. Non dolorem neque quo saepe non accusamus.\", \"Officiis assumenda ut et cum et fugiat. Neque excepturi libero et dicta possimus. Alias sint consequatur animi aperiam. Natus ratione vel.\"]"], ["created_at", "2014-09-19 19:36:21.217475"], ["name", "contract_a589fe7b"], ["title", "Et pariatur fugit dolore sed voluptatibus rem qui."], ["updated_at", "2014-09-19 19:36:21.217475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.220478"], ["updated_at", "2014-09-19 19:36:21.220478"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.221910"], ["updated_at", "2014-09-19 19:36:21.221910"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1d25c2ed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio labore dicta vel eligendi aut repudiandae earum. Quidem sit ut dolor. Est sapiente vitae quam.\", \"Iste quis rerum. Aut assumenda sit itaque enim. Possimus eos id. Adipisci ipsum amet magnam quidem eum voluptas.\"]"], ["created_at", "2014-09-19 19:36:21.224744"], ["name", "contract_1d25c2ed"], ["title", "Vel officia quo maxime voluptatum ipsam."], ["updated_at", "2014-09-19 19:36:21.224744"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1d25c2ed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_1d25c2ed') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:36:21.227801"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.230563"], ["updated_at", "2014-09-19 19:36:21.230563"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 19:36:21.232929"], ["updated_at", "2014-09-19 19:36:21.232929"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.242838"], ["updated_at", "2014-09-19 19:36:21.242838"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.244364"], ["updated_at", "2014-09-19 19:36:21.244364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bb9b280e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas sed atque nemo et illum. Minus sint consequatur. Cumque culpa dolor. Ut ea ab quasi possimus officiis.\", \"Et numquam ad tenetur totam voluptates exercitationem ipsum. Sed omnis nemo libero ducimus ut aut. Architecto inventore dolorem soluta qui ipsum omnis nihil. Ducimus maxime nesciunt. Et eum consequatur ea quia delectus saepe expedita.\"]"], ["created_at", "2014-09-19 19:36:21.247383"], ["name", "contract_bb9b280e"], ["title", "Earum consequatur vel facere et."], ["updated_at", "2014-09-19 19:36:21.247383"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bb9b280e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_bb9b280e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:36:21.250775"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.253337"], ["updated_at", "2014-09-19 19:36:21.253337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 19:36:21.255503"], ["updated_at", "2014-09-19 19:36:21.255503"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.261108"], ["updated_at", "2014-09-19 19:36:21.261108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.262620"], ["updated_at", "2014-09-19 19:36:21.262620"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_bb97db67') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et pariatur dolor in nihil sed laboriosam. Dolorem nesciunt eum ut dolore laborum nam. Perspiciatis dolorum maxime nesciunt cum laborum nisi voluptatem. Adipisci omnis quia eligendi veritatis accusantium.\", \"Sint qui dolores non. Quas quis reprehenderit. Veritatis aut aliquam quam et. Qui nisi qui asperiores autem modi autem doloribus.\"]"], ["created_at", "2014-09-19 19:36:21.266177"], ["name", "contract_bb97db67"], ["title", "Omnis quia odio ut."], ["updated_at", "2014-09-19 19:36:21.266177"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bb97db67"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_bb97db67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:36:21.269575"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.272082"], ["updated_at", "2014-09-19 19:36:21.272082"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 19:36:21.274296"], ["updated_at", "2014-09-19 19:36:21.274296"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.285306"], ["updated_at", "2014-09-19 19:36:21.285306"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.287032"], ["updated_at", "2014-09-19 19:36:21.287032"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b482639f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio earum suscipit enim et aut voluptatem magnam. Quibusdam voluptatem numquam quia ipsa. Consequuntur nemo ullam aut. Qui debitis qui.\", \"Veritatis id illum in qui. Eius in dolores maiores vitae a. Eum non voluptatem ullam consequuntur. Beatae nisi est. Voluptatum assumenda illum sunt eaque esse impedit qui.\"]"], ["created_at", "2014-09-19 19:36:21.290113"], ["name", "contract_b482639f"], ["title", "Error est non debitis nemo nulla."], ["updated_at", "2014-09-19 19:36:21.290113"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b482639f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_b482639f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:36:21.293142"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:36:21.295608"], ["updated_at", "2014-09-19 19:36:21.295608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 19:36:21.298035"], ["updated_at", "2014-09-19 19:36:21.298035"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis facere quo dolorum. Molestiae distinctio molestiae facere quis reprehenderit dolorem. Modi sunt nam maxime omnis eum dolore. Voluptatem voluptate deserunt aliquam vel et sint. Numquam quae doloribus qui omnis et cupiditate sapiente.\", \"Asperiores quo eos. Quia consequuntur maxime qui sint voluptatem. Aut consequatur sed. Corporis tempore odio corrupti dolorem eveniet voluptas.\"]"], ["created_at", "2014-09-19 19:36:21.304564"], ["name", "alpha"], ["title", "Molestias consequatur ea aliquam accusantium distinctio rem."], ["updated_at", "2014-09-19 19:36:21.304564"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:36:21.308638"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et a tempora non non. Rerum odit doloremque est. Facere aut quasi optio consequatur rerum amet nobis.\", \"Quibusdam alias suscipit quidem aut facere. Ut quo architecto voluptas. Illum non velit adipisci itaque perspiciatis. Omnis doloribus in ut quod quia soluta. Ut unde cumque molestiae ut et delectus numquam.\"]"], ["created_at", "2014-09-19 19:36:21.312895"], ["name", "beta"], ["title", "Tempore ut voluptas vero necessitatibus nesciunt blanditiis."], ["updated_at", "2014-09-19 19:36:21.312895"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:36:21.315886"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum excepturi laudantium consequatur velit dolores iusto est. Dignissimos esse harum dolorem mollitia illo sed natus. Rerum culpa veritatis qui possimus assumenda et tempora.\", \"Minus numquam architecto. Et quos officia in quia. Consequatur nihil dolorem eum eos reprehenderit ea.\"]"], ["created_at", "2014-09-19 19:36:21.319578"], ["name", "alpha"], ["title", "At assumenda hic."], ["updated_at", "2014-09-19 19:36:21.319578"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:36:21.323383"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium qui est mollitia odit exercitationem repudiandae. Voluptas ipsam est dolores odit velit. Impedit occaecati illum molestias quia exercitationem totam id.\", \"Ex nulla quia repellendus recusandae unde. Soluta autem placeat mollitia beatae repellendus sequi. Qui necessitatibus ea est ducimus ex ut.\"]"], ["created_at", "2014-09-19 19:36:21.328034"], ["name", "beta"], ["title", "Voluptate ut consequatur."], ["updated_at", "2014-09-19 19:36:21.328034"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:36:21.332206"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum tenetur ut et voluptatem. Non velit facilis exercitationem. Ab eaque sit occaecati odio sint amet soluta. Adipisci possimus unde.\", \"Numquam officiis aperiam dolor ratione. Veritatis id voluptatem. Ut quam deleniti pariatur et. Molestiae expedita dolores aliquam. Architecto doloribus rerum.\"]"], ["created_at", "2014-09-19 19:36:21.336628"], ["name", "alpha"], ["title", "Ut facilis nihil ea ab asperiores itaque reprehenderit."], ["updated_at", "2014-09-19 19:36:21.336628"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:36:21.339945"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab ut rerum suscipit omnis alias incidunt. Et repellendus ut minima accusantium inventore quia culpa. Eius distinctio at in quo unde voluptas. Est amet omnis fuga sit velit unde error. Quo aliquid illo consequatur molestias.\", \"Unde officia velit. Modi consequuntur hic unde non est. Esse voluptates quaerat voluptas voluptate adipisci maxime.\"]"], ["created_at", "2014-09-19 19:36:21.343340"], ["name", "beta"], ["title", "Rerum nobis qui veritatis et eveniet inventore qui."], ["updated_at", "2014-09-19 19:36:21.343340"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:36:21.346397"], ["version", 3]]  (0.5ms) commit transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (2.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_fbcab55b') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum quia dolore aperiam omnis laudantium. Ipsam dolorum magni. Laboriosam aut fugit exercitationem consequuntur consequatur consectetur dolores. Et dolorem voluptatem.\", \"Libero placeat ut in et esse. Nihil autem et. Quo ipsum ut. Aperiam non qui qui in eveniet architecto libero.\"]"], ["created_at", "2014-09-19 19:37:09.493699"], ["name", "contract_fbcab55b"], ["title", "Qui fugiat et laudantium non ad consequatur."], ["updated_at", "2014-09-19 19:37:09.493699"]]  (1.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fbcab55b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_fbcab55b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:37:09.508078"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.515074"], ["updated_at", "2014-09-19 19:37:09.515074"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ef295e68') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius aut repellat quas deserunt minima est hic. Sequi quis dolorem. Debitis nisi id dolorem velit. Qui et alias at sint nobis. Id suscipit et mollitia eos dolor quas enim.\", \"Eveniet alias placeat quia voluptas. Eveniet quae quia illo molestias. Eum voluptas et nemo eius. Tempora qui autem adipisci possimus harum sequi error.\"]"], ["created_at", "2014-09-19 19:37:09.520790"], ["name", "contract_ef295e68"], ["title", "Rerum doloribus fugit ipsa illo molestiae quibusdam."], ["updated_at", "2014-09-19 19:37:09.520790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.523614"], ["updated_at", "2014-09-19 19:37:09.523614"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.525421"], ["updated_at", "2014-09-19 19:37:09.525421"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.538026"], ["updated_at", "2014-09-19 19:37:09.538026"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.539767"], ["updated_at", "2014-09-19 19:37:09.539767"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.542790"], ["updated_at", "2014-09-19 19:37:09.542790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.544306"], ["updated_at", "2014-09-19 19:37:09.544306"]]  (1.3ms) commit transaction  (0.0ms) begin transaction 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_4ebe89e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim aspernatur corrupti natus. Ratione et nisi commodi quam qui. Nisi exercitationem et. Dolorum accusamus et eius voluptatem ut dolorem.\", \"Praesentium adipisci illum nesciunt voluptatem doloribus rem. Quo tempora molestias nihil quaerat sunt molestiae velit. Velit incidunt quibusdam dolorem quisquam omnis. Non quaerat dolore enim distinctio delectus. Velit blanditiis perferendis et debitis assumenda fuga.\"]"], ["created_at", "2014-09-19 19:37:09.547935"], ["name", "contract_4ebe89e5"], ["title", "Et et commodi iusto."], ["updated_at", "2014-09-19 19:37:09.547935"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ebe89e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_4ebe89e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.6ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:37:09.555066"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.561567"], ["updated_at", "2014-09-19 19:37:09.561567"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.563168"], ["updated_at", "2014-09-19 19:37:09.563168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a0b8943b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum sed quia animi enim mollitia. Voluptatem optio et. Eaque occaecati sit qui sit provident ut eos. Quia reprehenderit minus cumque quos consequatur accusantium. Eum qui rem provident temporibus ratione nisi dolores.\", \"Voluptatum sed magnam itaque veniam error consequatur ullam. Corrupti expedita soluta voluptatem et omnis ut. Ratione voluptas earum iure qui aliquid laudantium.\"]"], ["created_at", "2014-09-19 19:37:09.566149"], ["name", "contract_a0b8943b"], ["title", "Voluptas harum possimus."], ["updated_at", "2014-09-19 19:37:09.566149"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a0b8943b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_a0b8943b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:37:09.569906"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.574364"], ["updated_at", "2014-09-19 19:37:09.574364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.575933"], ["updated_at", "2014-09-19 19:37:09.575933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_23d9eec1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum nobis quo similique omnis ut. Aut voluptas ipsam. Autem deserunt adipisci qui minima sit dolore excepturi. Asperiores consequatur numquam sed qui corrupti. Eum iure impedit autem eligendi qui ea.\", \"Distinctio veritatis deleniti aut excepturi et accusantium. Reprehenderit accusamus et ut modi velit atque voluptas. Dignissimos recusandae veniam asperiores odio reiciendis ipsa.\"]"], ["created_at", "2014-09-19 19:37:09.578772"], ["name", "contract_23d9eec1"], ["title", "Voluptates magnam enim incidunt."], ["updated_at", "2014-09-19 19:37:09.578772"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.582176"], ["updated_at", "2014-09-19 19:37:09.582176"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.583646"], ["updated_at", "2014-09-19 19:37:09.583646"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0937a02b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus eligendi a iusto expedita dolores. Et aspernatur mollitia inventore maiores. Consequatur quas autem nulla reprehenderit molestiae et. Maxime id enim quis maiores explicabo soluta laborum.\", \"Iste nemo quidem cumque. Voluptatum porro in libero. Velit eveniet iste et molestiae aliquam. Et ipsum quam.\"]"], ["created_at", "2014-09-19 19:37:09.586198"], ["name", "contract_0937a02b"], ["title", "Et officia quaerat dolores iure."], ["updated_at", "2014-09-19 19:37:09.586198"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.591729"], ["updated_at", "2014-09-19 19:37:09.591729"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.593392"], ["updated_at", "2014-09-19 19:37:09.593392"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d5e91562') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos consequuntur aut debitis eum sapiente ut. Labore quam nihil a repellendus eligendi similique voluptates. Accusamus magnam alias inventore nesciunt facilis numquam voluptatum.\", \"Similique id iure dolorem rerum veniam. A nemo atque est. Dolore minus in laborum aut eius.\"]"], ["created_at", "2014-09-19 19:37:09.596352"], ["name", "contract_d5e91562"], ["title", "Soluta iusto laborum ut."], ["updated_at", "2014-09-19 19:37:09.596352"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.599857"], ["updated_at", "2014-09-19 19:37:09.599857"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.601393"], ["updated_at", "2014-09-19 19:37:09.601393"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_169ef5e6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil aut harum et. Quae explicabo vel voluptas. Ex pariatur maxime commodi sit.\", \"Asperiores eum aliquid sed odio et quia quisquam. Delectus velit in nam ipsam enim saepe. Quia explicabo consectetur quae maiores voluptatum dolor fugit. Eveniet esse ea.\"]"], ["created_at", "2014-09-19 19:37:09.605348"], ["name", "contract_169ef5e6"], ["title", "Quas ut quis."], ["updated_at", "2014-09-19 19:37:09.605348"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_169ef5e6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_169ef5e6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:37:09.609976"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.614046"], ["updated_at", "2014-09-19 19:37:09.614046"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.615931"], ["updated_at", "2014-09-19 19:37:09.615931"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_a8a140ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit minus vel. Ut ullam tempora eum aut id officiis qui. Et maiores sint.\", \"Sed non deleniti tempora quis. Sed quam molestiae quo sint sed. Aliquid tempore quam a ipsum ut eos laboriosam. Aliquam enim id iure reiciendis autem eligendi optio. Mollitia saepe cum voluptatum sint sit praesentium quasi.\"]"], ["created_at", "2014-09-19 19:37:09.618700"], ["name", "contract_a8a140ef"], ["title", "Tenetur consequatur provident earum assumenda."], ["updated_at", "2014-09-19 19:37:09.618700"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.621880"], ["updated_at", "2014-09-19 19:37:09.621880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.623419"], ["updated_at", "2014-09-19 19:37:09.623419"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a973e961') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos soluta temporibus quod quo. Nobis et itaque impedit eos iure consectetur. Nisi rerum est illo. Quo sit est dignissimos laudantium aliquid occaecati. Perspiciatis laborum dolor et et.\", \"Architecto repellat corporis omnis. Commodi dolor ut molestias. Aspernatur quasi qui.\"]"], ["created_at", "2014-09-19 19:37:09.626071"], ["name", "contract_a973e961"], ["title", "Aut mollitia sit sed ducimus odit."], ["updated_at", "2014-09-19 19:37:09.626071"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.629627"], ["updated_at", "2014-09-19 19:37:09.629627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.631191"], ["updated_at", "2014-09-19 19:37:09.631191"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b9b80bc8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt vel nulla delectus quam voluptas animi. Nam sit blanditiis quo praesentium ullam deleniti architecto. Et voluptatibus voluptatum repudiandae nam sit. Voluptas voluptatum sed enim facere accusantium quasi. Eum aut quia dicta illum.\", \"Quam iure exercitationem earum repudiandae labore dolorum aut. Beatae doloribus pariatur fugit non aut. Possimus qui quis aut. Odit neque illum perspiciatis doloremque quod id similique. Et eos esse illo.\"]"], ["created_at", "2014-09-19 19:37:09.634225"], ["name", "contract_b9b80bc8"], ["title", "Repellat pariatur minus non."], ["updated_at", "2014-09-19 19:37:09.634225"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 11]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 11]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 11 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.647245"], ["updated_at", "2014-09-19 19:37:09.647245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.648818"], ["updated_at", "2014-09-19 19:37:09.648818"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5ba6e309') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit vel possimus corporis veniam dolor dolorum ea. Aspernatur possimus cupiditate facilis. Eveniet enim ea ducimus.\", \"Nulla saepe dolores asperiores aperiam ea et est. Qui ducimus necessitatibus culpa sit voluptates sed et. Eveniet pariatur voluptatum quis totam optio dolorem at. Aut eos ipsum quis magni.\"]"], ["created_at", "2014-09-19 19:37:09.651460"], ["name", "contract_5ba6e309"], ["title", "Nemo animi quod ea perferendis accusantium quis nihil."], ["updated_at", "2014-09-19 19:37:09.651460"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ba6e309"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_5ba6e309') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:37:09.654794"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5ba6e309' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.661732"], ["updated_at", "2014-09-19 19:37:09.661732"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.663147"], ["updated_at", "2014-09-19 19:37:09.663147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_992cbf58') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In nobis itaque atque dignissimos. Omnis aut unde inventore consequatur excepturi nisi error. Non ex ad nihil. Doloribus est velit quis.\", \"Repellendus consequuntur soluta. Beatae quo dolorem vel ut modi et impedit. Laborum laboriosam ut vero.\"]"], ["created_at", "2014-09-19 19:37:09.665684"], ["name", "contract_992cbf58"], ["title", "Facilis minus quis similique et ut."], ["updated_at", "2014-09-19 19:37:09.665684"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 13 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:37:09.670400"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/13 Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.676479"], ["updated_at", "2014-09-19 19:37:09.676479"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.678038"], ["updated_at", "2014-09-19 19:37:09.678038"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_4e1f04bf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ut et. Recusandae delectus voluptas qui. Rerum aliquam omnis aut et facere qui. Et magnam aperiam et reprehenderit et rerum iure.\", \"Rem dolorem quae ut quos architecto qui quidem. Aliquam ut optio omnis unde ratione. Quo molestias et quia. Aliquam mollitia quos. Saepe in fugit perspiciatis maxime.\"]"], ["created_at", "2014-09-19 19:37:09.681011"], ["name", "contract_4e1f04bf"], ["title", "In iste eum fugit."], ["updated_at", "2014-09-19 19:37:09.681011"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.687555"], ["updated_at", "2014-09-19 19:37:09.687555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.689171"], ["updated_at", "2014-09-19 19:37:09.689171"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b8156ece') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores quo doloremque rerum impedit. Iure facilis cupiditate error sed id repellat qui. Earum dicta ut ipsam nostrum. Modi id impedit quia dolorem unde.\", \"Reprehenderit voluptates labore error perspiciatis ut nesciunt quam. Veritatis dolorem laboriosam. Non a odit vel sint impedit.\"]"], ["created_at", "2014-09-19 19:37:09.692120"], ["name", "contract_b8156ece"], ["title", "Dignissimos quasi et animi minima eveniet magni."], ["updated_at", "2014-09-19 19:37:09.692120"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 8, 5, 14, 3, 12, 4, 9, 10, 15, 7, 2, 1, 13) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.702527"], ["updated_at", "2014-09-19 19:37:09.702527"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.704351"], ["updated_at", "2014-09-19 19:37:09.704351"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_187f8276') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut est et in minima exercitationem labore est. Dolorem autem expedita inventore. Dolor repellat eligendi sit vitae aperiam molestiae. Doloremque officia non esse ex.\", \"Ratione fugit occaecati doloremque placeat exercitationem quis quos. Iure voluptatem minus odit quod cum dolore laudantium. Eum et similique quia recusandae consequatur et. Eum voluptate omnis. Eos adipisci occaecati sed rem a.\"]"], ["created_at", "2014-09-19 19:37:09.707095"], ["name", "contract_187f8276"], ["title", "Aut quod voluptas voluptatum quasi."], ["updated_at", "2014-09-19 19:37:09.707095"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.710132"], ["updated_at", "2014-09-19 19:37:09.710132"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.711551"], ["updated_at", "2014-09-19 19:37:09.711551"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e25a79c1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe qui dolores voluptatem aut ab at aut. Ut nulla odit nobis ab rerum. Quis dolorum quia odit error necessitatibus deserunt. Delectus ad atque nulla consequatur accusantium perspiciatis.\", \"Mollitia et et velit sint ipsa. Exercitationem quibusdam eius aliquid magni. Consequuntur laborum voluptates aperiam. Tenetur qui impedit qui sequi asperiores.\"]"], ["created_at", "2014-09-19 19:37:09.714346"], ["name", "contract_e25a79c1"], ["title", "Rerum eos officia ullam consequatur."], ["updated_at", "2014-09-19 19:37:09.714346"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e25a79c1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_e25a79c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:37:09.717736"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e25a79c1"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_e25a79c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:37:09.723836"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.728307"], ["updated_at", "2014-09-19 19:37:09.728307"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.729855"], ["updated_at", "2014-09-19 19:37:09.729855"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2e5696c8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quasi atque explicabo quia. Perferendis nemo molestiae. Nemo animi sit velit atque dolorem ea modi.\", \"Quasi expedita enim omnis id nulla veritatis ut. Iste hic deserunt eos tempore fuga. Eos et omnis quam. Sed sit quo quidem recusandae saepe explicabo facilis. Qui temporibus at doloremque ut blanditiis.\"]"], ["created_at", "2014-09-19 19:37:09.732420"], ["name", "contract_2e5696c8"], ["title", "Mollitia nesciunt amet quibusdam distinctio assumenda."], ["updated_at", "2014-09-19 19:37:09.732420"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.735473"], ["updated_at", "2014-09-19 19:37:09.735473"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.736943"], ["updated_at", "2014-09-19 19:37:09.736943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_316d73e0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi quia cupiditate occaecati provident corporis recusandae sunt. Aut optio facilis sunt pariatur numquam voluptatem aut. In voluptatum tenetur voluptatem at illo nam corporis.\", \"Optio expedita quo neque deserunt ut non laudantium. Veniam molestias consequuntur natus reiciendis reprehenderit. Rerum eius ratione error aliquid perspiciatis sunt fuga. Aut sit deleniti et quas.\"]"], ["created_at", "2014-09-19 19:37:09.739358"], ["name", "contract_316d73e0"], ["title", "Id omnis ad."], ["updated_at", "2014-09-19 19:37:09.739358"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.744762"], ["updated_at", "2014-09-19 19:37:09.744762"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.746227"], ["updated_at", "2014-09-19 19:37:09.746227"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2b700493') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt similique et nisi qui sapiente. Fugiat et ut voluptatem eum aut nihil. At qui sed voluptas error ut.\", \"Omnis vel cupiditate tempore. Voluptate aliquam maiores beatae ex ullam laudantium sapiente. Sapiente consectetur aut. Nisi veritatis eos asperiores et quas sit. Voluptates ut nostrum.\"]"], ["created_at", "2014-09-19 19:37:09.748835"], ["name", "contract_2b700493"], ["title", "Libero ab tenetur beatae ut rem."], ["updated_at", "2014-09-19 19:37:09.748835"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction 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_4fc458e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quas autem iste temporibus voluptate qui. Sed voluptatem sequi sed. Nulla cum quia et. Consequatur ea numquam. Dolorum nostrum ut ad et corporis non sunt.\", \"Eligendi dolor est alias et temporibus labore. Impedit laudantium numquam dolores. Quas fuga at soluta ea est consequuntur voluptatem.\"]"], ["created_at", "2014-09-19 19:37:09.753023"], ["name", "contract_4fc458e7"], ["title", "Vel dicta eos laboriosam autem dolore."], ["updated_at", "2014-09-19 19:37:09.753023"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4fc458e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_4fc458e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:37:09.756233"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0c762e95') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam ut nostrum accusantium sit at. Iusto maxime nihil. Dolor consequatur nostrum. Aut dignissimos sed unde veritatis fuga praesentium. Corporis et doloribus.\", \"Nostrum molestias enim velit molestiae mollitia. At temporibus laboriosam nostrum distinctio. Aut est laudantium vitae non iste numquam consectetur. Est est porro. Eos rerum fugiat sed similique eligendi.\"]"], ["created_at", "2014-09-19 19:37:09.759852"], ["name", "contract_0c762e95"], ["title", "Dolore aut nisi consequatur et eos a."], ["updated_at", "2014-09-19 19:37:09.759852"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0c762e95"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_0c762e95') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:37:09.763226"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bfbd9808') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptatem saepe eum fugit. Id unde facilis. Corrupti non vel incidunt fugit qui. Quam nesciunt sunt.\", \"Labore possimus voluptates consequatur sint nostrum aut. Sunt nobis facilis eum dicta. Ipsum ratione eum illum.\"]"], ["created_at", "2014-09-19 19:37:09.766937"], ["name", "contract_bfbd9808"], ["title", "Eveniet excepturi qui."], ["updated_at", "2014-09-19 19:37:09.766937"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4b673300') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse consequatur sint hic doloremque pariatur fuga et. Quidem explicabo porro voluptatibus. Officia qui earum aut mollitia est et omnis.\", \"Eos magni recusandae quaerat qui quo quia. Debitis id aut aut esse. Doloribus ut voluptas officia iste sunt enim.\"]"], ["created_at", "2014-09-19 19:37:09.769774"], ["name", "contract_4b673300"], ["title", "Quos et est."], ["updated_at", "2014-09-19 19:37:09.769774"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4b673300"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.4ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_4b673300') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:37:09.773276"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4b673300' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_4b673300') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse consequatur sint hic doloremque pariatur fuga et. Quidem explicabo porro voluptatibus. Officia qui earum aut mollitia est et omnis.\", \"Eos magni recusandae quaerat qui quo quia. Debitis id aut aut esse. Doloribus ut voluptas officia iste sunt enim.\"]"], ["created_at", "2014-09-19 19:37:09.777124"], ["name", "contract_4b673300"], ["title", "Quos et est."], ["updated_at", "2014-09-19 19:37:09.777124"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4b673300"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_4b673300') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:37:09.780182"], ["version", 2]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora odio assumenda. Totam dolores nobis adipisci reiciendis rerum. Aut consequatur voluptas sit dolores corrupti. Debitis nam aliquid distinctio soluta. Ut omnis ex eaque eius aut voluptatem accusantium.\", \"Velit accusantium eaque aspernatur. Quia vel nam debitis asperiores saepe voluptatem non. Omnis amet error cum est. Quis consequatur distinctio non. Quis molestiae quisquam iure et aliquam sit et.\"]"], ["created_at", "2014-09-19 19:37:09.784509"], ["name", "alpha"], ["title", "Et in voluptate velit sint minima."], ["updated_at", "2014-09-19 19:37:09.784509"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:37:09.787519"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta possimus et. Laudantium et velit eius deserunt minima voluptatem non. Sed accusantium ea harum iure vel esse. Repellendus eveniet cumque. Est aspernatur laudantium possimus mollitia.\", \"Et id voluptatibus fugit temporibus corporis accusantium. Voluptates eveniet vel. Dolor ullam quibusdam dolorem.\"]"], ["created_at", "2014-09-19 19:37:09.790837"], ["name", "beta"], ["title", "Qui quis adipisci assumenda mollitia explicabo ut accusantium."], ["updated_at", "2014-09-19 19:37:09.790837"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:37:09.793638"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A optio ad autem neque voluptas libero placeat. Vel rem consequuntur eos non. Ducimus molestiae ut architecto quia ut sint eius. Aspernatur et explicabo dolores modi harum.\", \"Illo similique optio vitae quisquam iusto recusandae quod. Omnis tempore a commodi ea omnis blanditiis optio. Facilis quod eaque possimus placeat.\"]"], ["created_at", "2014-09-19 19:37:09.797214"], ["name", "alpha"], ["title", "Ea ducimus voluptatem iure ullam."], ["updated_at", "2014-09-19 19:37:09.797214"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:37:09.800280"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati ut aut ut iusto ex facilis dolore. Et fugiat ut vitae ut veniam. Et corrupti consequuntur. Est voluptatem eaque tempore est aut ipsam explicabo.\", \"Minus reiciendis praesentium maiores dicta voluptas. Quam veritatis laboriosam veniam eius quis. Corrupti quaerat quo soluta.\"]"], ["created_at", "2014-09-19 19:37:09.803885"], ["name", "beta"], ["title", "Sequi dolores qui repellat omnis eum asperiores."], ["updated_at", "2014-09-19 19:37:09.803885"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:37:09.807825"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non ea architecto quia et. Voluptatibus et doloribus sit distinctio sunt eveniet. Perspiciatis autem mollitia officiis quia voluptate.\", \"In non exercitationem similique. Praesentium et ipsa. Voluptatibus omnis maxime. Facere est qui.\"]"], ["created_at", "2014-09-19 19:37:09.811841"], ["name", "alpha"], ["title", "Numquam officia ut."], ["updated_at", "2014-09-19 19:37:09.811841"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:37:09.815305"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique et eius odit rem magnam asperiores. Aliquid velit deleniti cumque ut. Illo itaque placeat voluptatem qui ipsa. Aliquid occaecati quibusdam maxime quos.\", \"Repudiandae magnam voluptatem. Nihil cumque eaque. Temporibus est labore sit officia iusto. Ipsam adipisci iusto. Sunt porro eius amet est suscipit aut nesciunt.\"]"], ["created_at", "2014-09-19 19:37:09.818745"], ["name", "beta"], ["title", "Fuga tenetur temporibus aut quo et."], ["updated_at", "2014-09-19 19:37:09.818745"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:37:09.821647"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.824819"], ["updated_at", "2014-09-19 19:37:09.824819"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.826309"], ["updated_at", "2014-09-19 19:37:09.826309"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_de471ed8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam dignissimos exercitationem. Amet dolorem illo id. Quibusdam non nam omnis harum qui. Expedita consequatur qui sequi quisquam. Voluptatum assumenda id et dignissimos est explicabo eum.\", \"Repellat qui molestiae occaecati sit libero mollitia. Sed fugiat impedit ducimus ut. Adipisci doloribus voluptatem eius quo. Minus ut consequuntur aut dicta voluptate harum.\"]"], ["created_at", "2014-09-19 19:37:09.829157"], ["name", "contract_de471ed8"], ["title", "Aspernatur non repellat velit."], ["updated_at", "2014-09-19 19:37:09.829157"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de471ed8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_de471ed8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:37:09.832092"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.834472"], ["updated_at", "2014-09-19 19:37:09.834472"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-19 19:37:09.836723"], ["updated_at", "2014-09-19 19:37:09.836723"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.846949"], ["updated_at", "2014-09-19 19:37:09.846949"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.848903"], ["updated_at", "2014-09-19 19:37:09.848903"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_cf7b252e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis repudiandae ipsum deleniti occaecati in. Laboriosam error neque magni. Saepe repellat culpa assumenda deserunt aut et quia.\", \"Architecto aspernatur fugit qui aperiam placeat sunt. Eum odit dolor accusamus repellat esse reiciendis. Dolorum mollitia dolorem non repudiandae soluta quae.\"]"], ["created_at", "2014-09-19 19:37:09.851992"], ["name", "contract_cf7b252e"], ["title", "Excepturi aut nam necessitatibus ut."], ["updated_at", "2014-09-19 19:37:09.851992"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf7b252e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_cf7b252e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:37:09.855017"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.857853"], ["updated_at", "2014-09-19 19:37:09.857853"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 19:37:09.860153"], ["updated_at", "2014-09-19 19:37:09.860153"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.868213"], ["updated_at", "2014-09-19 19:37:09.868213"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.870050"], ["updated_at", "2014-09-19 19:37:09.870050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8af418d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia saepe aperiam numquam aut at. Nesciunt soluta tenetur nihil velit adipisci temporibus ut. Quisquam aut ut et quas ut aperiam quia.\", \"Nobis qui asperiores. Nam quam sed et est. Aperiam rerum vero saepe totam repudiandae nostrum. Eaque quos harum corporis quo possimus ducimus.\"]"], ["created_at", "2014-09-19 19:37:09.873375"], ["name", "contract_8af418d4"], ["title", "Modi culpa consectetur."], ["updated_at", "2014-09-19 19:37:09.873375"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8af418d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_8af418d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:37:09.876412"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.878911"], ["updated_at", "2014-09-19 19:37:09.878911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:37:09.881244"], ["updated_at", "2014-09-19 19:37:09.881244"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.891170"], ["updated_at", "2014-09-19 19:37:09.891170"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.893091"], ["updated_at", "2014-09-19 19:37:09.893091"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c66b7d6b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero voluptate voluptatem qui quo. Sint corrupti ipsa. Consequatur dignissimos aspernatur.\", \"Accusantium voluptates sint. Architecto dicta cum quidem. Sit vel aut quo. Cumque similique laborum numquam illum molestiae et.\"]"], ["created_at", "2014-09-19 19:37:09.896300"], ["name", "contract_c66b7d6b"], ["title", "Quo facilis ducimus."], ["updated_at", "2014-09-19 19:37:09.896300"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c66b7d6b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_c66b7d6b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:37:09.899953"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:09.902371"], ["updated_at", "2014-09-19 19:37:09.902371"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 19:37:09.904804"], ["updated_at", "2014-09-19 19:37:09.904804"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.108370"], ["updated_at", "2014-09-19 19:37:41.108370"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.115522"], ["updated_at", "2014-09-19 19:37:41.115522"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f14e9f3e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et et molestias recusandae consequatur repellat. Quibusdam illo voluptas quia tempore nesciunt omnis. Excepturi vel repellat voluptatem. Id aut fugit nam animi aut.\", \"Ullam minus et eveniet accusamus facilis quos sit. Dignissimos ut nemo numquam animi. Reiciendis dolor nostrum enim qui. Sequi officiis sint cupiditate saepe rerum et.\"]"], ["created_at", "2014-09-19 19:37:41.346758"], ["name", "contract_f14e9f3e"], ["title", "Beatae incidunt possimus nobis."], ["updated_at", "2014-09-19 19:37:41.346758"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f14e9f3e"]]  (0.3ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f14e9f3e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:37:41.364062"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.370875"], ["updated_at", "2014-09-19 19:37:41.370875"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:37:41.374805"], ["updated_at", "2014-09-19 19:37:41.374805"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.389221"], ["updated_at", "2014-09-19 19:37:41.389221"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.390951"], ["updated_at", "2014-09-19 19:37:41.390951"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f25ecf05') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non aliquid tempora rerum et occaecati autem neque. Aut deleniti corporis fugiat vel non neque magnam. Et atque et dolorum. Repellendus qui perferendis. Nostrum omnis ut et nam deleniti mollitia dolores.\", \"Reprehenderit voluptatem assumenda animi. Minus quo doloribus incidunt velit eos aut modi. Id sit incidunt eos.\"]"], ["created_at", "2014-09-19 19:37:41.394482"], ["name", "contract_f25ecf05"], ["title", "Aut voluptatem maiores error officia vel sapiente architecto."], ["updated_at", "2014-09-19 19:37:41.394482"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f25ecf05"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_f25ecf05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:37:41.397680"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.400871"], ["updated_at", "2014-09-19 19:37:41.400871"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:37:41.403482"], ["updated_at", "2014-09-19 19:37:41.403482"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.412391"], ["updated_at", "2014-09-19 19:37:41.412391"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.414069"], ["updated_at", "2014-09-19 19:37:41.414069"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_62d36fdb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non commodi perspiciatis est consectetur. Quia nostrum sit ad amet. Doloremque aperiam ipsa aut similique deserunt. Fuga modi doloribus eum voluptatum. A et ipsum ut incidunt iusto et.\", \"Id in eum nam ipsam quaerat nihil. Est ratione at repellendus. Eius sint et eos. Id iste quos quisquam necessitatibus et modi. Ea minima corporis nostrum excepturi vero optio cupiditate.\"]"], ["created_at", "2014-09-19 19:37:41.417296"], ["name", "contract_62d36fdb"], ["title", "Facilis autem nisi beatae suscipit at."], ["updated_at", "2014-09-19 19:37:41.417296"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_62d36fdb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_62d36fdb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:37:41.420494"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.423051"], ["updated_at", "2014-09-19 19:37:41.423051"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:37:41.425335"], ["updated_at", "2014-09-19 19:37:41.425335"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.430949"], ["updated_at", "2014-09-19 19:37:41.430949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.432646"], ["updated_at", "2014-09-19 19:37:41.432646"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7e3beeaf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia sint dolorem quia quasi et. Et in expedita. Reprehenderit quo error pariatur veritatis dolor. Et in quia est.\", \"Exercitationem non ducimus quaerat vitae dignissimos ratione voluptas. Inventore culpa earum voluptatem. Nulla aut hic facere. Dolor vel eius autem ipsum tempora. Corporis molestiae at accusantium nemo rem et.\"]"], ["created_at", "2014-09-19 19:37:41.435925"], ["name", "contract_7e3beeaf"], ["title", "Dolores molestiae illo aperiam officiis sequi possimus."], ["updated_at", "2014-09-19 19:37:41.435925"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e3beeaf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_7e3beeaf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:37:41.439558"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.442244"], ["updated_at", "2014-09-19 19:37:41.442244"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:37:41.444527"], ["updated_at", "2014-09-19 19:37:41.444527"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_5ecd9b42') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In sed labore perferendis ut ut. Quae ea eius. Mollitia vero alias deleniti optio neque.\", \"Sit repellat sint libero excepturi. Aut ut quis reprehenderit commodi possimus. Cumque voluptatem consequuntur facilis dolore velit ad ex. Ut eaque qui molestiae eum voluptas dolorem architecto.\"]"], ["created_at", "2014-09-19 19:37:41.454532"], ["name", "contract_5ecd9b42"], ["title", "Alias et omnis ab et aut quam quas."], ["updated_at", "2014-09-19 19:37:41.454532"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_709b6014') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim sit quo molestiae. Debitis maiores quia odit fuga deleniti accusantium. Sed delectus beatae omnis nesciunt.\", \"Sed soluta maxime voluptatem. Hic ea quia totam. Nesciunt et qui occaecati. Officia earum rerum. Corrupti excepturi expedita accusantium veniam optio ea.\"]"], ["created_at", "2014-09-19 19:37:41.458676"], ["name", "contract_709b6014"], ["title", "Sed ut ad aspernatur itaque iusto sint."], ["updated_at", "2014-09-19 19:37:41.458676"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_709b6014"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_709b6014') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:37:41.462727"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.465469"], ["updated_at", "2014-09-19 19:37:41.465469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b056b18c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non aperiam praesentium sed eaque ratione. Quisquam quibusdam soluta commodi. Fuga nemo ad. Assumenda doloremque consequatur tenetur nostrum dolores consequatur. Natus laboriosam excepturi expedita odit cumque dolor voluptas.\", \"Et officia voluptatem alias commodi repellendus neque odit. Minima cumque voluptatibus et hic ut enim. Est exercitationem totam veritatis dolores enim est.\"]"], ["created_at", "2014-09-19 19:37:41.470408"], ["name", "contract_b056b18c"], ["title", "Voluptatem fugiat doloribus dolores sed omnis."], ["updated_at", "2014-09-19 19:37:41.470408"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b056b18c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_b056b18c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:37:41.473611"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5b73c712') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis placeat vero aliquid possimus voluptate. Voluptas esse consequatur nihil. Ex debitis et quis.\", \"Occaecati maxime dolores quas sequi laudantium autem. Eius laborum enim quod amet eum. Enim nobis cum id consequatur nesciunt voluptatem rem.\"]"], ["created_at", "2014-09-19 19:37:41.477753"], ["name", "contract_5b73c712"], ["title", "Omnis vitae occaecati itaque repellendus."], ["updated_at", "2014-09-19 19:37:41.477753"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b73c712"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_5b73c712') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:37:41.480859"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5b73c712' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_5b73c712') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis placeat vero aliquid possimus voluptate. Voluptas esse consequatur nihil. Ex debitis et quis.\", \"Occaecati maxime dolores quas sequi laudantium autem. Eius laborum enim quod amet eum. Enim nobis cum id consequatur nesciunt voluptatem rem.\"]"], ["created_at", "2014-09-19 19:37:41.484484"], ["name", "contract_5b73c712"], ["title", "Omnis vitae occaecati itaque repellendus."], ["updated_at", "2014-09-19 19:37:41.484484"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b73c712"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_5b73c712') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:37:41.487618"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_7c60ecad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut architecto enim nam sint voluptate excepturi. Sit sed ipsam molestiae dolor fugit ab. Enim nulla ut voluptatum omnis autem. Sapiente veritatis possimus quae consequatur minima. Maxime iste aut sunt voluptatem doloremque voluptatum.\", \"Nihil molestias quibusdam dignissimos laboriosam eius. Minus consequatur debitis facere numquam dolorem. Sed quia labore perspiciatis laborum in et aperiam. Exercitationem velit deleniti. Qui et veniam commodi.\"]"], ["created_at", "2014-09-19 19:37:41.492211"], ["name", "contract_7c60ecad"], ["title", "Unde omnis qui sint et sint."], ["updated_at", "2014-09-19 19:37:41.492211"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_88b40cd8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil sit non eum nam beatae. Velit sapiente fugiat. Placeat asperiores deleniti quasi.\", \"Beatae occaecati animi voluptate accusamus. Et sit ut tempora. Est sapiente qui qui excepturi.\"]"], ["created_at", "2014-09-19 19:37:41.495260"], ["name", "contract_88b40cd8"], ["title", "Nihil commodi quo et cum sequi laboriosam aliquid."], ["updated_at", "2014-09-19 19:37:41.495260"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88b40cd8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_88b40cd8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:37:41.498513"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque minima et magnam molestiae similique quas. Aliquam expedita nulla corporis est libero tempore. Sint dolores accusamus ea.\", \"Debitis deserunt dolores voluptates. Et ipsam consectetur impedit et. Facilis in suscipit error possimus.\"]"], ["created_at", "2014-09-19 19:37:41.506213"], ["name", "alpha"], ["title", "Reiciendis voluptas ut expedita tempore quae quia."], ["updated_at", "2014-09-19 19:37:41.506213"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:37:41.509320"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat quis inventore expedita cumque debitis dolores. Rem occaecati et temporibus quo non itaque cupiditate. Nihil aliquam placeat eos natus itaque.\", \"Voluptatum maiores est soluta sed enim. Ut porro repellat. Eum et quasi nisi consectetur accusantium nulla animi. Temporibus sint est modi tenetur autem.\"]"], ["created_at", "2014-09-19 19:37:41.513032"], ["name", "beta"], ["title", "Nisi voluptas qui."], ["updated_at", "2014-09-19 19:37:41.513032"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:37:41.516049"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad consequatur ratione et error dolor sapiente voluptatem. Omnis ea hic. Distinctio nulla aperiam voluptas sed ducimus totam.\", \"Dignissimos quia molestiae sit at id. Ipsa eum eaque numquam hic recusandae. Pariatur sit sed repellendus autem.\"]"], ["created_at", "2014-09-19 19:37:41.519880"], ["name", "alpha"], ["title", "Quasi et qui totam aliquid ut."], ["updated_at", "2014-09-19 19:37:41.519880"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:37:41.522839"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est odit nostrum corporis qui. Molestiae consequatur earum ipsa est. Debitis voluptatem quibusdam consequatur nobis. Totam id illo veniam et. Voluptas debitis aperiam distinctio.\", \"Ratione molestiae nobis laborum sit. Quod magni sed corporis possimus numquam. Quo molestiae repellendus maxime inventore occaecati fugiat molestiae. Quia vel et ex quam accusantium.\"]"], ["created_at", "2014-09-19 19:37:41.526169"], ["name", "beta"], ["title", "Culpa vel illo id nobis minima temporibus accusamus."], ["updated_at", "2014-09-19 19:37:41.526169"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:37:41.529129"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque nam distinctio. Quia officiis vero ut. Porro odit iure nemo delectus ullam eum. Animi enim doloremque.\", \"Quibusdam sunt hic. Dicta maxime reprehenderit non cupiditate voluptatem voluptatem corrupti. Sed qui doloribus et.\"]"], ["created_at", "2014-09-19 19:37:41.532730"], ["name", "alpha"], ["title", "Possimus qui quia ea vitae."], ["updated_at", "2014-09-19 19:37:41.532730"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:37:41.535663"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti nisi sed sit aperiam. Nesciunt dolores nihil quo enim. Reprehenderit id saepe voluptatem explicabo.\", \"Dolores est quisquam hic molestiae aspernatur vero. Ipsum corporis veniam soluta omnis laboriosam cum. Quam adipisci excepturi aut. Aut quisquam qui quod quis consequatur.\"]"], ["created_at", "2014-09-19 19:37:41.539032"], ["name", "beta"], ["title", "Quis provident voluptatem molestiae."], ["updated_at", "2014-09-19 19:37:41.539032"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:37:41.542020"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.545323"], ["updated_at", "2014-09-19 19:37:41.545323"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.547497"], ["updated_at", "2014-09-19 19:37:41.547497"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b21df80b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit accusamus quas vel iure et reiciendis. Provident enim debitis velit architecto. Rerum eum enim voluptates voluptate amet explicabo et. Optio distinctio blanditiis cupiditate omnis sed veritatis.\", \"Illum est recusandae aut debitis modi. Veniam repellendus omnis vel alias odio quo qui. Accusamus et eligendi. Ipsam alias et in iure rerum tempore officia.\"]"], ["created_at", "2014-09-19 19:37:41.550649"], ["name", "contract_b21df80b"], ["title", "Eligendi id nostrum voluptatem molestiae."], ["updated_at", "2014-09-19 19:37:41.550649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b21df80b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_b21df80b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:37:41.554064"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.561309"], ["updated_at", "2014-09-19 19:37:41.561309"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.563120"], ["updated_at", "2014-09-19 19:37:41.563120"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_42b7ba7a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi sint deleniti dignissimos. Qui magnam maiores veritatis modi maxime veniam officia. Non cumque voluptatibus quas iure.\", \"Pariatur libero commodi. Assumenda iure odit quibusdam perspiciatis accusamus. Repellat tempora quidem ducimus alias optio ut qui. Qui aperiam blanditiis eaque eos. Hic praesentium aut quae.\"]"], ["created_at", "2014-09-19 19:37:41.565789"], ["name", "contract_42b7ba7a"], ["title", "Molestiae quos consequuntur repellat nulla minus et ea."], ["updated_at", "2014-09-19 19:37:41.565789"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_42b7ba7a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_42b7ba7a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 19:37:41.571014"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.575064"], ["updated_at", "2014-09-19 19:37:41.575064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.576516"], ["updated_at", "2014-09-19 19:37:41.576516"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_6cdd0bec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum blanditiis nihil recusandae repudiandae molestiae. Eligendi inventore vel nulla maxime. Aut delectus expedita veniam voluptas asperiores iusto.\", \"Beatae cupiditate voluptatum quis est in officiis. Odit dolor quia esse eos autem est. Ut eos laudantium voluptate tempora.\"]"], ["created_at", "2014-09-19 19:37:41.579101"], ["name", "contract_6cdd0bec"], ["title", "Dignissimos veniam architecto sint aliquam nihil qui."], ["updated_at", "2014-09-19 19:37:41.579101"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 20 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:37:41.583531"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.589336"], ["updated_at", "2014-09-19 19:37:41.589336"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.590880"], ["updated_at", "2014-09-19 19:37:41.590880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_241ccf42') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit voluptas enim praesentium quisquam. Aut neque nesciunt magnam. Quis officiis quo quas deleniti.\", \"Dignissimos voluptas vel amet ut. Doloribus nesciunt eveniet sed harum quaerat minus. Temporibus ullam ut autem est voluptas et.\"]"], ["created_at", "2014-09-19 19:37:41.593381"], ["name", "contract_241ccf42"], ["title", "Quo quis accusantium est voluptas dignissimos."], ["updated_at", "2014-09-19 19:37:41.593381"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.599106"], ["updated_at", "2014-09-19 19:37:41.599106"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.600655"], ["updated_at", "2014-09-19 19:37:41.600655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f0f37ac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis rerum omnis harum ut. Repudiandae quidem facere. Vero et iste atque. Porro tempora et praesentium. Impedit quia tempore et dolores rerum.\", \"Ea qui consectetur quis deleniti sit. Aspernatur nesciunt natus totam. Numquam cupiditate reiciendis qui neque accusamus dolorem officia. Rerum ullam itaque consequatur qui enim possimus dolores. Et qui aut eaque fuga.\"]"], ["created_at", "2014-09-19 19:37:41.603226"], ["name", "contract_9f0f37ac"], ["title", "Reprehenderit voluptatibus architecto recusandae."], ["updated_at", "2014-09-19 19:37:41.603226"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.606390"], ["updated_at", "2014-09-19 19:37:41.606390"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.607955"], ["updated_at", "2014-09-19 19:37:41.607955"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3162948') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quae est perspiciatis doloribus. Eum a voluptas quae sapiente. Nemo et molestiae explicabo tempore. Error aut dolorum ipsam aut et deserunt excepturi.\", \"Ducimus aliquam numquam magnam qui provident adipisci eligendi. Nobis labore ratione eaque illo vel explicabo molestias. Unde assumenda et. Id alias doloribus atque recusandae excepturi. Ea est provident autem sit reprehenderit sapiente quos.\"]"], ["created_at", "2014-09-19 19:37:41.610394"], ["name", "contract_a3162948"], ["title", "Sunt labore odit aut minus architecto."], ["updated_at", "2014-09-19 19:37:41.610394"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.615191"], ["updated_at", "2014-09-19 19:37:41.615191"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.616686"], ["updated_at", "2014-09-19 19:37:41.616686"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3e07a8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni natus id. Itaque fuga odit perspiciatis reiciendis voluptatem corporis molestias. Voluptatibus earum qui.\", \"Nihil dolores libero autem corporis. Modi hic voluptatem. Qui eos et. Consequatur ut iusto impedit.\"]"], ["created_at", "2014-09-19 19:37:41.619180"], ["name", "contract_a3e07a8c"], ["title", "Suscipit laudantium doloremque voluptatibus facere ea."], ["updated_at", "2014-09-19 19:37:41.619180"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.624642"], ["updated_at", "2014-09-19 19:37:41.624642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.626168"], ["updated_at", "2014-09-19 19:37:41.626168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f65fa69d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim nisi qui voluptatum delectus et commodi. Ut quae quos nihil qui sed repellendus ut. Nulla hic ducimus eum.\", \"Exercitationem libero similique. Similique magnam repellat placeat quia dignissimos totam maxime. Vel iusto debitis. A dolore et commodi minus. Aperiam commodi est consequatur vel et.\"]"], ["created_at", "2014-09-19 19:37:41.629415"], ["name", "contract_f65fa69d"], ["title", "Autem minus similique facilis."], ["updated_at", "2014-09-19 19:37:41.629415"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f65fa69d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_f65fa69d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:37:41.632904"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.639192"], ["updated_at", "2014-09-19 19:37:41.639192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.640761"], ["updated_at", "2014-09-19 19:37:41.640761"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_83486eec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi aut minus quo. Inventore aut laborum voluptate repellat suscipit consequatur quas. Aut ullam tenetur nostrum. Est voluptatum laborum facere ut enim eius.\", \"Ullam est qui iste laboriosam. Eaque aut et. Libero aspernatur quas iusto quis eos. Et eos sit. Et eum alias.\"]"], ["created_at", "2014-09-19 19:37:41.643406"], ["name", "contract_83486eec"], ["title", "Dolorem et quo delectus et est."], ["updated_at", "2014-09-19 19:37:41.643406"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 12, 17, 15, 13, 21, 19, 9, 8, 5, 3, 6, 10, 4, 26, 11, 22, 23, 24, 7, 18, 1, 2, 25, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.653592"], ["updated_at", "2014-09-19 19:37:41.653592"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.655259"], ["updated_at", "2014-09-19 19:37:41.655259"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ea06b94e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In iusto sapiente odit ut. Ex aspernatur repellat nobis. Molestiae deserunt sint et ipsum sapiente. Incidunt praesentium vel. Dolor sit nam.\", \"Eos consequuntur asperiores quasi praesentium dolor dolorem est. Quis et aliquid qui necessitatibus. Reiciendis repellat blanditiis inventore recusandae corrupti est aut. Aperiam id ut cum deleniti. Iure ipsa ut deserunt eius ut rerum.\"]"], ["created_at", "2014-09-19 19:37:41.657958"], ["name", "contract_ea06b94e"], ["title", "Unde corporis et quae illo ullam ut."], ["updated_at", "2014-09-19 19:37:41.657958"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ea06b94e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_ea06b94e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:37:41.661822"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ea06b94e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_ea06b94e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:37:41.668992"], ["version", nil]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.674904"], ["updated_at", "2014-09-19 19:37:41.674904"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.676758"], ["updated_at", "2014-09-19 19:37:41.676758"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_c987c28a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias dolorem laboriosam cum perferendis rerum. Minima id sit eius iste. Et consectetur qui facilis. Dolorem omnis rerum. Ex quaerat tenetur.\", \"Qui dolorum quis alias repellendus autem eligendi dolores. Recusandae quia odio quis. Nesciunt inventore nulla facilis deleniti.\"]"], ["created_at", "2014-09-19 19:37:41.680018"], ["name", "contract_c987c28a"], ["title", "Facere ducimus repellat aut sapiente laborum."], ["updated_at", "2014-09-19 19:37:41.680018"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.690645"], ["updated_at", "2014-09-19 19:37:41.690645"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.692400"], ["updated_at", "2014-09-19 19:37:41.692400"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d88592db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt sequi ipsum. Optio quos consectetur quisquam et. Et quibusdam quia et.\", \"Sed temporibus saepe assumenda necessitatibus quas aliquam veniam. Vero itaque ex minus id quod consequatur. Suscipit officia blanditiis eius expedita. Aut ea quisquam.\"]"], ["created_at", "2014-09-19 19:37:41.695089"], ["name", "contract_d88592db"], ["title", "Illo quis voluptas porro ad libero."], ["updated_at", "2014-09-19 19:37:41.695089"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.700208"], ["updated_at", "2014-09-19 19:37:41.700208"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.702183"], ["updated_at", "2014-09-19 19:37:41.702183"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b47f0ab0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur debitis nobis possimus tempora. Cum impedit illum et eaque provident dolorem. Placeat aut illo enim. Tempore illum non.\", \"Exercitationem labore id blanditiis corrupti laborum. Ipsum voluptas saepe voluptatibus. Qui placeat iste consequatur odit quibusdam suscipit. Nesciunt quis deserunt. Repudiandae et nobis debitis sit voluptatem qui.\"]"], ["created_at", "2014-09-19 19:37:41.705416"], ["name", "contract_b47f0ab0"], ["title", "Deserunt consequuntur rem incidunt ratione."], ["updated_at", "2014-09-19 19:37:41.705416"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.711528"], ["updated_at", "2014-09-19 19:37:41.711528"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.713552"], ["updated_at", "2014-09-19 19:37:41.713552"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_fdeac187') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum sequi officiis. Exercitationem aperiam dolores. Mollitia numquam velit similique. Ea voluptatem impedit voluptatibus molestiae. Cumque eligendi exercitationem dicta.\", \"Alias modi officia culpa et nam omnis dolore. Totam et voluptates ipsum. Voluptatem quo recusandae voluptas esse quam. Ut enim necessitatibus sit ut.\"]"], ["created_at", "2014-09-19 19:37:41.716307"], ["name", "contract_fdeac187"], ["title", "Temporibus aut dignissimos totam."], ["updated_at", "2014-09-19 19:37:41.716307"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.722009"], ["updated_at", "2014-09-19 19:37:41.722009"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.723440"], ["updated_at", "2014-09-19 19:37:41.723440"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4ce8e647') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae quisquam voluptas eum voluptatem. Fuga perspiciatis delectus cumque praesentium laborum et et. Nulla repudiandae porro sit. Velit et sint in a ut aut et. Repellat maxime autem explicabo omnis sit occaecati repellendus.\", \"Est veritatis ut ipsam magni ratione. Modi suscipit quam perspiciatis rem dolorum ratione. Velit ratione error perferendis totam ipsam est vel.\"]"], ["created_at", "2014-09-19 19:37:41.725987"], ["name", "contract_4ce8e647"], ["title", "Aperiam rerum autem blanditiis sapiente cumque ea molestias."], ["updated_at", "2014-09-19 19:37:41.725987"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.731136"], ["updated_at", "2014-09-19 19:37:41.731136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.732563"], ["updated_at", "2014-09-19 19:37:41.732563"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34d8dd00') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae numquam adipisci. Enim asperiores reiciendis in eum consectetur molestiae. Aut sapiente veniam ut.\", \"Nulla est voluptas inventore ipsa. Repellat quod accusantium eveniet. Optio voluptas quisquam tempora voluptas cum quas.\"]"], ["created_at", "2014-09-19 19:37:41.735163"], ["name", "contract_34d8dd00"], ["title", "Dignissimos corrupti odit debitis consequatur consectetur repellat."], ["updated_at", "2014-09-19 19:37:41.735163"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 33]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 33]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 33 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.742876"], ["updated_at", "2014-09-19 19:37:41.742876"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.744353"], ["updated_at", "2014-09-19 19:37:41.744353"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d897b8c5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non velit tenetur suscipit in aut. Et iusto nihil omnis culpa cum quod. Nisi ut esse. Sed praesentium itaque in illo enim ullam. Quaerat officia assumenda ut dolorum quasi et officiis.\", \"Nesciunt quisquam rerum officia est distinctio sequi illum. Illo amet aut. Sequi commodi tenetur est est.\"]"], ["created_at", "2014-09-19 19:37:41.747222"], ["name", "contract_d897b8c5"], ["title", "Et et nihil consequuntur enim et dolorem."], ["updated_at", "2014-09-19 19:37:41.747222"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.751999"], ["updated_at", "2014-09-19 19:37:41.751999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.753643"], ["updated_at", "2014-09-19 19:37:41.753643"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_2d42ea19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam doloribus illum adipisci ut. Aut quae sed nesciunt. Eum qui vero voluptas praesentium quam soluta.\", \"Quae cumque repellat voluptatem sunt harum autem nihil. Enim sed id id similique. Nemo vero praesentium et unde et tempora et. Doloremque est atque quia officiis in illum. Soluta commodi corrupti perferendis molestias autem.\"]"], ["created_at", "2014-09-19 19:37:41.756618"], ["name", "contract_2d42ea19"], ["title", "Et dolorum omnis."], ["updated_at", "2014-09-19 19:37:41.756618"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2d42ea19"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_2d42ea19') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:37:41.760012"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d42ea19' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.767043"], ["updated_at", "2014-09-19 19:37:41.767043"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.768525"], ["updated_at", "2014-09-19 19:37:41.768525"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.770889"], ["updated_at", "2014-09-19 19:37:41.770889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:37:41.772277"], ["updated_at", "2014-09-19 19:37:41.772277"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.063231"], ["updated_at", "2014-09-19 19:38:08.063231"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.070073"], ["updated_at", "2014-09-19 19:38:08.070073"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_172b333a') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis repellat autem impedit necessitatibus. Delectus tempora dignissimos necessitatibus amet et tempore et. Enim quibusdam optio quaerat laudantium iure eum est. Vel quia ut nihil. Rem natus sed consequatur.\", \"Nihil adipisci repellat quo. Ut praesentium omnis incidunt nostrum. Modi autem laboriosam. At minima reprehenderit molestiae qui est commodi. Est voluptatibus qui.\"]"], ["created_at", "2014-09-19 19:38:08.326800"], ["name", "contract_172b333a"], ["title", "Unde laborum molestiae qui cumque labore ipsa quasi."], ["updated_at", "2014-09-19 19:38:08.326800"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.347962"], ["updated_at", "2014-09-19 19:38:08.347962"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.349640"], ["updated_at", "2014-09-19 19:38:08.349640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9220b729') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur dolorem expedita temporibus porro incidunt id tenetur. Voluptatibus animi provident iste nemo laborum quis qui. Vel ea natus rerum vero. Accusamus suscipit ipsa voluptate optio. Dolor repellat sapiente consectetur alias quisquam ea.\", \"Ad voluptatem et deleniti. Dolorum sit aut doloribus. Rerum aut cum soluta quos. Soluta non totam sit ullam dolore similique nesciunt.\"]"], ["created_at", "2014-09-19 19:38:08.352965"], ["name", "contract_9220b729"], ["title", "Eligendi doloremque incidunt."], ["updated_at", "2014-09-19 19:38:08.352965"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.357827"], ["updated_at", "2014-09-19 19:38:08.357827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.359410"], ["updated_at", "2014-09-19 19:38:08.359410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4af77571') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos eius in dolores doloribus alias. Temporibus mollitia iure necessitatibus. Dolor natus nostrum fuga voluptates deleniti. Aliquid reiciendis vel id voluptas. Deleniti debitis earum labore necessitatibus molestias eum voluptatem.\", \"Sunt quam hic pariatur. Ab velit ipsum ipsam molestias omnis error voluptas. Eius qui amet maiores sequi non vitae.\"]"], ["created_at", "2014-09-19 19:38:08.362127"], ["name", "contract_4af77571"], ["title", "Incidunt dolor voluptatem voluptate recusandae."], ["updated_at", "2014-09-19 19:38:08.362127"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 3]] SQL (0.3ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 3]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 13ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 3 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.383683"], ["updated_at", "2014-09-19 19:38:08.383683"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.385430"], ["updated_at", "2014-09-19 19:38:08.385430"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_e1199b35') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem hic aspernatur eveniet est id omnis. Sunt pariatur rerum. Temporibus quia assumenda voluptatem nulla.\", \"Maxime sunt repellendus. Accusamus et sint omnis dignissimos iusto blanditiis quod. Nihil sed ut.\"]"], ["created_at", "2014-09-19 19:38:08.388434"], ["name", "contract_e1199b35"], ["title", "Laudantium fuga ex unde nostrum voluptatum asperiores corrupti."], ["updated_at", "2014-09-19 19:38:08.388434"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.393554"], ["updated_at", "2014-09-19 19:38:08.393554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.395133"], ["updated_at", "2014-09-19 19:38:08.395133"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_cdd34d14') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt expedita explicabo dolores incidunt quod enim libero. Ad magnam perferendis voluptas alias aut voluptas provident. Doloremque quia suscipit. Numquam fugit est quasi porro facere quaerat.\", \"Ratione expedita unde eum non aut voluptatum sunt. Nisi iste maxime reprehenderit. Alias cum ratione in rerum. Laudantium consequatur sint accusantium sunt accusamus est quia. Animi tenetur rerum vel nihil et.\"]"], ["created_at", "2014-09-19 19:38:08.399072"], ["name", "contract_cdd34d14"], ["title", "Porro reiciendis cupiditate."], ["updated_at", "2014-09-19 19:38:08.399072"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:38:08.403481"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:38:08.403481"]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.408698"], ["updated_at", "2014-09-19 19:38:08.408698"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.410656"], ["updated_at", "2014-09-19 19:38:08.410656"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_3e232eb5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique eum id sunt. Officiis mollitia debitis facilis odio quo tempore et. Quo dolor sint et. Soluta provident hic cupiditate tenetur quas voluptatum.\", \"Qui corrupti qui nemo et. Ut cupiditate reprehenderit aut et voluptatibus. Sint consectetur cumque. Voluptatem molestias ut possimus omnis labore.\"]"], ["created_at", "2014-09-19 19:38:08.413829"], ["name", "contract_3e232eb5"], ["title", "Voluptas dolor minus minima dolorem ad eos."], ["updated_at", "2014-09-19 19:38:08.413829"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.424021"], ["updated_at", "2014-09-19 19:38:08.424021"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.426294"], ["updated_at", "2014-09-19 19:38:08.426294"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_0c41d8d8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut repellat quod et. Cumque ex exercitationem quod. Voluptatum deleniti nam tempore amet dolor et unde. Est voluptatem quos facere minus magnam illo itaque. Corporis sapiente odit accusantium consequuntur.\", \"Quasi praesentium nisi. Molestiae omnis soluta iste et nemo qui. Rem doloremque sunt alias enim mollitia et cum. Ea distinctio nihil voluptas.\"]"], ["created_at", "2014-09-19 19:38:08.430356"], ["name", "contract_0c41d8d8"], ["title", "Dolore natus consequatur mollitia."], ["updated_at", "2014-09-19 19:38:08.430356"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0c41d8d8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_0c41d8d8') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:38:08.437662"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.444630"], ["updated_at", "2014-09-19 19:38:08.444630"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.446150"], ["updated_at", "2014-09-19 19:38:08.446150"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2dc99743') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas voluptatem occaecati assumenda. Voluptatum facilis nulla ut dolor enim porro. Quod odio eveniet exercitationem vel nostrum consequatur pariatur. Quas consectetur atque sit esse explicabo architecto.\", \"Alias dolore eos eaque. Accusamus pariatur ratione neque consequatur. Rem qui a et ratione dolores consectetur. Expedita sint suscipit. Voluptas perferendis consequatur cupiditate consequatur suscipit molestias eum.\"]"], ["created_at", "2014-09-19 19:38:08.448718"], ["name", "contract_2dc99743"], ["title", "Hic temporibus necessitatibus quibusdam."], ["updated_at", "2014-09-19 19:38:08.448718"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.454350"], ["updated_at", "2014-09-19 19:38:08.454350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.456422"], ["updated_at", "2014-09-19 19:38:08.456422"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_c804e991') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit occaecati voluptas tenetur pariatur. Repellat perspiciatis tenetur. Sunt ut ipsum dolores sequi. Est voluptates illo. Cupiditate dolor aut.\", \"Non optio atque voluptate. Eius consequatur esse eos nam dolor qui. Incidunt commodi dolores. Possimus optio aut.\"]"], ["created_at", "2014-09-19 19:38:08.460415"], ["name", "contract_c804e991"], ["title", "Est qui vel nihil sint ut."], ["updated_at", "2014-09-19 19:38:08.460415"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.464990"], ["updated_at", "2014-09-19 19:38:08.464990"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.466909"], ["updated_at", "2014-09-19 19:38:08.466909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_97905a50') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio doloribus quo aut. Consequatur quia provident est. Ut dolores consequatur et rerum. Eligendi iste ipsam id harum totam.\", \"Odio et consequatur omnis non ullam hic vel. Rem a et est dolores. Aut corrupti cupiditate. Voluptatem ut et quia delectus quidem dicta.\"]"], ["created_at", "2014-09-19 19:38:08.469722"], ["name", "contract_97905a50"], ["title", "Ipsam quibusdam est sint soluta consequatur perspiciatis occaecati."], ["updated_at", "2014-09-19 19:38:08.469722"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.475851"], ["updated_at", "2014-09-19 19:38:08.475851"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.477482"], ["updated_at", "2014-09-19 19:38:08.477482"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_33a4f8a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis repellat aliquam facilis. Dolores tempore minus eveniet. Sed iure numquam est quaerat deleniti dolorum. Sequi ut vero voluptate quia officiis aperiam. Error odit iure vel nulla placeat dicta.\", \"Tempora animi et ut similique sapiente voluptates. Consequatur vel ducimus debitis eligendi dolore laboriosam qui. Repellendus earum explicabo. Quia et expedita qui odit.\"]"], ["created_at", "2014-09-19 19:38:08.480528"], ["name", "contract_33a4f8a4"], ["title", "Eligendi quis ullam."], ["updated_at", "2014-09-19 19:38:08.480528"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.486997"], ["updated_at", "2014-09-19 19:38:08.486997"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.488872"], ["updated_at", "2014-09-19 19:38:08.488872"]]  (0.4ms) commit transaction  (0.1ms) begin transaction 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_2a897180') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et esse et nulla maiores omnis. Deserunt iste veniam magni. Ratione fugit repudiandae vitae.\", \"Qui et voluptas incidunt ut voluptatem aut eveniet. Error rerum atque. Quae corrupti consequatur vel ea repudiandae. Quo rerum deleniti non necessitatibus.\"]"], ["created_at", "2014-09-19 19:38:08.492329"], ["name", "contract_2a897180"], ["title", "Debitis eos dolorem dolores excepturi nam."], ["updated_at", "2014-09-19 19:38:08.492329"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2a897180"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_2a897180') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:38:08.497145"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2a897180' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.506699"], ["updated_at", "2014-09-19 19:38:08.506699"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.508397"], ["updated_at", "2014-09-19 19:38:08.508397"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_e915c929') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam est consequuntur officia itaque. Et deserunt excepturi quidem ad. Non eum blanditiis eaque voluptas nisi ad et.\", \"Ut ut at reiciendis voluptatum aut qui accusamus. Dolore nesciunt molestiae eos aliquid quia mollitia aspernatur. Cupiditate harum nihil velit rerum qui.\"]"], ["created_at", "2014-09-19 19:38:08.511036"], ["name", "contract_e915c929"], ["title", "Omnis at id sed aut delectus."], ["updated_at", "2014-09-19 19:38:08.511036"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.516887"], ["updated_at", "2014-09-19 19:38:08.516887"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.519378"], ["updated_at", "2014-09-19 19:38:08.519378"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b08458e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod et consequatur et. A dolores qui quo rem porro quos eos. Vitae aut dolorem nobis necessitatibus illo. Omnis enim recusandae quae.\", \"Ut rerum numquam. Repellat nihil enim voluptatem. Vel nesciunt qui molestiae. Nihil nihil esse occaecati consequatur. Dolores qui qui.\"]"], ["created_at", "2014-09-19 19:38:08.522724"], ["name", "contract_0b08458e"], ["title", "Est cupiditate consequatur."], ["updated_at", "2014-09-19 19:38:08.522724"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b08458e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_0b08458e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:38:08.526238"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.531832"], ["updated_at", "2014-09-19 19:38:08.531832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.533241"], ["updated_at", "2014-09-19 19:38:08.533241"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_eb448f12') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatem quos nihil architecto hic tenetur. Impedit sunt nihil autem sed consectetur ab. Consectetur ut voluptatibus enim a. Veritatis vel tempore iusto eos voluptatibus sint.\", \"Sunt velit consectetur animi quia. Eum consequatur vel eaque sit aut assumenda rerum. Aliquid voluptates et culpa commodi consequatur alias. Autem qui ratione voluptates minima quae omnis in. Voluptas aut nobis ut.\"]"], ["created_at", "2014-09-19 19:38:08.536215"], ["name", "contract_eb448f12"], ["title", "Delectus et molestias ut incidunt ducimus."], ["updated_at", "2014-09-19 19:38:08.536215"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb448f12"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_eb448f12') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:38:08.541436"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb448f12"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_eb448f12') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:38:08.547022"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.551048"], ["updated_at", "2014-09-19 19:38:08.551048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.552559"], ["updated_at", "2014-09-19 19:38:08.552559"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_7f625769') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam dolorem deserunt minus pariatur. Ullam rem occaecati amet. Dolorum consequatur iure.\", \"Nihil delectus velit pariatur. Ullam quia laboriosam sunt. Eligendi sunt laborum reprehenderit aut hic molestias.\"]"], ["created_at", "2014-09-19 19:38:08.555468"], ["name", "contract_7f625769"], ["title", "Tempora possimus similique ratione saepe."], ["updated_at", "2014-09-19 19:38:08.555468"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7f625769"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_7f625769') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:38:08.561685"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.567722"], ["updated_at", "2014-09-19 19:38:08.567722"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.570316"], ["updated_at", "2014-09-19 19:38:08.570316"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_24dc2045') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas et in. Sed voluptatem nobis est cum architecto amet quia. Aut ipsa est nihil.\", \"Nemo optio aspernatur maxime nobis vel. Eaque enim ex dolorem illo recusandae. Est quo aut doloremque facere nemo.\"]"], ["created_at", "2014-09-19 19:38:08.573313"], ["name", "contract_24dc2045"], ["title", "Dolores dignissimos nihil id possimus veritatis exercitationem est."], ["updated_at", "2014-09-19 19:38:08.573313"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.580370"], ["updated_at", "2014-09-19 19:38:08.580370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.582140"], ["updated_at", "2014-09-19 19:38:08.582140"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8b4e67aa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum error iusto nostrum non. Et blanditiis tempore rem nisi error dignissimos ut. Possimus quo totam assumenda alias deserunt. Possimus et dolore molestiae consequatur ratione. Eaque tempore culpa fugit.\", \"Sed labore et. Sunt veniam officiis exercitationem voluptas dolores voluptatum. Magnam tempore eum perferendis nihil inventore voluptatem.\"]"], ["created_at", "2014-09-19 19:38:08.585158"], ["name", "contract_8b4e67aa"], ["title", "Beatae ipsum dolores sed et."], ["updated_at", "2014-09-19 19:38:08.585158"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 8, 1, 18, 13, 9, 12, 7, 17, 19, 2, 11, 10, 5, 4, 14, 16, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.595542"], ["updated_at", "2014-09-19 19:38:08.595542"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.597298"], ["updated_at", "2014-09-19 19:38:08.597298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_16e71e4e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est velit in quisquam debitis. Beatae sed perspiciatis aliquid quia quis tenetur quaerat. Voluptatibus id incidunt esse et debitis. Reiciendis eos autem quod rerum. Eligendi dolor voluptatum voluptas facere occaecati rem.\", \"Voluptatem eos reiciendis maxime. Consequuntur delectus consectetur ullam aut sed non neque. Qui nesciunt nihil labore enim error.\"]"], ["created_at", "2014-09-19 19:38:08.600744"], ["name", "contract_16e71e4e"], ["title", "Qui non ut nesciunt est nihil."], ["updated_at", "2014-09-19 19:38:08.600744"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_16e71e4e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_16e71e4e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:38:08.603813"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.609071"], ["updated_at", "2014-09-19 19:38:08.609071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-19 19:38:08.612863"], ["updated_at", "2014-09-19 19:38:08.612863"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.624591"], ["updated_at", "2014-09-19 19:38:08.624591"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.626322"], ["updated_at", "2014-09-19 19:38:08.626322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2df13bbe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut at quibusdam sint. Officiis et voluptatem. Quasi nam placeat ex doloremque reprehenderit aut ab. Unde porro molestiae accusamus. Dolorem voluptatem voluptas.\", \"Enim voluptatibus ut quae. Neque molestiae aut ipsam repellat. Sint accusantium quae inventore voluptates consequuntur.\"]"], ["created_at", "2014-09-19 19:38:08.629626"], ["name", "contract_2df13bbe"], ["title", "Quo et voluptatibus necessitatibus quasi."], ["updated_at", "2014-09-19 19:38:08.629626"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2df13bbe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_2df13bbe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:38:08.632951"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.636128"], ["updated_at", "2014-09-19 19:38:08.636128"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-19 19:38:08.638423"], ["updated_at", "2014-09-19 19:38:08.638423"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.644320"], ["updated_at", "2014-09-19 19:38:08.644320"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.645987"], ["updated_at", "2014-09-19 19:38:08.645987"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e86ec271') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non qui corporis rerum dolores. Laborum ad adipisci aspernatur. Illum qui tenetur voluptates.\", \"Enim illum laborum perspiciatis incidunt quas. Aut ut ratione odio vel. Dolorem quibusdam voluptatem est architecto pariatur eveniet cum.\"]"], ["created_at", "2014-09-19 19:38:08.648912"], ["name", "contract_e86ec271"], ["title", "Rerum omnis eligendi magnam et."], ["updated_at", "2014-09-19 19:38:08.648912"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e86ec271"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_e86ec271') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:38:08.652252"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.654659"], ["updated_at", "2014-09-19 19:38:08.654659"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-19 19:38:08.656706"], ["updated_at", "2014-09-19 19:38:08.656706"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.663584"], ["updated_at", "2014-09-19 19:38:08.663584"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.665132"], ["updated_at", "2014-09-19 19:38:08.665132"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e9f3520f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi magnam explicabo qui. Quis nemo quo est officia. Et voluptas commodi eligendi iusto adipisci dolorum aliquid. Velit tempora excepturi sed voluptatem ratione.\", \"Est minus repellendus nulla omnis excepturi aperiam nostrum. Atque dolor dicta culpa et rem voluptates illum. Iste similique sit enim.\"]"], ["created_at", "2014-09-19 19:38:08.668073"], ["name", "contract_e9f3520f"], ["title", "Illo ex enim nulla."], ["updated_at", "2014-09-19 19:38:08.668073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e9f3520f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_e9f3520f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:38:08.671010"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.673395"], ["updated_at", "2014-09-19 19:38:08.673395"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-19 19:38:08.675487"], ["updated_at", "2014-09-19 19:38:08.675487"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_b6d6920e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui minima aut omnis porro at a officia. Aperiam aut dolores unde natus est. Dolorem autem inventore numquam quia ratione. Dolorem fuga ea esse incidunt et dignissimos.\", \"Aperiam amet laudantium ipsam sit et. Asperiores nesciunt aut consequatur. Maiores nisi accusantium nam adipisci molestiae.\"]"], ["created_at", "2014-09-19 19:38:08.682357"], ["name", "contract_b6d6920e"], ["title", "Atque quos ut id est quibusdam sed."], ["updated_at", "2014-09-19 19:38:08.682357"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_8f27c464') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos dolorum quo occaecati praesentium non soluta consequuntur. Id voluptatem porro. Aut et fugiat doloremque voluptas soluta. Voluptatum adipisci officia vel sit nostrum. Eum ad quasi harum nostrum.\", \"Eligendi incidunt dignissimos excepturi qui eum odit. Cumque porro quia ratione vitae. Sunt iste fugiat nemo. Accusantium quis soluta ullam. Optio non officiis numquam impedit.\"]"], ["created_at", "2014-09-19 19:38:08.685770"], ["name", "contract_8f27c464"], ["title", "Soluta quia facere."], ["updated_at", "2014-09-19 19:38:08.685770"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8f27c464"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_8f27c464') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:38:08.688988"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8f27c464' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_8f27c464') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos dolorum quo occaecati praesentium non soluta consequuntur. Id voluptatem porro. Aut et fugiat doloremque voluptas soluta. Voluptatum adipisci officia vel sit nostrum. Eum ad quasi harum nostrum.\", \"Eligendi incidunt dignissimos excepturi qui eum odit. Cumque porro quia ratione vitae. Sunt iste fugiat nemo. Accusantium quis soluta ullam. Optio non officiis numquam impedit.\"]"], ["created_at", "2014-09-19 19:38:08.692516"], ["name", "contract_8f27c464"], ["title", "Soluta quia facere."], ["updated_at", "2014-09-19 19:38:08.692516"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8f27c464"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_8f27c464') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:38:08.695540"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_0b0c1c72') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia sint sed voluptate suscipit numquam. Deleniti sit quasi enim quis. Autem voluptate aut dolores veritatis.\", \"Non ut ad officiis laboriosam quisquam non repudiandae. Praesentium magni molestiae recusandae officiis officia incidunt. Voluptas doloremque rerum sed suscipit. Asperiores ab aut quas illum ea consequatur.\"]"], ["created_at", "2014-09-19 19:38:08.699102"], ["name", "contract_0b0c1c72"], ["title", "Voluptas quae sed saepe magni aliquid perspiciatis."], ["updated_at", "2014-09-19 19:38:08.699102"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b0c1c72"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_0b0c1c72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:38:08.702237"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_da725a58') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum consequatur mollitia placeat corporis maiores repellendus delectus. Iusto sed illum aliquid eligendi est et. In quia nostrum autem eum. Magni velit soluta id animi. Possimus dolores itaque.\", \"Est eos voluptate natus. Autem veritatis atque modi aut velit fuga. Aut placeat iste dolor ut expedita quas omnis. Iste nemo corrupti rerum quo dolores laborum.\"]"], ["created_at", "2014-09-19 19:38:08.705979"], ["name", "contract_da725a58"], ["title", "Perspiciatis architecto recusandae sit beatae repudiandae."], ["updated_at", "2014-09-19 19:38:08.705979"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da725a58"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_da725a58') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:38:08.709019"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque quidem et nesciunt nisi itaque. Rerum dolorum et qui dolorem ipsa. Repellendus quas sed quaerat suscipit doloribus eum. Reiciendis minus debitis ea fugiat autem explicabo.\", \"Reiciendis sint voluptas illo quo ut odit. Dolores blanditiis ea officia ut sed sed voluptatem. Mollitia corporis rem nihil aut odio incidunt. Nobis laborum voluptas nulla sit tenetur dolorem reiciendis. Itaque ipsum consequatur ea inventore optio atque soluta.\"]"], ["created_at", "2014-09-19 19:38:08.713346"], ["name", "alpha"], ["title", "Nostrum tempora eligendi itaque quis et."], ["updated_at", "2014-09-19 19:38:08.713346"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:38:08.716952"], ["version", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem ea quos commodi cupiditate possimus et est. Aut atque tempora deleniti qui suscipit veritatis velit. Nesciunt earum dignissimos itaque. Harum quasi et. Corrupti nihil dolores commodi architecto nesciunt.\", \"Aliquid rerum eos non assumenda. Quas omnis aut rerum. Earum necessitatibus ipsa iure.\"]"], ["created_at", "2014-09-19 19:38:08.721914"], ["name", "beta"], ["title", "Vero ducimus occaecati voluptates qui."], ["updated_at", "2014-09-19 19:38:08.721914"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:38:08.725672"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed minima impedit. Iste hic cumque similique ut est. Corrupti animi aliquid. Doloremque consequuntur quaerat.\", \"Libero sint reiciendis quibusdam voluptatem. Et sint molestias odit est. Eaque qui ratione ex rerum voluptates. Omnis ut ut ea qui distinctio.\"]"], ["created_at", "2014-09-19 19:38:08.729593"], ["name", "alpha"], ["title", "Dolorem nihil ut doloremque totam odio."], ["updated_at", "2014-09-19 19:38:08.729593"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:38:08.732708"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex aut ut et occaecati voluptas. Deserunt possimus placeat. Consequatur et est. Iste voluptate praesentium voluptatem aut harum ratione consectetur. Autem ea sit deserunt non.\", \"Sed ducimus magni vitae modi mollitia tempora. Laborum iste assumenda. Optio unde maxime est ducimus dolores quia et.\"]"], ["created_at", "2014-09-19 19:38:08.736215"], ["name", "beta"], ["title", "Aut magnam dolor reprehenderit inventore."], ["updated_at", "2014-09-19 19:38:08.736215"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:38:08.739160"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem optio sed quidem. Quod et omnis. Inventore sed dicta.\", \"Animi at sapiente in eveniet omnis id. Eligendi recusandae quia vero. Et minus nulla. Deleniti cum veniam voluptatem ratione fuga.\"]"], ["created_at", "2014-09-19 19:38:08.742872"], ["name", "alpha"], ["title", "Maxime aliquid recusandae."], ["updated_at", "2014-09-19 19:38:08.742872"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:38:08.745913"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui placeat non ea corrupti dolore dolor et. Perspiciatis iste ipsa a minus atque. Itaque odio pariatur rem. Quis velit itaque.\", \"Aut omnis ut harum. Ad repellendus quasi non voluptas est. Aut voluptates molestias deserunt.\"]"], ["created_at", "2014-09-19 19:38:08.749222"], ["name", "beta"], ["title", "Et voluptas blanditiis."], ["updated_at", "2014-09-19 19:38:08.749222"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:38:08.752224"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_728a5ee0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam perferendis sunt dolorem autem laudantium aut. Repellendus dolorem vero sequi. Aperiam odio sit qui nemo deleniti beatae et.\", \"Adipisci harum sed ipsa saepe mollitia. Velit officia sed nisi. Aperiam quasi hic enim.\"]"], ["created_at", "2014-09-19 19:38:08.755887"], ["name", "contract_728a5ee0"], ["title", "Eligendi recusandae magnam."], ["updated_at", "2014-09-19 19:38:08.755887"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bae8147c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum aliquid quia vel nesciunt. Modi consequuntur assumenda labore. Aliquid sed voluptatem ad voluptates qui. Tempore inventore cum culpa minus accusamus. Quo excepturi et assumenda.\", \"Quasi dolor possimus recusandae. Consequuntur rem illum. Ipsum et impedit qui repudiandae. Veniam dolorem labore consequatur et hic.\"]"], ["created_at", "2014-09-19 19:38:08.759152"], ["name", "contract_bae8147c"], ["title", "Vel molestias quaerat."], ["updated_at", "2014-09-19 19:38:08.759152"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bae8147c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_bae8147c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:38:08.762278"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.764983"], ["updated_at", "2014-09-19 19:38:08.764983"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.771126"], ["updated_at", "2014-09-19 19:38:08.771126"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.772650"], ["updated_at", "2014-09-19 19:38:08.772650"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.780144"], ["updated_at", "2014-09-19 19:38:08.780144"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:38:08.781685"], ["updated_at", "2014-09-19 19:38:08.781685"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (1.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.131947"], ["updated_at", "2014-09-19 19:40:49.131947"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.139405"], ["updated_at", "2014-09-19 19:40:49.139405"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.158435"], ["updated_at", "2014-09-19 19:40:49.158435"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.160244"], ["updated_at", "2014-09-19 19:40:49.160244"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_58bc64eb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta eligendi similique iure laboriosam commodi ipsam. Earum molestias sed nulla facere quae. Quisquam aliquam deleniti ratione provident tempore. Est suscipit rerum.\", \"Rerum vel debitis perspiciatis recusandae quia. Et impedit hic voluptates esse suscipit qui quibusdam. Perspiciatis alias quasi.\"]"], ["created_at", "2014-09-19 19:40:49.389125"], ["name", "contract_58bc64eb"], ["title", "Quos inventore quia porro dolor."], ["updated_at", "2014-09-19 19:40:49.389125"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58bc64eb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_58bc64eb') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:40:49.405770"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58bc64eb"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58bc64eb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_58bc64eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:40:49.412112"], ["version", nil]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_4a748452') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod natus quo rem placeat molestiae minus exercitationem. Voluptas aut iure dolores a explicabo. Dignissimos vel at. Odit quam sit sequi sit est.\", \"Velit assumenda necessitatibus alias reprehenderit atque veniam. Dicta et sunt at autem necessitatibus blanditiis totam. Culpa molestias consequatur et facilis odit ut. Non itaque eum veritatis et.\"]"], ["created_at", "2014-09-19 19:40:49.417241"], ["name", "contract_4a748452"], ["title", "Suscipit possimus repellendus dolores velit expedita."], ["updated_at", "2014-09-19 19:40:49.417241"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a748452"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_4a748452') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:40:49.421569"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.428308"], ["updated_at", "2014-09-19 19:40:49.428308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:40:49.431505"], ["updated_at", "2014-09-19 19:40:49.431505"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_4a748452') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a748452"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_4a748452') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction  (0.0ms) begin transaction 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_1489d224') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore similique necessitatibus et tempora autem doloribus assumenda. Reprehenderit consequuntur eum numquam beatae. Officiis quo quae mollitia ut voluptas rerum. Repudiandae et cupiditate tenetur voluptates in.\", \"Qui nesciunt quo excepturi quidem qui rerum. Iste debitis laboriosam adipisci cupiditate. Illum quae sequi et sunt. Placeat dolorum dolores sed. Qui qui voluptatem.\"]"], ["created_at", "2014-09-19 19:40:49.445327"], ["name", "contract_1489d224"], ["title", "Est ut exercitationem provident quos harum voluptatem."], ["updated_at", "2014-09-19 19:40:49.445327"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1489d224"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1489d224') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:40:49.448819"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1489d224' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_1489d224') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore similique necessitatibus et tempora autem doloribus assumenda. Reprehenderit consequuntur eum numquam beatae. Officiis quo quae mollitia ut voluptas rerum. Repudiandae et cupiditate tenetur voluptates in.\", \"Qui nesciunt quo excepturi quidem qui rerum. Iste debitis laboriosam adipisci cupiditate. Illum quae sequi et sunt. Placeat dolorum dolores sed. Qui qui voluptatem.\"]"], ["created_at", "2014-09-19 19:40:49.454996"], ["name", "contract_1489d224"], ["title", "Est ut exercitationem provident quos harum voluptatem."], ["updated_at", "2014-09-19 19:40:49.454996"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1489d224"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_1489d224') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:40:49.459435"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f77b2b43') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati odit laborum. Et exercitationem et quis atque saepe sint temporibus. Eaque quia voluptas amet.\", \"Qui fugit consequuntur adipisci autem alias. Dolorem nihil ea quae. Veniam et officiis mollitia sint. Aut impedit et qui sit.\"]"], ["created_at", "2014-09-19 19:40:49.463557"], ["name", "contract_f77b2b43"], ["title", "Assumenda facere non."], ["updated_at", "2014-09-19 19:40:49.463557"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f77b2b43"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_f77b2b43') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:40:49.466785"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f77b2b43' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati odit laborum. Et exercitationem et quis atque saepe sint temporibus. Eaque quia voluptas amet.\", \"Qui fugit consequuntur adipisci autem alias. Dolorem nihil ea quae. Veniam et officiis mollitia sint. Aut impedit et qui sit.\"]"], ["created_at", "2014-09-19 19:40:49.470740"], ["name", "joe"], ["title", "Assumenda facere non."], ["updated_at", "2014-09-19 19:40:49.470740"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:40:49.475082"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.483957"], ["updated_at", "2014-09-19 19:40:49.483957"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.485882"], ["updated_at", "2014-09-19 19:40:49.485882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3af00b10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt culpa cumque. Magni consequuntur officiis laboriosam vitae commodi et. Repellat asperiores et. Qui quo veniam molestias voluptas rerum qui. Doloribus porro quibusdam ex consectetur qui laborum maxime.\", \"Enim dolores praesentium accusamus voluptates enim. Fuga ut voluptas ut quo asperiores. Ea magnam repellat laborum ipsa voluptatem cum et. Eos officiis nihil dolores nesciunt. Ut et omnis.\"]"], ["created_at", "2014-09-19 19:40:49.489371"], ["name", "contract_3af00b10"], ["title", "Dolore voluptatem sed."], ["updated_at", "2014-09-19 19:40:49.489371"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.497070"], ["updated_at", "2014-09-19 19:40:49.497070"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.498931"], ["updated_at", "2014-09-19 19:40:49.498931"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d9b479d7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora odio suscipit quia eum incidunt. Est tempora fugit aut dolores voluptatem voluptas. Quia reiciendis vel maxime sunt. Blanditiis nesciunt optio repellendus incidunt in non. Placeat fuga inventore et.\", \"Voluptatem numquam repellendus aliquid dolor. Neque praesentium modi maiores odio dolor dolores mollitia. Iure debitis voluptas. Voluptates et et sint similique.\"]"], ["created_at", "2014-09-19 19:40:49.501874"], ["name", "contract_d9b479d7"], ["title", "Ipsum debitis officia dolor quidem odit."], ["updated_at", "2014-09-19 19:40:49.501874"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d9b479d7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_d9b479d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:40:49.506462"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d9b479d7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.514947"], ["updated_at", "2014-09-19 19:40:49.514947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.516613"], ["updated_at", "2014-09-19 19:40:49.516613"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_31773f19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta similique earum maiores nostrum quos quo. Molestias non sint odio in consequuntur aut. Veniam minima eveniet quasi. Neque quod hic est distinctio officia aut dignissimos.\", \"Aut saepe aut velit et. Dolorum vel rerum neque. Eum perferendis eaque consequatur eius sit vitae. Maiores atque earum molestiae. Amet ut eum eligendi ex et at voluptatum.\"]"], ["created_at", "2014-09-19 19:40:49.519564"], ["name", "contract_31773f19"], ["title", "Corporis debitis hic laborum et sunt."], ["updated_at", "2014-09-19 19:40:49.519564"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.529525"], ["updated_at", "2014-09-19 19:40:49.529525"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.531082"], ["updated_at", "2014-09-19 19:40:49.531082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3926a8cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut vel eum est ea eos aut voluptatibus. Et eos nihil. Blanditiis id rerum corrupti aliquid.\", \"Atque non unde rem sunt recusandae. Sunt quisquam odit. Optio quos minima et. Veniam ea et repellendus sit sed. Sunt ut voluptatem dolorem debitis dolores harum.\"]"], ["created_at", "2014-09-19 19:40:49.533927"], ["name", "contract_3926a8cf"], ["title", "Voluptates quo consequuntur tempora vel sequi."], ["updated_at", "2014-09-19 19:40:49.533927"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3926a8cf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_3926a8cf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:40:49.538948"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.543051"], ["updated_at", "2014-09-19 19:40:49.543051"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.544509"], ["updated_at", "2014-09-19 19:40:49.544509"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c13e41d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil soluta vero vel fugiat accusamus. Ipsa nobis aperiam odit. Autem debitis eum voluptas quia magnam iste consequatur. Et et voluptatum enim maxime non. Quia ut ipsam praesentium qui.\", \"Officiis nemo nesciunt est nihil nostrum culpa ut. Enim occaecati hic ut tenetur ea. Iusto nihil omnis voluptatem nulla voluptas ea natus.\"]"], ["created_at", "2014-09-19 19:40:49.547075"], ["name", "contract_c13e41d4"], ["title", "Est ducimus illum."], ["updated_at", "2014-09-19 19:40:49.547075"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.553786"], ["updated_at", "2014-09-19 19:40:49.553786"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.555778"], ["updated_at", "2014-09-19 19:40:49.555778"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6932917f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non voluptatem ullam fugiat. Dolorum facilis rem ut aut repellat nobis. Perspiciatis sed provident temporibus in eligendi ut.\", \"Qui nostrum nemo qui id aspernatur ad magnam. Quaerat velit incidunt voluptas et neque omnis omnis. Dicta eligendi consequatur. Accusamus unde iusto quae qui dolores praesentium error. Earum sapiente dolorem nemo.\"]"], ["created_at", "2014-09-19 19:40:49.559024"], ["name", "contract_6932917f"], ["title", "Consequatur est sed eum voluptatem aperiam."], ["updated_at", "2014-09-19 19:40:49.559024"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.562414"], ["updated_at", "2014-09-19 19:40:49.562414"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.564362"], ["updated_at", "2014-09-19 19:40:49.564362"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6487c88c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste saepe modi dolor. Autem sit assumenda sunt error earum dolores. Nihil rem est commodi perspiciatis sunt dolores. Beatae aliquam est.\", \"Amet voluptatem minus non nesciunt voluptatem. Soluta tempore sed reprehenderit deleniti quas dolor corrupti. At laboriosam sed sed velit mollitia autem molestiae.\"]"], ["created_at", "2014-09-19 19:40:49.567310"], ["name", "contract_6487c88c"], ["title", "Perspiciatis et earum officiis illum amet nesciunt natus."], ["updated_at", "2014-09-19 19:40:49.567310"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (4, 3, 10, 7, 2, 1, 13, 12, 11, 8, 5, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.577896"], ["updated_at", "2014-09-19 19:40:49.577896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.579535"], ["updated_at", "2014-09-19 19:40:49.579535"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4326c9ee') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente sed voluptatum repellendus sunt aut. Doloremque repellendus quo aut. Sit qui ipsam aut. Architecto aut ducimus aut voluptatem omnis. Culpa iste nobis deserunt.\", \"Vel odit repellendus voluptatem animi ipsa. Enim ea unde aut dolores. Sed adipisci enim sed.\"]"], ["created_at", "2014-09-19 19:40:49.582299"], ["name", "contract_4326c9ee"], ["title", "Corporis fuga inventore."], ["updated_at", "2014-09-19 19:40:49.582299"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:40:49.586108"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:40:49.586108"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.590082"], ["updated_at", "2014-09-19 19:40:49.590082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.591726"], ["updated_at", "2014-09-19 19:40:49.591726"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f27b24f0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere ad et maiores eos non exercitationem. Unde aperiam enim fugit laborum est numquam dignissimos. Earum quo quos omnis tempore quisquam exercitationem. Nobis rerum officiis doloribus sed consequuntur illum amet.\", \"Molestias eius sit eligendi nobis molestiae corporis. Amet iusto est voluptatem voluptatem. Rem molestiae aut. Quam ea voluptatem unde molestiae. Et impedit autem.\"]"], ["created_at", "2014-09-19 19:40:49.595159"], ["name", "contract_f27b24f0"], ["title", "Voluptatum in beatae eum facilis error eos aut."], ["updated_at", "2014-09-19 19:40:49.595159"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.607189"], ["updated_at", "2014-09-19 19:40:49.607189"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.608845"], ["updated_at", "2014-09-19 19:40:49.608845"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_41b758f2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur laudantium aut et molestiae. Inventore et quasi minima necessitatibus consequatur ut et. Illum pariatur repellendus sit nihil. Deserunt rerum accusantium maiores facere aut eligendi minus.\", \"Dignissimos ex culpa accusamus aut aliquid. Deleniti distinctio quis. Perferendis in cupiditate cumque labore provident. Assumenda quibusdam atque. Animi exercitationem rerum blanditiis facere.\"]"], ["created_at", "2014-09-19 19:40:49.611498"], ["name", "contract_41b758f2"], ["title", "Animi consequatur ea nihil quas explicabo."], ["updated_at", "2014-09-19 19:40:49.611498"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41b758f2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_41b758f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:40:49.614921"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.620780"], ["updated_at", "2014-09-19 19:40:49.620780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.622181"], ["updated_at", "2014-09-19 19:40:49.622181"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_80ae7502') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos eaque repellendus in. Aut dolor asperiores ad. Ut explicabo ut et non molestias.\", \"Ipsum quia accusamus ipsam. Eaque modi optio soluta illum. Impedit aut autem sit. Autem consequatur fugiat quo eveniet cupiditate.\"]"], ["created_at", "2014-09-19 19:40:49.625368"], ["name", "contract_80ae7502"], ["title", "Nostrum dicta neque."], ["updated_at", "2014-09-19 19:40:49.625368"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.629799"], ["updated_at", "2014-09-19 19:40:49.629799"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.631379"], ["updated_at", "2014-09-19 19:40:49.631379"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_a29b5613') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil aperiam commodi ut necessitatibus rerum magnam. Maiores nihil voluptatum et maxime. Perferendis alias voluptatibus. Maxime veniam quaerat excepturi eum eos et. Commodi ratione nesciunt harum recusandae magni et aut.\", \"Debitis deserunt in dolorum. Velit id corporis dolores reiciendis. Eum eum nostrum nihil ratione. Similique sed ipsum quo voluptas commodi. Beatae molestiae ab voluptatem.\"]"], ["created_at", "2014-09-19 19:40:49.634243"], ["name", "contract_a29b5613"], ["title", "Sed enim provident voluptatem repudiandae minima."], ["updated_at", "2014-09-19 19:40:49.634243"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.639708"], ["updated_at", "2014-09-19 19:40:49.639708"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.641262"], ["updated_at", "2014-09-19 19:40:49.641262"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_42467395') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel consequatur blanditiis occaecati. Recusandae dolores distinctio amet. Qui repudiandae quos et.\", \"Et dolores odit reprehenderit ipsa. Odit voluptas ut soluta ea. Ut sed officia necessitatibus. Nesciunt perspiciatis qui id ipsam alias rerum.\"]"], ["created_at", "2014-09-19 19:40:49.643840"], ["name", "contract_42467395"], ["title", "Nihil qui a rerum sunt ratione."], ["updated_at", "2014-09-19 19:40:49.643840"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.649328"], ["updated_at", "2014-09-19 19:40:49.649328"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.650799"], ["updated_at", "2014-09-19 19:40:49.650799"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b78afc20') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est exercitationem non fugit rerum iste ducimus. Perferendis deserunt dolores dolorum velit fuga voluptatem quae. Facilis fugiat quibusdam architecto natus.\", \"Iusto dolores quia at qui. Consequatur sed quod iste. Consequatur odit aliquam ea voluptatum. Et quibusdam ut consequuntur praesentium totam iusto et. Debitis ut quibusdam itaque beatae.\"]"], ["created_at", "2014-09-19 19:40:49.653415"], ["name", "contract_b78afc20"], ["title", "Soluta dolorem voluptatem impedit."], ["updated_at", "2014-09-19 19:40:49.653415"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.658458"], ["updated_at", "2014-09-19 19:40:49.658458"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.659974"], ["updated_at", "2014-09-19 19:40:49.659974"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4d68804e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis quidem fugiat ut sapiente. Officiis commodi itaque modi sed nihil. Aut ut sint. Atque eius quisquam. Delectus repudiandae impedit et possimus.\", \"Aut praesentium et reiciendis. Eos quidem saepe pariatur voluptas est. Quo odio iusto possimus hic sint. Nobis dolor aspernatur quo in.\"]"], ["created_at", "2014-09-19 19:40:49.662520"], ["name", "contract_4d68804e"], ["title", "Rem animi dolores ut placeat beatae eum saepe."], ["updated_at", "2014-09-19 19:40:49.662520"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.667163"], ["updated_at", "2014-09-19 19:40:49.667163"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.668706"], ["updated_at", "2014-09-19 19:40:49.668706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_420083bf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae sint ut non voluptatum odio assumenda enim. Sint quo quasi. Omnis repellendus aliquid nulla.\", \"Non temporibus quo doloribus. Non porro natus deserunt autem est. Velit eaque accusantium cum perferendis et.\"]"], ["created_at", "2014-09-19 19:40:49.671310"], ["name", "contract_420083bf"], ["title", "Vel hic voluptatum sit similique expedita praesentium corrupti."], ["updated_at", "2014-09-19 19:40:49.671310"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_420083bf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_420083bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:40:49.675180"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.681666"], ["updated_at", "2014-09-19 19:40:49.681666"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.683579"], ["updated_at", "2014-09-19 19:40:49.683579"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3ca51f5b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero libero odio corporis et rerum aut qui. Non aliquid et dolorem eligendi architecto quia. Unde quos ut dolorem. Explicabo eum natus aut ullam exercitationem.\", \"Autem ea cumque veniam expedita nobis dolorem. Iusto enim vel voluptatem. Nobis et qui.\"]"], ["created_at", "2014-09-19 19:40:49.686504"], ["name", "contract_3ca51f5b"], ["title", "Veritatis et accusantium laudantium."], ["updated_at", "2014-09-19 19:40:49.686504"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.692289"], ["updated_at", "2014-09-19 19:40:49.692289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.693803"], ["updated_at", "2014-09-19 19:40:49.693803"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c688fd74') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est qui blanditiis quibusdam quia. Iste asperiores voluptatibus accusamus qui consequatur explicabo quas. Aut dolorum quaerat a possimus laudantium.\", \"Neque voluptas autem tempora perferendis consequatur cupiditate. Quia vitae eligendi et voluptatem dolore sed. Asperiores rerum qui dolorem.\"]"], ["created_at", "2014-09-19 19:40:49.696301"], ["name", "contract_c688fd74"], ["title", "Temporibus excepturi possimus explicabo quam quasi rerum."], ["updated_at", "2014-09-19 19:40:49.696301"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c688fd74"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_c688fd74') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:40:49.699718"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c688fd74"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_c688fd74') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:40:49.705515"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.710897"], ["updated_at", "2014-09-19 19:40:49.710897"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.712500"], ["updated_at", "2014-09-19 19:40:49.712500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_03a44e77') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis sed dolores possimus error provident. Et soluta et est earum ullam illo. Ut sunt vitae quo laudantium nam inventore. Dolor aut velit voluptas.\", \"Illo eveniet perspiciatis neque sit. Qui sed qui. Error placeat iusto.\"]"], ["created_at", "2014-09-19 19:40:49.715649"], ["name", "contract_03a44e77"], ["title", "Ex dolorem ipsum odio eum sint."], ["updated_at", "2014-09-19 19:40:49.715649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_03a44e77"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_03a44e77') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:40:49.718818"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.721370"], ["updated_at", "2014-09-19 19:40:49.721370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-19 19:40:49.723553"], ["updated_at", "2014-09-19 19:40:49.723553"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.729036"], ["updated_at", "2014-09-19 19:40:49.729036"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.730572"], ["updated_at", "2014-09-19 19:40:49.730572"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3736e6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci ut distinctio eum nemo occaecati aut. Rerum nihil omnis in enim illo non aspernatur. Commodi exercitationem voluptatem sit nihil cumque sint. Quidem rerum asperiores amet perspiciatis.\", \"Dignissimos sed nisi qui aut. Est incidunt error molestias ab sunt. Accusamus nesciunt consequatur non nihil. Quia in nam quibusdam odit.\"]"], ["created_at", "2014-09-19 19:40:49.733545"], ["name", "contract_a3736e6d"], ["title", "Ipsa magnam quisquam ut dolor sed."], ["updated_at", "2014-09-19 19:40:49.733545"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3736e6d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_a3736e6d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:40:49.736712"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.739142"], ["updated_at", "2014-09-19 19:40:49.739142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 19:40:49.741310"], ["updated_at", "2014-09-19 19:40:49.741310"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.747320"], ["updated_at", "2014-09-19 19:40:49.747320"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.748858"], ["updated_at", "2014-09-19 19:40:49.748858"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d4aa0a3a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus sed animi. Vitae numquam quos. Optio cupiditate ut. Molestias cum dolores nam.\", \"Aliquam quos quis. Qui animi eius fugit repudiandae quia. Reiciendis error velit rem quidem omnis.\"]"], ["created_at", "2014-09-19 19:40:49.751918"], ["name", "contract_d4aa0a3a"], ["title", "Aut ut molestiae et consequatur nobis et."], ["updated_at", "2014-09-19 19:40:49.751918"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4aa0a3a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_d4aa0a3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:40:49.754921"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.757914"], ["updated_at", "2014-09-19 19:40:49.757914"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 19:40:49.760316"], ["updated_at", "2014-09-19 19:40:49.760316"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.767689"], ["updated_at", "2014-09-19 19:40:49.767689"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.769675"], ["updated_at", "2014-09-19 19:40:49.769675"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_bf59161e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor sequi voluptatibus quia assumenda et vero cum. Dolorum voluptas quos at vel nisi blanditiis tempora. Molestiae consequatur voluptatum atque dolore accusamus quo debitis. Dolorem illum non dignissimos facere iusto ab. Et quia voluptas.\", \"Mollitia placeat qui enim illo. Ipsa et iure. Minus officia inventore.\"]"], ["created_at", "2014-09-19 19:40:49.773531"], ["name", "contract_bf59161e"], ["title", "Ipsum accusantium commodi assumenda inventore."], ["updated_at", "2014-09-19 19:40:49.773531"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bf59161e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_bf59161e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:40:49.776876"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.779934"], ["updated_at", "2014-09-19 19:40:49.779934"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 19:40:49.782941"], ["updated_at", "2014-09-19 19:40:49.782941"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aliquam quae ullam qui. Voluptates ipsa et soluta autem. Esse reprehenderit sint qui sit et. Voluptatem aliquam et. Ea tenetur eaque itaque.\", \"Ut facilis quidem qui. Vero velit adipisci. Est aut explicabo omnis. Ratione magni inventore excepturi.\"]"], ["created_at", "2014-09-19 19:40:49.792345"], ["name", "alpha"], ["title", "Laborum sit nemo et nisi sit atque."], ["updated_at", "2014-09-19 19:40:49.792345"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:40:49.796365"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit quis et ut illum et voluptas fugit. Rerum commodi consequatur ut odit odio. Et vitae rem quis porro. Praesentium qui incidunt porro aspernatur reprehenderit.\", \"Id eaque aut soluta maxime. Sint nulla repellendus nesciunt maiores. Qui velit voluptates minus optio. Quasi ad culpa.\"]"], ["created_at", "2014-09-19 19:40:49.800485"], ["name", "beta"], ["title", "Cumque eos iusto tenetur."], ["updated_at", "2014-09-19 19:40:49.800485"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:40:49.803599"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque eum possimus consequatur. Corporis sunt voluptatem commodi. Reiciendis voluptatem in id cum voluptatem. Ex et ut mollitia et odio aliquam voluptate. Nostrum voluptatibus est eos iusto quidem et.\", \"Cupiditate amet laboriosam est voluptate. Ipsum nesciunt est cumque est. Voluptatem provident ut officiis eligendi ducimus.\"]"], ["created_at", "2014-09-19 19:40:49.807380"], ["name", "alpha"], ["title", "Nihil non aut atque perferendis beatae in facilis."], ["updated_at", "2014-09-19 19:40:49.807380"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:40:49.810457"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde dolorum ullam aliquam pariatur deleniti. Alias qui consequatur dolorum sapiente qui dolor qui. Ratione consequatur ea quaerat tenetur quidem sed. Illum qui iure id deleniti esse omnis consequuntur.\", \"Sint doloremque et. Explicabo dignissimos nemo expedita iusto. Necessitatibus soluta atque architecto voluptas. Rerum minus quae deleniti ullam quia.\"]"], ["created_at", "2014-09-19 19:40:49.813762"], ["name", "beta"], ["title", "Recusandae voluptatem ad."], ["updated_at", "2014-09-19 19:40:49.813762"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:40:49.816819"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo nobis et consequatur modi iste blanditiis. Dolor quia quae voluptatem fuga nobis deserunt illo. Et consequuntur tenetur autem. Ullam unde officiis repellendus qui aut consectetur.\", \"Consectetur quis odio ut. Sed vero enim cupiditate. Cumque est non.\"]"], ["created_at", "2014-09-19 19:40:49.820594"], ["name", "alpha"], ["title", "Molestiae ipsam est."], ["updated_at", "2014-09-19 19:40:49.820594"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:40:49.823700"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis qui delectus ipsum. Maxime non et earum dignissimos nihil sapiente. Incidunt doloremque unde quaerat culpa.\", \"Ut tempora ut corrupti commodi molestiae cupiditate consequatur. Qui eligendi ut a minima qui eum nulla. Velit ad neque ipsum autem dignissimos. Dolorum et suscipit enim.\"]"], ["created_at", "2014-09-19 19:40:49.827199"], ["name", "beta"], ["title", "At dignissimos et aut rerum quod mollitia eum."], ["updated_at", "2014-09-19 19:40:49.827199"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:40:49.830271"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b5675ecc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint incidunt mollitia molestias quo. Eos rem eaque omnis. Cum animi voluptatem sint. Vel accusantium qui error quos quibusdam incidunt.\", \"Pariatur nisi atque facilis qui nihil delectus. Placeat harum quisquam. Voluptate doloribus quae dolores blanditiis esse non.\"]"], ["created_at", "2014-09-19 19:40:49.834101"], ["name", "contract_b5675ecc"], ["title", "Repudiandae quia inventore aut perspiciatis."], ["updated_at", "2014-09-19 19:40:49.834101"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c5a87bd5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente aliquid ut ut. Aut asperiores sunt labore hic. Atque aut corporis.\", \"Ipsum praesentium dolor at reiciendis culpa. Dolorem quaerat blanditiis ut. Ut veritatis aut sint accusamus doloribus. Quia similique quos esse voluptatem.\"]"], ["created_at", "2014-09-19 19:40:49.837480"], ["name", "contract_c5a87bd5"], ["title", "Aut aliquid quo voluptas ut voluptate."], ["updated_at", "2014-09-19 19:40:49.837480"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c5a87bd5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_c5a87bd5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:40:49.840934"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:40:49.843560"], ["updated_at", "2014-09-19 19:40:49.843560"]]  (0.6ms) commit transaction  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.174365"], ["updated_at", "2014-09-19 19:42:27.174365"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.181298"], ["updated_at", "2014-09-19 19:42:27.181298"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.202238"], ["updated_at", "2014-09-19 19:42:27.202238"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.204123"], ["updated_at", "2014-09-19 19:42:27.204123"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_137e0a1c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus odio suscipit. Vel aut rerum ea exercitationem esse tempora. Sunt officiis consequatur ut. Tempore iusto est et qui.\", \"Non qui aliquid voluptatem ut suscipit impedit veritatis. Veritatis rerum libero in voluptas. Harum praesentium veritatis inventore optio repellat ex nostrum. Illum repellendus voluptas molestiae ab nihil voluptatem dolorem. Ea id repudiandae fuga cupiditate eius sed omnis.\"]"], ["created_at", "2014-09-19 19:42:27.427811"], ["name", "contract_137e0a1c"], ["title", "Eius aperiam delectus est voluptates consectetur qui."], ["updated_at", "2014-09-19 19:42:27.427811"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_137e0a1c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_137e0a1c') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:42:27.440917"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.450103"], ["updated_at", "2014-09-19 19:42:27.450103"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:42:27.453359"], ["updated_at", "2014-09-19 19:42:27.453359"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_137e0a1c') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_137e0a1c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_137e0a1c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction 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_f76db775') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore perferendis ipsa sit quibusdam. Dolorem laboriosam est ducimus similique et qui mollitia. Eius magni voluptas vero.\", \"Quis ut sit. Qui et sed voluptas accusamus expedita nisi. Veniam hic architecto voluptatibus nesciunt sit. Cum est non sit quos velit quibusdam molestiae.\"]"], ["created_at", "2014-09-19 19:42:27.466372"], ["name", "contract_f76db775"], ["title", "Aspernatur doloremque libero ullam id numquam non molestiae."], ["updated_at", "2014-09-19 19:42:27.466372"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f76db775"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_f76db775') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:42:27.469737"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f76db775' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore perferendis ipsa sit quibusdam. Dolorem laboriosam est ducimus similique et qui mollitia. Eius magni voluptas vero.\", \"Quis ut sit. Qui et sed voluptas accusamus expedita nisi. Veniam hic architecto voluptatibus nesciunt sit. Cum est non sit quos velit quibusdam molestiae.\"]"], ["created_at", "2014-09-19 19:42:27.475819"], ["name", "joe"], ["title", "Aspernatur doloremque libero ullam id numquam non molestiae."], ["updated_at", "2014-09-19 19:42:27.475819"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:42:27.481225"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_001e5034') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat iure molestiae ut qui voluptas enim voluptate. Vero dolorem ea corrupti et eum. Omnis commodi ut aspernatur.\", \"Et eligendi provident voluptas illo est. Tempore quia est expedita. Ex rerum ut vero corrupti.\"]"], ["created_at", "2014-09-19 19:42:27.487253"], ["name", "contract_001e5034"], ["title", "Et eius sequi sit occaecati."], ["updated_at", "2014-09-19 19:42:27.487253"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_001e5034"]]  (0.4ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_001e5034') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:42:27.491763"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_001e5034' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_001e5034') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat iure molestiae ut qui voluptas enim voluptate. Vero dolorem ea corrupti et eum. Omnis commodi ut aspernatur.\", \"Et eligendi provident voluptas illo est. Tempore quia est expedita. Ex rerum ut vero corrupti.\"]"], ["created_at", "2014-09-19 19:42:27.495828"], ["name", "contract_001e5034"], ["title", "Et eius sequi sit occaecati."], ["updated_at", "2014-09-19 19:42:27.495828"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_001e5034"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_001e5034') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:42:27.499050"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) begin transaction 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_aad2ef47') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut cupiditate nihil. Sapiente nihil voluptatem accusamus iure aut. Consequatur aut nihil vel et.\", \"Temporibus molestias ipsum sunt sit repudiandae numquam. Animi mollitia blanditiis nobis. Voluptatem est qui corporis enim. Corrupti eos ullam aut sit ex. Autem inventore repellat fugiat minima.\"]"], ["created_at", "2014-09-19 19:42:27.504270"], ["name", "contract_aad2ef47"], ["title", "Odio sapiente ut dolor incidunt labore aperiam accusamus."], ["updated_at", "2014-09-19 19:42:27.504270"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aad2ef47"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_aad2ef47') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:42:27.509137"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aad2ef47"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aad2ef47"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_aad2ef47') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:42:27.516918"], ["version", nil]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.521468"], ["updated_at", "2014-09-19 19:42:27.521468"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.523687"], ["updated_at", "2014-09-19 19:42:27.523687"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_23511c69') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit sit officia molestiae et. Cum facilis quisquam ut doloremque quod. Officia quasi placeat nam neque id at aspernatur.\", \"Voluptas assumenda quia quidem ab consequatur mollitia neque. Numquam quos commodi vero. Aliquam et suscipit.\"]"], ["created_at", "2014-09-19 19:42:27.527477"], ["name", "contract_23511c69"], ["title", "Recusandae doloribus laudantium."], ["updated_at", "2014-09-19 19:42:27.527477"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_23511c69"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_23511c69') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:42:27.531593"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.534595"], ["updated_at", "2014-09-19 19:42:27.534595"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:42:27.537291"], ["updated_at", "2014-09-19 19:42:27.537291"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.545716"], ["updated_at", "2014-09-19 19:42:27.545716"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.547579"], ["updated_at", "2014-09-19 19:42:27.547579"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bafcc77c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut consequatur fugit et quia ipsum est quasi. Nostrum minus et quo quas a et. Tenetur ipsam cumque. Voluptate voluptas consequuntur qui error. Ullam enim quis ipsa fugiat ea.\", \"Est quibusdam voluptatibus magnam ab tempora. Voluptas et natus. Molestias et aspernatur facilis et sed dicta.\"]"], ["created_at", "2014-09-19 19:42:27.551048"], ["name", "contract_bafcc77c"], ["title", "Explicabo occaecati et eaque error temporibus hic corporis."], ["updated_at", "2014-09-19 19:42:27.551048"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bafcc77c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_bafcc77c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:42:27.554494"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.557516"], ["updated_at", "2014-09-19 19:42:27.557516"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 19:42:27.560338"], ["updated_at", "2014-09-19 19:42:27.560338"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.568753"], ["updated_at", "2014-09-19 19:42:27.568753"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.570370"], ["updated_at", "2014-09-19 19:42:27.570370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b24bba99') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis iste qui facilis cupiditate. Et assumenda est vel. Consequuntur nihil ea fuga quae eos quia quo. Temporibus quis velit libero. Totam et et magni tenetur.\", \"Maxime vel quod dignissimos omnis natus. Sunt dignissimos sed. Aliquid ut cumque fugiat sequi esse repellat.\"]"], ["created_at", "2014-09-19 19:42:27.573719"], ["name", "contract_b24bba99"], ["title", "Facere enim repellat modi molestias dolor libero."], ["updated_at", "2014-09-19 19:42:27.573719"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b24bba99"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_b24bba99') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:42:27.577074"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.579784"], ["updated_at", "2014-09-19 19:42:27.579784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 19:42:27.582013"], ["updated_at", "2014-09-19 19:42:27.582013"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.588245"], ["updated_at", "2014-09-19 19:42:27.588245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.589733"], ["updated_at", "2014-09-19 19:42:27.589733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e3601db3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad cumque quos. Soluta cumque aliquam reprehenderit expedita velit dolore. Ullam provident nam ex tempora dolorum qui ut. Odit porro nobis delectus enim nihil et eveniet. Eveniet omnis velit qui qui et at eos.\", \"Omnis aut qui pariatur voluptas voluptatem. Id est consectetur odit cumque eaque provident. Odit occaecati ut nostrum.\"]"], ["created_at", "2014-09-19 19:42:27.592775"], ["name", "contract_e3601db3"], ["title", "Minus rerum dolor nihil nisi nostrum explicabo."], ["updated_at", "2014-09-19 19:42:27.592775"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e3601db3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_e3601db3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:42:27.595740"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.598173"], ["updated_at", "2014-09-19 19:42:27.598173"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 19:42:27.600312"], ["updated_at", "2014-09-19 19:42:27.600312"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_9a877820') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum molestiae veritatis velit labore sapiente. Voluptatem recusandae quo dolore. Dolore iste provident rem nihil sed. Ut impedit aut ad quia voluptate. Maiores delectus facilis ab sunt in.\", \"Delectus quae debitis quasi iusto sed. Consequatur debitis mollitia. Dolore rem accusantium eligendi. Reprehenderit alias cupiditate eum.\"]"], ["created_at", "2014-09-19 19:42:27.609052"], ["name", "contract_9a877820"], ["title", "Exercitationem iure deleniti necessitatibus."], ["updated_at", "2014-09-19 19:42:27.609052"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction 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_c2b65ad4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus quos et eos. Ullam quisquam ducimus sit nostrum est aperiam. Ab sed voluptatem velit ipsa incidunt.\", \"Est voluptas porro aut magnam impedit voluptates quidem. Excepturi officiis ut sed saepe blanditiis. Earum qui fuga delectus dolorum doloribus sed. Laudantium illum in aut saepe possimus occaecati est.\"]"], ["created_at", "2014-09-19 19:42:27.613334"], ["name", "contract_c2b65ad4"], ["title", "Voluptatum nam non laudantium labore et."], ["updated_at", "2014-09-19 19:42:27.613334"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2b65ad4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_c2b65ad4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:42:27.616361"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.618770"], ["updated_at", "2014-09-19 19:42:27.618770"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.623748"], ["updated_at", "2014-09-19 19:42:27.623748"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.625574"], ["updated_at", "2014-09-19 19:42:27.625574"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7de86a77') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quaerat rerum non ipsa deserunt. Porro aut totam rerum fugiat velit quisquam eos. Vero qui non. Quia id et nesciunt perspiciatis non. Quia et corrupti.\", \"Sit quod ut assumenda nihil facilis non et. Enim placeat vel sed voluptatem natus. Consequatur cum atque maxime.\"]"], ["created_at", "2014-09-19 19:42:27.628374"], ["name", "contract_7de86a77"], ["title", "Et occaecati laudantium consequuntur."], ["updated_at", "2014-09-19 19:42:27.628374"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7de86a77"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_7de86a77') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:42:27.632058"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.638078"], ["updated_at", "2014-09-19 19:42:27.638078"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.639675"], ["updated_at", "2014-09-19 19:42:27.639675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_496e92b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et et beatae. Consequuntur iste et. Consequuntur et at itaque recusandae. Qui voluptatibus animi. Explicabo eaque soluta ipsam reprehenderit non.\", \"Rerum recusandae ad doloribus error qui ut inventore. Consequatur nam reiciendis inventore assumenda iure in placeat. Nulla ipsam ut in nihil non.\"]"], ["created_at", "2014-09-19 19:42:27.642385"], ["name", "contract_496e92b1"], ["title", "Ea cum voluptatem perspiciatis aut totam."], ["updated_at", "2014-09-19 19:42:27.642385"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.650152"], ["updated_at", "2014-09-19 19:42:27.650152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.651620"], ["updated_at", "2014-09-19 19:42:27.651620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f6762013') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias enim ex sint pariatur aspernatur. Sint ipsam dolore a sint consequuntur unde est. Cumque repudiandae fugit suscipit nemo sint. Esse temporibus suscipit est quasi. Repellendus eius enim dolorum veritatis laboriosam.\", \"Ipsum voluptas dolorem corrupti ex. Dolorem perferendis facere omnis labore quisquam. Dicta sit enim delectus necessitatibus sed atque iusto.\"]"], ["created_at", "2014-09-19 19:42:27.654158"], ["name", "contract_f6762013"], ["title", "Est et tenetur mollitia blanditiis nihil."], ["updated_at", "2014-09-19 19:42:27.654158"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6762013"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_f6762013') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:42:27.659415"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.663645"], ["updated_at", "2014-09-19 19:42:27.663645"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.665167"], ["updated_at", "2014-09-19 19:42:27.665167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c5bc4ed5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos voluptate animi. Aliquid magni temporibus dolorem sint reprehenderit non. Dolore qui ipsam eaque velit vel ipsa odio.\", \"Ut dolor qui nobis sit distinctio error sapiente. Ut ut et ipsam aut nihil. Eligendi ut atque voluptatibus provident qui et.\"]"], ["created_at", "2014-09-19 19:42:27.667668"], ["name", "contract_c5bc4ed5"], ["title", "Quo eos necessitatibus non ut officiis."], ["updated_at", "2014-09-19 19:42:27.667668"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 4, 1, 7, 13, 11, 6, 9, 8, 12, 16, 10, 15, 2, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.679211"], ["updated_at", "2014-09-19 19:42:27.679211"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.680949"], ["updated_at", "2014-09-19 19:42:27.680949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dacd9c47') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi libero ut. Minima repellendus ut rerum commodi nostrum. Hic eos iste et mollitia pariatur.\", \"Porro magni dolorum voluptatem reiciendis blanditiis. Sunt omnis adipisci. Est libero ea dicta consequatur nesciunt saepe.\"]"], ["created_at", "2014-09-19 19:42:27.683639"], ["name", "contract_dacd9c47"], ["title", "Aperiam et et vero nostrum sapiente labore illo."], ["updated_at", "2014-09-19 19:42:27.683639"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 17 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:42:27.688167"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.693368"], ["updated_at", "2014-09-19 19:42:27.693368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.694865"], ["updated_at", "2014-09-19 19:42:27.694865"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_924cd024') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores veritatis earum assumenda reprehenderit provident. Quisquam at sed ut aliquid autem atque earum. Porro eaque ut nisi voluptas nam. Atque repudiandae similique tempore molestiae vitae laborum sed.\", \"Voluptatem eum maxime blanditiis quia reiciendis ullam. Ipsam quae eveniet. Adipisci repellendus ut quaerat nulla.\"]"], ["created_at", "2014-09-19 19:42:27.697502"], ["name", "contract_924cd024"], ["title", "Quia sed nostrum ut qui."], ["updated_at", "2014-09-19 19:42:27.697502"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.702242"], ["updated_at", "2014-09-19 19:42:27.702242"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.704106"], ["updated_at", "2014-09-19 19:42:27.704106"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b4332a5b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae nihil sunt libero enim minima est aspernatur. Non natus aut. Facere dolorem accusantium. Accusamus et non odit omnis dolorem voluptatem vel.\", \"Nobis consectetur suscipit. Perferendis et id ut nihil rem. Omnis molestias aut. Et perspiciatis voluptas. Laborum eveniet eos quae dicta optio in dolorem.\"]"], ["created_at", "2014-09-19 19:42:27.706985"], ["name", "contract_b4332a5b"], ["title", "Labore sapiente tempore."], ["updated_at", "2014-09-19 19:42:27.706985"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.717744"], ["updated_at", "2014-09-19 19:42:27.717744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.719437"], ["updated_at", "2014-09-19 19:42:27.719437"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_83b2d827') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum ipsa aspernatur. Eum omnis repellendus sed rerum omnis. Nam blanditiis dolor veniam. Quibusdam molestiae dolor corporis earum quia distinctio. Accusamus non explicabo excepturi qui eius consequatur.\", \"Maiores animi perferendis facere error est eum vel. Nobis ut neque sequi qui placeat. Consequatur mollitia reiciendis atque.\"]"], ["created_at", "2014-09-19 19:42:27.722207"], ["name", "contract_83b2d827"], ["title", "Officia fuga facere illo assumenda."], ["updated_at", "2014-09-19 19:42:27.722207"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83b2d827"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_83b2d827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:42:27.725674"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83b2d827"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_83b2d827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:42:27.731296"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.735318"], ["updated_at", "2014-09-19 19:42:27.735318"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.736894"], ["updated_at", "2014-09-19 19:42:27.736894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e4f4ee66') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio rem voluptas ipsa iusto. Debitis consequatur voluptatum fugit rerum distinctio voluptatem totam. Et et sint totam. Vero adipisci qui est.\", \"Temporibus quis accusamus quo. Placeat odio explicabo rerum assumenda. Aspernatur nostrum commodi. Reprehenderit natus quo atque et magni expedita.\"]"], ["created_at", "2014-09-19 19:42:27.739547"], ["name", "contract_e4f4ee66"], ["title", "Architecto sit in tenetur ab autem sunt."], ["updated_at", "2014-09-19 19:42:27.739547"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.743256"], ["updated_at", "2014-09-19 19:42:27.743256"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.744888"], ["updated_at", "2014-09-19 19:42:27.744888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d481e896') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et reiciendis recusandae et voluptatibus. Et voluptas eligendi blanditiis voluptates cupiditate unde sit. Tenetur corporis esse accusamus repudiandae vitae molestiae. Enim occaecati consequuntur quam et et ea.\", \"Debitis molestiae porro quae reprehenderit aliquam laboriosam perspiciatis. Sint non laborum velit ut delectus voluptas maiores. Rerum sed illo molestiae dolor. Voluptas aut officia quae magni eius.\"]"], ["created_at", "2014-09-19 19:42:27.747514"], ["name", "contract_d481e896"], ["title", "Voluptas velit maxime."], ["updated_at", "2014-09-19 19:42:27.747514"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.752390"], ["updated_at", "2014-09-19 19:42:27.752390"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.753923"], ["updated_at", "2014-09-19 19:42:27.753923"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_459b5f73') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto facere eum voluptatum nulla repellat. Tenetur quos ut aut tempora laborum ut. Corrupti praesentium eaque ratione consequuntur. Ut sunt soluta autem.\", \"Cupiditate nisi dolorum officiis autem non ut dolorem. Autem velit ut et aut autem. Et nihil voluptatem molestiae. Voluptates sequi ducimus autem fuga ab enim. Officiis rerum sint qui rem beatae.\"]"], ["created_at", "2014-09-19 19:42:27.756419"], ["name", "contract_459b5f73"], ["title", "Fuga magnam quos omnis ab suscipit qui ea."], ["updated_at", "2014-09-19 19:42:27.756419"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.761577"], ["updated_at", "2014-09-19 19:42:27.761577"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.763059"], ["updated_at", "2014-09-19 19:42:27.763059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_00fe1530') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat eaque corrupti ut. Et numquam et ut mollitia veritatis. Unde et eveniet beatae et at.\", \"Autem vel sed. Beatae ut dolores cupiditate. Accusantium et culpa deleniti. Voluptatum dolorem nemo. Voluptas totam tenetur eum magni.\"]"], ["created_at", "2014-09-19 19:42:27.765575"], ["name", "contract_00fe1530"], ["title", "Vel hic accusamus."], ["updated_at", "2014-09-19 19:42:27.765575"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.770840"], ["updated_at", "2014-09-19 19:42:27.770840"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.772284"], ["updated_at", "2014-09-19 19:42:27.772284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8fae7da1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus saepe dolor ducimus. Quam nemo incidunt earum. Voluptate sunt sint tenetur qui earum sed. Est minima odit. Quia delectus est consectetur nihil officiis ut eligendi.\", \"Voluptatem velit maxime velit perferendis quisquam beatae corporis. Quia magnam error dolore. Sed assumenda veritatis vel qui. Nam dolor quis qui et ipsam voluptates.\"]"], ["created_at", "2014-09-19 19:42:27.774800"], ["name", "contract_8fae7da1"], ["title", "Excepturi omnis ipsam quos placeat."], ["updated_at", "2014-09-19 19:42:27.774800"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.780623"], ["updated_at", "2014-09-19 19:42:27.780623"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.782588"], ["updated_at", "2014-09-19 19:42:27.782588"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e66c7943') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam architecto et at sunt et dolorum. Et ut nemo beatae. Ut sit ad.\", \"Eum aliquam quos ab aut. Assumenda praesentium consequatur porro soluta voluptatem molestias. Repellendus omnis blanditiis voluptates. Et pariatur qui soluta.\"]"], ["created_at", "2014-09-19 19:42:27.786301"], ["name", "contract_e66c7943"], ["title", "Perspiciatis est modi adipisci sunt."], ["updated_at", "2014-09-19 19:42:27.786301"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e66c7943"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_e66c7943') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:42:27.791110"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e66c7943' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.798329"], ["updated_at", "2014-09-19 19:42:27.798329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.799887"], ["updated_at", "2014-09-19 19:42:27.799887"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1a3d9a73') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita sit repellendus. Numquam laboriosam quis hic quia dolorum explicabo voluptatum. Repellendus debitis dolores eos reiciendis ut dolorum et. Dolor consequatur voluptatem est. Enim minus incidunt veniam sed velit dolorem itaque.\", \"Quis exercitationem possimus quam. Voluptatem non quia nulla nesciunt corrupti et ut. Vel non eaque. Asperiores rerum facere nemo voluptatum et quis. Possimus laudantium sit nesciunt et quas voluptas.\"]"], ["created_at", "2014-09-19 19:42:27.802502"], ["name", "contract_1a3d9a73"], ["title", "Adipisci voluptas commodi laborum nisi voluptatibus occaecati voluptas."], ["updated_at", "2014-09-19 19:42:27.802502"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.808017"], ["updated_at", "2014-09-19 19:42:27.808017"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.809529"], ["updated_at", "2014-09-19 19:42:27.809529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9bd102be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit exercitationem autem perferendis non doloremque minima. Temporibus non possimus sed provident iste sapiente. Consequuntur ipsam voluptatem et quia vel perferendis iure. Voluptatem qui hic impedit reiciendis quod officia.\", \"Aut placeat enim pariatur eum debitis necessitatibus. Vitae ut minima blanditiis provident voluptatem vero necessitatibus. Vero illo quis voluptatem sequi error dolorem non. Quaerat quo est natus.\"]"], ["created_at", "2014-09-19 19:42:27.812073"], ["name", "contract_9bd102be"], ["title", "Dignissimos a ipsam doloribus dolor voluptatem."], ["updated_at", "2014-09-19 19:42:27.812073"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.816924"], ["updated_at", "2014-09-19 19:42:27.816924"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.818581"], ["updated_at", "2014-09-19 19:42:27.818581"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f5fcd42c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi eaque cum nihil esse illo est. Aut nobis eum animi. Omnis voluptates cumque et fuga porro ab tempore.\", \"Quo illum dicta minus error reiciendis. Nihil in impedit quod in quia amet adipisci. Repellendus qui distinctio provident hic odio.\"]"], ["created_at", "2014-09-19 19:42:27.821763"], ["name", "contract_f5fcd42c"], ["title", "Aut nostrum id soluta earum consequuntur inventore deleniti."], ["updated_at", "2014-09-19 19:42:27.821763"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5fcd42c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_f5fcd42c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:42:27.825699"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.833884"], ["updated_at", "2014-09-19 19:42:27.833884"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:42:27.835821"], ["updated_at", "2014-09-19 19:42:27.835821"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_d14848fc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio eos sequi consequatur officia iste. Mollitia dolores reiciendis officia delectus aut. Natus ut magni excepturi consectetur voluptatem dolor eaque.\", \"Amet reiciendis nisi occaecati dicta neque. Dicta a culpa dolorem voluptatem qui autem ut. Ipsum in dolor sint placeat fugit. Quia a dolore iste numquam beatae non doloribus. Impedit fugiat quasi vero delectus.\"]"], ["created_at", "2014-09-19 19:42:27.839165"], ["name", "contract_d14848fc"], ["title", "Et et recusandae dolorem illo numquam sit molestias."], ["updated_at", "2014-09-19 19:42:27.839165"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint nihil veniam aperiam laborum eius. Et eveniet magnam aperiam facilis voluptas vel. Excepturi possimus quia rerum enim. Quis enim dolorem deserunt rem qui cupiditate tempora. Dicta rerum cum provident voluptas eius.\", \"Voluptate quas nisi iste dolorem natus autem. Cumque deleniti velit et aspernatur. Praesentium at molestiae maiores. Soluta quae placeat temporibus velit. Consequatur harum aspernatur aut error distinctio.\"]"], ["created_at", "2014-09-19 19:42:27.845042"], ["name", "alpha"], ["title", "Delectus rerum consectetur corporis."], ["updated_at", "2014-09-19 19:42:27.845042"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:42:27.848067"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem optio rerum vel omnis reprehenderit magnam. Labore accusantium illum nihil praesentium blanditiis eos ipsa. Veritatis ex accusamus. Et voluptatum exercitationem sed nisi. Quisquam ratione quidem.\", \"Consequatur tempora quis velit. Voluptas modi qui autem. Nisi odit minus. Deleniti porro libero. Nemo facilis itaque eos.\"]"], ["created_at", "2014-09-19 19:42:27.851797"], ["name", "beta"], ["title", "Aut sed in qui fugiat."], ["updated_at", "2014-09-19 19:42:27.851797"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:42:27.855456"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus et quibusdam minus optio voluptas enim aspernatur. Qui labore iusto voluptatum nihil vel corporis. Dolores facilis ut ad accusantium beatae.\", \"Veritatis voluptatum omnis laborum est. Architecto quasi exercitationem ut molestiae quo qui. Et fugit porro. Aut quasi ipsa reiciendis quia.\"]"], ["created_at", "2014-09-19 19:42:27.859546"], ["name", "alpha"], ["title", "Saepe voluptas animi delectus exercitationem atque necessitatibus est."], ["updated_at", "2014-09-19 19:42:27.859546"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:42:27.862566"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus nulla officiis enim libero vero sit. Modi aut facere vel quia voluptate vitae. Fugit occaecati amet numquam ut quibusdam sed qui. Qui est dolorem sed voluptatem. Molestiae enim deleniti.\", \"Placeat sed sunt et et molestiae. Provident occaecati vel. Explicabo cumque sequi omnis porro eius architecto. Odio omnis voluptatem neque et.\"]"], ["created_at", "2014-09-19 19:42:27.865887"], ["name", "beta"], ["title", "Ea quia sit dolorem quae inventore aut ut."], ["updated_at", "2014-09-19 19:42:27.865887"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:42:27.869100"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis vel laboriosam porro quam et mollitia. Et numquam reprehenderit pariatur tempore. Sequi et harum commodi voluptate. Velit labore sunt architecto dolorem dolores sed illo.\", \"Repudiandae eos quidem consequatur consequatur qui. Quia quibusdam est dolores. Ut libero dolorum dolores et. Quia doloribus reiciendis voluptate nemo accusamus nisi et.\"]"], ["created_at", "2014-09-19 19:42:27.872892"], ["name", "alpha"], ["title", "Repudiandae repellat voluptatem alias."], ["updated_at", "2014-09-19 19:42:27.872892"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:42:27.875890"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita quia sed adipisci nihil assumenda a. Odio quia dolore ratione doloribus asperiores placeat eum. Amet cupiditate laboriosam sequi itaque corporis ipsa. Nostrum reiciendis nihil.\", \"Repellat a enim. Velit maxime sint. Illum ad et.\"]"], ["created_at", "2014-09-19 19:42:27.879174"], ["name", "beta"], ["title", "Rerum aut aut."], ["updated_at", "2014-09-19 19:42:27.879174"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:42:27.882194"], ["version", 3]]  (0.6ms) commit transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.585444"], ["updated_at", "2014-09-19 19:44:13.585444"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.592789"], ["updated_at", "2014-09-19 19:44:13.592789"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.613557"], ["updated_at", "2014-09-19 19:44:13.613557"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.615323"], ["updated_at", "2014-09-19 19:44:13.615323"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.620351"], ["updated_at", "2014-09-19 19:44:13.620351"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.621899"], ["updated_at", "2014-09-19 19:44:13.621899"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_254a9431') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint et et omnis. Nam qui veritatis fugit quia fuga id. Aut nulla vel culpa dolorem occaecati.\", \"Deserunt ea repellat a est tenetur sit. Et doloribus aliquam. Amet suscipit saepe ut.\"]"], ["created_at", "2014-09-19 19:44:13.850798"], ["name", "contract_254a9431"], ["title", "Dolor deserunt voluptate cumque iure."], ["updated_at", "2014-09-19 19:44:13.850798"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_254a9431"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_254a9431') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:44:13.863142"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.869371"], ["updated_at", "2014-09-19 19:44:13.869371"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:44:13.872920"], ["updated_at", "2014-09-19 19:44:13.872920"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.884349"], ["updated_at", "2014-09-19 19:44:13.884349"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.886795"], ["updated_at", "2014-09-19 19:44:13.886795"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_e5ffc4d8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea qui et quia. Porro sed occaecati iure eveniet voluptatem molestias. Ratione et blanditiis.\", \"Architecto consectetur quis cumque velit. Itaque facilis officiis dolores qui. Eum ea at. Impedit ut quo rem unde odio rerum reprehenderit. Ut quia omnis itaque veritatis non consequatur.\"]"], ["created_at", "2014-09-19 19:44:13.891851"], ["name", "contract_e5ffc4d8"], ["title", "Et commodi quas in."], ["updated_at", "2014-09-19 19:44:13.891851"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e5ffc4d8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_e5ffc4d8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:44:13.895997"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.898921"], ["updated_at", "2014-09-19 19:44:13.898921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:44:13.901256"], ["updated_at", "2014-09-19 19:44:13.901256"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.909636"], ["updated_at", "2014-09-19 19:44:13.909636"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.911344"], ["updated_at", "2014-09-19 19:44:13.911344"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_133983a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore omnis in voluptate nemo ut molestiae. Est sint commodi. Reprehenderit et voluptas labore esse.\", \"Nihil illum odio non totam ratione. Magni dolore ex corporis officiis veniam nihil. Ea nostrum rerum est et doloremque minus.\"]"], ["created_at", "2014-09-19 19:44:13.914560"], ["name", "contract_133983a7"], ["title", "Amet odio laudantium et dolor repudiandae magnam."], ["updated_at", "2014-09-19 19:44:13.914560"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_133983a7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_133983a7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:44:13.917856"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.920925"], ["updated_at", "2014-09-19 19:44:13.920925"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:44:13.923287"], ["updated_at", "2014-09-19 19:44:13.923287"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.933339"], ["updated_at", "2014-09-19 19:44:13.933339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.934991"], ["updated_at", "2014-09-19 19:44:13.934991"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_de2a951c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptas nisi autem voluptatum ea voluptas. Repudiandae similique consequatur omnis et explicabo fugit. Sit voluptate nisi.\", \"Nostrum labore et voluptatem reprehenderit dolorem enim impedit. Est cupiditate aspernatur est amet. Nesciunt ducimus quae deserunt. Voluptatem necessitatibus ab.\"]"], ["created_at", "2014-09-19 19:44:13.938389"], ["name", "contract_de2a951c"], ["title", "Aut harum est numquam enim nobis delectus officiis."], ["updated_at", "2014-09-19 19:44:13.938389"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de2a951c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_de2a951c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:44:13.941790"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.944603"], ["updated_at", "2014-09-19 19:44:13.944603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:44:13.946914"], ["updated_at", "2014-09-19 19:44:13.946914"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_03a63ef1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus ea excepturi nostrum. Aliquid eligendi et et. Repudiandae sunt repellat veritatis ducimus in laborum deleniti. Reiciendis aspernatur occaecati autem velit aut impedit.\", \"Facere sint fugiat ut voluptatum. Praesentium vero sunt qui ipsum. Corrupti pariatur consequuntur.\"]"], ["created_at", "2014-09-19 19:44:13.956249"], ["name", "contract_03a63ef1"], ["title", "Ipsum ut voluptatibus ut qui et ab dicta."], ["updated_at", "2014-09-19 19:44:13.956249"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction 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_4f1ac016') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque accusamus sunt delectus itaque. Unde aut quia. In id esse quia. Impedit ab dolorem aut. Molestiae maxime corrupti officia.\", \"Placeat deserunt quam omnis non officiis. In eaque eveniet labore numquam exercitationem id. Dolor culpa adipisci quia. Et nostrum et voluptas sit dolores repellendus corrupti.\"]"], ["created_at", "2014-09-19 19:44:13.961344"], ["name", "contract_4f1ac016"], ["title", "Aspernatur et nostrum."], ["updated_at", "2014-09-19 19:44:13.961344"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4f1ac016"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_4f1ac016') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:44:13.965397"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.968183"], ["updated_at", "2014-09-19 19:44:13.968183"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction 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_fadf8a15') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt qui eum voluptas sit consequatur maxime. Nihil molestiae ut non suscipit dolorum. Consequatur quia officiis et beatae asperiores labore delectus. Numquam culpa hic minima voluptatem quidem.\", \"Tenetur maiores corrupti ut perspiciatis ducimus accusantium. Itaque et quae nisi quidem. Ab nostrum ratione dolores eum autem veniam. Magni ipsam dolorem perferendis illum voluptas.\"]"], ["created_at", "2014-09-19 19:44:13.975294"], ["name", "contract_fadf8a15"], ["title", "Repudiandae eius vitae qui optio omnis tenetur distinctio."], ["updated_at", "2014-09-19 19:44:13.975294"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fadf8a15"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_fadf8a15') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:44:13.979060"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:13.983085"], ["updated_at", "2014-09-19 19:44:13.983085"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:44:13.985437"], ["updated_at", "2014-09-19 19:44:13.985437"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_fadf8a15') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fadf8a15"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_fadf8a15') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction  (0.0ms) begin transaction 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_38896c45') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita accusamus corporis commodi officiis sunt ut. Ipsam cupiditate ipsa. Aut ut cumque nihil sit sint ex. Nihil maiores quisquam rerum qui. Cum eos illum iusto sed minima ut saepe.\", \"Dolores ipsum inventore. Possimus doloremque ut fugiat. Eum sit laudantium officiis saepe voluptatibus sunt. Ab odio consequatur velit et. Dolore ad officiis voluptatum et fugiat deleniti ut.\"]"], ["created_at", "2014-09-19 19:44:13.995025"], ["name", "contract_38896c45"], ["title", "Quos eligendi recusandae."], ["updated_at", "2014-09-19 19:44:13.995025"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_38896c45"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_38896c45') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:44:13.998033"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_38896c45' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_38896c45') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita accusamus corporis commodi officiis sunt ut. Ipsam cupiditate ipsa. Aut ut cumque nihil sit sint ex. Nihil maiores quisquam rerum qui. Cum eos illum iusto sed minima ut saepe.\", \"Dolores ipsum inventore. Possimus doloremque ut fugiat. Eum sit laudantium officiis saepe voluptatibus sunt. Ab odio consequatur velit et. Dolore ad officiis voluptatum et fugiat deleniti ut.\"]"], ["created_at", "2014-09-19 19:44:14.001569"], ["name", "contract_38896c45"], ["title", "Quos eligendi recusandae."], ["updated_at", "2014-09-19 19:44:14.001569"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_38896c45"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_38896c45') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:44:14.004547"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_715b8d79') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla voluptas inventore autem placeat. Hic odit ea omnis. Consequatur quas iste id unde nesciunt voluptates pariatur. Adipisci omnis tempora molestias quo.\", \"Mollitia nihil molestiae voluptas. Iure assumenda quia rerum. Qui harum labore minima consectetur aliquam.\"]"], ["created_at", "2014-09-19 19:44:14.008637"], ["name", "contract_715b8d79"], ["title", "Porro tenetur dolorum distinctio eum voluptatibus odio."], ["updated_at", "2014-09-19 19:44:14.008637"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_715b8d79"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_715b8d79') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:44:14.012362"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_715b8d79' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla voluptas inventore autem placeat. Hic odit ea omnis. Consequatur quas iste id unde nesciunt voluptates pariatur. Adipisci omnis tempora molestias quo.\", \"Mollitia nihil molestiae voluptas. Iure assumenda quia rerum. Qui harum labore minima consectetur aliquam.\"]"], ["created_at", "2014-09-19 19:44:14.015880"], ["name", "joe"], ["title", "Porro tenetur dolorum distinctio eum voluptatibus odio."], ["updated_at", "2014-09-19 19:44:14.015880"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:44:14.018947"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f726cd92') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et itaque fuga sed harum deleniti. Maxime ea perferendis dignissimos illum quidem. Delectus ullam ipsam facilis doloremque non aut eius.\", \"Praesentium enim dicta aut ut sint soluta. Soluta vitae omnis dignissimos aut doloremque occaecati. Ab molestias suscipit. Optio voluptas sed voluptatem. Et eos nostrum molestias reprehenderit officiis quisquam.\"]"], ["created_at", "2014-09-19 19:44:14.023006"], ["name", "contract_f726cd92"], ["title", "Non quo dolorum est quis ipsa quia dolorem."], ["updated_at", "2014-09-19 19:44:14.023006"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f726cd92"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f726cd92') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:44:14.027285"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f726cd92"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f726cd92"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f726cd92') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:44:14.032271"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias aut fugit inventore qui. Commodi voluptatum sed quas eius eos corporis. Tempora debitis ut deleniti quis vel non.\", \"Consequatur non laudantium. Aspernatur ipsum quos temporibus aut molestias velit et. Impedit et fugit recusandae assumenda atque illo. Provident quia voluptatibus quae sint rem reiciendis. Est temporibus nobis ut culpa aut sed at.\"]"], ["created_at", "2014-09-19 19:44:14.036171"], ["name", "alpha"], ["title", "Ab quia quibusdam similique."], ["updated_at", "2014-09-19 19:44:14.036171"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:44:14.039700"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi ut et eos ut provident. Ex soluta optio similique. Nostrum harum nihil. Qui iste sunt corrupti consequatur similique sint inventore.\", \"Reiciendis iure laboriosam dolores hic. Id voluptatibus voluptatem est velit blanditiis accusamus qui. Soluta sed incidunt aperiam vel est ut. Autem qui veritatis incidunt. Explicabo iusto quidem libero mollitia voluptas laboriosam.\"]"], ["created_at", "2014-09-19 19:44:14.043477"], ["name", "beta"], ["title", "Quas magnam eaque non commodi."], ["updated_at", "2014-09-19 19:44:14.043477"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:44:14.046471"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo nisi quos laboriosam et. Alias dolores sed. Laboriosam ut in et illum et libero necessitatibus. Dolorem laborum nisi labore facilis similique accusamus. Error fugiat corporis velit facilis ut tenetur.\", \"Molestiae ut sed ratione aut earum. Quaerat reiciendis dolor dolor. Aut eos enim architecto. Vitae vel qui nihil quos enim eum est. Repellat commodi ipsum quam veritatis culpa.\"]"], ["created_at", "2014-09-19 19:44:14.050425"], ["name", "alpha"], ["title", "Perferendis tenetur aliquam et architecto commodi."], ["updated_at", "2014-09-19 19:44:14.050425"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:44:14.053454"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta autem quae. Exercitationem voluptates dolor aut est. Error expedita architecto necessitatibus. Voluptas quo nemo excepturi et qui eaque.\", \"Pariatur est voluptas molestias hic mollitia accusamus autem. Natus odio quas exercitationem eum repudiandae non rerum. Quibusdam beatae quo. Dolorem velit nobis ea veritatis fugit. Voluptatem ex recusandae facere sunt.\"]"], ["created_at", "2014-09-19 19:44:14.057147"], ["name", "beta"], ["title", "Deleniti nobis officiis quibusdam a consequatur."], ["updated_at", "2014-09-19 19:44:14.057147"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:44:14.060872"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia quis at pariatur in. Iusto assumenda voluptas et dolores laudantium et. Dolorem quos quia quisquam consequatur. Est hic quia.\", \"Nihil debitis et enim magnam officiis. Fuga tempora est voluptatem alias corporis sequi temporibus. Eos quaerat eligendi est aspernatur temporibus. Id quia repudiandae.\"]"], ["created_at", "2014-09-19 19:44:14.064701"], ["name", "alpha"], ["title", "Soluta porro facilis doloribus ut reprehenderit nisi non."], ["updated_at", "2014-09-19 19:44:14.064701"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:44:14.067747"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse cum enim eaque et accusamus repellendus sed. Quis distinctio porro voluptatem quis. Numquam vel natus et.\", \"Nemo omnis quidem quia natus ipsum eius. Voluptate labore qui qui expedita laboriosam. Aliquid quia totam non.\"]"], ["created_at", "2014-09-19 19:44:14.071260"], ["name", "beta"], ["title", "Rem dolore nostrum molestiae modi culpa doloremque facilis."], ["updated_at", "2014-09-19 19:44:14.071260"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:44:14.074405"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.077638"], ["updated_at", "2014-09-19 19:44:14.077638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.079106"], ["updated_at", "2014-09-19 19:44:14.079106"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b78b53b6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias at repellat ipsa quo soluta consequatur harum. In amet rerum quia quaerat et voluptatem et. Ut sed ipsam. Sequi dolorem consectetur iure.\", \"Nisi vel totam. Et neque laudantium veritatis in consequatur et. Repellat accusantium quisquam reiciendis impedit dicta et. Iusto temporibus omnis eum.\"]"], ["created_at", "2014-09-19 19:44:14.081854"], ["name", "contract_b78b53b6"], ["title", "Voluptatibus quam error."], ["updated_at", "2014-09-19 19:44:14.081854"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.091250"], ["updated_at", "2014-09-19 19:44:14.091250"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.093186"], ["updated_at", "2014-09-19 19:44:14.093186"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7f95078f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est aperiam fuga qui ex totam voluptatem molestias. Aut dolore officia quis tenetur ipsum id. Voluptatem ducimus exercitationem eius dolorum dolor.\", \"Tempore et praesentium maxime placeat. Ullam reiciendis quis nam rem excepturi ut et. Accusamus magni enim iste. Sit et ipsum magnam vel et rem veritatis. Incidunt id aut quo qui corporis.\"]"], ["created_at", "2014-09-19 19:44:14.096221"], ["name", "contract_7f95078f"], ["title", "Praesentium distinctio et ut."], ["updated_at", "2014-09-19 19:44:14.096221"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.101489"], ["updated_at", "2014-09-19 19:44:14.101489"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.103034"], ["updated_at", "2014-09-19 19:44:14.103034"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0b1444f4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse voluptatum magnam fugiat molestias voluptas animi. Magni voluptas est veritatis quibusdam et pariatur temporibus. Dolorem hic qui.\", \"Ab rerum dolorum quam modi mollitia. Nam magnam dolores. Occaecati repellendus ratione debitis molestiae. Repellat quia facere minima amet quasi. Aliquid officiis et est quasi ad.\"]"], ["created_at", "2014-09-19 19:44:14.105900"], ["name", "contract_0b1444f4"], ["title", "Reprehenderit sit et ut aut."], ["updated_at", "2014-09-19 19:44:14.105900"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b1444f4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_0b1444f4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:44:14.109627"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b1444f4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_0b1444f4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:44:14.115228"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.119467"], ["updated_at", "2014-09-19 19:44:14.119467"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.120940"], ["updated_at", "2014-09-19 19:44:14.120940"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_49741f1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur quia reiciendis. Qui sint nihil officiis natus. Alias eum culpa.\", \"Dolore sit et et iste nisi. Sequi dolore tenetur vero. Neque eos repellendus dolores est facilis qui. Recusandae et consectetur est.\"]"], ["created_at", "2014-09-19 19:44:14.123453"], ["name", "contract_49741f1f"], ["title", "Adipisci nulla exercitationem."], ["updated_at", "2014-09-19 19:44:14.123453"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.129234"], ["updated_at", "2014-09-19 19:44:14.129234"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.130904"], ["updated_at", "2014-09-19 19:44:14.130904"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3e40c4ae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda eius est voluptas. Quas est inventore. Debitis delectus qui. Consequatur et iste aliquid enim dolore ut eaque. Vel velit fugit aut quod porro molestiae.\", \"Minima qui sit aut aut nihil delectus. Eum quibusdam quo id aut qui reprehenderit. Voluptas qui ut ratione est. Nemo omnis et eveniet autem aut accusamus optio. Odit cum ex temporibus.\"]"], ["created_at", "2014-09-19 19:44:14.133671"], ["name", "contract_3e40c4ae"], ["title", "Et quis eum maiores praesentium autem dolorem."], ["updated_at", "2014-09-19 19:44:14.133671"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.142127"], ["updated_at", "2014-09-19 19:44:14.142127"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.143800"], ["updated_at", "2014-09-19 19:44:14.143800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_91180b3c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae quidem autem rerum. Officiis eos necessitatibus enim. Occaecati perferendis asperiores minima ullam sed quia eveniet.\", \"Quis temporibus qui et blanditiis ex. Ut nesciunt et. Nulla rerum aliquid aut. Aut cumque eum enim.\"]"], ["created_at", "2014-09-19 19:44:14.146537"], ["name", "contract_91180b3c"], ["title", "Earum itaque veritatis ea esse fugit eligendi."], ["updated_at", "2014-09-19 19:44:14.146537"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 24 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:44:14.150849"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.155963"], ["updated_at", "2014-09-19 19:44:14.155963"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.157468"], ["updated_at", "2014-09-19 19:44:14.157468"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9494b3f9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore commodi facilis. Qui commodi minus modi omnis consequatur tempore. Laudantium cupiditate quidem accusantium dignissimos aut.\", \"Sint qui inventore sed. Dicta porro officiis quisquam nihil ad itaque est. Non ab ipsum reiciendis aut.\"]"], ["created_at", "2014-09-19 19:44:14.160061"], ["name", "contract_9494b3f9"], ["title", "Voluptatem id voluptatem aspernatur."], ["updated_at", "2014-09-19 19:44:14.160061"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.164712"], ["updated_at", "2014-09-19 19:44:14.164712"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.166327"], ["updated_at", "2014-09-19 19:44:14.166327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_860dd144') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed minima a velit voluptates dolorum ut. Accusantium quidem laboriosam voluptas aut. Fugit et eveniet eligendi necessitatibus nihil praesentium beatae.\", \"Fugiat qui qui sunt excepturi doloribus iste. Qui soluta sint voluptatum. Autem odit optio et aliquid quia voluptas. Culpa facere ut est.\"]"], ["created_at", "2014-09-19 19:44:14.168949"], ["name", "contract_860dd144"], ["title", "At voluptatem laudantium laborum."], ["updated_at", "2014-09-19 19:44:14.168949"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.172146"], ["updated_at", "2014-09-19 19:44:14.172146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.173606"], ["updated_at", "2014-09-19 19:44:14.173606"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_6c302122') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis ut consectetur. Ut earum autem doloremque et veniam quas quia. Exercitationem amet voluptas corrupti natus voluptate recusandae tempore. Ipsam consequatur eaque. Est et eos odit accusamus nisi aut laboriosam.\", \"Accusantium est aperiam qui eaque ipsam corrupti dolor. Iusto voluptatem architecto officia. Quasi repellendus voluptates rerum.\"]"], ["created_at", "2014-09-19 19:44:14.176728"], ["name", "contract_6c302122"], ["title", "Qui voluptas hic officia sed beatae pariatur."], ["updated_at", "2014-09-19 19:44:14.176728"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c302122"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_6c302122') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:44:14.182141"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.186335"], ["updated_at", "2014-09-19 19:44:14.186335"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.187908"], ["updated_at", "2014-09-19 19:44:14.187908"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_9dcdbb2f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non unde quasi facilis voluptates et est. Est assumenda asperiores nulla reprehenderit. Rerum quo architecto dolores deserunt aperiam. Doloribus nam exercitationem magnam sunt.\", \"Labore aliquam distinctio perferendis consectetur dolore consequatur optio. Quaerat non aut sit occaecati est. Sit in voluptates enim consectetur quasi aut. Eaque temporibus quo. Et rerum quia pariatur sequi nesciunt nihil.\"]"], ["created_at", "2014-09-19 19:44:14.190904"], ["name", "contract_9dcdbb2f"], ["title", "Dolor laudantium nihil a minima id."], ["updated_at", "2014-09-19 19:44:14.190904"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.197722"], ["updated_at", "2014-09-19 19:44:14.197722"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.199478"], ["updated_at", "2014-09-19 19:44:14.199478"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_f59a8c8f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quidem aut ullam asperiores quae. Qui quia cumque officiis. Molestiae soluta dolorem quia sint qui consectetur.\", \"Est consequatur eum voluptatem mollitia nemo sint. Suscipit voluptas porro praesentium numquam non aliquam quod. Qui laudantium commodi qui rerum laborum in. Asperiores in in est est porro dolorem commodi.\"]"], ["created_at", "2014-09-19 19:44:14.202476"], ["name", "contract_f59a8c8f"], ["title", "Temporibus iure sed non sit deleniti et sit."], ["updated_at", "2014-09-19 19:44:14.202476"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 15, 13, 18, 16, 14, 5, 21, 3, 1, 9, 8, 22, 6, 27, 10, 20, 26, 25, 28, 19, 4, 2, 29, 12, 7, 11, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.214839"], ["updated_at", "2014-09-19 19:44:14.214839"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.216580"], ["updated_at", "2014-09-19 19:44:14.216580"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_381bf791') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sint nobis. Dicta tenetur sequi non cumque sit blanditiis aperiam. Et hic debitis et quo eos soluta. Pariatur maiores cum quisquam consequatur sit quidem. Laborum aut pariatur enim quos aspernatur perferendis.\", \"Et illum enim qui. Similique et neque assumenda ut iure necessitatibus. Sed deleniti excepturi a.\"]"], ["created_at", "2014-09-19 19:44:14.219432"], ["name", "contract_381bf791"], ["title", "Enim eum officia provident non porro eos."], ["updated_at", "2014-09-19 19:44:14.219432"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_381bf791"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_381bf791') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:44:14.223114"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_381bf791' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.230702"], ["updated_at", "2014-09-19 19:44:14.230702"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.232448"], ["updated_at", "2014-09-19 19:44:14.232448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_59bb6014') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum repellendus non totam aut et. Qui sit cum nemo asperiores sapiente est ipsa. Sit quas quod repudiandae. Rerum in occaecati sint alias.\", \"Voluptatem omnis ea exercitationem iure blanditiis unde quidem. Impedit dolor eligendi magni qui reiciendis voluptatem laborum. Voluptatem qui eos consequuntur rem consequatur.\"]"], ["created_at", "2014-09-19 19:44:14.235116"], ["name", "contract_59bb6014"], ["title", "Optio ut at."], ["updated_at", "2014-09-19 19:44:14.235116"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.240190"], ["updated_at", "2014-09-19 19:44:14.240190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.241711"], ["updated_at", "2014-09-19 19:44:14.241711"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bc5cf0c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum eveniet omnis et harum. Officiis unde doloremque enim. Amet sit maiores suscipit. Repudiandae possimus eaque minus nemo corporis modi.\", \"Voluptas error aut nulla. Delectus perspiciatis corrupti deleniti veniam. Esse tempora maxime. Et soluta quas qui reiciendis. Iste in culpa veritatis.\"]"], ["created_at", "2014-09-19 19:44:14.244325"], ["name", "contract_bc5cf0c5"], ["title", "Occaecati saepe optio."], ["updated_at", "2014-09-19 19:44:14.244325"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.254645"], ["updated_at", "2014-09-19 19:44:14.254645"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.256418"], ["updated_at", "2014-09-19 19:44:14.256418"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_36f6fa6a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nihil eligendi commodi molestiae. Sed eius adipisci ratione eos. Adipisci et commodi consectetur. Aut veniam quod ipsa consequuntur.\", \"Provident sed fugit. Eaque aut quidem magnam omnis qui blanditiis. Aut reprehenderit hic alias officia doloremque eveniet quo.\"]"], ["created_at", "2014-09-19 19:44:14.259404"], ["name", "contract_36f6fa6a"], ["title", "Velit rerum voluptas impedit."], ["updated_at", "2014-09-19 19:44:14.259404"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_36f6fa6a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_36f6fa6a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:44:14.263498"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.271269"], ["updated_at", "2014-09-19 19:44:14.271269"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.273357"], ["updated_at", "2014-09-19 19:44:14.273357"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_748c178e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel ullam officia ex suscipit. Aliquid sit ut optio reprehenderit ut. Tenetur ex quisquam nam.\", \"Eos rerum quia porro iure nihil molestiae dolores. Tempora earum adipisci sint. Eum a laudantium magnam dolorum.\"]"], ["created_at", "2014-09-19 19:44:14.276835"], ["name", "contract_748c178e"], ["title", "Aspernatur a ipsa sequi sunt nisi."], ["updated_at", "2014-09-19 19:44:14.276835"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_748c178e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_748c178e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:44:14.281409"], ["version", 1]]  (1.2ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.286992"], ["updated_at", "2014-09-19 19:44:14.286992"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.288948"], ["updated_at", "2014-09-19 19:44:14.288948"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f39b0b17') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non nisi labore exercitationem. Rerum fuga non eaque. Recusandae fugit illum eum sunt. Totam non quo consequuntur hic alias. Consequatur dolorem reiciendis voluptatum soluta.\", \"Est cum tempore rerum accusamus. Excepturi quae animi accusamus harum sunt. Accusantium nihil sed fuga commodi adipisci sequi hic. Perferendis facere quia optio deserunt aut cupiditate.\"]"], ["created_at", "2014-09-19 19:44:14.292201"], ["name", "contract_f39b0b17"], ["title", "Ratione omnis nihil."], ["updated_at", "2014-09-19 19:44:14.292201"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.297002"], ["updated_at", "2014-09-19 19:44:14.297002"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:44:14.298613"], ["updated_at", "2014-09-19 19:44:14.298613"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32e99ffe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid voluptate molestiae dolor. Rerum nisi voluptatem. Qui et at exercitationem ad.\", \"Deserunt neque aliquid quidem. Ea maiores ex exercitationem. Aut reprehenderit accusamus vel occaecati ipsa sint ex.\"]"], ["created_at", "2014-09-19 19:44:14.301644"], ["name", "contract_32e99ffe"], ["title", "Officia tempora architecto."], ["updated_at", "2014-09-19 19:44:14.301644"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil optio consequuntur totam laudantium. Fugit tempore voluptate aut. Quasi dolores fugit quo sunt necessitatibus reiciendis.\", \"Doloremque possimus ut harum enim aut alias. Dolore fuga earum sed omnis. Quod corrupti ducimus suscipit voluptatem fuga in. Odit pariatur officia nihil eos.\"]"], ["created_at", "2014-09-19 19:45:24.022776"], ["name", "alpha"], ["title", "Nobis corrupti hic."], ["updated_at", "2014-09-19 19:45:24.022776"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:45:24.042048"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus dolorem aliquam labore. Incidunt ipsum recusandae repudiandae quibusdam. Minima et eveniet consequatur. Molestiae sunt dignissimos saepe sint maiores.\", \"Praesentium vel nesciunt aliquam iure a. Blanditiis aliquam labore delectus excepturi voluptatem aspernatur. Est nisi consequatur sit. Ut dolores quia voluptatem.\"]"], ["created_at", "2014-09-19 19:45:24.048753"], ["name", "beta"], ["title", "Velit et quae quibusdam."], ["updated_at", "2014-09-19 19:45:24.048753"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:45:24.051974"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptates at. Vitae facere odit mollitia. Voluptatum et ratione quasi tempora. Ad natus quis quas. Molestias excepturi eos repellat rerum.\", \"Ullam autem minus consequatur sunt. Consequatur aut ratione eum quia. Commodi quis pariatur consectetur. Quasi reprehenderit quia molestiae maxime dicta magni.\"]"], ["created_at", "2014-09-19 19:45:24.056140"], ["name", "alpha"], ["title", "Corporis id reprehenderit et rem."], ["updated_at", "2014-09-19 19:45:24.056140"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:45:24.059534"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium cupiditate fugiat dolor et nihil explicabo. Sapiente sed necessitatibus. Provident porro fugiat.\", \"Autem vitae sunt sunt. Ipsum vel et. Ut eos distinctio. Autem perspiciatis delectus debitis veniam.\"]"], ["created_at", "2014-09-19 19:45:24.063414"], ["name", "beta"], ["title", "Natus quo ut qui est."], ["updated_at", "2014-09-19 19:45:24.063414"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:45:24.066552"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae tempora voluptates pariatur alias. Voluptas iure atque modi placeat et. In dolore sed voluptatem expedita.\", \"Reprehenderit qui perspiciatis molestiae eum neque. Ut aperiam qui natus omnis. Libero minima consequatur explicabo nostrum neque natus aut.\"]"], ["created_at", "2014-09-19 19:45:24.070617"], ["name", "alpha"], ["title", "Possimus dolores aut recusandae qui eaque a."], ["updated_at", "2014-09-19 19:45:24.070617"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:45:24.074117"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic ut quasi et quisquam eligendi. Sequi iste vel iure maiores tempore sapiente ut. Sapiente iusto dolore. Et impedit unde dolorem consequatur et quia nihil. Est ipsa tempora sed magnam ut dolore in.\", \"Magnam eos vel et facilis itaque et omnis. Libero quia hic sint labore vel repellendus et. Voluptatibus suscipit recusandae architecto et amet ut. Dolorem aut velit dignissimos.\"]"], ["created_at", "2014-09-19 19:45:24.078623"], ["name", "beta"], ["title", "Mollitia autem labore sit quam."], ["updated_at", "2014-09-19 19:45:24.078623"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:45:24.081723"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.086158"], ["updated_at", "2014-09-19 19:45:24.086158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.089632"], ["updated_at", "2014-09-19 19:45:24.089632"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_24f83fa1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis aut voluptates autem. Magni sunt vitae at recusandae. Quidem dignissimos consectetur repudiandae quo inventore enim.\", \"Quia ut consequuntur iste numquam excepturi quas. Officiis qui et similique. Ducimus rem sint rerum voluptate assumenda quidem.\"]"], ["created_at", "2014-09-19 19:45:24.092524"], ["name", "contract_24f83fa1"], ["title", "Tempore eveniet odio mollitia tempora."], ["updated_at", "2014-09-19 19:45:24.092524"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#new as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.105273"], ["updated_at", "2014-09-19 19:45:24.105273"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.107292"], ["updated_at", "2014-09-19 19:45:24.107292"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_31b36aa8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque sint voluptatem labore nostrum blanditiis suscipit sed. Blanditiis doloribus ipsam et. Voluptas hic qui voluptates. Dignissimos pariatur nostrum.\", \"Sed tenetur expedita qui omnis ut. Perferendis dolorum facilis ea error. Aut velit et sed sint eos rerum.\"]"], ["created_at", "2014-09-19 19:45:24.110436"], ["name", "contract_31b36aa8"], ["title", "Ipsa id rerum et officiis repellat."], ["updated_at", "2014-09-19 19:45:24.110436"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 8 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:45:24.115093"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/8 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.120785"], ["updated_at", "2014-09-19 19:45:24.120785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.122448"], ["updated_at", "2014-09-19 19:45:24.122448"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_50615ff6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum dignissimos labore temporibus sapiente similique ducimus. Voluptas consequuntur inventore eveniet laborum. Et soluta velit iste sint. Quis distinctio impedit nisi.\", \"Sequi et aperiam qui ut in soluta id. Labore quibusdam perspiciatis ut laborum. Et unde omnis. Sunt autem libero vitae exercitationem ullam aut.\"]"], ["created_at", "2014-09-19 19:45:24.125490"], ["name", "contract_50615ff6"], ["title", "Rem est et quae in."], ["updated_at", "2014-09-19 19:45:24.125490"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.138137"], ["updated_at", "2014-09-19 19:45:24.138137"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.139909"], ["updated_at", "2014-09-19 19:45:24.139909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c7ad16aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore qui voluptatem ut vel impedit id. Doloribus amet tenetur. Repellendus rerum rerum magnam eaque quo officia sint. Praesentium tempora quisquam sapiente temporibus enim impedit. Velit voluptatem exercitationem est iure labore nisi.\", \"Praesentium et sit. Sed fugit id commodi sint ut. Nihil dolorem atque.\"]"], ["created_at", "2014-09-19 19:45:24.142920"], ["name", "contract_c7ad16aa"], ["title", "Labore veniam autem qui nihil nulla soluta quam."], ["updated_at", "2014-09-19 19:45:24.142920"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.149483"], ["updated_at", "2014-09-19 19:45:24.149483"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.151372"], ["updated_at", "2014-09-19 19:45:24.151372"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_49ec6810') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptas aliquam consequatur quas iure sequi. Dolor aut consectetur aut nihil in. Quasi amet itaque.\", \"Sequi nisi modi molestias quos corporis id. Porro quia et. Id et excepturi eveniet temporibus reprehenderit. Aut delectus dignissimos. Optio et vero dolor est qui modi.\"]"], ["created_at", "2014-09-19 19:45:24.154281"], ["name", "contract_49ec6810"], ["title", "Magnam quisquam esse."], ["updated_at", "2014-09-19 19:45:24.154281"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49ec6810"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_49ec6810') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:45:24.158235"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_49ec6810' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.166275"], ["updated_at", "2014-09-19 19:45:24.166275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.168045"], ["updated_at", "2014-09-19 19:45:24.168045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d2fcff03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet quia rem harum error aspernatur tenetur neque. Et vel quo. Dolorum ipsum et facilis natus consequatur laboriosam.\", \"Voluptatum hic natus voluptas qui officia labore consequatur. Rerum atque sit corporis voluptatem. Molestias ipsum occaecati debitis eaque. Ut et voluptate minima reprehenderit.\"]"], ["created_at", "2014-09-19 19:45:24.171144"], ["name", "contract_d2fcff03"], ["title", "Temporibus mollitia laboriosam et minus ab magnam."], ["updated_at", "2014-09-19 19:45:24.171144"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.176623"], ["updated_at", "2014-09-19 19:45:24.176623"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.178094"], ["updated_at", "2014-09-19 19:45:24.178094"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9d47643a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic ut nihil incidunt reiciendis consequatur deleniti. Molestiae quo nulla alias aut aut. Cupiditate alias ut. Vero rerum vitae. Non sequi dolorum ad at.\", \"Recusandae blanditiis est quod inventore totam. Dolor quos recusandae perspiciatis sequi molestias. Reiciendis nihil sapiente repellendus aut rerum. Veniam optio quod eveniet. Soluta officiis necessitatibus eveniet ad vero.\"]"], ["created_at", "2014-09-19 19:45:24.180884"], ["name", "contract_9d47643a"], ["title", "Dolores vel quis."], ["updated_at", "2014-09-19 19:45:24.180884"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d47643a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_9d47643a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:45:24.186038"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.193511"], ["updated_at", "2014-09-19 19:45:24.193511"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.195604"], ["updated_at", "2014-09-19 19:45:24.195604"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_08136aa3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed est porro quia illum laborum debitis incidunt. Veritatis qui esse. Voluptatem asperiores veniam. Itaque voluptatum amet ea neque.\", \"Laborum molestiae autem. Aperiam tenetur eligendi deleniti tempora quaerat. Est repellendus in quo. Adipisci fugiat unde sapiente eaque.\"]"], ["created_at", "2014-09-19 19:45:24.199594"], ["name", "contract_08136aa3"], ["title", "Id voluptatem sint ipsa in."], ["updated_at", "2014-09-19 19:45:24.199594"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08136aa3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_08136aa3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:45:24.203815"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.209864"], ["updated_at", "2014-09-19 19:45:24.209864"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.211230"], ["updated_at", "2014-09-19 19:45:24.211230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3f1231c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti dolores suscipit dolor ullam deleniti. Temporibus rem necessitatibus pariatur nulla voluptate nemo. Consequatur voluptatum sed ut inventore voluptates.\", \"Sequi dolorem id aspernatur adipisci aut quam. Hic totam corporis ex error. Quaerat doloribus laboriosam eligendi fugit. Cum quia placeat maxime.\"]"], ["created_at", "2014-09-19 19:45:24.213723"], ["name", "contract_3f1231c9"], ["title", "Eos assumenda occaecati doloremque."], ["updated_at", "2014-09-19 19:45:24.213723"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.219156"], ["updated_at", "2014-09-19 19:45:24.219156"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.220662"], ["updated_at", "2014-09-19 19:45:24.220662"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2a675e1a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat blanditiis ut vel quia perferendis atque. Repudiandae aut assumenda modi cumque et. Quia aut natus sunt temporibus dignissimos rerum id. Laboriosam occaecati qui nam sint quis voluptatem tenetur. Minima voluptatem eos qui non est perspiciatis velit.\", \"Atque ullam nihil est. Cupiditate atque ipsum. Voluptates vel incidunt eveniet fugiat distinctio ex.\"]"], ["created_at", "2014-09-19 19:45:24.223317"], ["name", "contract_2a675e1a"], ["title", "Est suscipit explicabo qui."], ["updated_at", "2014-09-19 19:45:24.223317"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2a675e1a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_2a675e1a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:45:24.228343"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.233072"], ["updated_at", "2014-09-19 19:45:24.233072"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.234691"], ["updated_at", "2014-09-19 19:45:24.234691"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3dcde673') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est magni suscipit et commodi exercitationem. Et ratione sed ut. Quisquam omnis ea magni. Architecto sint fuga beatae commodi illo. Omnis ullam vitae porro.\", \"Magnam itaque facilis accusantium non ullam voluptate perspiciatis. Neque sapiente ut consequatur enim consequatur culpa. Mollitia blanditiis repudiandae. Assumenda nemo est provident libero esse et.\"]"], ["created_at", "2014-09-19 19:45:24.237443"], ["name", "contract_3dcde673"], ["title", "Numquam aperiam sapiente tempore nulla et voluptates."], ["updated_at", "2014-09-19 19:45:24.237443"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3dcde673"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_3dcde673') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:45:24.241015"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3dcde673"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_3dcde673') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:45:24.246515"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.250646"], ["updated_at", "2014-09-19 19:45:24.250646"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.252290"], ["updated_at", "2014-09-19 19:45:24.252290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f8e155d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit ipsum dolor. Tenetur rerum dolorem at consequatur deserunt corporis. Omnis eligendi quo sequi quas excepturi et.\", \"Hic architecto placeat dolorum voluptatem. Totam sint recusandae ea enim. Qui hic magni. Vero delectus libero cum ea.\"]"], ["created_at", "2014-09-19 19:45:24.255058"], ["name", "contract_f8e155d0"], ["title", "Assumenda voluptates rerum reiciendis rerum delectus."], ["updated_at", "2014-09-19 19:45:24.255058"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.260393"], ["updated_at", "2014-09-19 19:45:24.260393"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.261846"], ["updated_at", "2014-09-19 19:45:24.261846"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c4d87c53') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem fugiat animi aliquid. Neque et et vel et qui. Voluptatem sit nihil.\", \"In repudiandae mollitia accusamus similique. Est est nostrum. Sequi et doloribus nihil dolor id enim. Sit magnam sed et. Et qui perspiciatis architecto voluptatem.\"]"], ["created_at", "2014-09-19 19:45:24.264437"], ["name", "contract_c4d87c53"], ["title", "Consectetur autem modi sed."], ["updated_at", "2014-09-19 19:45:24.264437"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.271240"], ["updated_at", "2014-09-19 19:45:24.271240"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.273086"], ["updated_at", "2014-09-19 19:45:24.273086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8accfa2b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis odio consectetur molestias architecto est nihil. Et nihil magnam qui enim cupiditate aliquid libero. Velit est deserunt nihil minus. Perspiciatis ipsum id est rerum ex praesentium eligendi.\", \"Quia tempora impedit dicta ex delectus repudiandae. Optio et est est sint possimus aut assumenda. Corporis sed velit cupiditate quidem assumenda ut.\"]"], ["created_at", "2014-09-19 19:45:24.275735"], ["name", "contract_8accfa2b"], ["title", "Quibusdam ut et."], ["updated_at", "2014-09-19 19:45:24.275735"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.280279"], ["updated_at", "2014-09-19 19:45:24.280279"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.281851"], ["updated_at", "2014-09-19 19:45:24.281851"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_5950933b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut doloribus occaecati harum et. Accusamus et cum sit fuga et. Voluptatem distinctio non.\", \"Qui repellendus dolor delectus debitis. Et dolore quibusdam non temporibus numquam architecto quam. Nisi deleniti et soluta et iusto dolor veritatis.\"]"], ["created_at", "2014-09-19 19:45:24.284312"], ["name", "contract_5950933b"], ["title", "Laudantium aliquid non aut eos praesentium quaerat et."], ["updated_at", "2014-09-19 19:45:24.284312"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.289703"], ["updated_at", "2014-09-19 19:45:24.289703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.291171"], ["updated_at", "2014-09-19 19:45:24.291171"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e171453e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui eum quas nulla alias consequuntur. Corrupti eligendi dolore iusto enim consequuntur. Tempore ipsam vitae ea eos ab distinctio. Ratione velit repellat culpa eos minus ut.\", \"Harum quaerat temporibus consequuntur perspiciatis incidunt. Aperiam voluptas et optio in et. Similique quibusdam vel omnis ab consequatur quo. Commodi ab magni delectus eum ipsum accusamus.\"]"], ["created_at", "2014-09-19 19:45:24.293687"], ["name", "contract_e171453e"], ["title", "Accusamus quo similique harum deleniti et laudantium nulla."], ["updated_at", "2014-09-19 19:45:24.293687"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 14, 7, 16, 17, 15, 11, 21, 20, 13, 19, 10, 12, 22, 18, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.303735"], ["updated_at", "2014-09-19 19:45:24.303735"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.305528"], ["updated_at", "2014-09-19 19:45:24.305528"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bd4c2803') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio officia et numquam. Distinctio facere qui veniam mollitia velit. Qui ipsa tempore vel consequatur accusantium dignissimos iure. Omnis consequatur ab. Sed repudiandae quia molestias similique praesentium.\", \"Omnis molestiae modi sequi et consequuntur veniam debitis. Quae vero consequatur. Exercitationem distinctio libero recusandae magni quis molestias.\"]"], ["created_at", "2014-09-19 19:45:24.308512"], ["name", "contract_bd4c2803"], ["title", "Sunt nisi nobis unde quia et."], ["updated_at", "2014-09-19 19:45:24.308512"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.311754"], ["updated_at", "2014-09-19 19:45:24.311754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.313277"], ["updated_at", "2014-09-19 19:45:24.313277"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_92a6563a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis veritatis error quis autem voluptatem id illum. Voluptatum quia natus perspiciatis. Rem similique veniam deleniti quaerat rerum est reiciendis. Ad similique iusto. Non repudiandae repellendus.\", \"Harum aut expedita dolor et laudantium laboriosam. Facere et veritatis officiis velit at odio. Culpa velit voluptas voluptates et. Mollitia minima sit in delectus autem rem et. Magni sint ut tempora pariatur est et.\"]"], ["created_at", "2014-09-19 19:45:24.316398"], ["name", "contract_92a6563a"], ["title", "Quasi dolor delectus amet et dignissimos suscipit."], ["updated_at", "2014-09-19 19:45:24.316398"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_4b6c32ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae in nemo eum. Et aut sunt quasi. Quasi qui omnis explicabo. Unde amet consequatur illum omnis sit qui qui.\", \"Modi et reiciendis id autem nesciunt voluptatibus. Molestiae quia impedit in nulla. Repellendus quis natus est. Praesentium autem consequatur laborum quia saepe. Recusandae et sequi.\"]"], ["created_at", "2014-09-19 19:45:24.322347"], ["name", "contract_4b6c32ec"], ["title", "Ipsa ea ad eos deleniti."], ["updated_at", "2014-09-19 19:45:24.322347"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4b6c32ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_4b6c32ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:45:24.325464"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4b6c32ec' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae in nemo eum. Et aut sunt quasi. Quasi qui omnis explicabo. Unde amet consequatur illum omnis sit qui qui.\", \"Modi et reiciendis id autem nesciunt voluptatibus. Molestiae quia impedit in nulla. Repellendus quis natus est. Praesentium autem consequatur laborum quia saepe. Recusandae et sequi.\"]"], ["created_at", "2014-09-19 19:45:24.330105"], ["name", "joe"], ["title", "Ipsa ea ad eos deleniti."], ["updated_at", "2014-09-19 19:45:24.330105"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:45:24.334973"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_08222803') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid ab qui molestiae omnis quo. Omnis cupiditate qui repudiandae. Eligendi vel sunt.\", \"Tempore cupiditate earum. Suscipit non error voluptas aut quidem. Cupiditate ea doloribus blanditiis.\"]"], ["created_at", "2014-09-19 19:45:24.340235"], ["name", "contract_08222803"], ["title", "Ea iusto nesciunt sed quaerat consequatur ut omnis."], ["updated_at", "2014-09-19 19:45:24.340235"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08222803"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_08222803') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:45:24.345486"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08222803"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08222803"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_08222803') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:45:24.351635"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_826f5ade') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam neque quas odit voluptatum. Qui eum asperiores ut eius. Quae iure ea sunt aut.\", \"Quaerat quibusdam deleniti sunt neque et. Numquam tempora inventore et dolor ullam molestiae in. Laborum et perspiciatis eius rerum a autem et.\"]"], ["created_at", "2014-09-19 19:45:24.355509"], ["name", "contract_826f5ade"], ["title", "Quos et veritatis dolore repellat impedit quidem."], ["updated_at", "2014-09-19 19:45:24.355509"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_826f5ade"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_826f5ade') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:45:24.358645"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_826f5ade' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_826f5ade') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam neque quas odit voluptatum. Qui eum asperiores ut eius. Quae iure ea sunt aut.\", \"Quaerat quibusdam deleniti sunt neque et. Numquam tempora inventore et dolor ullam molestiae in. Laborum et perspiciatis eius rerum a autem et.\"]"], ["created_at", "2014-09-19 19:45:24.362198"], ["name", "contract_826f5ade"], ["title", "Quos et veritatis dolore repellat impedit quidem."], ["updated_at", "2014-09-19 19:45:24.362198"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_826f5ade"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_826f5ade') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:45:24.365050"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d63e3640') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam neque ut vel facere ducimus ex corporis. Ut dolorem et est earum. Totam aut molestiae libero. Quis possimus eaque.\", \"Nostrum blanditiis maxime omnis. Commodi ut reiciendis et eius nesciunt. Quia ea ratione dolorem. Explicabo minus sunt repudiandae id. Et deserunt at necessitatibus.\"]"], ["created_at", "2014-09-19 19:45:24.368827"], ["name", "contract_d63e3640"], ["title", "Qui quod deleniti voluptatem."], ["updated_at", "2014-09-19 19:45:24.368827"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d63e3640"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_d63e3640') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:45:24.371716"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.379372"], ["updated_at", "2014-09-19 19:45:24.379372"]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 19:45:24.383882"], ["updated_at", "2014-09-19 19:45:24.383882"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_d63e3640') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d63e3640"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_d63e3640') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.1ms) rollback transaction  (0.0ms) begin transaction 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_32e055a4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum beatae vel quisquam quidem nam fuga. Vitae cum et incidunt recusandae. Eos autem et perspiciatis ut itaque quam.\", \"Omnis sint corporis illo est distinctio ratione beatae. Architecto esse in. Quis nemo ut facere incidunt deserunt. Animi est qui asperiores veritatis recusandae cumque. Porro asperiores quod blanditiis aut amet.\"]"], ["created_at", "2014-09-19 19:45:24.401373"], ["name", "contract_32e055a4"], ["title", "Quis autem et illum."], ["updated_at", "2014-09-19 19:45:24.401373"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction 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_d772a62b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur quo sint nisi nihil quos doloremque illum. Et ea repellendus. Repellendus dolorem autem ut.\", \"Qui assumenda ipsum et consectetur dolore. Molestias eos libero repellendus accusantium in. Labore quibusdam odio velit repellat ducimus. Tempore pariatur porro facilis.\"]"], ["created_at", "2014-09-19 19:45:24.405478"], ["name", "contract_d772a62b"], ["title", "Facilis sit quo nostrum aliquam possimus."], ["updated_at", "2014-09-19 19:45:24.405478"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d772a62b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_d772a62b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:45:24.408486"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.410939"], ["updated_at", "2014-09-19 19:45:24.410939"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.415744"], ["updated_at", "2014-09-19 19:45:24.415744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.417151"], ["updated_at", "2014-09-19 19:45:24.417151"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f758f87') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus earum officia sunt. Dicta sint perferendis eaque cupiditate dolor laborum omnis. Eum qui qui quae voluptatum perferendis molestiae.\", \"Laudantium quia nobis porro et fugit. Est occaecati libero nulla veritatis. Maxime et quam laudantium alias quas quis. Culpa illum perspiciatis consectetur temporibus voluptatem eveniet.\"]"], ["created_at", "2014-09-19 19:45:24.420080"], ["name", "contract_9f758f87"], ["title", "Voluptas quas cumque ipsum molestias quae repudiandae perspiciatis."], ["updated_at", "2014-09-19 19:45:24.420080"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9f758f87"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_9f758f87') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:45:24.423033"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.425403"], ["updated_at", "2014-09-19 19:45:24.425403"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 19:45:24.427408"], ["updated_at", "2014-09-19 19:45:24.427408"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.435275"], ["updated_at", "2014-09-19 19:45:24.435275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.436856"], ["updated_at", "2014-09-19 19:45:24.436856"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3c723448') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum magnam eius consequatur. Sit sint optio. Omnis et et sint aperiam illo. Et quasi ea non ex velit tenetur.\", \"Consequatur dignissimos autem quia et rerum. Magnam fuga dicta numquam. Aut voluptas consequatur blanditiis. Cumque animi accusamus. At qui corporis autem deserunt eum.\"]"], ["created_at", "2014-09-19 19:45:24.440252"], ["name", "contract_3c723448"], ["title", "Expedita sunt minus magnam quia."], ["updated_at", "2014-09-19 19:45:24.440252"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3c723448"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_3c723448') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:45:24.443455"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.445910"], ["updated_at", "2014-09-19 19:45:24.445910"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:45:24.448125"], ["updated_at", "2014-09-19 19:45:24.448125"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.452742"], ["updated_at", "2014-09-19 19:45:24.452742"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.454202"], ["updated_at", "2014-09-19 19:45:24.454202"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8da41100') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptatem vel. Laboriosam reiciendis reprehenderit est nulla. Voluptates eos ad. Fugiat quia iusto atque inventore libero sit non. Autem et molestiae quae.\", \"Et similique officia. Magni sed dignissimos enim veniam sint libero. Et omnis aliquam aliquid. Tempora consequatur laborum voluptas sed.\"]"], ["created_at", "2014-09-19 19:45:24.457219"], ["name", "contract_8da41100"], ["title", "In et totam velit."], ["updated_at", "2014-09-19 19:45:24.457219"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8da41100"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_8da41100') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:45:24.460258"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.462774"], ["updated_at", "2014-09-19 19:45:24.462774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 19:45:24.464889"], ["updated_at", "2014-09-19 19:45:24.464889"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.470456"], ["updated_at", "2014-09-19 19:45:24.470456"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.472052"], ["updated_at", "2014-09-19 19:45:24.472052"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_88b2cd6a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate facilis sint et velit. Veniam quis voluptatum maxime aut eos aut facilis. Est reiciendis ut quasi voluptatem dolor qui reprehenderit. Qui reprehenderit ab.\", \"Doloremque sit aut voluptas pariatur eaque. Voluptatem et praesentium vero nihil. Iste occaecati minima molestias qui et. Dolores repudiandae id culpa ipsa sed. Velit neque qui est.\"]"], ["created_at", "2014-09-19 19:45:24.475070"], ["name", "contract_88b2cd6a"], ["title", "Nulla beatae culpa cumque rerum."], ["updated_at", "2014-09-19 19:45:24.475070"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88b2cd6a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_88b2cd6a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:45:24.478130"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.480721"], ["updated_at", "2014-09-19 19:45:24.480721"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 19:45:24.483457"], ["updated_at", "2014-09-19 19:45:24.483457"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.489388"], ["updated_at", "2014-09-19 19:45:24.489388"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.490900"], ["updated_at", "2014-09-19 19:45:24.490900"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.497713"], ["updated_at", "2014-09-19 19:45:24.497713"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:45:24.499287"], ["updated_at", "2014-09-19 19:45:24.499287"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (3.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (2.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:54.729369"], ["updated_at", "2014-09-19 19:46:54.729369"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:54.736310"], ["updated_at", "2014-09-19 19:46:54.736310"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_82096a97') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et at sint corrupti id odio commodi. Eum tempora beatae est voluptatum ut. Quam error ut ex iste sit et.\", \"Commodi natus quos inventore excepturi quas et quis. Est occaecati voluptas sit. Earum molestias magni. Eos sunt aut aliquam tempora quia quia. Enim doloremque perferendis corporis dolore eligendi repudiandae.\"]"], ["created_at", "2014-09-19 19:46:54.957638"], ["name", "contract_82096a97"], ["title", "Molestias quia autem cupiditate et quam ut."], ["updated_at", "2014-09-19 19:46:54.957638"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_82096a97"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_82096a97') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:46:54.977076"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:54.983718"], ["updated_at", "2014-09-19 19:46:54.983718"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:46:54.988005"], ["updated_at", "2014-09-19 19:46:54.988005"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.002816"], ["updated_at", "2014-09-19 19:46:55.002816"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.004783"], ["updated_at", "2014-09-19 19:46:55.004783"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_de1463c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem voluptates atque dolorem molestias est nobis id. Voluptatum facere placeat. Qui eos enim. Enim sint non asperiores ab aut illum.\", \"Recusandae ut rerum earum. Hic odit quis ut eos nihil. Sequi non odio recusandae tempora ad aut ut. Soluta eum sint adipisci ut quis eos.\"]"], ["created_at", "2014-09-19 19:46:55.008645"], ["name", "contract_de1463c4"], ["title", "Quis occaecati tempora in qui vitae."], ["updated_at", "2014-09-19 19:46:55.008645"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de1463c4"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_de1463c4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:46:55.011974"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.014562"], ["updated_at", "2014-09-19 19:46:55.014562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:46:55.017077"], ["updated_at", "2014-09-19 19:46:55.017077"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.026675"], ["updated_at", "2014-09-19 19:46:55.026675"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.028426"], ["updated_at", "2014-09-19 19:46:55.028426"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f1affaf2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit consequuntur sed vitae. Sint voluptatibus ratione. Repellat quaerat molestias quis provident minima. Voluptatem quod qui voluptatem. Repellat tempore quod dolores.\", \"Recusandae amet possimus nam. Perferendis perspiciatis id quod. Rerum doloremque explicabo corrupti. Provident velit et similique ea debitis rerum vitae.\"]"], ["created_at", "2014-09-19 19:46:55.031600"], ["name", "contract_f1affaf2"], ["title", "Deleniti sint velit id rerum ipsam aperiam."], ["updated_at", "2014-09-19 19:46:55.031600"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f1affaf2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_f1affaf2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:46:55.034970"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.037668"], ["updated_at", "2014-09-19 19:46:55.037668"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:46:55.040094"], ["updated_at", "2014-09-19 19:46:55.040094"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.046000"], ["updated_at", "2014-09-19 19:46:55.046000"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.047740"], ["updated_at", "2014-09-19 19:46:55.047740"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_be0d2cd6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit omnis placeat. Harum non molestiae accusamus vitae. Aliquam dicta reprehenderit dolores. Hic ut quibusdam.\", \"Qui soluta tempore sint quisquam ea ut. Eligendi ratione et alias itaque. Rerum expedita suscipit quia possimus. Similique consequuntur necessitatibus labore accusamus eveniet corrupti.\"]"], ["created_at", "2014-09-19 19:46:55.051509"], ["name", "contract_be0d2cd6"], ["title", "Qui voluptatibus ut ducimus qui ut."], ["updated_at", "2014-09-19 19:46:55.051509"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be0d2cd6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_be0d2cd6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:46:55.056023"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.059537"], ["updated_at", "2014-09-19 19:46:55.059537"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:46:55.062164"], ["updated_at", "2014-09-19 19:46:55.062164"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_b6be44c4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor totam qui similique harum tempora aperiam. Ad dolore dicta expedita voluptatem iste non. Fugiat quaerat voluptatem corporis unde dolores consequatur. Aut iste ut soluta sed dolorem autem. Voluptatem dolorum dolorem fugit nostrum error quasi maxime.\", \"Veritatis nostrum sint quo fuga voluptas. Ut quia et voluptatem. Magnam pariatur explicabo alias perferendis provident omnis qui. Libero saepe fugiat neque natus.\"]"], ["created_at", "2014-09-19 19:46:55.072284"], ["name", "contract_b6be44c4"], ["title", "Voluptate explicabo minus."], ["updated_at", "2014-09-19 19:46:55.072284"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b6be44c4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_b6be44c4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:46:55.075872"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b6be44c4' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor totam qui similique harum tempora aperiam. Ad dolore dicta expedita voluptatem iste non. Fugiat quaerat voluptatem corporis unde dolores consequatur. Aut iste ut soluta sed dolorem autem. Voluptatem dolorum dolorem fugit nostrum error quasi maxime.\", \"Veritatis nostrum sint quo fuga voluptas. Ut quia et voluptatem. Magnam pariatur explicabo alias perferendis provident omnis qui. Libero saepe fugiat neque natus.\"]"], ["created_at", "2014-09-19 19:46:55.080744"], ["name", "joe"], ["title", "Voluptate explicabo minus."], ["updated_at", "2014-09-19 19:46:55.080744"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:46:55.084124"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f87cdeb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus eligendi esse maiores dolores qui veniam. Sed repellat quisquam dolores est minima quia voluptatibus. Iste adipisci placeat ipsum et unde. Eos tempora dolorum non iure quas quis.\", \"Voluptatum neque culpa. At ea voluptatem incidunt cum quia esse error. Dolor quas dolorem omnis enim. Neque inventore voluptatibus quia.\"]"], ["created_at", "2014-09-19 19:46:55.089337"], ["name", "contract_6f87cdeb"], ["title", "Ullam deserunt nulla maiores rerum atque voluptas."], ["updated_at", "2014-09-19 19:46:55.089337"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f87cdeb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_6f87cdeb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:46:55.092759"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6f87cdeb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_6f87cdeb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus eligendi esse maiores dolores qui veniam. Sed repellat quisquam dolores est minima quia voluptatibus. Iste adipisci placeat ipsum et unde. Eos tempora dolorum non iure quas quis.\", \"Voluptatum neque culpa. At ea voluptatem incidunt cum quia esse error. Dolor quas dolorem omnis enim. Neque inventore voluptatibus quia.\"]"], ["created_at", "2014-09-19 19:46:55.096924"], ["name", "contract_6f87cdeb"], ["title", "Ullam deserunt nulla maiores rerum atque voluptas."], ["updated_at", "2014-09-19 19:46:55.096924"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f87cdeb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_6f87cdeb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:46:55.100054"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f4f570bb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita ducimus veniam magni nesciunt placeat non aut. Est aut ullam aut accusantium fugit. Ab et occaecati corporis. Ut animi quasi reiciendis necessitatibus consequuntur impedit ducimus. Labore ad voluptatem asperiores vero ex voluptatum.\", \"Quibusdam quo placeat. Qui consequatur iure dignissimos voluptatibus. Totam ea consequatur dolore omnis.\"]"], ["created_at", "2014-09-19 19:46:55.103970"], ["name", "contract_f4f570bb"], ["title", "Excepturi cupiditate nihil quia perferendis libero dicta."], ["updated_at", "2014-09-19 19:46:55.103970"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4f570bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_f4f570bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:46:55.108690"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4f570bb"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4f570bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_f4f570bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:46:55.114711"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5ad3d9c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut iste et. Accusamus ut odit. Qui corrupti nemo ipsum aperiam. Quidem fuga quia assumenda sint quod eius. Beatae possimus veniam.\", \"Repellendus ut dolor mollitia quia eum velit qui. Numquam enim dolorem omnis explicabo pariatur. Deserunt nobis labore non dolorum nulla tempora. Quia eos nulla sed necessitatibus. Laboriosam molestiae maiores doloremque ut.\"]"], ["created_at", "2014-09-19 19:46:55.118407"], ["name", "contract_5ad3d9c0"], ["title", "Vel ut dolor eum."], ["updated_at", "2014-09-19 19:46:55.118407"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ad3d9c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_5ad3d9c0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:46:55.121660"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.126368"], ["updated_at", "2014-09-19 19:46:55.126368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 19:46:55.128777"], ["updated_at", "2014-09-19 19:46:55.128777"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_5ad3d9c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ad3d9c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_5ad3d9c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]]  (0.0ms) rollback transaction  (0.0ms) begin transaction 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_bf8da15c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore voluptas necessitatibus dolorem voluptatem porro adipisci. Odit illum quam eum eveniet. Magni totam eius tempora velit recusandae. Dolore sequi ex repudiandae aut totam. Accusantium facere non placeat.\", \"Distinctio atque aperiam in similique architecto a commodi. Qui ipsam repudiandae a nesciunt. Facere ad ea ut mollitia. Expedita qui aliquid perferendis odio rerum.\"]"], ["created_at", "2014-09-19 19:46:55.137798"], ["name", "contract_bf8da15c"], ["title", "Pariatur assumenda odit fugiat distinctio quis."], ["updated_at", "2014-09-19 19:46:55.137798"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction 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_cb4c2401') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque omnis numquam id autem ut at. Facere dolor nulla eius aut nemo qui. Repudiandae repellendus aut at ad praesentium.\", \"Omnis commodi sed. Harum est dolorem. Ipsum reiciendis voluptatum recusandae illum necessitatibus ducimus aspernatur. Reprehenderit eaque distinctio.\"]"], ["created_at", "2014-09-19 19:46:55.143451"], ["name", "contract_cb4c2401"], ["title", "Inventore modi magni doloribus rerum."], ["updated_at", "2014-09-19 19:46:55.143451"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cb4c2401"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_cb4c2401') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:46:55.146982"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.149461"], ["updated_at", "2014-09-19 19:46:55.149461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.156980"], ["updated_at", "2014-09-19 19:46:55.156980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.158523"], ["updated_at", "2014-09-19 19:46:55.158523"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_44ab3bdf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore voluptatem qui non sit vitae. Reiciendis minima eius quis vel maiores. Quibusdam non nam quod.\", \"Provident officia ipsa harum quis. Reprehenderit ipsam quod nemo consectetur rerum nulla ipsum. Iure quasi sint aut minus amet eveniet. Libero eaque laudantium inventore est. Eum necessitatibus sed quisquam doloribus cupiditate voluptatum dolor.\"]"], ["created_at", "2014-09-19 19:46:55.161047"], ["name", "contract_44ab3bdf"], ["title", "Omnis et ut distinctio ut."], ["updated_at", "2014-09-19 19:46:55.161047"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.167329"], ["updated_at", "2014-09-19 19:46:55.167329"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.168879"], ["updated_at", "2014-09-19 19:46:55.168879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_328c5990') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ducimus incidunt porro. Officia quos eum sit in praesentium hic. Tempore nemo excepturi non dicta eum alias. Vel voluptas eaque magnam aliquam nostrum laboriosam quibusdam.\", \"Doloremque dolores mollitia architecto commodi nobis corporis. Quia voluptatem omnis nihil sed soluta. Natus temporibus velit dolor vitae quia consequatur eos. Natus atque consequatur saepe.\"]"], ["created_at", "2014-09-19 19:46:55.171648"], ["name", "contract_328c5990"], ["title", "Natus adipisci quasi itaque et recusandae."], ["updated_at", "2014-09-19 19:46:55.171648"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.178164"], ["updated_at", "2014-09-19 19:46:55.178164"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.179721"], ["updated_at", "2014-09-19 19:46:55.179721"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_28e89fe1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quibusdam dolorem. Nobis aspernatur et officia qui et. Harum molestiae quia cupiditate quo cumque et occaecati. Quos a molestiae sed. Porro velit dolorum et autem enim beatae.\", \"Qui iusto adipisci id maxime aut commodi culpa. Voluptas enim ea. Temporibus labore ut totam vel eos necessitatibus. Cum minus pariatur. Quis quibusdam animi.\"]"], ["created_at", "2014-09-19 19:46:55.182307"], ["name", "contract_28e89fe1"], ["title", "Odio porro eius qui rerum aut molestias."], ["updated_at", "2014-09-19 19:46:55.182307"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.187774"], ["updated_at", "2014-09-19 19:46:55.187774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.189238"], ["updated_at", "2014-09-19 19:46:55.189238"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0e364073') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam autem similique incidunt. Consequatur rerum aut sunt ex enim eum magnam. Magni in at rem voluptatem vero rerum amet. Qui quia est sit ipsam voluptas. Ut delectus voluptates voluptas et et assumenda.\", \"Quia odio eaque delectus iste dolorem impedit facilis. Dolorum est illo at maiores praesentium et deserunt. Asperiores debitis molestias maxime aut sed. Id et repellat est voluptas similique. Quisquam ullam aut tempora.\"]"], ["created_at", "2014-09-19 19:46:55.191798"], ["name", "contract_0e364073"], ["title", "Beatae aut voluptas."], ["updated_at", "2014-09-19 19:46:55.191798"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 16 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:46:55.195914"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.200879"], ["updated_at", "2014-09-19 19:46:55.200879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.202332"], ["updated_at", "2014-09-19 19:46:55.202332"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_285d5861') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat labore explicabo. Iste sunt voluptatem libero quis porro. Occaecati impedit veritatis error aliquam voluptas.\", \"Consequatur hic voluptatem. Suscipit quibusdam in a necessitatibus ipsam perferendis. Nostrum aliquam voluptas velit delectus earum qui sint.\"]"], ["created_at", "2014-09-19 19:46:55.204756"], ["name", "contract_285d5861"], ["title", "Repellendus sed ipsa dolorem sit fuga et quod."], ["updated_at", "2014-09-19 19:46:55.204756"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.208863"], ["updated_at", "2014-09-19 19:46:55.208863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.210303"], ["updated_at", "2014-09-19 19:46:55.210303"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f356068f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque at minus sed. Autem voluptatem nulla non alias consequatur occaecati corporis. Voluptatibus nisi vel adipisci quia exercitationem. Quia est voluptate rerum.\", \"Atque nostrum nam labore voluptatem aperiam quibusdam. Esse sed praesentium consequuntur perspiciatis. Repudiandae occaecati voluptas recusandae consectetur sequi. Iusto aliquam et excepturi.\"]"], ["created_at", "2014-09-19 19:46:55.213033"], ["name", "contract_f356068f"], ["title", "Expedita veritatis dicta nostrum."], ["updated_at", "2014-09-19 19:46:55.213033"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.218719"], ["updated_at", "2014-09-19 19:46:55.218719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.220339"], ["updated_at", "2014-09-19 19:46:55.220339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5f92a1d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus aspernatur reprehenderit. Accusantium nemo omnis corrupti assumenda. Exercitationem dolores nihil praesentium vitae.\", \"Et dicta et molestiae eligendi ut molestiae. Atque quis odio exercitationem voluptate explicabo. Eaque qui voluptatum omnis explicabo. Reiciendis praesentium ea sit est corporis est aut. Inventore et nostrum.\"]"], ["created_at", "2014-09-19 19:46:55.222989"], ["name", "contract_5f92a1d7"], ["title", "Ratione recusandae nulla animi."], ["updated_at", "2014-09-19 19:46:55.222989"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.229515"], ["updated_at", "2014-09-19 19:46:55.229515"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.231169"], ["updated_at", "2014-09-19 19:46:55.231169"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_4e64f22f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia accusamus voluptatem velit quia quia unde cupiditate. Suscipit et molestiae quos aut et architecto. Qui qui ipsam quisquam sunt ducimus nemo. Sunt quo odit nemo. Rerum dolorem beatae quos non ipsam sapiente.\", \"Voluptas et reprehenderit dolorem. Sit rem adipisci ut maiores velit. Voluptatem dolorem sunt maiores.\"]"], ["created_at", "2014-09-19 19:46:55.234123"], ["name", "contract_4e64f22f"], ["title", "Facere distinctio fugit minima ea."], ["updated_at", "2014-09-19 19:46:55.234123"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4e64f22f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_4e64f22f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:46:55.237597"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.242799"], ["updated_at", "2014-09-19 19:46:55.242799"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.244271"], ["updated_at", "2014-09-19 19:46:55.244271"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_703bb7f5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis maxime aut reiciendis explicabo error voluptate. Excepturi ut reiciendis unde quod. Numquam porro autem et est distinctio quibusdam. In animi necessitatibus odit officia incidunt.\", \"Nulla magni vero sit laborum nobis ut. Omnis reprehenderit rem voluptates itaque quo voluptatum voluptatem. Voluptate quis eos aut aut possimus neque. Sit incidunt cum blanditiis et quasi. Voluptas sint quidem illum mollitia quam aut debitis.\"]"], ["created_at", "2014-09-19 19:46:55.246895"], ["name", "contract_703bb7f5"], ["title", "Blanditiis omnis quibusdam voluptatem vel ipsam adipisci."], ["updated_at", "2014-09-19 19:46:55.246895"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 21]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 21]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 21 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.254811"], ["updated_at", "2014-09-19 19:46:55.254811"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.256316"], ["updated_at", "2014-09-19 19:46:55.256316"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_783b0329') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est provident facilis. Recusandae ut perferendis nihil eos hic quia. Est et possimus voluptatibus rerum ipsum atque voluptatem.\", \"Optio officiis pariatur qui eaque a soluta qui. Aliquid accusamus nobis. Molestiae deleniti accusamus sit id quibusdam odit. Aspernatur provident omnis voluptatem. Adipisci consequatur voluptatem nemo placeat a ad.\"]"], ["created_at", "2014-09-19 19:46:55.259479"], ["name", "contract_783b0329"], ["title", "Consequatur delectus ipsum quis sint voluptatem."], ["updated_at", "2014-09-19 19:46:55.259479"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_783b0329"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_783b0329') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:46:55.264712"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.268877"], ["updated_at", "2014-09-19 19:46:55.268877"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.270361"], ["updated_at", "2014-09-19 19:46:55.270361"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_13f9bdb4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore voluptatem ipsa. In tenetur sed. Excepturi sunt rerum saepe.\", \"Fugit sed soluta voluptatibus. Et aut doloribus minus hic quae. Dolorem laborum dolores est accusamus. Non consequuntur tempore.\"]"], ["created_at", "2014-09-19 19:46:55.272885"], ["name", "contract_13f9bdb4"], ["title", "Odio assumenda quaerat numquam aut ut dolorem."], ["updated_at", "2014-09-19 19:46:55.272885"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 17, 15, 14, 13, 20, 10, 19, 8, 7, 22, 1, 5, 4, 11, 12, 2, 3, 18, 9, 6, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.282739"], ["updated_at", "2014-09-19 19:46:55.282739"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.284327"], ["updated_at", "2014-09-19 19:46:55.284327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c1037ad3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus illum quisquam dolor provident minus voluptas. Omnis sit omnis et pariatur cupiditate. Repellendus sunt quae quaerat in distinctio magni deleniti. Modi assumenda quos molestiae recusandae libero.\", \"Fuga ut ea id ullam. Velit consequatur officia dignissimos non. Harum ipsam saepe. Odit sunt earum ut cupiditate aut. Rem natus ut.\"]"], ["created_at", "2014-09-19 19:46:55.287084"], ["name", "contract_c1037ad3"], ["title", "Ipsum est in odio natus labore dolore quisquam."], ["updated_at", "2014-09-19 19:46:55.287084"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.290831"], ["updated_at", "2014-09-19 19:46:55.290831"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.292422"], ["updated_at", "2014-09-19 19:46:55.292422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_519f4dde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et tempora exercitationem. Commodi dignissimos consequatur explicabo totam beatae veritatis neque. Illum voluptas commodi.\", \"Sunt iusto ad ut ut. Molestiae quia sunt animi mollitia. Nesciunt velit qui sed non aut necessitatibus.\"]"], ["created_at", "2014-09-19 19:46:55.295272"], ["name", "contract_519f4dde"], ["title", "Facilis magnam rerum voluptatem."], ["updated_at", "2014-09-19 19:46:55.295272"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_519f4dde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_519f4dde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:46:55.299055"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.304816"], ["updated_at", "2014-09-19 19:46:55.304816"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.306290"], ["updated_at", "2014-09-19 19:46:55.306290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f596ab2a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum praesentium accusantium nesciunt et. Eveniet eum soluta debitis enim laboriosam. Porro numquam neque dolorem incidunt tenetur.\", \"Minus consequuntur ipsam rerum in minima. Impedit cum aliquam iste exercitationem sint. Saepe distinctio eos rem. Et nihil fuga necessitatibus.\"]"], ["created_at", "2014-09-19 19:46:55.308787"], ["name", "contract_f596ab2a"], ["title", "Aliquam ea dolorum."], ["updated_at", "2014-09-19 19:46:55.308787"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.318576"], ["updated_at", "2014-09-19 19:46:55.318576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.320235"], ["updated_at", "2014-09-19 19:46:55.320235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1927ada1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At esse et ut eaque maiores soluta. Nostrum magnam quasi in est id atque doloribus. Et quos aliquam earum et ut.\", \"Optio ut nostrum beatae quia impedit dignissimos. Qui est ducimus facere. Aut et mollitia excepturi aspernatur. Corrupti quasi distinctio ut repellat ad. Sit minus id aliquam quae sapiente deserunt.\"]"], ["created_at", "2014-09-19 19:46:55.322871"], ["name", "contract_1927ada1"], ["title", "Non accusantium temporibus magnam aut a ut est."], ["updated_at", "2014-09-19 19:46:55.322871"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.327255"], ["updated_at", "2014-09-19 19:46:55.327255"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.328864"], ["updated_at", "2014-09-19 19:46:55.328864"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_75119dff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae porro velit sunt et accusamus et rerum. Enim quae corporis id ut. Ut modi et. Ea pariatur sit velit. Accusamus rerum non debitis.\", \"Ullam magnam incidunt consequatur qui laudantium. Ullam quia itaque quibusdam quo vel non sunt. Aut debitis omnis dolores et dolores error optio.\"]"], ["created_at", "2014-09-19 19:46:55.331691"], ["name", "contract_75119dff"], ["title", "Ipsum rem occaecati perspiciatis dicta."], ["updated_at", "2014-09-19 19:46:55.331691"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.337016"], ["updated_at", "2014-09-19 19:46:55.337016"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.338605"], ["updated_at", "2014-09-19 19:46:55.338605"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b40f5953') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto rem rerum. Fugit ut voluptatum illo ipsa velit ut. Cupiditate et veniam provident laboriosam est. At eius dolor. Sapiente eligendi aut veritatis nemo quod est repellendus.\", \"Excepturi quasi quia est distinctio mollitia. Aut quae rem neque dolor est at occaecati. Non recusandae accusamus ut. Ab odit autem consequuntur voluptatem.\"]"], ["created_at", "2014-09-19 19:46:55.341519"], ["name", "contract_b40f5953"], ["title", "Hic voluptatem distinctio est quasi ex id id."], ["updated_at", "2014-09-19 19:46:55.341519"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b40f5953"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_b40f5953') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:46:55.344984"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b40f5953"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_b40f5953') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:46:55.350297"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.354920"], ["updated_at", "2014-09-19 19:46:55.354920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.356888"], ["updated_at", "2014-09-19 19:46:55.356888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b4a831d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut ut magni harum est perferendis. Mollitia aut eum error quisquam et id. Sed fugit dolores. Iure nesciunt aut incidunt. Quod et cumque cupiditate itaque repellat tenetur.\", \"Et dolor voluptatem. Harum et voluptas a exercitationem quidem. Blanditiis eum est doloribus voluptates et maxime. Modi in qui repellat autem architecto et. Necessitatibus et odio.\"]"], ["created_at", "2014-09-19 19:46:55.359784"], ["name", "contract_1b4a831d"], ["title", "Dolor corporis accusantium excepturi quos eligendi id."], ["updated_at", "2014-09-19 19:46:55.359784"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b4a831d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_1b4a831d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:46:55.363380"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1b4a831d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus culpa commodi. Sed quae similique beatae dicta aliquam eos. Et enim quod repellendus dolor. Sint error eligendi quas consequatur laboriosam voluptatibus.\", \"Accusantium qui hic totam blanditiis. Quasi ut accusamus voluptatem totam. Voluptatibus ut consequuntur. Voluptatem dolorem accusantium sit. Nisi velit odit quia.\"]"], ["created_at", "2014-09-19 19:46:55.371848"], ["name", "alpha"], ["title", "Occaecati et repudiandae consequatur et."], ["updated_at", "2014-09-19 19:46:55.371848"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:46:55.374982"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui libero nesciunt praesentium quia. Eveniet unde sequi qui aliquam. Molestiae cupiditate totam et illo alias. Similique et a vero beatae. Fuga vel vel quia.\", \"Tenetur qui ut amet natus et. Est et magni. Rerum eligendi natus voluptatem officiis.\"]"], ["created_at", "2014-09-19 19:46:55.378430"], ["name", "beta"], ["title", "Aut minima similique animi eos."], ["updated_at", "2014-09-19 19:46:55.378430"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:46:55.381362"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis esse nisi sunt. Commodi dolorum eum. Molestiae a dolor. Exercitationem et dolorem sed impedit vel. Quibusdam voluptatum ducimus voluptatem.\", \"Repudiandae occaecati magni. Mollitia delectus accusamus iure non distinctio aut. Id necessitatibus consequatur ut vitae.\"]"], ["created_at", "2014-09-19 19:46:55.385057"], ["name", "alpha"], ["title", "Voluptates repellendus magnam beatae."], ["updated_at", "2014-09-19 19:46:55.385057"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:46:55.388045"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde laborum neque quo ipsum. Numquam labore sint. Aliquam debitis praesentium iste.\", \"At est ad. Quidem facere occaecati unde vero. Labore nemo inventore facere nihil.\"]"], ["created_at", "2014-09-19 19:46:55.391254"], ["name", "beta"], ["title", "Architecto dolore eos."], ["updated_at", "2014-09-19 19:46:55.391254"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:46:55.394206"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde sunt cupiditate. Doloremque sit cupiditate est ad modi. Omnis est autem quas.\", \"Incidunt aut sint. Enim inventore possimus eum amet. Inventore sed iste nobis sit quia.\"]"], ["created_at", "2014-09-19 19:46:55.397779"], ["name", "alpha"], ["title", "Eligendi non doloribus qui numquam."], ["updated_at", "2014-09-19 19:46:55.397779"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:46:55.400926"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore nobis dolorem optio quas quo quisquam. Porro dicta adipisci qui. Eos tempora fuga fugit nobis. Esse dolores consequatur mollitia architecto. Vel neque maxime non incidunt.\", \"At molestias nostrum debitis. Aspernatur necessitatibus ex qui officia. Tempore eos qui eligendi facilis blanditiis.\"]"], ["created_at", "2014-09-19 19:46:55.404162"], ["name", "beta"], ["title", "Nam debitis fuga pariatur hic quia quasi aperiam."], ["updated_at", "2014-09-19 19:46:55.404162"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:46:55.407911"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.411362"], ["updated_at", "2014-09-19 19:46:55.411362"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.412870"], ["updated_at", "2014-09-19 19:46:55.412870"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.420116"], ["updated_at", "2014-09-19 19:46:55.420116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:46:55.421599"], ["updated_at", "2014-09-19 19:46:55.421599"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.460185"], ["updated_at", "2014-09-19 19:47:36.460185"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.467337"], ["updated_at", "2014-09-19 19:47:36.467337"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.485536"], ["updated_at", "2014-09-19 19:47:36.485536"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.487218"], ["updated_at", "2014-09-19 19:47:36.487218"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_23a236da') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur id necessitatibus odit. Nesciunt fuga dicta ut et. Odit reiciendis qui iusto ut voluptatem a. Vitae maiores et sequi voluptate enim.\", \"Est illo dolor ipsam ducimus. Facilis enim impedit consequatur quia. Nostrum sint consequatur sapiente. Aut corrupti enim asperiores voluptatum autem porro. Saepe cumque ex mollitia voluptas.\"]"], ["created_at", "2014-09-19 19:47:36.713357"], ["name", "contract_23a236da"], ["title", "Doloremque vitae nihil quidem iure perspiciatis cum."], ["updated_at", "2014-09-19 19:47:36.713357"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_aa99265a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit officiis voluptatem quas fugit eligendi enim ut. Praesentium ipsa voluptatibus pariatur. Cumque voluptatem et consequuntur repellat praesentium. Ut perspiciatis sunt omnis modi et.\", \"Consectetur dicta ad eaque ut explicabo. Qui molestiae ducimus. Officia voluptatem et quas omnis rerum.\"]"], ["created_at", "2014-09-19 19:47:36.726809"], ["name", "contract_aa99265a"], ["title", "Commodi quaerat distinctio."], ["updated_at", "2014-09-19 19:47:36.726809"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa99265a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_aa99265a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:47:36.731793"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.736454"], ["updated_at", "2014-09-19 19:47:36.736454"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.742465"], ["updated_at", "2014-09-19 19:47:36.742465"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.744181"], ["updated_at", "2014-09-19 19:47:36.744181"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_728471e5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In quis qui. Facere quasi voluptatem aut. Ex libero non veritatis consequatur quibusdam ut. Ut rem eos aut est fugit totam. Culpa ut inventore.\", \"Ut fuga maiores aperiam et maxime magnam quis. Veniam quam reprehenderit quia repellendus. Neque voluptatum illum reiciendis. Doloremque et et repellendus dicta qui.\"]"], ["created_at", "2014-09-19 19:47:36.748014"], ["name", "contract_728471e5"], ["title", "Voluptates sit doloremque nihil velit est voluptatem quia."], ["updated_at", "2014-09-19 19:47:36.748014"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_728471e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_728471e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:47:36.752207"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.755364"], ["updated_at", "2014-09-19 19:47:36.755364"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:47:36.757939"], ["updated_at", "2014-09-19 19:47:36.757939"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.766902"], ["updated_at", "2014-09-19 19:47:36.766902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.768564"], ["updated_at", "2014-09-19 19:47:36.768564"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6bab95a1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum mollitia neque itaque. Est rerum aut magni mollitia qui quae. Repudiandae quam totam sunt sapiente eaque quia.\", \"Qui nemo occaecati vero veniam aliquid laudantium. Quis quas quam inventore et consequatur. Consequatur minima ratione recusandae.\"]"], ["created_at", "2014-09-19 19:47:36.771638"], ["name", "contract_6bab95a1"], ["title", "Sapiente perferendis asperiores provident sit."], ["updated_at", "2014-09-19 19:47:36.771638"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6bab95a1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_6bab95a1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:47:36.774889"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.777582"], ["updated_at", "2014-09-19 19:47:36.777582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:47:36.779848"], ["updated_at", "2014-09-19 19:47:36.779848"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.788943"], ["updated_at", "2014-09-19 19:47:36.788943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.790887"], ["updated_at", "2014-09-19 19:47:36.790887"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_3699d425') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus earum odio tenetur sit. Adipisci nesciunt nemo laboriosam sint optio quae cum. Et magnam dicta eligendi.\", \"Sunt officiis ut est perferendis illo sunt. Ipsum quis officia. Nihil quia voluptas minima. Ad animi minima esse saepe alias perferendis. Hic autem ex quia accusantium.\"]"], ["created_at", "2014-09-19 19:47:36.795401"], ["name", "contract_3699d425"], ["title", "Laudantium atque quo vitae nisi."], ["updated_at", "2014-09-19 19:47:36.795401"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3699d425"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_3699d425') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:47:36.800261"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.804137"], ["updated_at", "2014-09-19 19:47:36.804137"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-19 19:47:36.807047"], ["updated_at", "2014-09-19 19:47:36.807047"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.813425"], ["updated_at", "2014-09-19 19:47:36.813425"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.814983"], ["updated_at", "2014-09-19 19:47:36.814983"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47369abb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi dicta vel non aspernatur quo ut molestiae. Asperiores sit temporibus officia molestiae. Ut alias aut dolores consequuntur asperiores voluptatem. Quibusdam et dolor et in quos. Nesciunt earum maxime quaerat voluptas.\", \"Perspiciatis dolorem voluptatem necessitatibus aut illum quod. Itaque sed nostrum. Et est quia esse.\"]"], ["created_at", "2014-09-19 19:47:36.818294"], ["name", "contract_47369abb"], ["title", "Nesciunt earum possimus delectus consequatur voluptas."], ["updated_at", "2014-09-19 19:47:36.818294"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47369abb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_47369abb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:47:36.821748"], ["version", 1]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.826058"], ["updated_at", "2014-09-19 19:47:36.826058"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-19 19:47:36.828680"], ["updated_at", "2014-09-19 19:47:36.828680"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste sed omnis. Rerum sapiente dicta. Quod et voluptatem nobis suscipit non harum mollitia. Cupiditate sunt dolorem animi ut eum sit.\", \"Error cum repudiandae. Voluptates natus sint ipsum. Debitis aspernatur odit cupiditate architecto.\"]"], ["created_at", "2014-09-19 19:47:36.839562"], ["name", "alpha"], ["title", "Officia porro sunt aut."], ["updated_at", "2014-09-19 19:47:36.839562"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:47:36.843017"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium minima neque magni maxime rerum ullam iusto. Sit minus molestiae maxime et. Esse rerum quisquam sed provident totam ab. Enim ratione recusandae. Quia illo quidem est.\", \"Dolores modi labore unde doloremque et. Commodi modi excepturi unde sit ut quisquam. Occaecati et et sit ipsam culpa. Nihil architecto natus deleniti sunt ratione tempora libero. Sunt ea sint repellendus iure vero in doloremque.\"]"], ["created_at", "2014-09-19 19:47:36.846767"], ["name", "beta"], ["title", "Quaerat est voluptatum esse similique adipisci ut reiciendis."], ["updated_at", "2014-09-19 19:47:36.846767"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:47:36.849904"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus omnis nihil perferendis iusto cumque perspiciatis harum. Mollitia soluta assumenda minima. Blanditiis ut nesciunt molestiae dicta consequatur. Consequatur ab dicta dolor ullam in quia.\", \"Aut tempore nobis reprehenderit. Repellat aut enim beatae inventore dolorem. Iure voluptatem assumenda numquam porro quaerat adipisci.\"]"], ["created_at", "2014-09-19 19:47:36.854126"], ["name", "alpha"], ["title", "Necessitatibus voluptatibus eos quis eligendi iusto porro et."], ["updated_at", "2014-09-19 19:47:36.854126"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:47:36.857510"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum aliquid eveniet voluptas qui numquam ipsa ut. Est sint similique quia aut deserunt repellendus rerum. Ut rem saepe consectetur ea non atque. Veritatis autem ut est assumenda est inventore.\", \"Itaque voluptate reiciendis autem numquam quibusdam voluptas. Aut exercitationem necessitatibus ut non nulla. Corrupti dolor velit incidunt beatae voluptatem vel. Cumque quia et. Possimus aliquam nam beatae sit enim.\"]"], ["created_at", "2014-09-19 19:47:36.860807"], ["name", "beta"], ["title", "Voluptatem non dolorem aut."], ["updated_at", "2014-09-19 19:47:36.860807"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:47:36.863609"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti quo dolorem totam quidem qui blanditiis illo. Iure aut minus incidunt corporis blanditiis. Id nemo et ut. Quibusdam minima cumque culpa possimus unde ut.\", \"Nihil qui ducimus reiciendis. Voluptas repudiandae nobis dolores fugiat odit qui. Beatae quia dolorem iusto dolores adipisci. In id id saepe eos sed vero.\"]"], ["created_at", "2014-09-19 19:47:36.867223"], ["name", "alpha"], ["title", "Autem pariatur neque."], ["updated_at", "2014-09-19 19:47:36.867223"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:47:36.870104"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam molestiae odit. Dolore eaque delectus quaerat. Harum atque iste accusamus nam quisquam. Porro nisi possimus. Sunt animi aliquid sed veniam illo.\", \"Quas et sapiente officia. Mollitia occaecati aut sequi dolorum odit et vero. Minima adipisci non architecto officia. Architecto optio itaque alias pariatur suscipit. Vel ratione error debitis necessitatibus corporis.\"]"], ["created_at", "2014-09-19 19:47:36.873596"], ["name", "beta"], ["title", "Maiores tempora est autem ipsa voluptatibus dignissimos enim."], ["updated_at", "2014-09-19 19:47:36.873596"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:47:36.877224"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.880709"], ["updated_at", "2014-09-19 19:47:36.880709"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.882203"], ["updated_at", "2014-09-19 19:47:36.882203"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b3ae60a2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ut omnis nulla laboriosam et id autem. Est autem animi. Nisi laudantium praesentium sed. Et minima quos consequatur distinctio et.\", \"Tempora earum asperiores quis nam. Explicabo adipisci nihil est et. Veniam saepe ratione exercitationem officia repudiandae at perferendis.\"]"], ["created_at", "2014-09-19 19:47:36.884700"], ["name", "contract_b3ae60a2"], ["title", "Voluptatem itaque repellat placeat repellendus."], ["updated_at", "2014-09-19 19:47:36.884700"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b3ae60a2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_b3ae60a2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:47:36.888865"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b3ae60a2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.897551"], ["updated_at", "2014-09-19 19:47:36.897551"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.899556"], ["updated_at", "2014-09-19 19:47:36.899556"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_ac0eceff') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quibusdam enim magni ut. Officia ea ullam porro assumenda harum. Ex qui expedita optio. Aut maiores minima. Exercitationem id occaecati delectus.\", \"Officia sint non optio vero aut beatae. Porro commodi vel accusantium distinctio pariatur. Sint beatae sequi totam omnis.\"]"], ["created_at", "2014-09-19 19:47:36.903322"], ["name", "contract_ac0eceff"], ["title", "Omnis enim minima distinctio est atque voluptatem exercitationem."], ["updated_at", "2014-09-19 19:47:36.903322"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.909411"], ["updated_at", "2014-09-19 19:47:36.909411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.910880"], ["updated_at", "2014-09-19 19:47:36.910880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e2ed45c3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo quidem magnam ut iure. Culpa odit reprehenderit eos eius nostrum pariatur. Officia sit nemo qui est consequatur commodi atque.\", \"Repellendus voluptates rerum. Quasi qui repudiandae ea sit. Autem ut incidunt vero occaecati rerum. Sequi ratione repellat totam sit et a.\"]"], ["created_at", "2014-09-19 19:47:36.913386"], ["name", "contract_e2ed45c3"], ["title", "Mollitia id aperiam minus fuga consequatur nemo."], ["updated_at", "2014-09-19 19:47:36.913386"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.921214"], ["updated_at", "2014-09-19 19:47:36.921214"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.923157"], ["updated_at", "2014-09-19 19:47:36.923157"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_87465302') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut eaque hic cumque non iusto sunt saepe. Sit deleniti consequatur autem non error. Eum blanditiis cum quasi ipsum suscipit. Illo labore dolor. Quas eos quisquam vel quis ut non.\", \"Non perferendis laudantium totam. Adipisci ut aperiam et alias sit et. Quia vel impedit est minima expedita.\"]"], ["created_at", "2014-09-19 19:47:36.926650"], ["name", "contract_87465302"], ["title", "Dolorem veritatis qui nihil soluta qui architecto."], ["updated_at", "2014-09-19 19:47:36.926650"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87465302"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_87465302') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:47:36.931185"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.937255"], ["updated_at", "2014-09-19 19:47:36.937255"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.938725"], ["updated_at", "2014-09-19 19:47:36.938725"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d795fc0a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti natus amet. Laboriosam et placeat quisquam officia qui ipsa. Soluta laborum et labore reiciendis optio sequi itaque. Et est ipsam voluptatibus quisquam. Corporis sit natus.\", \"Harum dolores quidem. Autem omnis consequuntur saepe atque enim. Perspiciatis eveniet eaque aperiam in autem non est. Autem atque totam harum rerum possimus qui aperiam.\"]"], ["created_at", "2014-09-19 19:47:36.941298"], ["name", "contract_d795fc0a"], ["title", "Ut amet incidunt."], ["updated_at", "2014-09-19 19:47:36.941298"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.948979"], ["updated_at", "2014-09-19 19:47:36.948979"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.950502"], ["updated_at", "2014-09-19 19:47:36.950502"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_24dc6b3d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea excepturi aliquid eum rerum est deserunt molestiae. Enim impedit qui saepe eum expedita. Necessitatibus minima dignissimos placeat. Vel quia labore error omnis.\", \"Molestiae quibusdam qui nostrum nemo. Odio omnis nostrum molestias omnis maxime. Est labore eveniet natus incidunt architecto fugiat voluptas.\"]"], ["created_at", "2014-09-19 19:47:36.953062"], ["name", "contract_24dc6b3d"], ["title", "Et quia cupiditate hic esse et."], ["updated_at", "2014-09-19 19:47:36.953062"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 18 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:47:36.957545"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.963439"], ["updated_at", "2014-09-19 19:47:36.963439"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.964982"], ["updated_at", "2014-09-19 19:47:36.964982"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d051796f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus qui consequuntur. Veritatis sit beatae expedita aut blanditiis. Voluptatibus a accusantium. Ipsam iste culpa dolorem sed quas dolorum. Et quos atque vitae totam.\", \"Voluptas eos odio amet iure molestiae placeat. Illum repellat iusto aut nemo autem nostrum. Tenetur consectetur nihil officiis qui placeat aut suscipit.\"]"], ["created_at", "2014-09-19 19:47:36.967591"], ["name", "contract_d051796f"], ["title", "Corrupti repellat magni adipisci repudiandae."], ["updated_at", "2014-09-19 19:47:36.967591"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.972011"], ["updated_at", "2014-09-19 19:47:36.972011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.973459"], ["updated_at", "2014-09-19 19:47:36.973459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_978a4139') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus voluptatem autem labore odit. Sunt alias sunt. Eligendi ipsam nihil ab id quia quas dolorum.\", \"Nam est ex illum cupiditate. Voluptatem nesciunt dolores aperiam. Nisi temporibus recusandae et et in quibusdam.\"]"], ["created_at", "2014-09-19 19:47:36.976274"], ["name", "contract_978a4139"], ["title", "Aut distinctio architecto magnam voluptas eaque."], ["updated_at", "2014-09-19 19:47:36.976274"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.980876"], ["updated_at", "2014-09-19 19:47:36.980876"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.982311"], ["updated_at", "2014-09-19 19:47:36.982311"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_95dc5640') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur consequatur totam at hic. Natus debitis aliquam culpa autem reiciendis quaerat. In nesciunt repellendus at repellat exercitationem dolor qui. Et possimus aut. Voluptatem in quisquam necessitatibus.\", \"Qui non cumque dolorem facere sint beatae. Voluptatem aspernatur libero. Hic ut earum beatae voluptatem quia. Qui quia autem quis doloremque qui error asperiores. Dolores fugiat qui sint ad.\"]"], ["created_at", "2014-09-19 19:47:36.984800"], ["name", "contract_95dc5640"], ["title", "Corporis quo possimus consequatur."], ["updated_at", "2014-09-19 19:47:36.984800"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_95dc5640"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_95dc5640') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:47:36.988272"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.993070"], ["updated_at", "2014-09-19 19:47:36.993070"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:36.994527"], ["updated_at", "2014-09-19 19:47:36.994527"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_81b9b59b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque quaerat illum sunt nobis aut. Dolor aut error qui tempore repellat alias repellendus. Qui laborum reprehenderit.\", \"Accusamus architecto magni similique reprehenderit. Temporibus minus sint. Repellat sapiente quia neque tenetur eligendi itaque soluta.\"]"], ["created_at", "2014-09-19 19:47:36.997090"], ["name", "contract_81b9b59b"], ["title", "Illum dolorum doloremque."], ["updated_at", "2014-09-19 19:47:36.997090"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 7, 12, 10, 8, 1, 5, 6, 4, 3, 22, 16, 21, 20, 2, 14, 13, 19, 15, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.007411"], ["updated_at", "2014-09-19 19:47:37.007411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.009417"], ["updated_at", "2014-09-19 19:47:37.009417"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_becbf6fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel rerum debitis rem sapiente sit est. Ducimus ea est repellendus rerum et quia veritatis. Officia sint quod dolor. Nihil voluptatum ea molestias expedita earum.\", \"Similique aut modi error quasi possimus corporis impedit. Et saepe distinctio harum praesentium facilis. Quibusdam molestiae qui itaque consequatur consequatur. Earum qui unde. Soluta aliquid alias quia nisi odit eius iste.\"]"], ["created_at", "2014-09-19 19:47:37.012323"], ["name", "contract_becbf6fb"], ["title", "Maxime nihil nihil magnam praesentium soluta."], ["updated_at", "2014-09-19 19:47:37.012323"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.020345"], ["updated_at", "2014-09-19 19:47:37.020345"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.022174"], ["updated_at", "2014-09-19 19:47:37.022174"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e2ff4e2c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae molestiae adipisci quis quibusdam minima. Possimus amet velit. Veniam dolor molestiae maxime officiis delectus rem consequatur. Aliquid fugiat excepturi minima mollitia.\", \"Distinctio eos est blanditiis dolore explicabo. Beatae id dolores est. Tenetur accusamus saepe optio sint eum reiciendis dolorem. Deleniti voluptas soluta incidunt et ratione. Vel pariatur omnis sed est voluptates ab voluptatem.\"]"], ["created_at", "2014-09-19 19:47:37.025088"], ["name", "contract_e2ff4e2c"], ["title", "Sint in officiis similique rerum delectus."], ["updated_at", "2014-09-19 19:47:37.025088"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.030306"], ["updated_at", "2014-09-19 19:47:37.030306"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.031692"], ["updated_at", "2014-09-19 19:47:37.031692"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fec3edc7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga ad in. Dolores omnis qui est ea voluptas cupiditate expedita. Dolorum id numquam ipsum rem sunt possimus.\", \"Rerum nisi quo. Non animi quaerat facere id alias. Assumenda omnis tempore quos. Vel amet et at.\"]"], ["created_at", "2014-09-19 19:47:37.034149"], ["name", "contract_fec3edc7"], ["title", "Similique animi non voluptatibus."], ["updated_at", "2014-09-19 19:47:37.034149"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.038245"], ["updated_at", "2014-09-19 19:47:37.038245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.039703"], ["updated_at", "2014-09-19 19:47:37.039703"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f06e0b32') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et rerum animi culpa. Consequuntur facilis aut. Ut fuga voluptatibus odio voluptas. Et adipisci qui eaque tempore consequatur incidunt. Est vel iste voluptatem tempore sunt.\", \"Sint soluta tenetur assumenda. Voluptatem nesciunt nemo similique quis. Vel quo qui unde tempora. Nostrum veniam dolores et nesciunt.\"]"], ["created_at", "2014-09-19 19:47:37.042912"], ["name", "contract_f06e0b32"], ["title", "Voluptatem omnis dolor ducimus nam totam."], ["updated_at", "2014-09-19 19:47:37.042912"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.047193"], ["updated_at", "2014-09-19 19:47:37.047193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.048637"], ["updated_at", "2014-09-19 19:47:37.048637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7ad7c0eb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae quaerat quisquam corporis quis sint. Sit molestias eveniet iusto nostrum atque illo. Consequatur fugit aut et. Ratione sapiente sit voluptas tempore.\", \"Enim quibusdam eos eligendi expedita. Error laborum quidem quisquam expedita vitae fugiat consectetur. Voluptate et est repudiandae ut et dicta voluptatem.\"]"], ["created_at", "2014-09-19 19:47:37.051091"], ["name", "contract_7ad7c0eb"], ["title", "Quibusdam iure incidunt."], ["updated_at", "2014-09-19 19:47:37.051091"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ad7c0eb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_7ad7c0eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:47:37.054533"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ad7c0eb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_7ad7c0eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:47:37.060478"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.064730"], ["updated_at", "2014-09-19 19:47:37.064730"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.066286"], ["updated_at", "2014-09-19 19:47:37.066286"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_d43fb2ea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ducimus quos perferendis eaque unde quis. Esse eaque nesciunt sequi autem. Sit non dolorum similique tenetur. Molestiae sed minima facilis omnis natus ipsam.\", \"Adipisci eos impedit omnis iusto fugit quia consequatur. A enim quia optio ipsam non ex et. Et sed distinctio accusamus exercitationem recusandae.\"]"], ["created_at", "2014-09-19 19:47:37.068950"], ["name", "contract_d43fb2ea"], ["title", "Dicta non ad repellat ut."], ["updated_at", "2014-09-19 19:47:37.068950"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.079679"], ["updated_at", "2014-09-19 19:47:37.079679"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.081365"], ["updated_at", "2014-09-19 19:47:37.081365"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e5e7945f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis quia quis id porro non sit. Soluta repellendus commodi excepturi sint. Doloribus quo repellat modi eligendi quia consequatur. Laboriosam iste sit non ea ut animi. Rerum expedita quaerat non et alias sit.\", \"Consectetur aliquam est id quos quaerat. Id consequatur perspiciatis rerum hic error. Sit quam ratione.\"]"], ["created_at", "2014-09-19 19:47:37.084158"], ["name", "contract_e5e7945f"], ["title", "Similique sit magni dolores fugiat ratione pariatur."], ["updated_at", "2014-09-19 19:47:37.084158"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e5e7945f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_e5e7945f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:47:37.089255"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.094366"], ["updated_at", "2014-09-19 19:47:37.094366"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.096320"], ["updated_at", "2014-09-19 19:47:37.096320"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_7a2aa6a0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et occaecati dolores molestiae repellat quidem. Eaque nostrum dolore distinctio quia. Excepturi saepe eligendi laboriosam a qui doloremque. Porro non et natus. Voluptas error accusantium odit.\", \"Qui consequatur officia. Nobis quod sed minus. Facere dolores ea eaque veritatis est pariatur.\"]"], ["created_at", "2014-09-19 19:47:37.099935"], ["name", "contract_7a2aa6a0"], ["title", "Dolor et provident."], ["updated_at", "2014-09-19 19:47:37.099935"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_c1b8f74e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque similique autem voluptatem excepturi iusto. Voluptates debitis ex. Natus quia commodi. Delectus quos voluptatum eligendi. Ea officiis facere quas reiciendis in est.\", \"Sunt laborum qui et eaque itaque placeat omnis. Sint repellat eligendi numquam nulla ipsum. Sed qui labore odio non laborum illo. Molestias consequatur vel ipsa sapiente minus quam.\"]"], ["created_at", "2014-09-19 19:47:37.106811"], ["name", "contract_c1b8f74e"], ["title", "Veritatis fuga aliquid."], ["updated_at", "2014-09-19 19:47:37.106811"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c1b8f74e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_c1b8f74e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:47:37.111187"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c1b8f74e"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c1b8f74e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_c1b8f74e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:47:37.116306"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_30f84345') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae optio repellendus mollitia quis accusamus. Laborum odio est et excepturi. Omnis aut maiores tempora quae aspernatur.\", \"Neque ut et. Ducimus in id eveniet. Aliquam facilis nisi. Quia magnam alias ut. Unde a et et laborum commodi.\"]"], ["created_at", "2014-09-19 19:47:37.119761"], ["name", "contract_30f84345"], ["title", "Quas suscipit quidem non eveniet."], ["updated_at", "2014-09-19 19:47:37.119761"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_30f84345"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_30f84345') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:47:37.122737"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_30f84345' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_30f84345') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae optio repellendus mollitia quis accusamus. Laborum odio est et excepturi. Omnis aut maiores tempora quae aspernatur.\", \"Neque ut et. Ducimus in id eveniet. Aliquam facilis nisi. Quia magnam alias ut. Unde a et et laborum commodi.\"]"], ["created_at", "2014-09-19 19:47:37.126155"], ["name", "contract_30f84345"], ["title", "Quas suscipit quidem non eveniet."], ["updated_at", "2014-09-19 19:47:37.126155"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_30f84345"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_30f84345') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:47:37.129814"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b2294e4a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe enim enim quis. Assumenda et atque sed voluptatum. Repudiandae rerum quia beatae. Non rerum hic labore.\", \"Consequatur velit illo non odit. Blanditiis voluptates expedita quae. Consequatur saepe facere reprehenderit porro sed explicabo. Eveniet qui enim qui quia voluptatem odio esse.\"]"], ["created_at", "2014-09-19 19:47:37.133587"], ["name", "contract_b2294e4a"], ["title", "Consectetur dolorum esse adipisci ratione eum omnis magni."], ["updated_at", "2014-09-19 19:47:37.133587"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b2294e4a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_b2294e4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:47:37.136538"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:47:37.140066"], ["updated_at", "2014-09-19 19:47:37.140066"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:47:37.142954"], ["updated_at", "2014-09-19 19:47:37.142954"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_b2294e4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b2294e4a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_b2294e4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction  (0.0ms) begin transaction 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_27b3da47') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptate praesentium autem. Placeat eum quia. Et excepturi corrupti voluptas. Adipisci et repellendus asperiores.\", \"Commodi et et. Soluta ducimus consectetur numquam. Voluptas porro perspiciatis dolor non earum. Laboriosam dolorum eius ducimus fugit et quis voluptatem.\"]"], ["created_at", "2014-09-19 19:47:37.152439"], ["name", "contract_27b3da47"], ["title", "Quidem corrupti non mollitia magnam."], ["updated_at", "2014-09-19 19:47:37.152439"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_27b3da47"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_27b3da47') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:47:37.155476"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_27b3da47' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptate praesentium autem. Placeat eum quia. Et excepturi corrupti voluptas. Adipisci et repellendus asperiores.\", \"Commodi et et. Soluta ducimus consectetur numquam. Voluptas porro perspiciatis dolor non earum. Laboriosam dolorum eius ducimus fugit et quis voluptatem.\"]"], ["created_at", "2014-09-19 19:47:37.158948"], ["name", "joe"], ["title", "Quidem corrupti non mollitia magnam."], ["updated_at", "2014-09-19 19:47:37.158948"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:47:37.161812"], ["version", 1]]  (0.6ms) commit transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae ipsum aut alias. Officiis quisquam ut id. Odio veniam possimus facilis magnam at adipisci. Molestias voluptas officia atque id et vel.\", \"Animi qui qui iure aperiam maxime est. Est voluptatum iure ut praesentium id. Tempore aut doloribus minus et. Doloremque voluptas a totam consectetur odit quia.\"]"], ["created_at", "2014-09-19 19:49:01.245097"], ["name", "alpha"], ["title", "Nihil veniam ullam cum."], ["updated_at", "2014-09-19 19:49:01.245097"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:49:01.263923"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque magnam animi debitis. Iusto quis nulla nobis quo. Modi nam est est cum qui quam occaecati.\", \"Sint voluptatem aut velit eligendi voluptatem. Facilis quis voluptatem dolorum. Qui quos minima. Ratione eos libero quo odio quidem. Optio quibusdam ipsa eum.\"]"], ["created_at", "2014-09-19 19:49:01.269834"], ["name", "beta"], ["title", "Tenetur exercitationem unde sint."], ["updated_at", "2014-09-19 19:49:01.269834"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:49:01.273059"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde ad et magnam vel aut culpa. Aut nisi quia aliquid. Omnis non consequuntur aut ab reiciendis minima. Non harum mollitia sapiente.\", \"A nihil eum molestias tempora nihil. Ab molestiae repellat quaerat soluta veritatis nemo. Aut reiciendis asperiores aliquid et qui enim. Nisi occaecati commodi doloremque. Enim similique veniam quidem ut error deleniti.\"]"], ["created_at", "2014-09-19 19:49:01.277530"], ["name", "alpha"], ["title", "Error nihil tempora."], ["updated_at", "2014-09-19 19:49:01.277530"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:49:01.280729"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia dolorem occaecati ratione sed aut. Accusantium asperiores deserunt deleniti fugiat. Facere id qui fuga consectetur tempora. Aut ut voluptas. Quis dolorum eos omnis repudiandae est minima.\", \"Autem nisi incidunt non enim sapiente facere. Magni similique perferendis quae error architecto qui. Inventore ratione aut dolorem et itaque libero. Vitae reiciendis nostrum eius cumque. Consectetur vel dignissimos ad.\"]"], ["created_at", "2014-09-19 19:49:01.284760"], ["name", "beta"], ["title", "Aliquam cum consequatur quis omnis nobis."], ["updated_at", "2014-09-19 19:49:01.284760"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:49:01.288036"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor illum tempora velit dolores doloribus eveniet. Iusto voluptas sed cupiditate non dolorem. Voluptatem voluptatem minima saepe nihil aperiam.\", \"Nesciunt aliquam saepe eos aliquid ea similique molestiae. Sit accusantium quam neque tempora. Est consequuntur tempora quam eum nihil et. In illo ex nisi soluta facere.\"]"], ["created_at", "2014-09-19 19:49:01.292901"], ["name", "alpha"], ["title", "Saepe illo quas autem dolor ullam labore architecto."], ["updated_at", "2014-09-19 19:49:01.292901"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:49:01.296458"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas qui quas ut architecto. Eos et debitis. Deleniti officiis atque accusamus. Rem laudantium maxime architecto et ratione. Officia dicta libero eum qui est consequatur corrupti.\", \"Distinctio praesentium magnam suscipit sequi. Suscipit at enim blanditiis vitae in assumenda quo. Qui non consectetur. Aut et laudantium voluptatem similique sunt.\"]"], ["created_at", "2014-09-19 19:49:01.300060"], ["name", "beta"], ["title", "Quo qui architecto enim ad."], ["updated_at", "2014-09-19 19:49:01.300060"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:49:01.303429"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.307952"], ["updated_at", "2014-09-19 19:49:01.307952"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.311856"], ["updated_at", "2014-09-19 19:49:01.311856"]]  (0.4ms) commit transaction  (0.1ms) begin transaction 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_c3098321') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis veniam reiciendis doloremque voluptatem. Qui omnis atque repellendus. Vitae temporibus exercitationem dolor numquam nihil. Veniam non qui consequatur dolorem culpa.\", \"Eos officiis distinctio magni corrupti quasi reprehenderit. Suscipit est voluptas ut omnis fugiat velit inventore. Quos et et amet voluptatem quis ducimus voluptates. Enim minima quia.\"]"], ["created_at", "2014-09-19 19:49:01.315779"], ["name", "contract_c3098321"], ["title", "Molestiae quia qui quae non natus."], ["updated_at", "2014-09-19 19:49:01.315779"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 7 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:49:01.323553"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.329800"], ["updated_at", "2014-09-19 19:49:01.329800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.331374"], ["updated_at", "2014-09-19 19:49:01.331374"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_15e33b2e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro necessitatibus qui nisi in architecto nobis quia. Aut eos natus voluptatum. Et qui modi ut sequi dolorem quae. Nostrum aut quis fugit cum. Iure quo aut fugiat omnis sed.\", \"Nam iusto asperiores cumque rerum. Culpa minima qui numquam saepe voluptatem sed. Facilis voluptatem ipsa totam ipsum aliquid.\"]"], ["created_at", "2014-09-19 19:49:01.334011"], ["name", "contract_15e33b2e"], ["title", "Pariatur sunt recusandae."], ["updated_at", "2014-09-19 19:49:01.334011"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15e33b2e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_15e33b2e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:49:01.338216"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15e33b2e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_15e33b2e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:49:01.346050"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.350752"], ["updated_at", "2014-09-19 19:49:01.350752"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.352370"], ["updated_at", "2014-09-19 19:49:01.352370"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_89371448') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur doloribus in. Voluptatem eligendi tempora incidunt est. Accusantium ratione ut quod.\", \"Expedita beatae unde dolorem excepturi ipsa. Doloribus id explicabo. Autem itaque animi commodi.\"]"], ["created_at", "2014-09-19 19:49:01.355080"], ["name", "contract_89371448"], ["title", "Corporis repellendus velit."], ["updated_at", "2014-09-19 19:49:01.355080"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.366768"], ["updated_at", "2014-09-19 19:49:01.366768"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.368683"], ["updated_at", "2014-09-19 19:49:01.368683"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_99e67427') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit expedita nobis tenetur ut qui qui consectetur. Nemo in ex repudiandae voluptas dolores incidunt illo. Nisi accusantium nulla quisquam. Ea et vero distinctio qui enim unde architecto.\", \"Minus quia in a est accusantium ratione repellat. Sequi fugiat aut quasi et illum tempora sunt. Recusandae enim repellat in maiores nemo.\"]"], ["created_at", "2014-09-19 19:49:01.373188"], ["name", "contract_99e67427"], ["title", "Esse repellendus quo molestias quis omnis."], ["updated_at", "2014-09-19 19:49:01.373188"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.381390"], ["updated_at", "2014-09-19 19:49:01.381390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.383261"], ["updated_at", "2014-09-19 19:49:01.383261"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_cadc1c34') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut culpa eligendi sunt porro tenetur. Maxime quis aliquid commodi est aspernatur et maiores. Est rerum iure nihil laborum doloribus. Sed itaque ullam vel eligendi debitis fugiat. Ipsum ratione pariatur dicta minima magni et.\", \"Alias autem vel harum eius. Ea aliquid aut et quo. Maiores iure aut deserunt alias velit. Tempora nulla eius recusandae doloribus illum sunt. Necessitatibus soluta et corporis ut ullam.\"]"], ["created_at", "2014-09-19 19:49:01.386544"], ["name", "contract_cadc1c34"], ["title", "Repellendus dolorum cupiditate laboriosam."], ["updated_at", "2014-09-19 19:49:01.386544"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.391289"], ["updated_at", "2014-09-19 19:49:01.391289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.392881"], ["updated_at", "2014-09-19 19:49:01.392881"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f864ff1e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea expedita quaerat quo nisi dolorem. Facere quis suscipit commodi est perferendis et qui. Deleniti nihil dolore alias autem eos error. Tempora enim aut sit corporis nesciunt. Sunt voluptatem magnam quia eos voluptas quaerat sit.\", \"Dolores possimus accusamus rem vero quas numquam nihil. Minus quia aspernatur. Totam aspernatur dolorem repellendus. Tenetur voluptatem saepe est mollitia. At numquam incidunt similique eum consectetur.\"]"], ["created_at", "2014-09-19 19:49:01.395632"], ["name", "contract_f864ff1e"], ["title", "Quos vitae pariatur quas esse."], ["updated_at", "2014-09-19 19:49:01.395632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f864ff1e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f864ff1e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:49:01.401182"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.405546"], ["updated_at", "2014-09-19 19:49:01.405546"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.407657"], ["updated_at", "2014-09-19 19:49:01.407657"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_40139753') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore iure ipsum ab sequi. Et quia vel repellendus beatae. Ipsum facere blanditiis quas et.\", \"Quibusdam quasi hic et veritatis autem. Asperiores velit aut. Qui labore ex consectetur ut minima.\"]"], ["created_at", "2014-09-19 19:49:01.410336"], ["name", "contract_40139753"], ["title", "Recusandae commodi enim."], ["updated_at", "2014-09-19 19:49:01.410336"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.414871"], ["updated_at", "2014-09-19 19:49:01.414871"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.416367"], ["updated_at", "2014-09-19 19:49:01.416367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_794e0cda') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim beatae ut quisquam laboriosam doloribus vel. Molestiae facere distinctio. Minus eius ullam iste et. Aliquam voluptatem possimus consequatur architecto nostrum.\", \"Inventore dolorem tenetur possimus cupiditate est rerum voluptate. Minus quam qui rerum sunt nisi nobis voluptates. Dolore voluptas voluptatem. Odit aut iusto non.\"]"], ["created_at", "2014-09-19 19:49:01.419047"], ["name", "contract_794e0cda"], ["title", "Aut qui eveniet perspiciatis asperiores non consectetur."], ["updated_at", "2014-09-19 19:49:01.419047"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.424370"], ["updated_at", "2014-09-19 19:49:01.424370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.425856"], ["updated_at", "2014-09-19 19:49:01.425856"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_fac1be32') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sunt veritatis commodi. Et omnis perferendis eum. Est culpa eos eaque ea. Qui consequatur quia. Est veniam voluptatibus et quisquam.\", \"In sequi fugit explicabo quisquam. Odio quibusdam velit et. Nemo veniam perferendis repellat deleniti amet corrupti. Laudantium dolor necessitatibus a maxime qui accusamus. Distinctio perspiciatis aspernatur sapiente praesentium.\"]"], ["created_at", "2014-09-19 19:49:01.428309"], ["name", "contract_fac1be32"], ["title", "Voluptatum illo nostrum magni reiciendis porro earum qui."], ["updated_at", "2014-09-19 19:49:01.428309"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fac1be32"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_fac1be32') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:49:01.431785"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.436443"], ["updated_at", "2014-09-19 19:49:01.436443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.437926"], ["updated_at", "2014-09-19 19:49:01.437926"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e322094c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta vitae aspernatur tempora veritatis cum eius. Officiis magni autem debitis modi. Animi quia ex. Est qui harum molestiae animi rerum esse ducimus. Aut quia sit provident et asperiores fugiat.\", \"Est cumque mollitia sapiente rem id omnis. Ipsa qui pariatur consectetur recusandae. Officia dolores doloremque non.\"]"], ["created_at", "2014-09-19 19:49:01.440845"], ["name", "contract_e322094c"], ["title", "Minus velit quae deserunt autem ab."], ["updated_at", "2014-09-19 19:49:01.440845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e322094c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_e322094c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:49:01.444323"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.451025"], ["updated_at", "2014-09-19 19:49:01.451025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.452538"], ["updated_at", "2014-09-19 19:49:01.452538"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f25e2219') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et reprehenderit sint sed eligendi itaque. Molestias nesciunt sit accusantium. Corrupti autem mollitia a vel.\", \"Quia ut voluptas omnis vitae aut et harum. Soluta aut temporibus dicta ea quaerat sit. Quasi aspernatur non illo omnis. Enim quae sint temporibus et atque placeat. Libero aut atque.\"]"], ["created_at", "2014-09-19 19:49:01.455193"], ["name", "contract_f25e2219"], ["title", "Voluptates magnam impedit iusto."], ["updated_at", "2014-09-19 19:49:01.455193"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 8, 13, 14, 10, 11, 16, 17, 12, 15, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.468656"], ["updated_at", "2014-09-19 19:49:01.468656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.470386"], ["updated_at", "2014-09-19 19:49:01.470386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dc091048') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et odio atque nulla qui. Impedit ut sint eveniet provident dolorem ratione. Quas molestiae voluptatum. Reprehenderit ea et eos. Repellendus quo ut quisquam blanditiis incidunt nobis voluptatibus.\", \"Ut suscipit consectetur rerum optio vel. Inventore modi accusantium tempore rerum ullam. Ut qui error ipsa itaque.\"]"], ["created_at", "2014-09-19 19:49:01.473127"], ["name", "contract_dc091048"], ["title", "Ut pariatur in tempora molestiae aut."], ["updated_at", "2014-09-19 19:49:01.473127"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.477450"], ["updated_at", "2014-09-19 19:49:01.477450"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.478886"], ["updated_at", "2014-09-19 19:49:01.478886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_26cdb029') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos dicta nulla est. Aut molestiae possimus. Explicabo quis sit a facilis.\", \"Veniam quis sunt quam ut omnis. Qui est deleniti quas magnam dolorem. Fuga sit iure tempore eaque ratione amet. Exercitationem est voluptatem sequi.\"]"], ["created_at", "2014-09-19 19:49:01.481488"], ["name", "contract_26cdb029"], ["title", "Et omnis et corporis voluptatem incidunt neque sunt."], ["updated_at", "2014-09-19 19:49:01.481488"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.486619"], ["updated_at", "2014-09-19 19:49:01.486619"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.488217"], ["updated_at", "2014-09-19 19:49:01.488217"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e0d433d4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto et consequatur atque corrupti. Occaecati quia et beatae perspiciatis. Dolores deleniti recusandae necessitatibus aut blanditiis labore a. Explicabo rem enim sed ipsum id laudantium ut.\", \"Suscipit iure sit sequi placeat. Aut soluta molestiae culpa quasi. Sapiente voluptatibus commodi dolorem accusamus distinctio magnam.\"]"], ["created_at", "2014-09-19 19:49:01.491400"], ["name", "contract_e0d433d4"], ["title", "Ullam veniam iusto rerum magni explicabo aut."], ["updated_at", "2014-09-19 19:49:01.491400"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.497884"], ["updated_at", "2014-09-19 19:49:01.497884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.499455"], ["updated_at", "2014-09-19 19:49:01.499455"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a8753865') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sit fugit aliquam adipisci. Rem qui occaecati sit sit rerum porro esse. Ut id voluptatibus.\", \"Labore dolor autem nihil sed. Culpa excepturi labore numquam. Eaque deserunt voluptatum eos quod laborum. Eius ab assumenda expedita sed non odio. Eius ut et placeat.\"]"], ["created_at", "2014-09-19 19:49:01.501993"], ["name", "contract_a8753865"], ["title", "Sed sed ea adipisci quasi impedit."], ["updated_at", "2014-09-19 19:49:01.501993"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.507449"], ["updated_at", "2014-09-19 19:49:01.507449"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.509112"], ["updated_at", "2014-09-19 19:49:01.509112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_032a6ee2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo fugit quaerat et tenetur quod. Aut et commodi. Ducimus expedita accusantium. Perferendis provident labore iure ullam. Consectetur facere nihil.\", \"Nam ut natus deserunt earum. Illum eveniet minus. Ratione soluta qui adipisci nisi aliquid ut.\"]"], ["created_at", "2014-09-19 19:49:01.511666"], ["name", "contract_032a6ee2"], ["title", "Modi suscipit eius."], ["updated_at", "2014-09-19 19:49:01.511666"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.516810"], ["updated_at", "2014-09-19 19:49:01.516810"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.518360"], ["updated_at", "2014-09-19 19:49:01.518360"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58d5f2bb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque et ut dolore sit laudantium. Dicta iste et fugit consequatur. Tempore in vel distinctio dolores non possimus accusantium.\", \"Officia dolor amet. Deserunt repellat est quaerat. Aperiam voluptatem voluptatem consequatur rerum eaque. Asperiores dolorem voluptatem consequatur vero ad.\"]"], ["created_at", "2014-09-19 19:49:01.520977"], ["name", "contract_58d5f2bb"], ["title", "Aliquam dolorem praesentium eum."], ["updated_at", "2014-09-19 19:49:01.520977"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.527474"], ["updated_at", "2014-09-19 19:49:01.527474"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.529047"], ["updated_at", "2014-09-19 19:49:01.529047"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b283d5c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores quod est at doloribus. Possimus sit temporibus animi et quis. Facere laborum culpa officia. Facilis et sunt iste omnis assumenda. Consequatur sed officiis eveniet.\", \"Aut magni expedita cupiditate qui. Rerum illum earum. Qui non dolores.\"]"], ["created_at", "2014-09-19 19:49:01.531948"], ["name", "contract_b283d5c0"], ["title", "Nesciunt sed repellendus quidem possimus esse veritatis."], ["updated_at", "2014-09-19 19:49:01.531948"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b283d5c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_b283d5c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:49:01.535530"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b283d5c0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction 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_91db7ee5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores et earum. At consectetur ut ut eum error nisi. Eos quam ad alias exercitationem ex et tenetur. Dignissimos blanditiis molestiae quia voluptatibus ducimus quam est. Fuga pariatur esse distinctio et.\", \"Et est ut ad aut voluptatum aspernatur. Quos nesciunt et aut enim rerum. Modi sint nemo pariatur quidem ipsam. Saepe quis unde sit provident.\"]"], ["created_at", "2014-09-19 19:49:01.543361"], ["name", "contract_91db7ee5"], ["title", "Repellendus libero temporibus."], ["updated_at", "2014-09-19 19:49:01.543361"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91db7ee5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_91db7ee5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:49:01.547776"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91db7ee5"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91db7ee5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_91db7ee5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 19:49:01.552532"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d6cd340f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique ratione quia aut molestiae. Facere sint quia ea. Non id asperiores voluptatibus aut hic distinctio.\", \"Est quasi omnis eos ut et cupiditate recusandae. Et error enim unde minima sequi dignissimos placeat. Id animi perspiciatis qui adipisci.\"]"], ["created_at", "2014-09-19 19:49:01.555837"], ["name", "contract_d6cd340f"], ["title", "Id voluptatem id."], ["updated_at", "2014-09-19 19:49:01.555837"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6cd340f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_d6cd340f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:49:01.558761"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.564218"], ["updated_at", "2014-09-19 19:49:01.564218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-19 19:49:01.567181"], ["updated_at", "2014-09-19 19:49:01.567181"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_d6cd340f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6cd340f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_d6cd340f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction 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_498c567d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut modi qui assumenda. Sunt sunt magni repellendus. Quia dolores quibusdam ut eius inventore totam. Cupiditate qui quia magni.\", \"Dignissimos veritatis ducimus. Quaerat sed qui. Saepe aperiam quis quo rerum iusto et recusandae.\"]"], ["created_at", "2014-09-19 19:49:01.583204"], ["name", "contract_498c567d"], ["title", "Quos modi corporis perferendis."], ["updated_at", "2014-09-19 19:49:01.583204"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_498c567d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_498c567d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:49:01.586236"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_498c567d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut modi qui assumenda. Sunt sunt magni repellendus. Quia dolores quibusdam ut eius inventore totam. Cupiditate qui quia magni.\", \"Dignissimos veritatis ducimus. Quaerat sed qui. Saepe aperiam quis quo rerum iusto et recusandae.\"]"], ["created_at", "2014-09-19 19:49:01.589663"], ["name", "joe"], ["title", "Quos modi corporis perferendis."], ["updated_at", "2014-09-19 19:49:01.589663"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:49:01.592597"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_186367da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem commodi et fugiat. Pariatur aliquam quia in numquam praesentium error nostrum. Ipsam impedit rerum dicta doloremque molestiae quidem et.\", \"Tenetur temporibus nesciunt. Ut dolor molestiae fugit non. Architecto id quidem. Delectus ut impedit tenetur aut et. Quas nesciunt perferendis nihil.\"]"], ["created_at", "2014-09-19 19:49:01.596244"], ["name", "contract_186367da"], ["title", "Sed ex non."], ["updated_at", "2014-09-19 19:49:01.596244"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_186367da"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_186367da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:49:01.599432"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_186367da' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_186367da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem commodi et fugiat. Pariatur aliquam quia in numquam praesentium error nostrum. Ipsam impedit rerum dicta doloremque molestiae quidem et.\", \"Tenetur temporibus nesciunt. Ut dolor molestiae fugit non. Architecto id quidem. Delectus ut impedit tenetur aut et. Quas nesciunt perferendis nihil.\"]"], ["created_at", "2014-09-19 19:49:01.602765"], ["name", "contract_186367da"], ["title", "Sed ex non."], ["updated_at", "2014-09-19 19:49:01.602765"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_186367da"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_186367da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:49:01.605696"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.611785"], ["updated_at", "2014-09-19 19:49:01.611785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.613718"], ["updated_at", "2014-09-19 19:49:01.613718"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.621974"], ["updated_at", "2014-09-19 19:49:01.621974"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.624229"], ["updated_at", "2014-09-19 19:49:01.624229"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.628212"], ["updated_at", "2014-09-19 19:49:01.628212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.629611"], ["updated_at", "2014-09-19 19:49:01.629611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ba77f86f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi dolor recusandae consequuntur. Consequatur aliquam dolor commodi voluptas. Alias veritatis sed ea. Excepturi nulla explicabo natus.\", \"Magni eaque velit et. Mollitia rerum vitae culpa ut. Rem maxime labore. Quaerat voluptate et ut totam.\"]"], ["created_at", "2014-09-19 19:49:01.632831"], ["name", "contract_ba77f86f"], ["title", "Eligendi voluptas saepe nostrum."], ["updated_at", "2014-09-19 19:49:01.632831"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ba77f86f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_ba77f86f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:49:01.636061"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.638485"], ["updated_at", "2014-09-19 19:49:01.638485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-19 19:49:01.640588"], ["updated_at", "2014-09-19 19:49:01.640588"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.645675"], ["updated_at", "2014-09-19 19:49:01.645675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.647212"], ["updated_at", "2014-09-19 19:49:01.647212"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e93fd237') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto vel cumque ipsum officiis. Ipsa minima autem blanditiis. Sunt nemo accusantium quibusdam optio. Quis omnis sit esse magnam quo ut adipisci. Sed omnis est dolorem repellendus.\", \"Velit quas laborum exercitationem debitis soluta molestiae. Minus voluptas placeat ullam perspiciatis hic corporis. Eum cum aut nihil modi porro. Quae asperiores sed. Aliquid nulla ut dolor.\"]"], ["created_at", "2014-09-19 19:49:01.650461"], ["name", "contract_e93fd237"], ["title", "Accusantium eos harum."], ["updated_at", "2014-09-19 19:49:01.650461"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e93fd237"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e93fd237') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:49:01.654256"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.657145"], ["updated_at", "2014-09-19 19:49:01.657145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-19 19:49:01.659527"], ["updated_at", "2014-09-19 19:49:01.659527"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.666168"], ["updated_at", "2014-09-19 19:49:01.666168"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.667746"], ["updated_at", "2014-09-19 19:49:01.667746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_87ec1cf1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur molestias molestiae nostrum minus magni iste neque. Corporis repudiandae qui consequatur et et. Ab voluptates perspiciatis illum doloribus tempore aut et. Minima magnam sunt rerum. Eos eum saepe sunt officiis.\", \"Dolore et et et voluptatem corrupti quia. Labore debitis sed quia et. Voluptates et alias veritatis provident officiis doloribus.\"]"], ["created_at", "2014-09-19 19:49:01.670798"], ["name", "contract_87ec1cf1"], ["title", "Asperiores numquam ea nam quidem."], ["updated_at", "2014-09-19 19:49:01.670798"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87ec1cf1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_87ec1cf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:49:01.673704"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.676064"], ["updated_at", "2014-09-19 19:49:01.676064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 19:49:01.678118"], ["updated_at", "2014-09-19 19:49:01.678118"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.685201"], ["updated_at", "2014-09-19 19:49:01.685201"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.686671"], ["updated_at", "2014-09-19 19:49:01.686671"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2b926fe0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est saepe est tempore corrupti voluptates qui. Accusantium omnis est delectus aliquid saepe. Nihil eum praesentium numquam. Itaque tempore quidem vel ut.\", \"Dolorem eos autem. Enim consequuntur aliquid quod repudiandae molestias. Sint amet harum minima aspernatur pariatur. Veniam tempore amet itaque et maxime ullam. Voluptatum blanditiis quis voluptatem cupiditate excepturi sint vitae.\"]"], ["created_at", "2014-09-19 19:49:01.689676"], ["name", "contract_2b926fe0"], ["title", "Cum assumenda soluta perferendis quia."], ["updated_at", "2014-09-19 19:49:01.689676"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2b926fe0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_2b926fe0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:49:01.692810"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.695146"], ["updated_at", "2014-09-19 19:49:01.695146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:49:01.697228"], ["updated_at", "2014-09-19 19:49:01.697228"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction 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_6bd191c5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui dolorem dolores. Iusto quia qui accusamus culpa. Aut consequatur voluptatem.\", \"Eos illo numquam architecto molestiae est. Nisi recusandae nostrum natus. Assumenda eius adipisci qui.\"]"], ["created_at", "2014-09-19 19:49:01.704245"], ["name", "contract_6bd191c5"], ["title", "Rerum repellendus et earum."], ["updated_at", "2014-09-19 19:49:01.704245"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction 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_ea8fe01a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sed ut magnam. Omnis et recusandae. Expedita consequuntur neque.\", \"Rerum nostrum sed praesentium explicabo commodi nulla. Voluptatum doloremque consequatur dolorum optio aut qui et. A nulla rem repellat delectus voluptas corrupti modi. Blanditiis omnis alias officia consequuntur ut error.\"]"], ["created_at", "2014-09-19 19:49:01.709119"], ["name", "contract_ea8fe01a"], ["title", "Debitis commodi in perferendis saepe unde vel."], ["updated_at", "2014-09-19 19:49:01.709119"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ea8fe01a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_ea8fe01a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:49:01.712240"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:49:01.714651"], ["updated_at", "2014-09-19 19:49:01.714651"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_32a4164d') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure qui ut non voluptatem cum in. Voluptas nihil temporibus molestiae blanditiis tempore omnis. Et eum doloremque id expedita dolores et. Deleniti ex minus vel. Quidem dolorem ut perspiciatis.\", \"Placeat et quo neque rerum sunt. Amet ipsum qui laudantium voluptatem. Enim harum et beatae. Earum dicta voluptatem et aut molestiae voluptatum.\"]"], ["created_at", "2014-09-19 19:50:40.342463"], ["name", "contract_32a4164d"], ["title", "Hic vel laudantium at incidunt quam qui."], ["updated_at", "2014-09-19 19:50:40.342463"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32a4164d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_32a4164d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:50:40.363359"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32a4164d"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32a4164d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_32a4164d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:50:40.369232"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_36b494e0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia sunt rerum. Consequatur sit repellendus enim aut iusto quia optio. Consectetur molestiae delectus sunt ratione eos ducimus. Natus est voluptatem maiores numquam recusandae eaque. Sed et qui iure aperiam.\", \"Quibusdam ex ullam consectetur iure occaecati. Qui placeat ullam aliquam. Consequatur et fugiat non ducimus eaque laboriosam. Aliquam vitae sit.\"]"], ["created_at", "2014-09-19 19:50:40.373484"], ["name", "contract_36b494e0"], ["title", "Aperiam qui necessitatibus debitis fugiat."], ["updated_at", "2014-09-19 19:50:40.373484"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_36b494e0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_36b494e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:50:40.377084"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.383685"], ["updated_at", "2014-09-19 19:50:40.383685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:50:40.389520"], ["updated_at", "2014-09-19 19:50:40.389520"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_36b494e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_36b494e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_36b494e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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_9776dcee') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis nulla suscipit qui totam assumenda. Aliquid sit qui architecto ut doloribus blanditiis sed. Qui commodi at maiores labore.\", \"Dolore corporis perferendis neque. Rem laudantium in autem. Labore possimus ipsa. Velit recusandae veniam consectetur sed nobis est reprehenderit.\"]"], ["created_at", "2014-09-19 19:50:40.401643"], ["name", "contract_9776dcee"], ["title", "Similique eveniet fuga eos voluptas nihil."], ["updated_at", "2014-09-19 19:50:40.401643"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9776dcee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_9776dcee') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:50:40.404850"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.7ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9776dcee' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_9776dcee') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis nulla suscipit qui totam assumenda. Aliquid sit qui architecto ut doloribus blanditiis sed. Qui commodi at maiores labore.\", \"Dolore corporis perferendis neque. Rem laudantium in autem. Labore possimus ipsa. Velit recusandae veniam consectetur sed nobis est reprehenderit.\"]"], ["created_at", "2014-09-19 19:50:40.411963"], ["name", "contract_9776dcee"], ["title", "Similique eveniet fuga eos voluptas nihil."], ["updated_at", "2014-09-19 19:50:40.411963"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9776dcee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9776dcee') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:50:40.415765"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1977ef05') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae quia molestias nulla omnis reiciendis itaque nesciunt. Recusandae tenetur dolor. Doloribus aspernatur distinctio. Quis et animi perferendis ea alias modi assumenda. Iure omnis amet saepe ut fuga sunt.\", \"Amet pariatur atque et ea tempore. Facilis unde cumque facere impedit. Illum rerum reprehenderit excepturi. Eos pariatur consectetur nisi.\"]"], ["created_at", "2014-09-19 19:50:40.419770"], ["name", "contract_1977ef05"], ["title", "Cumque voluptatem officiis porro maxime."], ["updated_at", "2014-09-19 19:50:40.419770"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1977ef05"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_1977ef05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:50:40.422617"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1977ef05' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae quia molestias nulla omnis reiciendis itaque nesciunt. Recusandae tenetur dolor. Doloribus aspernatur distinctio. Quis et animi perferendis ea alias modi assumenda. Iure omnis amet saepe ut fuga sunt.\", \"Amet pariatur atque et ea tempore. Facilis unde cumque facere impedit. Illum rerum reprehenderit excepturi. Eos pariatur consectetur nisi.\"]"], ["created_at", "2014-09-19 19:50:40.426291"], ["name", "joe"], ["title", "Cumque voluptatem officiis porro maxime."], ["updated_at", "2014-09-19 19:50:40.426291"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:50:40.429577"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.433982"], ["updated_at", "2014-09-19 19:50:40.433982"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.435600"], ["updated_at", "2014-09-19 19:50:40.435600"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_200b498f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga dicta repellat. Minus neque sapiente. Dolorum alias reiciendis distinctio officiis tempora totam consequatur.\", \"Quasi similique minima ad saepe. Officiis est minima aliquam esse omnis. Aut nulla voluptas aut. Velit eaque reiciendis neque quam. Corporis sit qui odit.\"]"], ["created_at", "2014-09-19 19:50:40.438271"], ["name", "contract_200b498f"], ["title", "Nemo ea repellendus nobis maxime voluptate sunt."], ["updated_at", "2014-09-19 19:50:40.438271"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#new as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.449350"], ["updated_at", "2014-09-19 19:50:40.449350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.451105"], ["updated_at", "2014-09-19 19:50:40.451105"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f57bfa20') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe optio voluptatibus quia. Qui voluptas qui consequatur. Ducimus sint inventore aperiam et. Sint dolorem numquam molestiae corporis.\", \"Provident nemo quidem rem quis. Aspernatur vitae quasi voluptas facere. Ut qui vitae repellendus.\"]"], ["created_at", "2014-09-19 19:50:40.454077"], ["name", "contract_f57bfa20"], ["title", "Sit quas fuga ut architecto."], ["updated_at", "2014-09-19 19:50:40.454077"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:50:40.459534"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:50:40.459534"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.463906"], ["updated_at", "2014-09-19 19:50:40.463906"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.465495"], ["updated_at", "2014-09-19 19:50:40.465495"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_57cc2ddd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic blanditiis totam. Qui quia rerum occaecati expedita et fuga voluptates. Ea eligendi autem consequatur impedit qui. Rerum deserunt tempore est non voluptas beatae molestiae. Reiciendis qui praesentium est dicta.\", \"Non libero quasi. Nihil voluptatem rerum nemo magnam. Delectus ut accusamus sunt perspiciatis eos sed quasi. Suscipit omnis quia ducimus sed. Adipisci possimus sunt quis.\"]"], ["created_at", "2014-09-19 19:50:40.468259"], ["name", "contract_57cc2ddd"], ["title", "Nihil et consequuntur."], ["updated_at", "2014-09-19 19:50:40.468259"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_57cc2ddd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_57cc2ddd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:50:40.472104"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_57cc2ddd' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.479359"], ["updated_at", "2014-09-19 19:50:40.479359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.480942"], ["updated_at", "2014-09-19 19:50:40.480942"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_663d0466') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quis aut. Dolorem odit est excepturi. Veniam alias maxime sit sint quos.\", \"Officiis eaque molestiae mollitia quia. Qui et accusantium vitae. Ad sit excepturi odio dolorum placeat aperiam. Sunt occaecati blanditiis accusamus qui.\"]"], ["created_at", "2014-09-19 19:50:40.483640"], ["name", "contract_663d0466"], ["title", "Nisi minus saepe."], ["updated_at", "2014-09-19 19:50:40.483640"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.489977"], ["updated_at", "2014-09-19 19:50:40.489977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.491487"], ["updated_at", "2014-09-19 19:50:40.491487"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_97157530') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum nisi quis sunt dolores ut omnis. Et nam voluptatibus quidem distinctio ut. Est voluptatum et adipisci necessitatibus provident eum.\", \"Ut consectetur et possimus dolor aut tempora ut. Voluptatem ea occaecati vel non. Aut dolore expedita.\"]"], ["created_at", "2014-09-19 19:50:40.493841"], ["name", "contract_97157530"], ["title", "Ut et voluptatibus aut deleniti corrupti harum est."], ["updated_at", "2014-09-19 19:50:40.493841"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.499973"], ["updated_at", "2014-09-19 19:50:40.499973"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.501834"], ["updated_at", "2014-09-19 19:50:40.501834"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_30813969') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores aliquid in. Quis quas inventore occaecati voluptates. Qui sunt beatae nemo quidem illum explicabo.\", \"Assumenda et doloremque expedita voluptatem officiis est inventore. Incidunt sint quae. Nesciunt aspernatur reiciendis occaecati fuga minus maxime. Non consectetur quod quasi sit quidem numquam ipsam. Dolores minus sapiente esse unde et accusamus.\"]"], ["created_at", "2014-09-19 19:50:40.504414"], ["name", "contract_30813969"], ["title", "Molestiae id modi ut eum minus quis."], ["updated_at", "2014-09-19 19:50:40.504414"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_30813969"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_30813969') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:50:40.508391"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_30813969"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_30813969') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:50:40.513984"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.518286"], ["updated_at", "2014-09-19 19:50:40.518286"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.519779"], ["updated_at", "2014-09-19 19:50:40.519779"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a581c99e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non deserunt in omnis velit. Quam dolor temporibus magnam ipsam doloremque nisi ad. Et accusamus qui aspernatur illum autem molestias. Eligendi minus non sequi repellendus tempore. Deserunt reprehenderit et id soluta sint cupiditate.\", \"Et veniam id repellat nisi eveniet adipisci. Enim ipsam nulla quibusdam. Aut officiis est itaque occaecati. Eveniet temporibus enim repellendus aperiam et velit provident.\"]"], ["created_at", "2014-09-19 19:50:40.522306"], ["name", "contract_a581c99e"], ["title", "Ut nulla dolorem animi."], ["updated_at", "2014-09-19 19:50:40.522306"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.529287"], ["updated_at", "2014-09-19 19:50:40.529287"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.530794"], ["updated_at", "2014-09-19 19:50:40.530794"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_dbb807e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor accusantium architecto. In sed ipsum sit consequatur esse. Recusandae non qui vel quia ea in rerum.\", \"Nulla excepturi dolorum ut. In et consequatur itaque officiis aspernatur. Sunt qui voluptatibus est commodi odio. Asperiores minus dignissimos esse culpa dolores et. Vero numquam ratione.\"]"], ["created_at", "2014-09-19 19:50:40.533562"], ["name", "contract_dbb807e5"], ["title", "Pariatur quia voluptates qui ut eligendi eum."], ["updated_at", "2014-09-19 19:50:40.533562"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.539888"], ["updated_at", "2014-09-19 19:50:40.539888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.541534"], ["updated_at", "2014-09-19 19:50:40.541534"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f395aae6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores labore tempora ea quibusdam eos. Perspiciatis id excepturi suscipit. Vel eos molestiae quisquam. Beatae vel adipisci.\", \"Adipisci enim ducimus. Est reprehenderit in sequi accusantium. Cum quisquam libero. Est necessitatibus dolore et magni dolores inventore eveniet. Dicta et reprehenderit.\"]"], ["created_at", "2014-09-19 19:50:40.544204"], ["name", "contract_f395aae6"], ["title", "Quos esse magnam omnis eos sed veniam."], ["updated_at", "2014-09-19 19:50:40.544204"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f395aae6"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_f395aae6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:50:40.547600"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.553442"], ["updated_at", "2014-09-19 19:50:40.553442"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.554950"], ["updated_at", "2014-09-19 19:50:40.554950"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9e60224e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam aut blanditiis labore voluptatem. Iusto eum quia eum asperiores quod. Id officia saepe autem dignissimos amet exercitationem. Vitae quis porro. Consequatur soluta consequatur ducimus quisquam dolor.\", \"Quibusdam eos rerum excepturi et est dolorem. Enim aut eaque occaecati temporibus laudantium. Ipsa corporis inventore. Perferendis tempore ad sequi dolor similique.\"]"], ["created_at", "2014-09-19 19:50:40.557543"], ["name", "contract_9e60224e"], ["title", "Numquam dicta harum quidem non dolorum excepturi ad."], ["updated_at", "2014-09-19 19:50:40.557543"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.561689"], ["updated_at", "2014-09-19 19:50:40.561689"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.563194"], ["updated_at", "2014-09-19 19:50:40.563194"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7d93ea71') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus iure commodi inventore labore voluptatem molestiae officiis. Itaque sed occaecati et iusto. Saepe inventore nemo aut qui est. Eveniet doloribus quisquam et harum occaecati omnis odio.\", \"Corporis maxime iure est rerum. Labore exercitationem delectus ab qui. Quos maxime sapiente praesentium. Voluptas quia excepturi tempore quia facere.\"]"], ["created_at", "2014-09-19 19:50:40.565653"], ["name", "contract_7d93ea71"], ["title", "Officia molestias neque."], ["updated_at", "2014-09-19 19:50:40.565653"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 7, 13, 1, 2, 10, 11, 18, 12, 4, 3, 17, 14, 15, 16, 8, 6, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.580397"], ["updated_at", "2014-09-19 19:50:40.580397"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.582165"], ["updated_at", "2014-09-19 19:50:40.582165"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7fa44624') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At ut saepe fuga. Tempora saepe est. Adipisci expedita esse. Repudiandae dolor velit voluptas. Eveniet quisquam eos consequatur aut eum aut.\", \"Cupiditate qui laboriosam repudiandae aut excepturi officia qui. Et voluptatem voluptatibus et eaque pariatur deleniti. Amet voluptas expedita recusandae debitis.\"]"], ["created_at", "2014-09-19 19:50:40.585021"], ["name", "contract_7fa44624"], ["title", "Dolorum qui et tenetur."], ["updated_at", "2014-09-19 19:50:40.585021"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 19]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 19]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 19 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.592989"], ["updated_at", "2014-09-19 19:50:40.592989"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.594520"], ["updated_at", "2014-09-19 19:50:40.594520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_90a4a276') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat ipsa accusamus rerum beatae voluptatem. Corrupti eveniet ut. Fugiat minus ratione aspernatur. Quos perspiciatis nemo occaecati ipsa aut sed.\", \"Sed recusandae dolores. Minus dolorem fugit hic possimus aut sint. Fugit iusto ipsa aliquid.\"]"], ["created_at", "2014-09-19 19:50:40.597318"], ["name", "contract_90a4a276"], ["title", "Rem ut omnis ut rerum et ipsam aut."], ["updated_at", "2014-09-19 19:50:40.597318"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.602982"], ["updated_at", "2014-09-19 19:50:40.602982"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.604433"], ["updated_at", "2014-09-19 19:50:40.604433"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9dbd8d0e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo reiciendis architecto dolore maiores. Consequuntur aliquam odio dolorem voluptatem aut. Tempora recusandae inventore facilis autem quis quas porro. Cum dolores porro quam non. Dolorem quas est.\", \"Excepturi corrupti pariatur velit. Et eaque voluptates. Sed id ut maiores. Ut culpa earum et nobis rem sint. Ea ex debitis ratione.\"]"], ["created_at", "2014-09-19 19:50:40.607003"], ["name", "contract_9dbd8d0e"], ["title", "Possimus necessitatibus qui est sit."], ["updated_at", "2014-09-19 19:50:40.607003"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9dbd8d0e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_9dbd8d0e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 19:50:40.610388"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.615520"], ["updated_at", "2014-09-19 19:50:40.615520"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.617175"], ["updated_at", "2014-09-19 19:50:40.617175"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_797b055e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero tenetur eaque tempore nihil nesciunt quibusdam. Voluptatem et maiores ut. Voluptatem consequuntur qui ratione. Voluptate sint placeat natus quia illo et iusto.\", \"Dolore est alias optio cupiditate. Accusantium quisquam quo molestiae inventore ipsam. Quia at vitae accusantium voluptatem. Ipsa dolorum dignissimos eum voluptate alias. Atque possimus repellendus iure soluta.\"]"], ["created_at", "2014-09-19 19:50:40.619833"], ["name", "contract_797b055e"], ["title", "Assumenda voluptas nihil aperiam tempora est id autem."], ["updated_at", "2014-09-19 19:50:40.619833"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.626460"], ["updated_at", "2014-09-19 19:50:40.626460"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.628846"], ["updated_at", "2014-09-19 19:50:40.628846"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_ee668fec') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex minus earum. Ab ut voluptatem accusamus nesciunt. Voluptas error sunt iste. Sit corrupti maiores vero. Numquam facilis adipisci ut illum aperiam.\", \"Dolor at ipsam quo consectetur quis. Rem aliquid enim labore non dignissimos distinctio. Enim perferendis debitis. Eum quasi voluptatum eos corporis corrupti sit. Eos nobis deleniti expedita labore molestiae similique.\"]"], ["created_at", "2014-09-19 19:50:40.632695"], ["name", "contract_ee668fec"], ["title", "Harum est voluptates totam in."], ["updated_at", "2014-09-19 19:50:40.632695"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.638034"], ["updated_at", "2014-09-19 19:50:40.638034"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.639663"], ["updated_at", "2014-09-19 19:50:40.639663"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_afcb44d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis reiciendis incidunt harum repellat. Doloremque aliquid quasi accusantium magni minima sit ut. Id ea modi nam quis magni. Sed est dolor.\", \"Voluptates rem eos praesentium. Qui iure repellendus ipsum. Eum voluptas tempore reprehenderit et.\"]"], ["created_at", "2014-09-19 19:50:40.642270"], ["name", "contract_afcb44d7"], ["title", "Ex dolores aspernatur omnis harum in."], ["updated_at", "2014-09-19 19:50:40.642270"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_afcb44d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_afcb44d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:50:40.647112"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.651503"], ["updated_at", "2014-09-19 19:50:40.651503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.653054"], ["updated_at", "2014-09-19 19:50:40.653054"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f7a0c83d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias autem veritatis quia tempora adipisci consequatur. Ut aperiam ut similique. Necessitatibus voluptatem voluptas quia aut. Aut ut aperiam suscipit nobis incidunt aut.\", \"Delectus aliquam blanditiis laudantium dolorem sint neque. Temporibus et harum sit eius fuga veniam repudiandae. Aut et officiis voluptate reiciendis.\"]"], ["created_at", "2014-09-19 19:50:40.656182"], ["name", "contract_f7a0c83d"], ["title", "Recusandae amet repudiandae."], ["updated_at", "2014-09-19 19:50:40.656182"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.661903"], ["updated_at", "2014-09-19 19:50:40.661903"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.663441"], ["updated_at", "2014-09-19 19:50:40.663441"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_939e8948') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error iure minima. Sed error reprehenderit veritatis. Rerum omnis fuga velit accusamus earum ea odit. Beatae est rerum blanditiis sunt.\", \"Reiciendis sunt doloribus vitae exercitationem et. Debitis sapiente distinctio. Eos blanditiis maxime sed voluptatem ut velit est. Ut placeat necessitatibus blanditiis enim. Veniam architecto molestiae eum ut qui.\"]"], ["created_at", "2014-09-19 19:50:40.666399"], ["name", "contract_939e8948"], ["title", "Accusamus quia vitae quaerat consequatur et numquam."], ["updated_at", "2014-09-19 19:50:40.666399"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_939e8948"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_939e8948') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:50:40.669421"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.671894"], ["updated_at", "2014-09-19 19:50:40.671894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-19 19:50:40.673990"], ["updated_at", "2014-09-19 19:50:40.673990"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.679176"], ["updated_at", "2014-09-19 19:50:40.679176"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.680763"], ["updated_at", "2014-09-19 19:50:40.680763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_91a81282') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur voluptatem voluptatem. Fuga laboriosam modi aspernatur voluptas. Nemo maxime modi sed saepe tempora voluptatem.\", \"Rerum mollitia aut dicta velit eaque voluptas. Qui libero magni non voluptas minus. Aliquam fugiat ad.\"]"], ["created_at", "2014-09-19 19:50:40.683713"], ["name", "contract_91a81282"], ["title", "Quo ratione quia dolorem in inventore."], ["updated_at", "2014-09-19 19:50:40.683713"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91a81282"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_91a81282') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:50:40.686988"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.689806"], ["updated_at", "2014-09-19 19:50:40.689806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 19:50:40.692115"], ["updated_at", "2014-09-19 19:50:40.692115"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.697832"], ["updated_at", "2014-09-19 19:50:40.697832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.699363"], ["updated_at", "2014-09-19 19:50:40.699363"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_27fca9c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae ex eum veritatis velit qui soluta. Et deleniti sed quia sed consequuntur et consequatur. Sed molestiae omnis. Qui deleniti suscipit veritatis. Explicabo soluta quaerat.\", \"Sit non nulla eaque. Atque dolore sit expedita. Occaecati eum quos et necessitatibus autem. Voluptatem assumenda rerum quod ipsum ipsa quaerat et. Ut sint at voluptatibus nemo.\"]"], ["created_at", "2014-09-19 19:50:40.702405"], ["name", "contract_27fca9c6"], ["title", "Est voluptatum maiores impedit id hic id."], ["updated_at", "2014-09-19 19:50:40.702405"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_27fca9c6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_27fca9c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:50:40.705472"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.707933"], ["updated_at", "2014-09-19 19:50:40.707933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 19:50:40.710024"], ["updated_at", "2014-09-19 19:50:40.710024"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.715488"], ["updated_at", "2014-09-19 19:50:40.715488"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.716997"], ["updated_at", "2014-09-19 19:50:40.716997"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d59eb78c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At doloremque asperiores natus ipsum quidem iusto tempora. Atque natus consequatur minus et enim. Magni ducimus recusandae necessitatibus quo.\", \"Ex quia cupiditate consequatur. Perspiciatis incidunt laudantium doloribus ut amet dicta assumenda. Quaerat cum et aut nostrum sed praesentium.\"]"], ["created_at", "2014-09-19 19:50:40.719789"], ["name", "contract_d59eb78c"], ["title", "Adipisci reiciendis dolor at."], ["updated_at", "2014-09-19 19:50:40.719789"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d59eb78c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_d59eb78c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:50:40.723506"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.726254"], ["updated_at", "2014-09-19 19:50:40.726254"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 19:50:40.728643"], ["updated_at", "2014-09-19 19:50:40.728643"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.736217"], ["updated_at", "2014-09-19 19:50:40.736217"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.737762"], ["updated_at", "2014-09-19 19:50:40.737762"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.746510"], ["updated_at", "2014-09-19 19:50:40.746510"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.748372"], ["updated_at", "2014-09-19 19:50:40.748372"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam excepturi molestiae sit culpa sunt iusto blanditiis. Et aut iusto magnam maiores nemo. Rerum molestiae ipsa aut dolorem qui consequatur. Autem voluptatibus et nulla veniam consequatur rerum. Recusandae eveniet accusantium.\", \"Amet quod cupiditate. Consectetur ea distinctio reprehenderit. Unde aliquid magnam consectetur accusantium. Est quaerat et magni qui animi voluptatem.\"]"], ["created_at", "2014-09-19 19:50:40.754512"], ["name", "alpha"], ["title", "Laborum est nemo."], ["updated_at", "2014-09-19 19:50:40.754512"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:50:40.757643"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et fuga ea non voluptatem aut nesciunt sed. Aliquam ipsa impedit voluptas. Amet possimus quisquam suscipit provident similique pariatur. Necessitatibus nostrum et dolores cum enim molestiae ipsa.\", \"Molestiae odit ipsum est. Laudantium ipsum perferendis dolor aspernatur quod. Nesciunt tempore sunt molestiae ea dignissimos nostrum et.\"]"], ["created_at", "2014-09-19 19:50:40.761066"], ["name", "beta"], ["title", "Quod voluptatem dolorem animi quo."], ["updated_at", "2014-09-19 19:50:40.761066"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:50:40.763945"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae et sint. In iste et fugit. Ipsam illo consequuntur aut possimus. Asperiores iusto eaque est aut totam eius. Quod consequatur distinctio totam optio molestias quam.\", \"Fuga magnam sint eum est nihil eum tenetur. Dolor est unde expedita porro sint amet pariatur. Quisquam temporibus rerum dicta qui minima beatae. Vel ut exercitationem facilis totam. Dignissimos quasi perferendis maxime qui soluta in repudiandae.\"]"], ["created_at", "2014-09-19 19:50:40.767691"], ["name", "alpha"], ["title", "Nisi quis et nulla fuga."], ["updated_at", "2014-09-19 19:50:40.767691"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:50:40.771080"], ["version", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt ut praesentium natus sit sint laborum. Non alias totam vel mollitia ea veniam voluptas. Blanditiis ex et sed quas sint.\", \"Illum facere nemo. Earum quia dicta nihil repudiandae. Molestiae dolorem sunt suscipit eum aut perspiciatis. Assumenda et cumque et nesciunt modi numquam aut. Ex aut doloremque repellat quis explicabo tempore velit.\"]"], ["created_at", "2014-09-19 19:50:40.774954"], ["name", "beta"], ["title", "Id id assumenda aspernatur expedita consequatur vel."], ["updated_at", "2014-09-19 19:50:40.774954"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:50:40.778045"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quia iste. Ut eos assumenda labore. Earum quia molestias aut. Et eum non non pariatur aut esse ab.\", \"Rem ex doloremque ut dicta non dolor. Quia odit quis amet eum in. Culpa ut voluptas dolore voluptatibus esse qui tenetur.\"]"], ["created_at", "2014-09-19 19:50:40.782111"], ["name", "alpha"], ["title", "Et laboriosam repellat deleniti commodi non tempora veniam."], ["updated_at", "2014-09-19 19:50:40.782111"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:50:40.785104"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quae nostrum inventore aspernatur aut consectetur. Et et repellat debitis esse illo nam. Aperiam ab mollitia vel. Quidem est in. Aut debitis rerum quos sit ipsum reprehenderit.\", \"At placeat exercitationem ipsa animi nam ratione. Illo ea magnam inventore asperiores saepe. Ut et vitae voluptas ratione itaque. Sapiente quo maxime quia non. Corporis incidunt impedit numquam saepe.\"]"], ["created_at", "2014-09-19 19:50:40.788478"], ["name", "beta"], ["title", "Amet aut consequuntur."], ["updated_at", "2014-09-19 19:50:40.788478"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:50:40.791409"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_126496b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non nesciunt est rerum sit iure. Ea aut ullam sunt voluptatem enim. Ut sit quidem et doloremque ut.\", \"Sequi sed dolorem sed est. Alias adipisci sunt quos voluptas. Exercitationem provident molestiae cupiditate quibusdam unde. Quis nostrum officia et mollitia ab cupiditate.\"]"], ["created_at", "2014-09-19 19:50:40.795198"], ["name", "contract_126496b3"], ["title", "Perferendis enim ratione."], ["updated_at", "2014-09-19 19:50:40.795198"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_a1f674d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe ut non. Ut illo voluptas voluptatem quis et. Aut sint perferendis necessitatibus qui molestias provident et. Veniam aut aperiam qui non sit accusamus eaque. Velit eius quis esse.\", \"Repellendus optio sunt omnis eum. Hic totam sequi non ratione. Temporibus minus vel qui dolorum. Vitae asperiores ratione repellendus repellat unde aut accusamus.\"]"], ["created_at", "2014-09-19 19:50:40.799601"], ["name", "contract_a1f674d6"], ["title", "Amet tempore voluptatum illum dolores."], ["updated_at", "2014-09-19 19:50:40.799601"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1f674d6"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_a1f674d6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:50:40.803579"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:50:40.806758"], ["updated_at", "2014-09-19 19:50:40.806758"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.084692"], ["updated_at", "2014-09-19 19:51:50.084692"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.092011"], ["updated_at", "2014-09-19 19:51:50.092011"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.102662"], ["updated_at", "2014-09-19 19:51:50.102662"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.104461"], ["updated_at", "2014-09-19 19:51:50.104461"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio at suscipit repellendus odio molestias vero ipsa. Neque fuga dolor. Maxime et ut id voluptas sunt magnam nostrum. Deleniti dolor voluptate cumque assumenda quas at maxime.\", \"Ut labore illum occaecati aliquid aut nostrum est. Totam dolor commodi vitae omnis provident ullam eos. Tempore magni harum reiciendis necessitatibus. Reprehenderit ea eos quis saepe voluptate.\"]"], ["created_at", "2014-09-19 19:51:50.336910"], ["name", "alpha"], ["title", "Aut quo cupiditate enim laudantium ut."], ["updated_at", "2014-09-19 19:51:50.336910"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:51:50.356031"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed consequuntur sunt est unde. Inventore soluta odio saepe laborum nulla. Voluptas ut fugit asperiores debitis.\", \"Voluptatum eveniet ea. Minus eos eaque. Earum assumenda animi asperiores dolore minima fugiat.\"]"], ["created_at", "2014-09-19 19:51:50.362433"], ["name", "beta"], ["title", "Et quae veritatis eos."], ["updated_at", "2014-09-19 19:51:50.362433"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:51:50.366717"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores nobis adipisci quae iure illo qui consectetur. Ut exercitationem ut accusamus blanditiis et repudiandae. Quibusdam explicabo consequatur aut molestiae. Omnis aperiam facilis laudantium nostrum laboriosam.\", \"Tempora reiciendis vel neque perferendis eos. Accusamus quia occaecati culpa corrupti. Quod molestias laudantium modi optio sit.\"]"], ["created_at", "2014-09-19 19:51:50.371076"], ["name", "alpha"], ["title", "Qui ad asperiores."], ["updated_at", "2014-09-19 19:51:50.371076"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:51:50.374402"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et recusandae ut est deserunt voluptas. Quo illo maiores est. Et esse nam ratione cumque excepturi saepe.\", \"Dolor debitis sunt at quae. Dolorum suscipit id blanditiis. Consectetur et est eaque id. Ipsum ex aut doloribus illo.\"]"], ["created_at", "2014-09-19 19:51:50.378180"], ["name", "beta"], ["title", "Eveniet tempora eligendi dolor odio tempore est."], ["updated_at", "2014-09-19 19:51:50.378180"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:51:50.381352"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed aut ea sapiente qui laborum omnis explicabo. Sapiente atque qui corporis. Et unde est ut et in. Iste culpa fugiat et. Animi debitis et laudantium aspernatur nihil sint perspiciatis.\", \"Occaecati impedit debitis incidunt. Molestiae rerum quod laudantium nam quis maxime deleniti. Voluptates molestiae reiciendis atque. Corporis aperiam eos expedita cum blanditiis ducimus. Non aut consequatur illum minus incidunt quo.\"]"], ["created_at", "2014-09-19 19:51:50.386007"], ["name", "alpha"], ["title", "Cum aperiam autem odio sit iusto odit."], ["updated_at", "2014-09-19 19:51:50.386007"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:51:50.389982"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia id reprehenderit quasi. Recusandae expedita veniam. Illo et fuga atque.\", \"Ullam nulla quibusdam et voluptatem veniam perspiciatis. Inventore minus in vel. Similique voluptatem ea architecto. Autem totam dolor placeat.\"]"], ["created_at", "2014-09-19 19:51:50.394016"], ["name", "beta"], ["title", "Non nesciunt et sit natus ab magni ut."], ["updated_at", "2014-09-19 19:51:50.394016"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:51:50.397799"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.401221"], ["updated_at", "2014-09-19 19:51:50.401221"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.402850"], ["updated_at", "2014-09-19 19:51:50.402850"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_c24394e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sint quas occaecati voluptatem harum similique. Quam animi consequatur dignissimos aperiam voluptatibus quae voluptates. Ut enim incidunt illo eum eius. Aliquid expedita quo aut nesciunt et.\", \"Nihil neque reiciendis ut eligendi. Doloremque dolore dolores sint. Facilis quia quas dolor autem vel sint eos.\"]"], ["created_at", "2014-09-19 19:51:50.406291"], ["name", "contract_c24394e4"], ["title", "Ad quod et autem et quia."], ["updated_at", "2014-09-19 19:51:50.406291"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c24394e4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_c24394e4') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:51:50.409900"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.414182"], ["updated_at", "2014-09-19 19:51:50.414182"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:51:50.419658"], ["updated_at", "2014-09-19 19:51:50.419658"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.434907"], ["updated_at", "2014-09-19 19:51:50.434907"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.436516"], ["updated_at", "2014-09-19 19:51:50.436516"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2437f7b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus quo molestias. Amet nihil voluptatem tenetur quas fugit. Doloribus nobis quam inventore harum. Fugiat accusantium modi et aut et. Aut ipsam nemo.\", \"Veniam quae eum. Enim alias nesciunt corporis consequatur architecto dolorum. Quibusdam maiores laudantium iusto distinctio enim nihil. Maxime unde quia nemo laudantium.\"]"], ["created_at", "2014-09-19 19:51:50.439706"], ["name", "contract_2437f7b8"], ["title", "Dolor velit veritatis ullam laborum culpa."], ["updated_at", "2014-09-19 19:51:50.439706"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2437f7b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_2437f7b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:51:50.442723"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.445178"], ["updated_at", "2014-09-19 19:51:50.445178"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 19:51:50.447393"], ["updated_at", "2014-09-19 19:51:50.447393"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.452241"], ["updated_at", "2014-09-19 19:51:50.452241"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.453908"], ["updated_at", "2014-09-19 19:51:50.453908"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_164fdc9f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit omnis sit molestiae ea facilis. Sit autem consectetur ut. Corporis esse dolor autem explicabo facilis quia dicta. Aut consequatur aspernatur praesentium.\", \"Ex asperiores in consectetur quisquam odio. Minima sed et aut. Est explicabo sunt. Perferendis eos eligendi. Voluptatibus eum est dolores quaerat officiis.\"]"], ["created_at", "2014-09-19 19:51:50.457863"], ["name", "contract_164fdc9f"], ["title", "Cumque non culpa totam occaecati ut."], ["updated_at", "2014-09-19 19:51:50.457863"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_164fdc9f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_164fdc9f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:51:50.461251"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.464720"], ["updated_at", "2014-09-19 19:51:50.464720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 19:51:50.467502"], ["updated_at", "2014-09-19 19:51:50.467502"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.473340"], ["updated_at", "2014-09-19 19:51:50.473340"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.475319"], ["updated_at", "2014-09-19 19:51:50.475319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f216aa7f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut odit quia eos veritatis. Deserunt amet ut impedit. Voluptate voluptas fugiat accusantium iure. Perferendis officiis rem quia fugiat quas. Et ad enim itaque.\", \"Recusandae vitae eum excepturi et soluta. Et quia maxime. Praesentium vel optio vel sapiente est culpa hic. Modi non temporibus in quia reprehenderit est accusantium.\"]"], ["created_at", "2014-09-19 19:51:50.479503"], ["name", "contract_f216aa7f"], ["title", "Molestias et consequatur perferendis."], ["updated_at", "2014-09-19 19:51:50.479503"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f216aa7f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_f216aa7f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:51:50.483174"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.486504"], ["updated_at", "2014-09-19 19:51:50.486504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 19:51:50.489420"], ["updated_at", "2014-09-19 19:51:50.489420"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction 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_07f2b842') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem nihil sapiente vel aspernatur ipsa omnis veniam. Eveniet accusamus vel blanditiis saepe. Quae fuga et reprehenderit aut ea et dolores. Fugiat eius in ducimus sit nesciunt et architecto.\", \"Eligendi consequuntur sit exercitationem officiis. Asperiores quam quia a maiores. Et saepe est asperiores aut dolor odit. Qui et neque minima fuga sed repellat ut. Dignissimos perferendis quisquam ipsum ut.\"]"], ["created_at", "2014-09-19 19:51:50.500224"], ["name", "contract_07f2b842"], ["title", "Iure qui officiis modi ipsam asperiores maiores."], ["updated_at", "2014-09-19 19:51:50.500224"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction 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_d0112554') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea in vel id ut provident. Unde sed est eum placeat sit dolores provident. Neque repudiandae aspernatur consequatur vel in hic. Sed est dignissimos ex et doloribus. Corrupti at aut reiciendis animi rerum error.\", \"Aut vitae dolor architecto placeat autem natus dolorum. Assumenda quia nesciunt consequatur eum perspiciatis. Minima iste vero architecto facere occaecati libero.\"]"], ["created_at", "2014-09-19 19:51:50.504769"], ["name", "contract_d0112554"], ["title", "Tempora molestias delectus vel quasi ex eos cumque."], ["updated_at", "2014-09-19 19:51:50.504769"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d0112554"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_d0112554') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:51:50.507948"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.510624"], ["updated_at", "2014-09-19 19:51:50.510624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.515872"], ["updated_at", "2014-09-19 19:51:50.515872"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.517564"], ["updated_at", "2014-09-19 19:51:50.517564"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_e7ef7106') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo officiis ut quasi accusantium et ipsa. Dolorem sed commodi accusamus. Architecto dolorum et itaque rerum soluta iure.\", \"Et quia culpa placeat corrupti commodi enim. Non esse consequatur consequatur quidem harum consequuntur. Dolores est aliquid.\"]"], ["created_at", "2014-09-19 19:51:50.520299"], ["name", "contract_e7ef7106"], ["title", "Consequatur porro sit ipsam ducimus quae debitis molestias."], ["updated_at", "2014-09-19 19:51:50.520299"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.526843"], ["updated_at", "2014-09-19 19:51:50.526843"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.528383"], ["updated_at", "2014-09-19 19:51:50.528383"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2a5cb7cd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure deleniti maxime est quo qui odio dolorem. Omnis ea aliquam autem iure qui quae. Soluta explicabo fugiat qui totam. Assumenda et repellendus aperiam harum veritatis voluptatem.\", \"Explicabo autem est. Vitae aliquam saepe quam consequuntur dolor voluptate earum. Nihil et esse iure doloremque.\"]"], ["created_at", "2014-09-19 19:51:50.530947"], ["name", "contract_2a5cb7cd"], ["title", "Vitae vero reiciendis."], ["updated_at", "2014-09-19 19:51:50.530947"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:51:50.535493"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.540682"], ["updated_at", "2014-09-19 19:51:50.540682"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.542224"], ["updated_at", "2014-09-19 19:51:50.542224"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a57f453a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut necessitatibus est impedit. Fuga ut vel autem eaque omnis. Consectetur quia cupiditate.\", \"Quo deserunt illum provident impedit consequatur vitae dignissimos. Eum nam est voluptas provident. Aut cumque quia. Fugit officia provident ut id doloribus at modi.\"]"], ["created_at", "2014-09-19 19:51:50.545023"], ["name", "contract_a57f453a"], ["title", "Nisi dolorem nostrum eum."], ["updated_at", "2014-09-19 19:51:50.545023"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 11, 9, 8, 15, 7, 12, 13, 10, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.556198"], ["updated_at", "2014-09-19 19:51:50.556198"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.557938"], ["updated_at", "2014-09-19 19:51:50.557938"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1f3300a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati et veritatis distinctio error. Esse vel sed sunt. Optio est numquam fugit ut voluptas sequi.\", \"At officiis est ut. Delectus corporis excepturi. Molestiae occaecati ullam. Aut ut perferendis aut natus inventore ipsam.\"]"], ["created_at", "2014-09-19 19:51:50.560713"], ["name", "contract_1f3300a6"], ["title", "Est placeat ducimus autem."], ["updated_at", "2014-09-19 19:51:50.560713"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.565233"], ["updated_at", "2014-09-19 19:51:50.565233"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.566701"], ["updated_at", "2014-09-19 19:51:50.566701"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3ad25db8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores a ea quia deleniti in veniam. Nulla beatae quia explicabo molestiae architecto. Id provident veniam ad impedit. Nam vero nihil.\", \"Beatae voluptate occaecati. Fugit et sed error deleniti accusamus et repellendus. Similique odio corporis cum. Aut rerum ipsam est eos odit corrupti. Tempore praesentium quia rerum et.\"]"], ["created_at", "2014-09-19 19:51:50.569338"], ["name", "contract_3ad25db8"], ["title", "Temporibus numquam voluptatem."], ["updated_at", "2014-09-19 19:51:50.569338"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3ad25db8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_3ad25db8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:51:50.572794"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.578354"], ["updated_at", "2014-09-19 19:51:50.578354"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.579900"], ["updated_at", "2014-09-19 19:51:50.579900"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c85b9130') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam similique soluta sit veniam aliquam beatae sequi. Voluptates placeat et eius harum rem porro. Exercitationem molestiae necessitatibus. Dolore hic et.\", \"Quisquam soluta deleniti. Deserunt ducimus maxime error sed quod laudantium rem. Omnis molestias quos sunt architecto ea. Quisquam ut a earum dolor est. Voluptas quia laboriosam sunt saepe aut consequuntur illo.\"]"], ["created_at", "2014-09-19 19:51:50.582444"], ["name", "contract_c85b9130"], ["title", "Impedit dolor magnam dolorum eligendi et repellendus."], ["updated_at", "2014-09-19 19:51:50.582444"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c85b9130"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_c85b9130') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:51:50.586025"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c85b9130' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.593137"], ["updated_at", "2014-09-19 19:51:50.593137"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.594778"], ["updated_at", "2014-09-19 19:51:50.594778"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9b6f3d22') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat exercitationem sit amet quasi. Laboriosam quia magni fugiat unde commodi. Dolores esse sit et architecto enim dolorum. In quis commodi corporis.\", \"Architecto quae illo reiciendis. Reiciendis laborum consequuntur eos suscipit. Quis atque quas qui consequuntur excepturi. Distinctio vitae delectus modi voluptatem natus qui.\"]"], ["created_at", "2014-09-19 19:51:50.597630"], ["name", "contract_9b6f3d22"], ["title", "Et sit libero placeat necessitatibus harum."], ["updated_at", "2014-09-19 19:51:50.597630"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.604212"], ["updated_at", "2014-09-19 19:51:50.604212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.605811"], ["updated_at", "2014-09-19 19:51:50.605811"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2bcbca83') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio voluptatem nemo. Iure et adipisci dolorum quaerat illo sed. Eum laudantium a rerum nihil. Numquam ipsam tenetur. Consequatur quaerat est voluptatem dolor.\", \"Fugiat nihil possimus sunt autem. Reiciendis inventore voluptatum aut dicta molestiae. Nostrum quis animi dolorem ipsam quo qui qui.\"]"], ["created_at", "2014-09-19 19:51:50.608566"], ["name", "contract_2bcbca83"], ["title", "Cupiditate dolor sequi quibusdam odio vitae corrupti voluptas."], ["updated_at", "2014-09-19 19:51:50.608566"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 20]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 20]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 20 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.616602"], ["updated_at", "2014-09-19 19:51:50.616602"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.618150"], ["updated_at", "2014-09-19 19:51:50.618150"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c4e47d85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis debitis animi quis dolor. Sint sit doloremque inventore quia repellat. Non cumque debitis eum quia harum.\", \"Aut rerum adipisci. Amet aut omnis natus atque ipsum non. Qui nam neque dignissimos qui natus.\"]"], ["created_at", "2014-09-19 19:51:50.620644"], ["name", "contract_c4e47d85"], ["title", "Dicta maiores aut quis facilis inventore aperiam."], ["updated_at", "2014-09-19 19:51:50.620644"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.625054"], ["updated_at", "2014-09-19 19:51:50.625054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.626683"], ["updated_at", "2014-09-19 19:51:50.626683"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_81eddcec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab quam occaecati natus. Veniam quis ipsa impedit et perferendis qui quo. Illo dolor sunt est ipsum. Est non et aut deserunt voluptatibus qui dolore.\", \"Officiis soluta modi. Illum quas mollitia eveniet nemo iure. Quia iure similique modi est. Recusandae alias sit eum incidunt fugiat quo.\"]"], ["created_at", "2014-09-19 19:51:50.629679"], ["name", "contract_81eddcec"], ["title", "Porro tempora voluptatem aut optio."], ["updated_at", "2014-09-19 19:51:50.629679"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_81eddcec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_81eddcec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:51:50.633442"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.638705"], ["updated_at", "2014-09-19 19:51:50.638705"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.640299"], ["updated_at", "2014-09-19 19:51:50.640299"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_6d32a9ed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex maiores veritatis tempora doloremque possimus. Sunt est qui ducimus. Consequuntur aspernatur quia. Facilis reprehenderit sed qui facere minus. Ex reprehenderit vel adipisci beatae.\", \"Rerum eius maiores deserunt non et ut. Facilis quas nam a explicabo ipsa. Vitae quia voluptatem consectetur. Dicta quisquam rerum blanditiis.\"]"], ["created_at", "2014-09-19 19:51:50.642923"], ["name", "contract_6d32a9ed"], ["title", "Et eveniet et ut hic corporis."], ["updated_at", "2014-09-19 19:51:50.642923"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6d32a9ed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_6d32a9ed') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:51:50.646419"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6d32a9ed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_6d32a9ed') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:51:50.651838"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.655886"], ["updated_at", "2014-09-19 19:51:50.655886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.657296"], ["updated_at", "2014-09-19 19:51:50.657296"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f7064b62') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure veritatis quibusdam blanditiis sunt quia quae. Voluptatem officiis nihil sint suscipit et nemo. Eveniet qui voluptates cumque. Quibusdam ratione eaque quod optio id reiciendis.\", \"Veritatis accusamus ut. Ut odio autem est. Dolorem et pariatur maxime illo tempore omnis. Omnis soluta qui dignissimos aut doloremque ut.\"]"], ["created_at", "2014-09-19 19:51:50.659866"], ["name", "contract_f7064b62"], ["title", "Aliquid cumque aliquam dolor dignissimos sit iure nostrum."], ["updated_at", "2014-09-19 19:51:50.659866"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7064b62"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_f7064b62') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:51:50.664658"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.668617"], ["updated_at", "2014-09-19 19:51:50.668617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.670169"], ["updated_at", "2014-09-19 19:51:50.670169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_62f0550f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo mollitia quisquam. Et ut voluptatibus. Tenetur soluta sequi molestiae nesciunt. Aut quo ut voluptas commodi.\", \"Nobis sint reprehenderit. Sit eligendi maiores ut quia molestias sed quos. Ex ut quaerat dolorem. Reiciendis praesentium ea officiis quas.\"]"], ["created_at", "2014-09-19 19:51:50.672919"], ["name", "contract_62f0550f"], ["title", "Distinctio expedita reiciendis sit et perferendis sequi."], ["updated_at", "2014-09-19 19:51:50.672919"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.678215"], ["updated_at", "2014-09-19 19:51:50.678215"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.679569"], ["updated_at", "2014-09-19 19:51:50.679569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_098e2b22') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque eligendi reiciendis totam. Perspiciatis similique repudiandae. Quaerat facilis aut vel sequi omnis inventore.\", \"Ab at eos tenetur aperiam consequatur. Animi atque consectetur tempora nihil aut sed tenetur. Ut nesciunt at veritatis voluptas et sit. Reiciendis atque omnis saepe corrupti eius. Quia nesciunt optio sunt laboriosam et excepturi eos.\"]"], ["created_at", "2014-09-19 19:51:50.682071"], ["name", "contract_098e2b22"], ["title", "Itaque ex quia."], ["updated_at", "2014-09-19 19:51:50.682071"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.687278"], ["updated_at", "2014-09-19 19:51:50.687278"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.689436"], ["updated_at", "2014-09-19 19:51:50.689436"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_cfe6e2d5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum molestias hic. Quia enim hic in impedit at ea et. Ut sint error atque quas et omnis voluptatem.\", \"Qui non iure modi. Maxime vel est eaque quidem reiciendis eum. Aut rerum non. Rerum sequi optio et expedita quis. Molestiae ea assumenda rerum unde dolor.\"]"], ["created_at", "2014-09-19 19:51:50.693146"], ["name", "contract_cfe6e2d5"], ["title", "Ut expedita velit asperiores impedit."], ["updated_at", "2014-09-19 19:51:50.693146"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.698176"], ["updated_at", "2014-09-19 19:51:50.698176"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.699699"], ["updated_at", "2014-09-19 19:51:50.699699"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e1e34668') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam expedita rem quasi cumque voluptatibus dolores. Perspiciatis sed quos accusamus mollitia minus odit. Qui dolorem soluta est praesentium consequatur. Id dolores dolore. Architecto accusantium voluptatum beatae temporibus.\", \"Voluptatibus occaecati dignissimos consequatur ea eaque. Sint vel a hic et. Odit voluptates officia sunt labore voluptas. Veritatis tenetur et cupiditate velit rerum.\"]"], ["created_at", "2014-09-19 19:51:50.702433"], ["name", "contract_e1e34668"], ["title", "Nisi quas voluptatem ut cum deleniti."], ["updated_at", "2014-09-19 19:51:50.702433"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.712568"], ["updated_at", "2014-09-19 19:51:50.712568"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.714339"], ["updated_at", "2014-09-19 19:51:50.714339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fb8d1925') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus aliquam perspiciatis ut et numquam recusandae. Rerum sit eligendi dicta vel neque est numquam. Voluptatem id eaque voluptas saepe. Quam tempora a animi suscipit ullam omnis. Eveniet doloremque ut provident saepe et ad asperiores.\", \"Sed ex dicta consectetur corporis magni. Aut et est. Tempore sint rerum vel suscipit et quo perferendis.\"]"], ["created_at", "2014-09-19 19:51:50.717765"], ["name", "contract_fb8d1925"], ["title", "Exercitationem eius qui id assumenda deserunt et."], ["updated_at", "2014-09-19 19:51:50.717765"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.723669"], ["updated_at", "2014-09-19 19:51:50.723669"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.725300"], ["updated_at", "2014-09-19 19:51:50.725300"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_38b3d620') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dignissimos et. Impedit iure molestiae ab aut et illum. Error tenetur sequi facilis quisquam.\", \"Voluptas adipisci velit. Sit est ullam aut. Ullam reiciendis et. Nulla ut dolores sunt eveniet culpa. Sed aut ut quia quis sint.\"]"], ["created_at", "2014-09-19 19:51:50.727859"], ["name", "contract_38b3d620"], ["title", "Nihil ut occaecati quasi vel quia."], ["updated_at", "2014-09-19 19:51:50.727859"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction 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_201cac0a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolores at. Quia dolore magnam. Voluptas impedit voluptatibus eos ipsa. Sit quam libero totam quia ut. Harum molestiae quia impedit.\", \"Cum quisquam maiores laborum. Asperiores optio qui et. Voluptas quia cupiditate est optio harum vel. Dolore dignissimos aut ipsam et ab eum.\"]"], ["created_at", "2014-09-19 19:51:50.734918"], ["name", "contract_201cac0a"], ["title", "Corrupti officiis deleniti eius."], ["updated_at", "2014-09-19 19:51:50.734918"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_201cac0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_201cac0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:51:50.738046"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_201cac0a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_201cac0a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolores at. Quia dolore magnam. Voluptas impedit voluptatibus eos ipsa. Sit quam libero totam quia ut. Harum molestiae quia impedit.\", \"Cum quisquam maiores laborum. Asperiores optio qui et. Voluptas quia cupiditate est optio harum vel. Dolore dignissimos aut ipsam et ab eum.\"]"], ["created_at", "2014-09-19 19:51:50.741567"], ["name", "contract_201cac0a"], ["title", "Corrupti officiis deleniti eius."], ["updated_at", "2014-09-19 19:51:50.741567"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_201cac0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_201cac0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:51:50.744606"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e3f4c4c1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat et assumenda officiis quis perferendis quisquam dolorem. Distinctio neque veritatis sit maiores et id animi. Totam modi omnis molestias eos aut magnam ex. In sunt ex quos aut ratione et.\", \"Quaerat rem sit eius provident nesciunt. Beatae et sed. Id delectus accusantium.\"]"], ["created_at", "2014-09-19 19:51:50.748533"], ["name", "contract_e3f4c4c1"], ["title", "Quae cupiditate fugiat consequatur modi voluptatem."], ["updated_at", "2014-09-19 19:51:50.748533"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e3f4c4c1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_e3f4c4c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:51:50.753541"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e3f4c4c1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e3f4c4c1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_e3f4c4c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:51:50.758616"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_039e316f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse necessitatibus laudantium magnam rerum corrupti. Occaecati nulla id officia molestias. Iste et qui necessitatibus voluptatem labore harum. Non quam amet eum voluptatem dolorum ab. Non aperiam dolores est esse nisi.\", \"Voluptas sequi perferendis omnis aliquid voluptas aut. Consectetur veritatis rerum modi sequi corrupti. Cumque neque minus quam magnam nobis libero.\"]"], ["created_at", "2014-09-19 19:51:50.762287"], ["name", "contract_039e316f"], ["title", "Similique officia necessitatibus amet earum eius omnis."], ["updated_at", "2014-09-19 19:51:50.762287"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_039e316f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_039e316f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:51:50.765246"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:51:50.768850"], ["updated_at", "2014-09-19 19:51:50.768850"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:51:50.771183"], ["updated_at", "2014-09-19 19:51:50.771183"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_039e316f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_039e316f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_039e316f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction 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_56eba02a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae vel voluptatibus mollitia itaque iure quam. Officia voluptas itaque ullam. Exercitationem distinctio ut accusamus mollitia laborum. Placeat fugiat qui ipsa rerum quam. Aut consequuntur possimus quod quia eum voluptatem qui.\", \"Facilis ab quis facere voluptas quia. In quibusdam consequatur qui blanditiis sunt iusto quae. Placeat minima a. Quia in voluptatibus incidunt natus inventore.\"]"], ["created_at", "2014-09-19 19:51:50.780061"], ["name", "contract_56eba02a"], ["title", "Corporis expedita fuga iure dolorem dolorum aut."], ["updated_at", "2014-09-19 19:51:50.780061"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56eba02a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_56eba02a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:51:50.783616"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_56eba02a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae vel voluptatibus mollitia itaque iure quam. Officia voluptas itaque ullam. Exercitationem distinctio ut accusamus mollitia laborum. Placeat fugiat qui ipsa rerum quam. Aut consequuntur possimus quod quia eum voluptatem qui.\", \"Facilis ab quis facere voluptas quia. In quibusdam consequatur qui blanditiis sunt iusto quae. Placeat minima a. Quia in voluptatibus incidunt natus inventore.\"]"], ["created_at", "2014-09-19 19:51:50.787318"], ["name", "joe"], ["title", "Corporis expedita fuga iure dolorem dolorum aut."], ["updated_at", "2014-09-19 19:51:50.787318"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:51:50.790320"], ["version", 1]]  (0.6ms) commit transaction  (1.2ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.5ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_d3f45292') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore ab quia est aut labore. Ea consequatur dicta temporibus omnis vel voluptas. A officiis facilis excepturi consequatur facere et.\", \"Magnam qui reprehenderit placeat nemo. Eveniet minus enim ullam quia ipsam commodi maxime. Est a fugit nulla facilis voluptatem blanditiis.\"]"], ["created_at", "2014-09-19 19:53:32.516951"], ["name", "contract_d3f45292"], ["title", "Expedita libero dolor placeat ex."], ["updated_at", "2014-09-19 19:53:32.516951"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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_cd7f0ce5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et molestiae sequi corporis culpa est numquam earum. Consequuntur dolor nisi. Fuga nobis saepe voluptatem placeat facilis hic. Sed ut nisi voluptatibus.\", \"Ducimus sapiente voluptate vitae aut est reiciendis nisi. Harum esse dolore est voluptatem. Veniam nostrum eveniet libero voluptas. Odit debitis omnis.\"]"], ["created_at", "2014-09-19 19:53:32.532732"], ["name", "contract_cd7f0ce5"], ["title", "Sapiente dolorum assumenda delectus."], ["updated_at", "2014-09-19 19:53:32.532732"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cd7f0ce5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_cd7f0ce5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:53:32.537479"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.543956"], ["updated_at", "2014-09-19 19:53:32.543956"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.556690"], ["updated_at", "2014-09-19 19:53:32.556690"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.558487"], ["updated_at", "2014-09-19 19:53:32.558487"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.567627"], ["updated_at", "2014-09-19 19:53:32.567627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.569200"], ["updated_at", "2014-09-19 19:53:32.569200"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_eca108bd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sed suscipit quis saepe. Nisi beatae enim non sit. Voluptatibus consequatur earum accusamus quam et.\", \"Maiores laborum repellat. Sequi eos autem distinctio quis. Reprehenderit incidunt voluptatem non rem qui. Perspiciatis quidem ex. Aperiam nisi ratione quibusdam ut inventore est explicabo.\"]"], ["created_at", "2014-09-19 19:53:32.579178"], ["name", "contract_eca108bd"], ["title", "Libero in laudantium nam id tempora culpa."], ["updated_at", "2014-09-19 19:53:32.579178"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eca108bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_eca108bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:53:32.582776"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.587060"], ["updated_at", "2014-09-19 19:53:32.587060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:53:32.589437"], ["updated_at", "2014-09-19 19:53:32.589437"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_eca108bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eca108bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_eca108bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_2da4a832') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias sit in aliquid earum corrupti. Et eos dolores ea incidunt nisi occaecati. Et cumque quos corrupti. Amet sint rerum perferendis iusto impedit.\", \"Harum reiciendis sunt eius sed recusandae ea ut. Sed repellat sed numquam eaque sequi architecto cumque. Perferendis doloremque voluptatum ratione laborum vel sit.\"]"], ["created_at", "2014-09-19 19:53:32.603646"], ["name", "contract_2da4a832"], ["title", "Harum velit perferendis."], ["updated_at", "2014-09-19 19:53:32.603646"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2da4a832"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_2da4a832') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:53:32.609660"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2da4a832"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2da4a832"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_2da4a832') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:53:32.615177"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d0c91cab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est voluptate possimus quibusdam aut. Maxime error iusto quibusdam ut. Aliquid suscipit assumenda ut et unde. Consequuntur autem accusamus. Repellendus omnis velit et.\", \"Molestiae soluta mollitia laborum quae qui. Iste nulla ab quibusdam. Voluptas accusamus delectus voluptas at deserunt. Dolorum sed laudantium in delectus quos. Voluptatem perferendis nam sit esse blanditiis soluta.\"]"], ["created_at", "2014-09-19 19:53:32.619030"], ["name", "contract_d0c91cab"], ["title", "Dolores nisi fugit incidunt sit tempora vero perspiciatis."], ["updated_at", "2014-09-19 19:53:32.619030"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d0c91cab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_d0c91cab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:53:32.622110"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d0c91cab' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_d0c91cab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est voluptate possimus quibusdam aut. Maxime error iusto quibusdam ut. Aliquid suscipit assumenda ut et unde. Consequuntur autem accusamus. Repellendus omnis velit et.\", \"Molestiae soluta mollitia laborum quae qui. Iste nulla ab quibusdam. Voluptas accusamus delectus voluptas at deserunt. Dolorum sed laudantium in delectus quos. Voluptatem perferendis nam sit esse blanditiis soluta.\"]"], ["created_at", "2014-09-19 19:53:32.627757"], ["name", "contract_d0c91cab"], ["title", "Dolores nisi fugit incidunt sit tempora vero perspiciatis."], ["updated_at", "2014-09-19 19:53:32.627757"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d0c91cab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_d0c91cab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:53:32.631029"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ac5d1a13') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam quis esse. Neque facere quod. Sit quia est quisquam debitis. Quia provident id odio laudantium doloribus magni rem. Qui et eligendi nam voluptatibus voluptatem qui.\", \"Nisi est corrupti quibusdam. Neque esse est aperiam id impedit. Aut sit enim eum pariatur ut architecto maxime. Molestias explicabo a.\"]"], ["created_at", "2014-09-19 19:53:32.635296"], ["name", "contract_ac5d1a13"], ["title", "Adipisci cupiditate officiis natus rerum."], ["updated_at", "2014-09-19 19:53:32.635296"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ac5d1a13"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_ac5d1a13') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:53:32.638594"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ac5d1a13' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam quis esse. Neque facere quod. Sit quia est quisquam debitis. Quia provident id odio laudantium doloribus magni rem. Qui et eligendi nam voluptatibus voluptatem qui.\", \"Nisi est corrupti quibusdam. Neque esse est aperiam id impedit. Aut sit enim eum pariatur ut architecto maxime. Molestias explicabo a.\"]"], ["created_at", "2014-09-19 19:53:32.642702"], ["name", "joe"], ["title", "Adipisci cupiditate officiis natus rerum."], ["updated_at", "2014-09-19 19:53:32.642702"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:53:32.645850"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem similique ea possimus sit est et. Neque et earum. Modi autem eos soluta quos magnam.\", \"Possimus libero neque eum ab vel ut. Perferendis veniam aliquid laborum. Dolorem qui officiis placeat pariatur consequatur.\"]"], ["created_at", "2014-09-19 19:53:32.650667"], ["name", "alpha"], ["title", "Velit ipsa at nam dicta voluptas et iste."], ["updated_at", "2014-09-19 19:53:32.650667"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:53:32.654022"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro dicta aut dolorem. Aut iure molestiae. Similique qui dignissimos exercitationem ea illo. Porro qui corrupti neque quis hic. Nihil ab iste ipsam odit voluptatibus.\", \"Qui dolor dignissimos libero sint est quam possimus. Aspernatur maxime earum accusamus qui error sunt. Et nisi repellendus. Velit ut qui sunt sunt et consequatur animi. Consectetur consequatur vel.\"]"], ["created_at", "2014-09-19 19:53:32.657667"], ["name", "beta"], ["title", "Assumenda eaque autem quod debitis et."], ["updated_at", "2014-09-19 19:53:32.657667"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:53:32.660438"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam sed itaque vel quaerat. Sed facere reprehenderit quo. Debitis voluptatem at eligendi magnam. Cum ullam ratione consequatur delectus qui quidem.\", \"Deleniti beatae ut excepturi facilis. Molestiae dolores ipsa qui recusandae dolore et. Modi labore est quaerat neque voluptatem. Sed eos voluptas et error quia.\"]"], ["created_at", "2014-09-19 19:53:32.664469"], ["name", "alpha"], ["title", "Inventore iste tenetur et ut voluptatem vel molestias."], ["updated_at", "2014-09-19 19:53:32.664469"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:53:32.667495"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi blanditiis doloremque. Aperiam nesciunt quia et incidunt. Asperiores nam est perferendis recusandae. Voluptatibus possimus adipisci nam ad voluptatum.\", \"At officiis tempore labore. Dolores iusto ut. Hic in vel. Quis nobis iusto voluptatem rerum temporibus necessitatibus omnis.\"]"], ["created_at", "2014-09-19 19:53:32.670851"], ["name", "beta"], ["title", "Consequatur alias quisquam minus dicta."], ["updated_at", "2014-09-19 19:53:32.670851"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:53:32.673843"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam est provident. Illo hic reiciendis et tempora soluta. Suscipit optio reiciendis qui beatae a hic.\", \"Recusandae excepturi praesentium. Accusantium esse qui aut. Natus quibusdam consequatur et debitis error in. Eum deserunt quidem possimus quisquam vitae corporis hic.\"]"], ["created_at", "2014-09-19 19:53:32.677556"], ["name", "alpha"], ["title", "Quaerat sunt minima ipsam libero laboriosam eligendi labore."], ["updated_at", "2014-09-19 19:53:32.677556"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:53:32.680550"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit ipsum ab harum voluptates qui. Aut repellat nihil. Et voluptas voluptatem accusamus occaecati. Et nihil iusto.\", \"Dolorem repudiandae nihil soluta facilis. Tempora eligendi optio provident. Sapiente similique ut illum. Praesentium non illum ad fugit optio quidem.\"]"], ["created_at", "2014-09-19 19:53:32.684601"], ["name", "beta"], ["title", "Et tempore quidem rerum."], ["updated_at", "2014-09-19 19:53:32.684601"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:53:32.687970"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.691317"], ["updated_at", "2014-09-19 19:53:32.691317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.693031"], ["updated_at", "2014-09-19 19:53:32.693031"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b722eb1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio aliquid repudiandae ratione. Non placeat odit inventore laborum totam. Inventore ipsa illum excepturi. Aliquid ipsam cupiditate voluptas rerum.\", \"At ab modi numquam doloremque placeat. Eveniet vero quas. Tempore hic aut voluptatum consequatur alias vero officia. Et voluptatem architecto doloribus eos modi cum dolor.\"]"], ["created_at", "2014-09-19 19:53:32.695845"], ["name", "contract_b722eb1f"], ["title", "Id sit eum et."], ["updated_at", "2014-09-19 19:53:32.695845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b722eb1f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b722eb1f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:53:32.701915"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.706220"], ["updated_at", "2014-09-19 19:53:32.706220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.707741"], ["updated_at", "2014-09-19 19:53:32.707741"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7236007b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium sit officiis a. Est asperiores officiis sapiente animi repudiandae odio. Eos similique commodi veniam aut dignissimos. Perspiciatis laboriosam qui eaque reiciendis est.\", \"Quo repellat veritatis alias eveniet quisquam. Et quia pariatur amet eos excepturi. Est sed dolores commodi dolores. Deserunt fuga totam aut voluptatem. Consectetur blanditiis ea voluptatem iusto.\"]"], ["created_at", "2014-09-19 19:53:32.710354"], ["name", "contract_7236007b"], ["title", "Quam praesentium saepe magni."], ["updated_at", "2014-09-19 19:53:32.710354"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.714508"], ["updated_at", "2014-09-19 19:53:32.714508"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.716031"], ["updated_at", "2014-09-19 19:53:32.716031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a8991a93') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia voluptatem natus optio cupiditate omnis est. Et fuga et facere quis voluptatibus molestias necessitatibus. Exercitationem et libero et ut.\", \"Ex delectus voluptatibus. Ut tenetur atque beatae non dicta ut. Et est at sit placeat.\"]"], ["created_at", "2014-09-19 19:53:32.718491"], ["name", "contract_a8991a93"], ["title", "Veniam corrupti et perferendis eius."], ["updated_at", "2014-09-19 19:53:32.718491"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.722802"], ["updated_at", "2014-09-19 19:53:32.722802"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.724399"], ["updated_at", "2014-09-19 19:53:32.724399"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_311ee566') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis veritatis expedita quia. Enim numquam est expedita facere nesciunt rerum. Sed amet voluptas.\", \"Nobis minima expedita. Id eaque aut corporis inventore. Consequatur blanditiis repellendus inventore vel. Eos molestiae molestias et. Molestiae ratione doloremque quisquam eius doloribus voluptatum qui.\"]"], ["created_at", "2014-09-19 19:53:32.727082"], ["name", "contract_311ee566"], ["title", "Ratione expedita omnis aspernatur eveniet quae autem."], ["updated_at", "2014-09-19 19:53:32.727082"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_311ee566"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_311ee566') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:53:32.730450"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.736015"], ["updated_at", "2014-09-19 19:53:32.736015"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.737708"], ["updated_at", "2014-09-19 19:53:32.737708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9ec6fe55') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam et qui nihil. Sit ex et qui. Iusto sit a ex quos numquam et.\", \"Excepturi eaque consectetur qui est nostrum. Et sint impedit natus tenetur quia. Qui molestiae ut est et nemo maiores.\"]"], ["created_at", "2014-09-19 19:53:32.740401"], ["name", "contract_9ec6fe55"], ["title", "Sit earum explicabo et ut et vel quos."], ["updated_at", "2014-09-19 19:53:32.740401"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.746081"], ["updated_at", "2014-09-19 19:53:32.746081"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.747519"], ["updated_at", "2014-09-19 19:53:32.747519"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_10f8c815') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et consequatur rem. Ad dignissimos aliquid non. Magnam consectetur consequuntur temporibus sint facere perferendis voluptas. Maxime deserunt laborum consequuntur.\", \"Velit corrupti commodi quibusdam. Saepe quidem aliquam nostrum illo deserunt rerum. Voluptas rem velit dolorum rerum dignissimos.\"]"], ["created_at", "2014-09-19 19:53:32.750046"], ["name", "contract_10f8c815"], ["title", "Et quasi incidunt quam aspernatur cumque."], ["updated_at", "2014-09-19 19:53:32.750046"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.754268"], ["updated_at", "2014-09-19 19:53:32.754268"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.755754"], ["updated_at", "2014-09-19 19:53:32.755754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_432d4c67') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non provident delectus velit. Est tempore aut sed qui reprehenderit doloribus. Ab voluptatem quas maiores qui hic at error.\", \"Totam voluptas recusandae est qui ad sed dolorem. Delectus est molestiae eum omnis cupiditate. Qui saepe officiis voluptatem quo voluptates et vitae.\"]"], ["created_at", "2014-09-19 19:53:32.758167"], ["name", "contract_432d4c67"], ["title", "Beatae est nesciunt."], ["updated_at", "2014-09-19 19:53:32.758167"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.763674"], ["updated_at", "2014-09-19 19:53:32.763674"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.765151"], ["updated_at", "2014-09-19 19:53:32.765151"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5052be14') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus incidunt voluptatem expedita optio sit sunt dolorem. Dolore et quo numquam autem aut. Rerum id est tempora.\", \"Iste quasi dolorum animi pariatur voluptatem. Commodi quam earum molestias numquam ipsum sequi unde. Consequatur nihil vel eos ut. Exercitationem repellendus officia dolores.\"]"], ["created_at", "2014-09-19 19:53:32.767632"], ["name", "contract_5052be14"], ["title", "Qui et ratione dolor nobis sunt adipisci."], ["updated_at", "2014-09-19 19:53:32.767632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 22]] SQL (0.3ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 22]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 22 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.777825"], ["updated_at", "2014-09-19 19:53:32.777825"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.779775"], ["updated_at", "2014-09-19 19:53:32.779775"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_406f572e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur aliquam dolor molestiae. Ducimus possimus dignissimos ab. Sint aut repellat corrupti quia. Eos ipsa et voluptas. Quo placeat deleniti eligendi ut.\", \"Molestiae sint non qui voluptatum consequuntur recusandae. Magnam voluptates veritatis error aperiam at. Laudantium nemo voluptatum. Corrupti praesentium labore.\"]"], ["created_at", "2014-09-19 19:53:32.783216"], ["name", "contract_406f572e"], ["title", "Autem dolorem necessitatibus."], ["updated_at", "2014-09-19 19:53:32.783216"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:53:32.787930"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:53:32.787930"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.791796"], ["updated_at", "2014-09-19 19:53:32.791796"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.793332"], ["updated_at", "2014-09-19 19:53:32.793332"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8513f67a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A quo quaerat. Rerum in quasi. Et nisi temporibus dolorem cumque animi ullam. Quia nostrum eos est magni. Incidunt autem modi placeat animi.\", \"Minima voluptas est sed quisquam. At iure et et molestias sed. Sapiente fuga consectetur voluptatum voluptatem ullam cupiditate. Nesciunt repellendus saepe cupiditate corporis ad veritatis. Porro cupiditate fuga consequatur.\"]"], ["created_at", "2014-09-19 19:53:32.795967"], ["name", "contract_8513f67a"], ["title", "Praesentium nihil architecto facere odit."], ["updated_at", "2014-09-19 19:53:32.795967"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.803469"], ["updated_at", "2014-09-19 19:53:32.803469"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.805146"], ["updated_at", "2014-09-19 19:53:32.805146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e36424ca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus accusantium aut est culpa corporis dolor vitae. Asperiores consequatur corrupti culpa suscipit et. Praesentium rerum cumque dolore et.\", \"Eaque numquam eveniet. Voluptas rerum a dicta et quasi ut. Est debitis culpa unde quos dignissimos laudantium possimus.\"]"], ["created_at", "2014-09-19 19:53:32.807666"], ["name", "contract_e36424ca"], ["title", "Qui adipisci odio dolores reiciendis aut assumenda nisi."], ["updated_at", "2014-09-19 19:53:32.807666"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 11, 9, 14, 12, 10, 20, 4, 18, 23, 21, 16, 25, 19, 17, 7, 15, 2, 6, 5, 1, 26, 3, 8, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 12ms (Views: 5.8ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.823569"], ["updated_at", "2014-09-19 19:53:32.823569"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.825427"], ["updated_at", "2014-09-19 19:53:32.825427"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_abbe10dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia quo fugiat laudantium aperiam ipsa. Libero nihil molestiae ut nam consequatur. Corporis nemo quibusdam non aut corrupti.\", \"Fugit amet molestiae et voluptatibus quam voluptas. Quaerat quibusdam iste maxime omnis sunt ad. Magnam laborum error fugiat sit laboriosam consequatur. Occaecati soluta voluptas impedit id.\"]"], ["created_at", "2014-09-19 19:53:32.828210"], ["name", "contract_abbe10dc"], ["title", "Magni et veniam in vel."], ["updated_at", "2014-09-19 19:53:32.828210"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.832863"], ["updated_at", "2014-09-19 19:53:32.832863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.834338"], ["updated_at", "2014-09-19 19:53:32.834338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_12bb675b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias cupiditate iste maxime delectus. Autem quis expedita reiciendis et dicta. Ut temporibus tempora corporis at.\", \"Non nostrum ipsa id sint. Vel nostrum quia mollitia. Iste est consectetur. Velit et ratione qui ea. Numquam similique perspiciatis.\"]"], ["created_at", "2014-09-19 19:53:32.836898"], ["name", "contract_12bb675b"], ["title", "Nam ipsum ratione sed perspiciatis officiis deserunt et."], ["updated_at", "2014-09-19 19:53:32.836898"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.841974"], ["updated_at", "2014-09-19 19:53:32.841974"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.843429"], ["updated_at", "2014-09-19 19:53:32.843429"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a83fda53') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident fuga id reprehenderit rerum eveniet modi. Quis veniam quam autem quaerat eveniet quasi nihil. Qui eligendi eum ipsum assumenda ducimus est sequi. Libero nobis laboriosam.\", \"Suscipit sunt deleniti qui magni quia asperiores. Sit culpa ex deserunt unde aliquid amet est. Quia est ut.\"]"], ["created_at", "2014-09-19 19:53:32.845885"], ["name", "contract_a83fda53"], ["title", "Consequuntur commodi molestiae non."], ["updated_at", "2014-09-19 19:53:32.845885"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.851726"], ["updated_at", "2014-09-19 19:53:32.851726"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.853190"], ["updated_at", "2014-09-19 19:53:32.853190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bd9a8a46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet quam repellat inventore nobis porro occaecati. Sint veritatis saepe exercitationem rerum. Laudantium iure odio odit fugit voluptatibus cum.\", \"Accusamus tempora nemo vel rerum at. Voluptates minima perspiciatis ut aspernatur enim vitae molestias. Similique nesciunt non tempora iusto sint. Possimus eaque porro magni et doloremque. Sint eum nihil dolor et sint.\"]"], ["created_at", "2014-09-19 19:53:32.855685"], ["name", "contract_bd9a8a46"], ["title", "Numquam in tempora reiciendis fugiat."], ["updated_at", "2014-09-19 19:53:32.855685"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bd9a8a46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_bd9a8a46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:53:32.859883"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.868160"], ["updated_at", "2014-09-19 19:53:32.868160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.870031"], ["updated_at", "2014-09-19 19:53:32.870031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d4b0b8fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et qui libero. Qui nemo eius enim quaerat ex ad non. Ut iste non. Minus animi sequi magnam velit sit et.\", \"Est quia cum aut sed vero. Et mollitia incidunt facilis aut inventore harum ea. Dolorum vel ipsa dolor quod et eum eaque. Hic odio id ipsum ratione.\"]"], ["created_at", "2014-09-19 19:53:32.873032"], ["name", "contract_d4b0b8fa"], ["title", "Qui animi iure corporis."], ["updated_at", "2014-09-19 19:53:32.873032"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4b0b8fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_d4b0b8fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:53:32.876317"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d4b0b8fa' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.882645"], ["updated_at", "2014-09-19 19:53:32.882645"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.884145"], ["updated_at", "2014-09-19 19:53:32.884145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_27371812') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia reprehenderit perferendis. Itaque omnis veritatis alias ad neque qui et. Maiores autem labore quia repudiandae dolor quidem et.\", \"Autem praesentium voluptatem totam. Et tempora architecto. Doloribus aut aspernatur nesciunt. Possimus dicta molestias.\"]"], ["created_at", "2014-09-19 19:53:32.886701"], ["name", "contract_27371812"], ["title", "Velit qui aut dolor accusamus totam harum ad."], ["updated_at", "2014-09-19 19:53:32.886701"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.890844"], ["updated_at", "2014-09-19 19:53:32.890844"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.892337"], ["updated_at", "2014-09-19 19:53:32.892337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a1363bc6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt architecto adipisci velit natus dolor quas. Laborum aperiam ea. Nisi voluptas illo. Rem ut ut id non tempore.\", \"Nulla quis tempore ex autem expedita vitae. Repudiandae nam iste. Aut eaque ullam. Occaecati rem commodi vel. Doloribus ad aut alias et velit.\"]"], ["created_at", "2014-09-19 19:53:32.894922"], ["name", "contract_a1363bc6"], ["title", "Repellat error quis."], ["updated_at", "2014-09-19 19:53:32.894922"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1363bc6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_a1363bc6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:53:32.898322"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1363bc6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_a1363bc6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:53:32.903949"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.908271"], ["updated_at", "2014-09-19 19:53:32.908271"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.909782"], ["updated_at", "2014-09-19 19:53:32.909782"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_56de50d8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit aperiam temporibus dolor voluptatibus. Recusandae mollitia quis ex est. Porro maiores omnis consequatur quasi ut. Consequatur rerum doloribus quis magnam aperiam quasi. Et autem illo harum repellat.\", \"Est provident in nesciunt ipsum quia perferendis quisquam. Quo enim assumenda est. Dignissimos porro est explicabo voluptatem molestiae. Sed nobis quas ullam. Ad eos sapiente minima suscipit hic.\"]"], ["created_at", "2014-09-19 19:53:32.912767"], ["name", "contract_56de50d8"], ["title", "Ratione repellendus sit sapiente sint error sed illo."], ["updated_at", "2014-09-19 19:53:32.912767"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56de50d8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_56de50d8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.6ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:53:32.915684"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.918922"], ["updated_at", "2014-09-19 19:53:32.918922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:53:32.921243"], ["updated_at", "2014-09-19 19:53:32.921243"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.928864"], ["updated_at", "2014-09-19 19:53:32.928864"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.930488"], ["updated_at", "2014-09-19 19:53:32.930488"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3b5227d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sint illo rem est fugiat quas. Quisquam dolor tempore quo earum quia. Et dolor aspernatur quidem corrupti. Corporis ut corrupti architecto officia odit consequatur.\", \"Culpa fuga vitae. Quia fugiat ad nihil aperiam. Illo quam est eum consectetur nisi dolores eum. Totam consequatur qui nihil nobis. Non aut recusandae iste velit possimus.\"]"], ["created_at", "2014-09-19 19:53:32.933552"], ["name", "contract_3b5227d7"], ["title", "Dolores possimus magnam odit dignissimos veniam."], ["updated_at", "2014-09-19 19:53:32.933552"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3b5227d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_3b5227d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:53:32.936740"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.939223"], ["updated_at", "2014-09-19 19:53:32.939223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 19:53:32.941286"], ["updated_at", "2014-09-19 19:53:32.941286"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.946106"], ["updated_at", "2014-09-19 19:53:32.946106"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.947620"], ["updated_at", "2014-09-19 19:53:32.947620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_356fab59') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At distinctio ipsam corporis occaecati quis voluptas autem. Eum aut magni sit dolorum. Dicta quod repellendus ut. Assumenda maiores illo officia.\", \"Molestias tempore ipsam delectus commodi. Nulla nemo accusamus magni molestias debitis consectetur. Est impedit suscipit excepturi eveniet accusantium.\"]"], ["created_at", "2014-09-19 19:53:32.951270"], ["name", "contract_356fab59"], ["title", "Voluptas aut nihil."], ["updated_at", "2014-09-19 19:53:32.951270"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_356fab59"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_356fab59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:53:32.954562"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.957028"], ["updated_at", "2014-09-19 19:53:32.957028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 19:53:32.959153"], ["updated_at", "2014-09-19 19:53:32.959153"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.964809"], ["updated_at", "2014-09-19 19:53:32.964809"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.966325"], ["updated_at", "2014-09-19 19:53:32.966325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_650699b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam modi ab omnis dolor fugiat. Qui eos eligendi. Sit ut qui veniam ad qui. Architecto esse sit.\", \"Eius eum iure ab earum iste fuga sunt. Voluptas repellendus adipisci numquam. Maxime aut ea quam. Vitae laborum omnis temporibus sequi sint. Ad rem in assumenda velit tempore reprehenderit non.\"]"], ["created_at", "2014-09-19 19:53:32.969325"], ["name", "contract_650699b3"], ["title", "Quis repudiandae debitis dolor mollitia fugit."], ["updated_at", "2014-09-19 19:53:32.969325"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_650699b3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_650699b3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:53:32.972408"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:32.974823"], ["updated_at", "2014-09-19 19:53:32.974823"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 19:53:32.977248"], ["updated_at", "2014-09-19 19:53:32.977248"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate cumque et magni aspernatur rem. Nihil quisquam a tempore et eius. In molestiae ipsum velit ut blanditiis neque. Possimus sit et a harum magnam dolor minus.\", \"Culpa corporis velit inventore doloremque. Repellendus laborum earum quis. Velit expedita sed.\"]"], ["created_at", "2014-09-19 19:53:52.978731"], ["name", "alpha"], ["title", "Similique qui unde."], ["updated_at", "2014-09-19 19:53:52.978731"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:53:52.990171"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio accusamus aut quod architecto adipisci. Dolorum autem error animi. Harum autem ullam aut beatae voluptas. Non aliquid id.\", \"Cum placeat quaerat molestiae aut sed error possimus. Aperiam molestiae in. Repellat ullam est facere nisi et omnis. Voluptas est sed maiores vel. Dolor omnis voluptas fugit voluptatem et repellat.\"]"], ["created_at", "2014-09-19 19:53:52.996614"], ["name", "beta"], ["title", "Est minima dolores."], ["updated_at", "2014-09-19 19:53:52.996614"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:53:53.000187"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore rerum reiciendis cum doloremque qui qui. Autem quo sit deleniti eveniet qui. Et voluptatem molestiae odio voluptatem eum.\", \"Repellat omnis enim quia. Unde quisquam eos perspiciatis sequi. Omnis velit molestias ipsam voluptatibus odio delectus repudiandae.\"]"], ["created_at", "2014-09-19 19:53:53.004398"], ["name", "alpha"], ["title", "Maxime qui ab consequatur sint et corporis ut."], ["updated_at", "2014-09-19 19:53:53.004398"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:53:53.007988"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim iure doloribus quia. Est autem voluptatem voluptatibus. Assumenda facilis hic voluptas. Eius corporis facilis quam itaque nisi qui.\", \"Dicta ea quia ut. Sed iure ad. Odio consequuntur sunt animi sunt est. Eum quis vel laborum et.\"]"], ["created_at", "2014-09-19 19:53:53.011591"], ["name", "beta"], ["title", "Velit sint ipsam corporis blanditiis ducimus quidem excepturi."], ["updated_at", "2014-09-19 19:53:53.011591"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:53:53.015671"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae dolores enim. Dignissimos quidem iste. Tempore ut esse rerum voluptate. Deserunt ea ea molestias.\", \"Id laudantium nesciunt corporis quis fugit adipisci. Iure laboriosam delectus eos repellat impedit explicabo error. Sunt tempora minus maiores aliquid doloribus dicta et.\"]"], ["created_at", "2014-09-19 19:53:53.019856"], ["name", "alpha"], ["title", "Voluptatem dolorum eligendi molestiae omnis illum eaque."], ["updated_at", "2014-09-19 19:53:53.019856"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:53:53.023135"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero vitae unde quia aliquid aut expedita. Eius aut est non voluptatem omnis aut qui. Sed expedita blanditiis quae eos. Dolores provident eveniet perspiciatis cupiditate. Magnam repudiandae dolore neque.\", \"Ex nobis error nulla. Voluptatem in libero quia harum officiis dolorem minima. Et ipsa et. Modi et quia rerum maiores quia sunt recusandae.\"]"], ["created_at", "2014-09-19 19:53:53.026834"], ["name", "beta"], ["title", "Autem aut nihil et."], ["updated_at", "2014-09-19 19:53:53.026834"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:53:53.030136"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.034581"], ["updated_at", "2014-09-19 19:53:53.034581"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.038108"], ["updated_at", "2014-09-19 19:53:53.038108"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.050720"], ["updated_at", "2014-09-19 19:53:53.050720"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.052726"], ["updated_at", "2014-09-19 19:53:53.052726"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_d8b1bfde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo ut qui. Cupiditate saepe pariatur quis voluptatem et. Quod voluptatem corrupti sint iusto eligendi et numquam. Sint id quo error vel veritatis quia. Vero nisi laudantium corporis.\", \"Vitae tenetur veritatis. Placeat ut quis facilis quo veniam. Nulla quia ea sed amet earum aut quaerat. Iste distinctio molestiae autem ut facilis et.\"]"], ["created_at", "2014-09-19 19:53:53.059322"], ["name", "contract_d8b1bfde"], ["title", "Aut aut laboriosam ut enim sunt sequi molestiae."], ["updated_at", "2014-09-19 19:53:53.059322"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8b1bfde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d8b1bfde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:53:53.063140"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.069921"], ["updated_at", "2014-09-19 19:53:53.069921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:53:53.073101"], ["updated_at", "2014-09-19 19:53:53.073101"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d8b1bfde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8b1bfde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d8b1bfde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5b183028') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi et mollitia. Iure laborum quibusdam voluptas unde soluta nobis fugiat. Incidunt sit consequuntur inventore eos quia soluta.\", \"Optio dolorem ut. Sint sunt hic autem deleniti autem sit. Aliquam est ratione delectus.\"]"], ["created_at", "2014-09-19 19:53:53.085948"], ["name", "contract_5b183028"], ["title", "Itaque et aut cumque rerum quam tenetur velit."], ["updated_at", "2014-09-19 19:53:53.085948"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b183028"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_5b183028') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:53:53.090234"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5b183028' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi et mollitia. Iure laborum quibusdam voluptas unde soluta nobis fugiat. Incidunt sit consequuntur inventore eos quia soluta.\", \"Optio dolorem ut. Sint sunt hic autem deleniti autem sit. Aliquam est ratione delectus.\"]"], ["created_at", "2014-09-19 19:53:53.095904"], ["name", "joe"], ["title", "Itaque et aut cumque rerum quam tenetur velit."], ["updated_at", "2014-09-19 19:53:53.095904"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:53:53.101502"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_53add908') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque totam possimus molestiae praesentium quam. Eos culpa qui. Voluptatem quas quos ad officia exercitationem.\", \"Maxime deleniti earum et. Molestiae dolorem placeat porro beatae assumenda. Quisquam aut in. Non velit voluptatem dignissimos ullam repudiandae soluta.\"]"], ["created_at", "2014-09-19 19:53:53.107444"], ["name", "contract_53add908"], ["title", "Quas officiis molestias occaecati ratione exercitationem eum repellendus."], ["updated_at", "2014-09-19 19:53:53.107444"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_53add908"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_53add908') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:53:53.111166"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_53add908' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_53add908') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque totam possimus molestiae praesentium quam. Eos culpa qui. Voluptatem quas quos ad officia exercitationem.\", \"Maxime deleniti earum et. Molestiae dolorem placeat porro beatae assumenda. Quisquam aut in. Non velit voluptatem dignissimos ullam repudiandae soluta.\"]"], ["created_at", "2014-09-19 19:53:53.115033"], ["name", "contract_53add908"], ["title", "Quas officiis molestias occaecati ratione exercitationem eum repellendus."], ["updated_at", "2014-09-19 19:53:53.115033"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_53add908"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_53add908') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:53:53.117954"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_78cc8fb2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius aut facere sit ab reprehenderit minus. Quod nemo dolor voluptates sunt tempora. Rerum aut aut. Aut eaque non rem nisi.\", \"Odio eos ex. Non repellat eum. Non eum quasi eligendi. Iste voluptatem adipisci perspiciatis quis. Sed eum odit itaque magnam.\"]"], ["created_at", "2014-09-19 19:53:53.121588"], ["name", "contract_78cc8fb2"], ["title", "Asperiores officiis aspernatur et sed quibusdam autem."], ["updated_at", "2014-09-19 19:53:53.121588"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78cc8fb2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_78cc8fb2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:53:53.125660"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78cc8fb2"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78cc8fb2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_78cc8fb2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:53:53.130452"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f3a2ed41') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem occaecati voluptas eos consequuntur ut illum. Architecto accusantium perspiciatis quos suscipit. Aut accusamus dolorum et sit quod deleniti aliquam.\", \"Ad veniam qui asperiores veritatis quos. Rerum sunt in aut ad reprehenderit. Eligendi voluptatibus deleniti. Ipsa ratione dignissimos. Beatae aut dolores sit quis praesentium.\"]"], ["created_at", "2014-09-19 19:53:53.133974"], ["name", "contract_f3a2ed41"], ["title", "Et illum rerum est."], ["updated_at", "2014-09-19 19:53:53.133974"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction 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_63101425') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut in inventore debitis. Eius et exercitationem voluptas. Nobis ab voluptas est corporis. Deserunt error aut eos officiis laborum.\", \"Ea aliquid accusantium magnam ab culpa. Dolor vel pariatur assumenda iste quaerat. Porro deserunt et.\"]"], ["created_at", "2014-09-19 19:53:53.137794"], ["name", "contract_63101425"], ["title", "Sunt repudiandae magni."], ["updated_at", "2014-09-19 19:53:53.137794"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_63101425"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_63101425') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:53:53.140862"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.143330"], ["updated_at", "2014-09-19 19:53:53.143330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.148142"], ["updated_at", "2014-09-19 19:53:53.148142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.149579"], ["updated_at", "2014-09-19 19:53:53.149579"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2a3bfac5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum dolorem qui illum. Ipsa sint ea itaque incidunt quaerat. At maxime quia sit architecto. Et mollitia fugit ex dolor. Deserunt ducimus dolor.\", \"Voluptas ut quisquam et vel reiciendis voluptatem mollitia. Ut id qui sint voluptate ea. Fuga recusandae illo voluptatibus sequi at qui.\"]"], ["created_at", "2014-09-19 19:53:53.152626"], ["name", "contract_2a3bfac5"], ["title", "Sint laborum commodi voluptatibus recusandae quia reprehenderit et."], ["updated_at", "2014-09-19 19:53:53.152626"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2a3bfac5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_2a3bfac5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:53:53.156039"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.158733"], ["updated_at", "2014-09-19 19:53:53.158733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 19:53:53.160862"], ["updated_at", "2014-09-19 19:53:53.160862"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.167426"], ["updated_at", "2014-09-19 19:53:53.167426"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.169153"], ["updated_at", "2014-09-19 19:53:53.169153"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d4fe539e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio quia sed sunt at rerum. Aut harum non itaque et rerum. Voluptate quia quaerat. Necessitatibus alias unde eligendi delectus amet dolorem. Eius culpa ea autem voluptates.\", \"Voluptatem sit rerum explicabo cupiditate id aut. Voluptatibus suscipit dolorem assumenda minus. Voluptatem voluptatem voluptatem est. Et aut a voluptatem quod. Laudantium voluptatem omnis.\"]"], ["created_at", "2014-09-19 19:53:53.172179"], ["name", "contract_d4fe539e"], ["title", "Minus et ut temporibus deserunt assumenda qui."], ["updated_at", "2014-09-19 19:53:53.172179"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4fe539e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_d4fe539e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 19:53:53.175192"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.177590"], ["updated_at", "2014-09-19 19:53:53.177590"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 19:53:53.179579"], ["updated_at", "2014-09-19 19:53:53.179579"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.188196"], ["updated_at", "2014-09-19 19:53:53.188196"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.189716"], ["updated_at", "2014-09-19 19:53:53.189716"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_aa26fa75') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non asperiores aut neque provident error veritatis. Repellat ad voluptas tempore impedit. Fugit nihil eos culpa quo. Quasi officia qui. Incidunt rerum maxime dolor dolor architecto sed.\", \"Necessitatibus est perspiciatis est. Eius ut neque aut. Quibusdam quo totam autem vel. In voluptatem molestias quia. Aut atque possimus exercitationem quibusdam voluptatum aspernatur.\"]"], ["created_at", "2014-09-19 19:53:53.192830"], ["name", "contract_aa26fa75"], ["title", "Ut corporis et."], ["updated_at", "2014-09-19 19:53:53.192830"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa26fa75"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_aa26fa75') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:53:53.196031"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.198821"], ["updated_at", "2014-09-19 19:53:53.198821"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-19 19:53:53.201495"], ["updated_at", "2014-09-19 19:53:53.201495"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.206971"], ["updated_at", "2014-09-19 19:53:53.206971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.208438"], ["updated_at", "2014-09-19 19:53:53.208438"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2c9a669f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci illum et error esse id. Nobis nemo expedita autem. Eos est ullam doloremque blanditiis hic molestias. Ut excepturi sunt.\", \"Quas nostrum voluptatem sed sed qui. Repellendus nesciunt praesentium. Consectetur voluptatem accusamus aperiam dolorem quia aspernatur.\"]"], ["created_at", "2014-09-19 19:53:53.211328"], ["name", "contract_2c9a669f"], ["title", "Est ea voluptatibus nihil incidunt animi voluptates."], ["updated_at", "2014-09-19 19:53:53.211328"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2c9a669f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_2c9a669f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:53:53.214315"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.216828"], ["updated_at", "2014-09-19 19:53:53.216828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-19 19:53:53.218956"], ["updated_at", "2014-09-19 19:53:53.218956"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.223419"], ["updated_at", "2014-09-19 19:53:53.223419"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.224970"], ["updated_at", "2014-09-19 19:53:53.224970"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_beea3687') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus rem occaecati voluptatum consequatur. Dicta delectus et totam aut velit. Quis est placeat velit. Adipisci repellendus vitae aut. Debitis neque minima.\", \"Ullam qui provident. Molestiae facere enim accusantium. Nemo cupiditate ad voluptas voluptatem est veniam. Exercitationem delectus est unde et qui quia.\"]"], ["created_at", "2014-09-19 19:53:53.227624"], ["name", "contract_beea3687"], ["title", "Itaque dignissimos qui numquam inventore assumenda."], ["updated_at", "2014-09-19 19:53:53.227624"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.233891"], ["updated_at", "2014-09-19 19:53:53.233891"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.235377"], ["updated_at", "2014-09-19 19:53:53.235377"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_324a1180') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex non et non voluptatem vero occaecati dolorem. Rem hic quidem nobis deserunt magnam. Voluptatum consequatur ab iste itaque voluptates.\", \"Minima quia temporibus earum. Quidem sed suscipit qui facere sapiente. Necessitatibus nobis ex id molestias ut et est.\"]"], ["created_at", "2014-09-19 19:53:53.238489"], ["name", "contract_324a1180"], ["title", "Quia quae possimus error sit molestiae quasi."], ["updated_at", "2014-09-19 19:53:53.238489"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_324a1180"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_324a1180') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:53:53.241933"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.247052"], ["updated_at", "2014-09-19 19:53:53.247052"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.248631"], ["updated_at", "2014-09-19 19:53:53.248631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_25e3394c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut ut sint tempora officia ut officiis hic. Harum sed neque. Eum ullam totam nobis. Perspiciatis fugiat magni esse nulla in aut.\", \"Tempora veritatis dolore. Qui illum eligendi deleniti. Unde nulla id illo doloremque in. Recusandae rerum et hic quis.\"]"], ["created_at", "2014-09-19 19:53:53.251242"], ["name", "contract_25e3394c"], ["title", "Id occaecati ipsam nihil."], ["updated_at", "2014-09-19 19:53:53.251242"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.255510"], ["updated_at", "2014-09-19 19:53:53.255510"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.257004"], ["updated_at", "2014-09-19 19:53:53.257004"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5bc79981') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit optio fugit quo. Consequatur et unde veniam est accusamus provident. Soluta necessitatibus adipisci totam tempora. Sunt repellendus voluptatem consequatur nam rem architecto.\", \"Quo vitae omnis maiores et aspernatur laudantium. Velit odit sed possimus. Sint reprehenderit atque suscipit quam voluptas sed. Sed aut harum aspernatur. Qui aliquid quos.\"]"], ["created_at", "2014-09-19 19:53:53.259756"], ["name", "contract_5bc79981"], ["title", "Voluptatem beatae molestiae fugit expedita."], ["updated_at", "2014-09-19 19:53:53.259756"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.265463"], ["updated_at", "2014-09-19 19:53:53.265463"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.266957"], ["updated_at", "2014-09-19 19:53:53.266957"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_24bfbf87') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis reprehenderit placeat quasi. Architecto velit aperiam sit voluptas voluptatem quis. Consequuntur tenetur rerum alias voluptate. Sapiente sequi qui sed voluptas error eveniet. Molestiae saepe nisi deserunt officia libero.\", \"Quisquam qui corporis ab. Cupiditate et rerum. Cum consequuntur tempora officiis qui non.\"]"], ["created_at", "2014-09-19 19:53:53.270076"], ["name", "contract_24bfbf87"], ["title", "Quam voluptatem laboriosam rerum."], ["updated_at", "2014-09-19 19:53:53.270076"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24bfbf87"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_24bfbf87') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 19:53:53.273988"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_24bfbf87' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.280895"], ["updated_at", "2014-09-19 19:53:53.280895"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.282541"], ["updated_at", "2014-09-19 19:53:53.282541"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ed6173ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis ut hic fugit laudantium dolorem vitae. Sint vel similique molestiae soluta quidem amet. Aut voluptatem ea doloremque ut autem.\", \"Et atque possimus eum aut omnis dignissimos officiis. Eveniet culpa alias saepe sed ut consequuntur. Vel qui quibusdam quos itaque inventore impedit fugit.\"]"], ["created_at", "2014-09-19 19:53:53.285144"], ["name", "contract_ed6173ba"], ["title", "Quisquam libero odit cum et reiciendis inventore minima."], ["updated_at", "2014-09-19 19:53:53.285144"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ed6173ba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_ed6173ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:53:53.288613"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ed6173ba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_ed6173ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:53:53.294147"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.298233"], ["updated_at", "2014-09-19 19:53:53.298233"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.299572"], ["updated_at", "2014-09-19 19:53:53.299572"]]  (0.4ms) commit transaction  (0.1ms) begin transaction 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_c78ce055') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur et et nesciunt veritatis maiores accusamus. Enim impedit odio ut voluptas fugit quae et. Voluptatem ab rerum aut ut. Ipsum quaerat saepe quia.\", \"Sed consequuntur vel aut. Inventore ut autem minus ea aut delectus. Sit animi ratione aperiam dolore. Itaque aperiam accusantium fuga quia maiores.\"]"], ["created_at", "2014-09-19 19:53:53.302663"], ["name", "contract_c78ce055"], ["title", "Illo dolor repudiandae dignissimos et odit."], ["updated_at", "2014-09-19 19:53:53.302663"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.309456"], ["updated_at", "2014-09-19 19:53:53.309456"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.310987"], ["updated_at", "2014-09-19 19:53:53.310987"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7a998f67') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur ullam consequatur unde. Dolorum reiciendis aliquid animi officiis quia. In nihil sint. Magnam incidunt ut similique eius. Architecto ipsum veritatis dolor.\", \"Eos numquam ut laboriosam ipsam. Laborum dolorem at ipsa facere. Praesentium omnis doloribus.\"]"], ["created_at", "2014-09-19 19:53:53.313603"], ["name", "contract_7a998f67"], ["title", "Iure assumenda qui aut aspernatur."], ["updated_at", "2014-09-19 19:53:53.313603"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 26]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 26]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 26 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.321720"], ["updated_at", "2014-09-19 19:53:53.321720"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.323357"], ["updated_at", "2014-09-19 19:53:53.323357"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c3f87aaf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut omnis nihil maiores perferendis fuga veniam. Quia vero eligendi. Sint distinctio error labore voluptates. Dolores voluptatem eos modi aut natus. Est omnis ut alias reprehenderit officia.\", \"Quod ullam natus qui inventore aspernatur magni. Rem eaque similique. Qui omnis eum. Quam dicta veritatis occaecati id.\"]"], ["created_at", "2014-09-19 19:53:53.325928"], ["name", "contract_c3f87aaf"], ["title", "Deserunt voluptatem ea."], ["updated_at", "2014-09-19 19:53:53.325928"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.331349"], ["updated_at", "2014-09-19 19:53:53.331349"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.332792"], ["updated_at", "2014-09-19 19:53:53.332792"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6fd27b1c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sed architecto numquam sed veritatis. Dolorem quia molestias omnis porro recusandae adipisci. Facilis inventore aperiam voluptatum. Iusto doloribus molestias.\", \"Maxime iure asperiores ut ut quia. Corporis fuga laudantium omnis molestiae at. Voluptatem error et. Et non aperiam nulla expedita voluptates quia repellendus.\"]"], ["created_at", "2014-09-19 19:53:53.335283"], ["name", "contract_6fd27b1c"], ["title", "Praesentium consequatur ad vero rerum quisquam impedit quod."], ["updated_at", "2014-09-19 19:53:53.335283"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:53:53.338940"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:53:53.338940"]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts/29 Completed 302 Found in 3ms (ActiveRecord: 1.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.343044"], ["updated_at", "2014-09-19 19:53:53.343044"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.344938"], ["updated_at", "2014-09-19 19:53:53.344938"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_b66be9aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid quidem nihil ut officia reprehenderit et aut. Ipsum sed nemo consequuntur blanditiis quaerat explicabo rerum. Optio saepe et est quasi ipsum similique. Numquam repellat cum distinctio. A et eius.\", \"Eius natus ducimus dolor. Quia dolor aut sed dolorem eveniet. Illo qui assumenda similique et nihil. Illo ut dolore et modi rerum. Non delectus impedit.\"]"], ["created_at", "2014-09-19 19:53:53.347914"], ["name", "contract_b66be9aa"], ["title", "Qui ut repellendus quidem veritatis facere ipsam molestiae."], ["updated_at", "2014-09-19 19:53:53.347914"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 23, 21, 15, 18, 20, 11, 10, 8, 22, 14, 28, 12, 17, 30, 19, 27, 25, 16, 7, 24, 13, 9, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 12ms (Views: 4.8ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.363918"], ["updated_at", "2014-09-19 19:53:53.363918"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.365634"], ["updated_at", "2014-09-19 19:53:53.365634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_29cd56e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique optio suscipit aut omnis rem. Esse mollitia quo enim fugiat reiciendis. Assumenda alias sint at neque repudiandae quia.\", \"Cumque blanditiis voluptas. Dignissimos quo quos. Et maxime quas aliquid.\"]"], ["created_at", "2014-09-19 19:53:53.368286"], ["name", "contract_29cd56e3"], ["title", "Dolorum qui dolore sapiente harum."], ["updated_at", "2014-09-19 19:53:53.368286"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.373621"], ["updated_at", "2014-09-19 19:53:53.373621"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.375223"], ["updated_at", "2014-09-19 19:53:53.375223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c8cbec93') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea eius officiis. Optio adipisci ut dignissimos maiores. Mollitia voluptatem quia est perspiciatis sit aspernatur.\", \"Hic qui voluptas ut. Voluptate rerum deserunt dolorem. In qui sit maiores ut possimus omnis voluptas. Magni voluptatem sed cumque voluptatem qui.\"]"], ["created_at", "2014-09-19 19:53:53.377807"], ["name", "contract_c8cbec93"], ["title", "Quisquam aut eligendi quam velit."], ["updated_at", "2014-09-19 19:53:53.377807"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.384351"], ["updated_at", "2014-09-19 19:53:53.384351"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.385770"], ["updated_at", "2014-09-19 19:53:53.385770"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d5711eb9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate quod ducimus in. Aut voluptas deleniti alias est quo deserunt architecto. Illum reiciendis explicabo nisi.\", \"Tempore aut aut et excepturi voluptates ut harum. Facere minima et reprehenderit quae. Dolore libero et. Molestiae tenetur et quas soluta dolor aut.\"]"], ["created_at", "2014-09-19 19:53:53.388291"], ["name", "contract_d5711eb9"], ["title", "Voluptatum qui perferendis dolor eos quasi autem."], ["updated_at", "2014-09-19 19:53:53.388291"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.392476"], ["updated_at", "2014-09-19 19:53:53.392476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.393932"], ["updated_at", "2014-09-19 19:53:53.393932"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9dd1530d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero id nesciunt autem sit a dolor praesentium. Nihil quas vero excepturi magni suscipit minus velit. Consequuntur voluptas ea deserunt numquam ipsam. Quia corporis ea quia harum est.\", \"Laudantium debitis quas. Aspernatur perferendis aliquid et. Quis incidunt debitis dolor iure. Provident fuga dolorum quae aut. Quidem quod voluptas.\"]"], ["created_at", "2014-09-19 19:53:53.396535"], ["name", "contract_9dd1530d"], ["title", "Similique hic consequuntur voluptas rem facere qui."], ["updated_at", "2014-09-19 19:53:53.396535"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.400854"], ["updated_at", "2014-09-19 19:53:53.400854"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.403148"], ["updated_at", "2014-09-19 19:53:53.403148"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_a8dd5952') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam assumenda minus. A sed voluptatibus. Suscipit minima cum atque animi tempore. Exercitationem libero delectus provident accusamus quasi neque.\", \"Magni quisquam consequatur enim voluptas. Esse ut eligendi natus aut et. Nostrum alias repellendus veniam nihil earum. Laudantium dicta quaerat nam nisi et voluptatum.\"]"], ["created_at", "2014-09-19 19:53:53.406256"], ["name", "contract_a8dd5952"], ["title", "Ex illum cumque quo quia quaerat nostrum sed."], ["updated_at", "2014-09-19 19:53:53.406256"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a8dd5952"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_a8dd5952') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:53:53.411340"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.415448"], ["updated_at", "2014-09-19 19:53:53.415448"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.417105"], ["updated_at", "2014-09-19 19:53:53.417105"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_806e2730') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda enim animi molestiae voluptas et. Voluptate incidunt necessitatibus accusantium. Suscipit quis omnis sint. Iste in hic. In eligendi veritatis deleniti qui aspernatur.\", \"Quis et soluta possimus rerum et. Sequi odio animi aut doloribus ut vel. Sunt excepturi et deserunt nihil illo enim delectus. Aut ex culpa repellendus nesciunt corporis nobis. Eveniet accusantium est.\"]"], ["created_at", "2014-09-19 19:53:53.419599"], ["name", "contract_806e2730"], ["title", "Consequuntur nobis sed debitis non voluptates nesciunt accusamus."], ["updated_at", "2014-09-19 19:53:53.419599"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_806e2730"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_806e2730') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:53:53.422954"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.428514"], ["updated_at", "2014-09-19 19:53:53.428514"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:53:53.430048"], ["updated_at", "2014-09-19 19:53:53.430048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5b535dda') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita cumque dicta aperiam ea et quia ad. Optio laudantium voluptatibus velit. Ratione aut rerum ut quas dolores.\", \"Sit exercitationem voluptatibus nisi eligendi iure dolorem. Quam facere ipsum distinctio incidunt quia. Distinctio magnam iure.\"]"], ["created_at", "2014-09-19 19:53:53.432619"], ["name", "contract_5b535dda"], ["title", "Eos autem optio veniam."], ["updated_at", "2014-09-19 19:53:53.432619"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.683155"], ["updated_at", "2014-09-19 19:54:28.683155"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.697427"], ["updated_at", "2014-09-19 19:54:28.697427"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.712666"], ["updated_at", "2014-09-19 19:54:28.712666"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.714334"], ["updated_at", "2014-09-19 19:54:28.714334"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure fugit ea voluptate rerum aliquam totam at. Voluptatem ut harum numquam voluptatem voluptas iure asperiores. Vero modi aut impedit iste et quod est. Quibusdam in sint. Voluptas sed itaque deserunt.\", \"Doloribus placeat illum et aliquid ex. Est recusandae beatae. Accusamus ut sunt quia nisi consequatur iste delectus. Voluptas similique doloribus.\"]"], ["created_at", "2014-09-19 19:54:28.939525"], ["name", "alpha"], ["title", "Quasi recusandae pariatur consectetur eius fugit praesentium iure."], ["updated_at", "2014-09-19 19:54:28.939525"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:54:28.951100"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et unde at ut earum sit. Ab consectetur aut numquam. Quos voluptates exercitationem distinctio.\", \"Pariatur odio dolorem itaque sapiente blanditiis et quaerat. Qui commodi ea et eaque dolor. Reiciendis eos amet. Dolorem dignissimos tempore eos debitis. Veniam aut est fugit deleniti saepe natus.\"]"], ["created_at", "2014-09-19 19:54:28.957379"], ["name", "beta"], ["title", "Fugit iure aut iusto debitis et."], ["updated_at", "2014-09-19 19:54:28.957379"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:54:28.960562"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium consectetur enim vel. Sapiente harum et suscipit rerum voluptatem nisi aspernatur. Voluptatem neque voluptate qui recusandae. Quis eligendi et cumque beatae. Quas est enim dolorum velit esse.\", \"Sint velit molestias necessitatibus eos labore occaecati. Aut dicta nihil ea qui qui. Tempora minus totam. Eum quasi ut.\"]"], ["created_at", "2014-09-19 19:54:28.964842"], ["name", "alpha"], ["title", "Natus aut ullam."], ["updated_at", "2014-09-19 19:54:28.964842"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:54:28.968816"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore vel earum quo sint. Consequatur possimus aut. Dolorem nesciunt voluptas cupiditate veniam voluptatibus. Ullam enim et rerum illum laudantium deleniti deserunt.\", \"Non vel nisi quo omnis sunt. Quo consequatur nisi facere. Ex incidunt unde dolore dolor.\"]"], ["created_at", "2014-09-19 19:54:28.972514"], ["name", "beta"], ["title", "Nihil iusto accusantium sunt itaque molestias beatae."], ["updated_at", "2014-09-19 19:54:28.972514"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:54:28.975602"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore architecto totam suscipit officiis possimus. Deleniti et qui et est in. Est quam magni. Ad corporis odio sapiente illo.\", \"Animi veniam exercitationem porro modi. Voluptatum eius doloribus inventore illum. Incidunt exercitationem omnis voluptatem quia voluptatem atque.\"]"], ["created_at", "2014-09-19 19:54:28.979622"], ["name", "alpha"], ["title", "Vero dolores eligendi et maiores voluptatem."], ["updated_at", "2014-09-19 19:54:28.979622"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:54:28.983500"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit odio illo aut. Et eum assumenda culpa nobis corporis similique molestiae. Et autem eaque. Voluptas quod quia aspernatur.\", \"Harum tempore necessitatibus. Eum et qui corporis omnis. In alias blanditiis sint et earum aut. Reiciendis quidem dolorem reprehenderit velit.\"]"], ["created_at", "2014-09-19 19:54:28.986970"], ["name", "beta"], ["title", "Temporibus sint et omnis similique et quas."], ["updated_at", "2014-09-19 19:54:28.986970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:54:28.990057"], ["version", 3]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.994340"], ["updated_at", "2014-09-19 19:54:28.994340"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:28.996239"], ["updated_at", "2014-09-19 19:54:28.996239"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5825cc41') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates tenetur voluptatibus consequatur nihil. Blanditiis aut at cupiditate. Occaecati qui aut. Odit hic mollitia sint voluptatem qui cumque nemo.\", \"Maiores debitis libero quam explicabo architecto sint. Aspernatur et delectus sit. Id veniam beatae consequatur. Perferendis minus voluptas ut rem quasi et. Et et non voluptas voluptatibus dignissimos nemo.\"]"], ["created_at", "2014-09-19 19:54:28.999864"], ["name", "contract_5825cc41"], ["title", "Nobis corrupti voluptate aperiam autem rerum debitis."], ["updated_at", "2014-09-19 19:54:28.999864"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5825cc41"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_5825cc41') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:54:29.003102"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.007537"], ["updated_at", "2014-09-19 19:54:29.007537"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:54:29.011390"], ["updated_at", "2014-09-19 19:54:29.011390"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.021161"], ["updated_at", "2014-09-19 19:54:29.021161"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.022841"], ["updated_at", "2014-09-19 19:54:29.022841"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f6afdd2f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur veritatis consequatur. Corrupti saepe omnis repellat voluptatem itaque architecto. Quia voluptas accusantium veniam similique quo.\", \"Non minima velit unde voluptatem doloremque ut aut. Dolore sunt repellendus veritatis quibusdam ipsam. Quo quae possimus fugit ut temporibus.\"]"], ["created_at", "2014-09-19 19:54:29.025949"], ["name", "contract_f6afdd2f"], ["title", "Soluta possimus dolor."], ["updated_at", "2014-09-19 19:54:29.025949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6afdd2f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_f6afdd2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:54:29.029430"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.032125"], ["updated_at", "2014-09-19 19:54:29.032125"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 19:54:29.034498"], ["updated_at", "2014-09-19 19:54:29.034498"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.045585"], ["updated_at", "2014-09-19 19:54:29.045585"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.047277"], ["updated_at", "2014-09-19 19:54:29.047277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ac25bb76') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt quia recusandae. Ea placeat consequatur dolor vel qui totam soluta. Non itaque consequuntur animi excepturi tenetur illum molestias. Nam omnis doloribus qui.\", \"Ad quia quas doloremque sed. Provident sint necessitatibus. Dolor ut in explicabo. Id perferendis at provident enim.\"]"], ["created_at", "2014-09-19 19:54:29.050292"], ["name", "contract_ac25bb76"], ["title", "Voluptate et sequi voluptas pariatur aut."], ["updated_at", "2014-09-19 19:54:29.050292"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ac25bb76"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_ac25bb76') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:54:29.053408"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.055942"], ["updated_at", "2014-09-19 19:54:29.055942"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 19:54:29.058288"], ["updated_at", "2014-09-19 19:54:29.058288"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.065046"], ["updated_at", "2014-09-19 19:54:29.065046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.066734"], ["updated_at", "2014-09-19 19:54:29.066734"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_359ed8df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptates nesciunt perspiciatis et iusto velit. Autem omnis enim quos. Asperiores itaque molestiae. Quos rerum enim neque. Eum corrupti consequatur et et.\", \"Cumque non repellat et nihil blanditiis ea quas. Fugit voluptates modi. Beatae excepturi earum possimus nostrum aut vel.\"]"], ["created_at", "2014-09-19 19:54:29.070585"], ["name", "contract_359ed8df"], ["title", "Incidunt sed voluptas numquam ad."], ["updated_at", "2014-09-19 19:54:29.070585"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_359ed8df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_359ed8df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:54:29.073986"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.076654"], ["updated_at", "2014-09-19 19:54:29.076654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 19:54:29.078846"], ["updated_at", "2014-09-19 19:54:29.078846"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.085337"], ["updated_at", "2014-09-19 19:54:29.085337"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.086788"], ["updated_at", "2014-09-19 19:54:29.086788"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_9b0c0299') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt sit et labore est fugit necessitatibus in. Ipsam maxime et recusandae at sit perspiciatis. In quo minus fugit illum sed.\", \"Vitae aliquid quam ut. Numquam voluptatem et. Sit et sapiente veritatis et.\"]"], ["created_at", "2014-09-19 19:54:29.090684"], ["name", "contract_9b0c0299"], ["title", "Laborum aut quis sed ea laboriosam eveniet."], ["updated_at", "2014-09-19 19:54:29.090684"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.101349"], ["updated_at", "2014-09-19 19:54:29.101349"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.103122"], ["updated_at", "2014-09-19 19:54:29.103122"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47afd394') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia quod ut vero. Quia architecto iste commodi nemo quibusdam odio. Blanditiis magnam laudantium voluptatem soluta atque tempore quae. Ipsum nemo et nihil numquam veritatis non provident.\", \"Similique officia et ex earum. Iusto hic nihil odit. In harum inventore ratione voluptatibus architecto.\"]"], ["created_at", "2014-09-19 19:54:29.105769"], ["name", "contract_47afd394"], ["title", "Amet omnis voluptatum odio cum."], ["updated_at", "2014-09-19 19:54:29.105769"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.110554"], ["updated_at", "2014-09-19 19:54:29.110554"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.112421"], ["updated_at", "2014-09-19 19:54:29.112421"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ca7645d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum sit veniam atque. Qui vero sit. Et quasi sint ab. Illum nemo vitae tenetur asperiores ratione. Autem possimus velit ad velit consequatur quam.\", \"Ullam vel recusandae tempora ut. Odio et dolorum reiciendis dolores quos eum. At alias voluptates. Omnis voluptas unde.\"]"], ["created_at", "2014-09-19 19:54:29.115507"], ["name", "contract_ca7645d9"], ["title", "Porro cum veniam deserunt sunt."], ["updated_at", "2014-09-19 19:54:29.115507"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ca7645d9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_ca7645d9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:54:29.119341"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ca7645d9' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.126518"], ["updated_at", "2014-09-19 19:54:29.126518"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.128079"], ["updated_at", "2014-09-19 19:54:29.128079"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21b6095d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci id harum sit quam. Et sit aut. Ex molestiae ducimus veritatis incidunt dolor. Ut sint dolor.\", \"Quis repudiandae porro itaque et distinctio assumenda. Non atque tenetur at harum. Molestiae ut nulla non. Occaecati modi nulla quas. Eius omnis excepturi.\"]"], ["created_at", "2014-09-19 19:54:29.130654"], ["name", "contract_21b6095d"], ["title", "Quia aperiam odio recusandae culpa dolores saepe."], ["updated_at", "2014-09-19 19:54:29.130654"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.135167"], ["updated_at", "2014-09-19 19:54:29.135167"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.136922"], ["updated_at", "2014-09-19 19:54:29.136922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_85388533') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus earum officia maiores blanditiis ut et sit. Explicabo iste et fuga et. Sit sapiente nesciunt qui maiores est id maxime.\", \"Est deleniti nobis earum nemo omnis. Odit numquam quaerat eaque. Eos doloribus non nobis illum omnis in enim. Aut maiores sit quae tenetur. Ut neque quia perspiciatis praesentium ea sequi.\"]"], ["created_at", "2014-09-19 19:54:29.139646"], ["name", "contract_85388533"], ["title", "Corrupti quo vel error id inventore neque et."], ["updated_at", "2014-09-19 19:54:29.139646"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_85388533"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_85388533') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:54:29.143392"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.148526"], ["updated_at", "2014-09-19 19:54:29.148526"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.150131"], ["updated_at", "2014-09-19 19:54:29.150131"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8a688364') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos sed id repellendus repudiandae deleniti. Voluptas inventore excepturi. Dignissimos et asperiores. Et aspernatur in quos eaque.\", \"Occaecati ut unde ipsa. Quod tempore quia. Sit corporis quaerat et. Est eum nisi. Qui alias quae.\"]"], ["created_at", "2014-09-19 19:54:29.152873"], ["name", "contract_8a688364"], ["title", "Eum quia optio et."], ["updated_at", "2014-09-19 19:54:29.152873"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.158251"], ["updated_at", "2014-09-19 19:54:29.158251"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.159716"], ["updated_at", "2014-09-19 19:54:29.159716"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3b073650') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae nesciunt doloribus dolores optio ut. Qui minima voluptatum. Error rem impedit ex enim id.\", \"Occaecati eveniet animi omnis. Ipsam quis unde. Iure voluptas ipsam qui sit. Sint voluptas architecto consequuntur nihil nobis nemo.\"]"], ["created_at", "2014-09-19 19:54:29.162277"], ["name", "contract_3b073650"], ["title", "Minus ad ut cum laborum qui nobis."], ["updated_at", "2014-09-19 19:54:29.162277"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.166297"], ["updated_at", "2014-09-19 19:54:29.166297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.167828"], ["updated_at", "2014-09-19 19:54:29.167828"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_6906a350') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sed pariatur consequatur ipsam ad. Non qui laboriosam atque. Rerum et dolor aut qui laudantium. Neque voluptatum nesciunt. Dolor aut libero facilis vero sit.\", \"Corporis ducimus dolor architecto quod. Ex deserunt commodi quis. Modi aut dolorem fuga sequi voluptatem deserunt tenetur.\"]"], ["created_at", "2014-09-19 19:54:29.170540"], ["name", "contract_6906a350"], ["title", "Harum fuga quam repudiandae molestiae aperiam."], ["updated_at", "2014-09-19 19:54:29.170540"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:54:29.174455"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:54:29.174455"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/19 Completed 302 Found in 4ms (ActiveRecord: 1.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.180278"], ["updated_at", "2014-09-19 19:54:29.180278"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.182189"], ["updated_at", "2014-09-19 19:54:29.182189"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e456a762') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi aut ullam cumque possimus blanditiis. Quo rem a. Similique fuga voluptatem et et. Ea aliquam omnis in perspiciatis quos saepe deserunt. Accusamus quidem aliquam.\", \"Aliquid modi magnam vitae repudiandae aliquam officia quia. Aut qui sit. Molestias dolore qui. Velit at dolorum cumque natus aliquam.\"]"], ["created_at", "2014-09-19 19:54:29.185123"], ["name", "contract_e456a762"], ["title", "Repellat tempore autem."], ["updated_at", "2014-09-19 19:54:29.185123"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.191046"], ["updated_at", "2014-09-19 19:54:29.191046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.192533"], ["updated_at", "2014-09-19 19:54:29.192533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_25c24bfb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio quaerat explicabo soluta maiores rem rerum. Corrupti illo quam maxime repudiandae. Reiciendis sunt blanditiis sunt soluta.\", \"Et illo velit quaerat ut. Non facere quae odit ipsam ut quidem magnam. Sed nihil cumque laudantium ratione enim aliquid provident.\"]"], ["created_at", "2014-09-19 19:54:29.195060"], ["name", "contract_25c24bfb"], ["title", "Laboriosam qui dolore ipsum ipsa voluptatem illum."], ["updated_at", "2014-09-19 19:54:29.195060"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 14, 21, 10, 17, 12, 7, 18, 15, 16, 11, 9, 13, 20, 8, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.205286"], ["updated_at", "2014-09-19 19:54:29.205286"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.207051"], ["updated_at", "2014-09-19 19:54:29.207051"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ab405bc2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione est est ex numquam sint. Id officiis rerum voluptates distinctio mollitia omnis et. Quam fugit et dicta.\", \"Eos ducimus quod voluptas. Sit et illum voluptatem. At dignissimos illo magnam provident dicta recusandae veritatis. Esse id modi qui dolor. Distinctio ipsa aut.\"]"], ["created_at", "2014-09-19 19:54:29.209949"], ["name", "contract_ab405bc2"], ["title", "Sint numquam quis."], ["updated_at", "2014-09-19 19:54:29.209949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.220936"], ["updated_at", "2014-09-19 19:54:29.220936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.222553"], ["updated_at", "2014-09-19 19:54:29.222553"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_e33deb6b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In accusantium perferendis nihil. Odit quod at sequi qui excepturi est voluptas. Et molestiae quo iste aspernatur.\", \"Deserunt perferendis voluptatem sunt. Quidem suscipit facere modi dolorem omnis amet. Praesentium odit distinctio quia vel consequatur non enim.\"]"], ["created_at", "2014-09-19 19:54:29.225022"], ["name", "contract_e33deb6b"], ["title", "Aut autem pariatur aut."], ["updated_at", "2014-09-19 19:54:29.225022"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.233841"], ["updated_at", "2014-09-19 19:54:29.233841"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.235377"], ["updated_at", "2014-09-19 19:54:29.235377"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1442671d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi facere ut. Aut neque voluptas nostrum in. Aut est ad fugiat iure sit unde. Exercitationem quasi ut illo.\", \"Quia voluptates tempore. Laborum ipsum eum autem. Nostrum aliquid alias ab et consequatur. Maiores aperiam qui perferendis et et distinctio. Nemo et in atque.\"]"], ["created_at", "2014-09-19 19:54:29.238077"], ["name", "contract_1442671d"], ["title", "Facilis dignissimos repellat."], ["updated_at", "2014-09-19 19:54:29.238077"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.242601"], ["updated_at", "2014-09-19 19:54:29.242601"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.244134"], ["updated_at", "2014-09-19 19:54:29.244134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_22bbe2ee') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel repellendus aliquid perferendis unde. Quia necessitatibus corrupti nihil. Et voluptatum in. Natus veritatis et. Necessitatibus quo sit.\", \"Consectetur aperiam minima dolor est facilis sed. Dolores dicta totam deleniti. Qui reiciendis ut sed ex.\"]"], ["created_at", "2014-09-19 19:54:29.246704"], ["name", "contract_22bbe2ee"], ["title", "Quo debitis eaque aut praesentium."], ["updated_at", "2014-09-19 19:54:29.246704"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.251763"], ["updated_at", "2014-09-19 19:54:29.251763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.253219"], ["updated_at", "2014-09-19 19:54:29.253219"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_40f758f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam occaecati consequatur enim. Est atque adipisci et illo recusandae totam quis. Doloremque autem ducimus dicta suscipit. Consequatur ex vel fugiat dolorem ducimus. Omnis rerum dolorem unde.\", \"Eos nesciunt molestias. Qui consequatur enim fugiat perspiciatis assumenda. Et ut minus nobis.\"]"], ["created_at", "2014-09-19 19:54:29.255994"], ["name", "contract_40f758f8"], ["title", "Repudiandae ea qui aliquid."], ["updated_at", "2014-09-19 19:54:29.255994"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.261640"], ["updated_at", "2014-09-19 19:54:29.261640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.263188"], ["updated_at", "2014-09-19 19:54:29.263188"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b15a0d01') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate voluptatibus quis eaque dignissimos reiciendis ut est. Et asperiores odit quidem adipisci iusto odio. Illo architecto ut deleniti. Unde sed distinctio nisi. Dolorum vel iure est maiores.\", \"Pariatur id velit. Deleniti id ratione natus modi libero. Ut vel consectetur eos in. Dignissimos quod beatae laudantium magnam.\"]"], ["created_at", "2014-09-19 19:54:29.265789"], ["name", "contract_b15a0d01"], ["title", "Quo quibusdam enim eaque libero."], ["updated_at", "2014-09-19 19:54:29.265789"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b15a0d01"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_b15a0d01') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:54:29.270552"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.274501"], ["updated_at", "2014-09-19 19:54:29.274501"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.276079"], ["updated_at", "2014-09-19 19:54:29.276079"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3e2bf572') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab at voluptatibus quas quaerat ad nesciunt. Ut et aliquam blanditiis est sit. Neque ratione minus fugit recusandae cum. Nobis possimus illo neque sit.\", \"Quibusdam quis labore. Totam dicta quo voluptatibus. Necessitatibus ea impedit.\"]"], ["created_at", "2014-09-19 19:54:29.278656"], ["name", "contract_3e2bf572"], ["title", "Occaecati impedit dolor et ab rerum."], ["updated_at", "2014-09-19 19:54:29.278656"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e2bf572"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_3e2bf572') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:54:29.282299"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e2bf572"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_3e2bf572') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:54:29.287732"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.291889"], ["updated_at", "2014-09-19 19:54:29.291889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.293398"], ["updated_at", "2014-09-19 19:54:29.293398"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_814aca70') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque ex cumque explicabo dolorem mollitia. Sed et perspiciatis. Deleniti exercitationem labore. Sint ad officiis rerum.\", \"Quia consequatur qui est consequatur quam ratione. Voluptates et consequuntur itaque sapiente facere molestias voluptas. Quidem cum ex provident eum perferendis accusantium totam.\"]"], ["created_at", "2014-09-19 19:54:29.296331"], ["name", "contract_814aca70"], ["title", "Fugit omnis cupiditate numquam molestiae temporibus voluptas."], ["updated_at", "2014-09-19 19:54:29.296331"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_814aca70"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_814aca70') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 19:54:29.301125"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction 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_38e21d97') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae ipsum tempora aliquid qui dolore. Et error dolorum. Et maiores esse accusamus beatae impedit.\", \"Laboriosam quis eaque sit quae ea ut cumque. Voluptatem ullam sed natus. Iure itaque voluptates.\"]"], ["created_at", "2014-09-19 19:54:29.311046"], ["name", "contract_38e21d97"], ["title", "Aliquam ut tempora vel fuga qui."], ["updated_at", "2014-09-19 19:54:29.311046"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_38e21d97"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_38e21d97') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:54:29.315394"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_38e21d97"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_38e21d97"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_38e21d97') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:54:29.320362"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_48e881fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione ab cupiditate dolor soluta sunt voluptatem. Ad sed vel aliquam provident. Deleniti minima aut quis reiciendis totam modi id. Nihil nostrum quasi accusantium a qui qui. Et sunt non quibusdam molestiae.\", \"Vero pariatur ut ducimus. Ad voluptatibus pariatur ut consectetur ea consequatur odit. Corrupti quis eveniet eum. Consequatur aut quae sit ut non aut. Aut totam quis.\"]"], ["created_at", "2014-09-19 19:54:29.323840"], ["name", "contract_48e881fb"], ["title", "Officia voluptatum nobis aut modi error."], ["updated_at", "2014-09-19 19:54:29.323840"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_48e881fb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_48e881fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:54:29.326768"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_48e881fb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione ab cupiditate dolor soluta sunt voluptatem. Ad sed vel aliquam provident. Deleniti minima aut quis reiciendis totam modi id. Nihil nostrum quasi accusantium a qui qui. Et sunt non quibusdam molestiae.\", \"Vero pariatur ut ducimus. Ad voluptatibus pariatur ut consectetur ea consequatur odit. Corrupti quis eveniet eum. Consequatur aut quae sit ut non aut. Aut totam quis.\"]"], ["created_at", "2014-09-19 19:54:29.330322"], ["name", "joe"], ["title", "Officia voluptatum nobis aut modi error."], ["updated_at", "2014-09-19 19:54:29.330322"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:54:29.333125"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_95be04f3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos consequatur totam dolorem ex saepe sit. Rerum quia id ex. Qui aliquid quia ipsum.\", \"Accusamus expedita ratione commodi qui. Necessitatibus consequatur quasi dignissimos quia. Sunt et libero ut praesentium a.\"]"], ["created_at", "2014-09-19 19:54:29.337909"], ["name", "contract_95be04f3"], ["title", "Et placeat eaque nemo eligendi sunt odio ut."], ["updated_at", "2014-09-19 19:54:29.337909"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_95be04f3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_95be04f3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:54:29.341648"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.345642"], ["updated_at", "2014-09-19 19:54:29.345642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 19:54:29.348416"], ["updated_at", "2014-09-19 19:54:29.348416"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_95be04f3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_95be04f3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_95be04f3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction 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_b030e87e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi nisi et rerum dignissimos. Facilis eveniet quo assumenda non. Quisquam similique omnis. Praesentium dignissimos quia voluptatem nam sed et. Est asperiores ipsa dolor tempora.\", \"Quis nam cum. Non architecto et quo ipsum quis. Sunt vitae autem quia inventore qui corporis adipisci. Eveniet ipsam qui placeat doloribus excepturi ea eius. Voluptatibus blanditiis ipsam eos qui aliquam.\"]"], ["created_at", "2014-09-19 19:54:29.357724"], ["name", "contract_b030e87e"], ["title", "Praesentium nam facere asperiores eos accusamus ab inventore."], ["updated_at", "2014-09-19 19:54:29.357724"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b030e87e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_b030e87e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:54:29.360818"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b030e87e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b030e87e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi nisi et rerum dignissimos. Facilis eveniet quo assumenda non. Quisquam similique omnis. Praesentium dignissimos quia voluptatem nam sed et. Est asperiores ipsa dolor tempora.\", \"Quis nam cum. Non architecto et quo ipsum quis. Sunt vitae autem quia inventore qui corporis adipisci. Eveniet ipsam qui placeat doloribus excepturi ea eius. Voluptatibus blanditiis ipsam eos qui aliquam.\"]"], ["created_at", "2014-09-19 19:54:29.364499"], ["name", "contract_b030e87e"], ["title", "Praesentium nam facere asperiores eos accusamus ab inventore."], ["updated_at", "2014-09-19 19:54:29.364499"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b030e87e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_b030e87e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:54:29.367555"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_c0ca5378') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id et consequatur placeat corrupti et pariatur nam. Rem a laboriosam harum expedita rerum. Est libero eligendi enim. Saepe fugit quaerat praesentium illo nam illum. At quibusdam rerum asperiores aut.\", \"Nihil non repellat quae. Impedit accusantium at esse deserunt. Fugit placeat quis nisi numquam est. Nulla nam sint aut fugit totam repellendus aut.\"]"], ["created_at", "2014-09-19 19:54:29.371583"], ["name", "contract_c0ca5378"], ["title", "Veniam exercitationem consequatur non eos corrupti et."], ["updated_at", "2014-09-19 19:54:29.371583"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_fa92fbce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis magnam et. Ullam tenetur ex quo non et quo quod. Sed inventore eos. Et officia sed quam in quod similique ad. Omnis voluptas rerum atque.\", \"Neque quibusdam sunt possimus. Dolores cupiditate animi eos fugit et itaque nobis. Dolore aut et. In qui perferendis saepe doloribus autem accusantium dolorem. Pariatur earum voluptate eos est.\"]"], ["created_at", "2014-09-19 19:54:29.375570"], ["name", "contract_fa92fbce"], ["title", "Ut quasi aspernatur sit temporibus inventore dolores."], ["updated_at", "2014-09-19 19:54:29.375570"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fa92fbce"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_fa92fbce') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:54:29.378743"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:54:29.381223"], ["updated_at", "2014-09-19 19:54:29.381223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_44bfd67a') LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam aut exercitationem et. Et maiores corrupti. Inventore dolor veritatis aut aliquam rem. Quo provident aut quisquam tenetur qui. Eligendi odio illo itaque.\", \"Hic rerum itaque repellat aut commodi sunt fugiat. Ut illo et. Aut eum et numquam animi officia. Reiciendis non in vitae est ut quia ut.\"]"], ["created_at", "2014-09-19 19:55:16.603367"], ["name", "contract_44bfd67a"], ["title", "Ut aut adipisci ut."], ["updated_at", "2014-09-19 19:55:16.603367"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_44bfd67a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_44bfd67a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:55:16.617089"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_44bfd67a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_44bfd67a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam aut exercitationem et. Et maiores corrupti. Inventore dolor veritatis aut aliquam rem. Quo provident aut quisquam tenetur qui. Eligendi odio illo itaque.\", \"Hic rerum itaque repellat aut commodi sunt fugiat. Ut illo et. Aut eum et numquam animi officia. Reiciendis non in vitae est ut quia ut.\"]"], ["created_at", "2014-09-19 19:55:16.626257"], ["name", "contract_44bfd67a"], ["title", "Ut aut adipisci ut."], ["updated_at", "2014-09-19 19:55:16.626257"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_44bfd67a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_44bfd67a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:55:16.629768"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_71f30969') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt beatae possimus. Velit et molestias laborum omnis ea. Voluptatem unde suscipit sunt in.\", \"Odio molestiae eos repellendus ad. Possimus ducimus animi iste quas vitae. Eveniet veniam quidem magnam aut et. Veniam quis iusto.\"]"], ["created_at", "2014-09-19 19:55:16.634007"], ["name", "contract_71f30969"], ["title", "Est nihil omnis accusantium vitae fugit."], ["updated_at", "2014-09-19 19:55:16.634007"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71f30969"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_71f30969') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:55:16.638809"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71f30969"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71f30969"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_71f30969') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:55:16.645085"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9fa746e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus sunt molestias cum dolorem eos aliquid. Autem beatae fugiat quaerat ipsa unde vel. Nam molestiae quia praesentium iure nihil veritatis. Asperiores qui quos.\", \"Atque sit et enim et labore qui qui. Illo aut consectetur ut quae similique. Voluptatem quidem iure ducimus natus fugit ut. Voluptatem aspernatur quisquam cumque veniam.\"]"], ["created_at", "2014-09-19 19:55:16.649015"], ["name", "contract_9fa746e7"], ["title", "Velit aut non vel voluptatem labore qui."], ["updated_at", "2014-09-19 19:55:16.649015"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9fa746e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9fa746e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:55:16.652316"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.659129"], ["updated_at", "2014-09-19 19:55:16.659129"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:55:16.664068"], ["updated_at", "2014-09-19 19:55:16.664068"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9fa746e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9fa746e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9fa746e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction 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_17ea5a2c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores recusandae corrupti quis voluptatibus quam. Dolorum est debitis voluptatibus blanditiis expedita quo molestiae. Quia et eius nesciunt rerum ad laborum. Enim et officia. Odio aperiam possimus sit blanditiis sequi est.\", \"A et labore accusamus blanditiis. Dolor distinctio perspiciatis omnis quis quaerat. Aut quis dolore est sit. Architecto veritatis quo ut expedita. Voluptatibus dolor officiis fuga totam.\"]"], ["created_at", "2014-09-19 19:55:16.677828"], ["name", "contract_17ea5a2c"], ["title", "Aspernatur magni animi ut placeat."], ["updated_at", "2014-09-19 19:55:16.677828"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_17ea5a2c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_17ea5a2c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:55:16.681408"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_17ea5a2c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores recusandae corrupti quis voluptatibus quam. Dolorum est debitis voluptatibus blanditiis expedita quo molestiae. Quia et eius nesciunt rerum ad laborum. Enim et officia. Odio aperiam possimus sit blanditiis sequi est.\", \"A et labore accusamus blanditiis. Dolor distinctio perspiciatis omnis quis quaerat. Aut quis dolore est sit. Architecto veritatis quo ut expedita. Voluptatibus dolor officiis fuga totam.\"]"], ["created_at", "2014-09-19 19:55:16.685313"], ["name", "joe"], ["title", "Aspernatur magni animi ut placeat."], ["updated_at", "2014-09-19 19:55:16.685313"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:55:16.689291"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore unde qui neque a repellat. Quae fugiat eum. Dolores totam est consequatur assumenda. Magni iusto vel assumenda.\", \"Ratione exercitationem vel. Pariatur dolorem ut quo. Deleniti velit quidem doloremque laboriosam. Laborum velit voluptas voluptas maiores.\"]"], ["created_at", "2014-09-19 19:55:16.693739"], ["name", "alpha"], ["title", "Molestias minima voluptatem."], ["updated_at", "2014-09-19 19:55:16.693739"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:55:16.697005"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur fugit consequatur ut. Quo nobis dignissimos incidunt soluta. Libero hic nam voluptate. Vel sapiente iste rerum omnis quisquam.\", \"Cum repellendus aut quis velit quasi. Dolore eum consequatur tempore fuga atque eius. Vero similique modi dolor. Cumque ut provident. Quasi quia vitae sunt neque facilis perspiciatis.\"]"], ["created_at", "2014-09-19 19:55:16.700730"], ["name", "beta"], ["title", "Exercitationem voluptas nostrum debitis esse quo."], ["updated_at", "2014-09-19 19:55:16.700730"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:55:16.704171"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem id et quia voluptatem sunt. Suscipit quia accusamus quia. Adipisci autem aspernatur et dolor facere. Enim voluptate sunt beatae.\", \"Dolorum dolore omnis quo quaerat aliquid. Error non ut. Laboriosam quisquam laborum optio mollitia tenetur nesciunt. Dignissimos et sit asperiores sed et.\"]"], ["created_at", "2014-09-19 19:55:16.708574"], ["name", "alpha"], ["title", "Asperiores possimus omnis ut."], ["updated_at", "2014-09-19 19:55:16.708574"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:55:16.712216"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut temporibus eos velit. Ipsum aut eum iure nostrum. Vitae ut nesciunt illo delectus asperiores voluptate tempore. Animi corporis architecto.\", \"Distinctio blanditiis ab ea aut quo sit. Blanditiis recusandae error repellat. Voluptatibus voluptatem culpa necessitatibus reiciendis laudantium. Placeat molestiae et dignissimos ipsa quaerat. Facilis illum ut et laborum.\"]"], ["created_at", "2014-09-19 19:55:16.716228"], ["name", "beta"], ["title", "Consequatur dolor quae."], ["updated_at", "2014-09-19 19:55:16.716228"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:55:16.720987"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem ut id quis consequatur quia et. Ut error nisi aliquam et ipsam debitis qui. Non reiciendis quam tenetur. Suscipit laudantium perspiciatis nesciunt quo. Aut vel modi.\", \"Delectus facilis id. Error odit esse aperiam quo expedita dolorum ut. Ut quia laudantium quo velit est eius qui.\"]"], ["created_at", "2014-09-19 19:55:16.726291"], ["name", "alpha"], ["title", "Optio rem ratione sunt."], ["updated_at", "2014-09-19 19:55:16.726291"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:55:16.730460"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores asperiores quia. Harum architecto ut et animi cupiditate et. Quas et architecto ipsa repellat. Est tenetur laboriosam quis velit minima. Omnis quasi temporibus exercitationem.\", \"Facilis aperiam ad. Aut hic error. Non architecto sit laborum. Officia voluptatem aliquid ut facilis sed. Iure ea qui sed vitae officia.\"]"], ["created_at", "2014-09-19 19:55:16.734520"], ["name", "beta"], ["title", "Iure eius vel eos architecto ullam consectetur cumque."], ["updated_at", "2014-09-19 19:55:16.734520"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:55:16.737609"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.744232"], ["updated_at", "2014-09-19 19:55:16.744232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.745860"], ["updated_at", "2014-09-19 19:55:16.745860"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a0ddb765') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit aliquam voluptas nobis. Facilis ut praesentium laboriosam commodi vel et porro. Reprehenderit non sit et occaecati quis odit.\", \"Qui sit voluptatem et assumenda ab dolores. Impedit enim totam nostrum labore autem. Delectus nemo non error tempore. Iste delectus et eos pariatur. Quia voluptas laboriosam quia ipsam.\"]"], ["created_at", "2014-09-19 19:55:16.748736"], ["name", "contract_a0ddb765"], ["title", "Eveniet repudiandae sequi illo quod."], ["updated_at", "2014-09-19 19:55:16.748736"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.755786"], ["updated_at", "2014-09-19 19:55:16.755786"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.757447"], ["updated_at", "2014-09-19 19:55:16.757447"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a33fbb2b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum dolorem sit officiis voluptatem sunt molestiae cupiditate. Et at sit fugiat assumenda tempora. Aut id accusamus.\", \"Quod dolorum nobis voluptatibus tempora. Eos odit sequi nam atque quisquam dignissimos corporis. Voluptatibus quasi magni tenetur laboriosam eos.\"]"], ["created_at", "2014-09-19 19:55:16.761075"], ["name", "contract_a33fbb2b"], ["title", "Ut quis qui quidem."], ["updated_at", "2014-09-19 19:55:16.761075"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a33fbb2b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a33fbb2b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 19:55:16.766304"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.771589"], ["updated_at", "2014-09-19 19:55:16.771589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.773149"], ["updated_at", "2014-09-19 19:55:16.773149"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_884117ea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ut possimus ea repellendus. Reprehenderit voluptate iste vel sunt quam architecto pariatur. Sed impedit delectus porro quaerat autem error quis.\", \"Veniam id temporibus natus a animi. Nam reiciendis nemo id. Iure velit iusto qui nihil quia. Debitis consequatur voluptatem. Deleniti eos et pariatur omnis consequatur amet.\"]"], ["created_at", "2014-09-19 19:55:16.775920"], ["name", "contract_884117ea"], ["title", "Dolores maiores et ratione."], ["updated_at", "2014-09-19 19:55:16.775920"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_884117ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_884117ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 19:55:16.779409"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.785493"], ["updated_at", "2014-09-19 19:55:16.785493"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.787493"], ["updated_at", "2014-09-19 19:55:16.787493"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_59ceb4dd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis excepturi est architecto. Voluptates voluptatibus consequatur quam aspernatur culpa laboriosam ex. Animi id porro. Velit quis est.\", \"Aliquam illum ratione minus. Aut omnis qui sed ipsum repudiandae corporis asperiores. Et voluptatem quis maxime omnis temporibus cumque aut.\"]"], ["created_at", "2014-09-19 19:55:16.790895"], ["name", "contract_59ceb4dd"], ["title", "Vero perferendis cupiditate facilis vel mollitia consectetur."], ["updated_at", "2014-09-19 19:55:16.790895"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 16]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 16]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 16 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.800531"], ["updated_at", "2014-09-19 19:55:16.800531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.802064"], ["updated_at", "2014-09-19 19:55:16.802064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_20ef3a81') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quisquam eum similique amet alias voluptas sed. Atque omnis aut sequi. Eius facilis tempore qui dolorem voluptas. Delectus dolor aliquam eius perferendis distinctio nemo in. Velit eum minus et corrupti et.\", \"Ea ab ex. Qui autem ratione voluptatem molestias rerum. Rem officia excepturi consectetur sed dolore quis. Ullam cum voluptatem consequatur quibusdam at in non. Odio et recusandae ab molestiae.\"]"], ["created_at", "2014-09-19 19:55:16.804683"], ["name", "contract_20ef3a81"], ["title", "Tempora iusto quam dicta ipsa maiores."], ["updated_at", "2014-09-19 19:55:16.804683"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.809188"], ["updated_at", "2014-09-19 19:55:16.809188"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.810715"], ["updated_at", "2014-09-19 19:55:16.810715"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58daeaaf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis non nisi harum occaecati vel officia sapiente. Nisi possimus aut in perspiciatis et quis. Vitae tenetur qui soluta nesciunt voluptas animi blanditiis. Temporibus ut rem velit ratione.\", \"Maxime cupiditate debitis ducimus a aperiam ut sit. Suscipit dolor occaecati placeat minus. Dolores corrupti deleniti tempora earum necessitatibus. Quia qui nostrum alias commodi ducimus facere.\"]"], ["created_at", "2014-09-19 19:55:16.813327"], ["name", "contract_58daeaaf"], ["title", "Sint dolores nesciunt doloribus."], ["updated_at", "2014-09-19 19:55:16.813327"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.822904"], ["updated_at", "2014-09-19 19:55:16.822904"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.824639"], ["updated_at", "2014-09-19 19:55:16.824639"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2050cbde') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero voluptate quod amet. Magni incidunt tempore dolor soluta quam. Est quisquam blanditiis consequatur.\", \"Et iste et voluptatem eligendi. Ea sed recusandae soluta asperiores aperiam voluptas libero. Est quisquam enim aut ut.\"]"], ["created_at", "2014-09-19 19:55:16.827356"], ["name", "contract_2050cbde"], ["title", "Amet saepe accusantium."], ["updated_at", "2014-09-19 19:55:16.827356"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.832952"], ["updated_at", "2014-09-19 19:55:16.832952"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.834383"], ["updated_at", "2014-09-19 19:55:16.834383"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_1e2f74bf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat dignissimos minima sit voluptatum saepe. Odit dolores asperiores sunt ad eius voluptas. Officia omnis numquam laboriosam dolor facere sed et.\", \"Repudiandae rem omnis exercitationem. Cum dolorum nisi similique quasi ex. Iure natus quia incidunt et ut. Ex enim aliquam. Accusamus corrupti aut.\"]"], ["created_at", "2014-09-19 19:55:16.836966"], ["name", "contract_1e2f74bf"], ["title", "Aut incidunt voluptate perspiciatis magni sequi."], ["updated_at", "2014-09-19 19:55:16.836966"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1e2f74bf"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_1e2f74bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:55:16.840467"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.846808"], ["updated_at", "2014-09-19 19:55:16.846808"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.848813"], ["updated_at", "2014-09-19 19:55:16.848813"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_c9ab693e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem possimus et provident. Eaque omnis voluptate optio temporibus. Mollitia modi facere doloribus laborum sit nihil. Eaque voluptatem consequatur voluptas et ratione libero mollitia.\", \"Voluptatem beatae accusamus voluptatum. Id dignissimos omnis et autem pariatur esse quia. Qui aut sit.\"]"], ["created_at", "2014-09-19 19:55:16.851650"], ["name", "contract_c9ab693e"], ["title", "Dolorum quibusdam modi sequi necessitatibus."], ["updated_at", "2014-09-19 19:55:16.851650"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.856394"], ["updated_at", "2014-09-19 19:55:16.856394"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.857871"], ["updated_at", "2014-09-19 19:55:16.857871"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_24b2ead8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae dolore accusantium occaecati vel assumenda sed sint. Doloremque debitis quo consequuntur. Saepe id amet repellendus omnis similique. Veritatis totam amet consequuntur magnam laudantium.\", \"Rerum vel est delectus. Alias numquam sit nemo at facilis. Enim harum cumque.\"]"], ["created_at", "2014-09-19 19:55:16.860522"], ["name", "contract_24b2ead8"], ["title", "Et maxime et voluptas et qui."], ["updated_at", "2014-09-19 19:55:16.860522"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:55:16.864221"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:55:16.864221"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/23 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.868025"], ["updated_at", "2014-09-19 19:55:16.868025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.869471"], ["updated_at", "2014-09-19 19:55:16.869471"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e53c487e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo dolores numquam et quia. Atque optio et nulla blanditiis. Aut ea ut minima. Illum eos minima est et dolores est.\", \"Necessitatibus quaerat delectus quos eum. Id fugiat quia. Inventore dolores debitis molestias officiis architecto.\"]"], ["created_at", "2014-09-19 19:55:16.872024"], ["name", "contract_e53c487e"], ["title", "Unde in sequi ex alias autem."], ["updated_at", "2014-09-19 19:55:16.872024"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.876184"], ["updated_at", "2014-09-19 19:55:16.876184"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.877675"], ["updated_at", "2014-09-19 19:55:16.877675"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e174d3cf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis ut quia voluptas saepe vitae exercitationem itaque. Maiores veniam ex est velit inventore. Quae repudiandae quis.\", \"Ex placeat tempora velit voluptates ut. Voluptatem nulla nemo sit quod vero molestiae. Nihil sint atque qui.\"]"], ["created_at", "2014-09-19 19:55:16.880182"], ["name", "contract_e174d3cf"], ["title", "Autem nihil modi."], ["updated_at", "2014-09-19 19:55:16.880182"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.4ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 7, 12, 10, 8, 5, 20, 19, 17, 22, 2, 1, 18, 3, 15, 4, 13, 14, 21, 25, 24, 6, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.892698"], ["updated_at", "2014-09-19 19:55:16.892698"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.894425"], ["updated_at", "2014-09-19 19:55:16.894425"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a720e1bb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa autem quia. Inventore veniam maiores dolorem. Beatae similique quo magnam consequatur et maxime. Ad cum ut dolorum qui odit similique nesciunt. Sunt ut perspiciatis et.\", \"Repudiandae voluptatem in consequuntur saepe. Assumenda recusandae quo ut molestiae autem. Earum velit quo et beatae. Rerum in perferendis deserunt et voluptas. Aspernatur molestiae doloremque facilis ut quis.\"]"], ["created_at", "2014-09-19 19:55:16.897284"], ["name", "contract_a720e1bb"], ["title", "Tempora esse reprehenderit qui soluta ad consequatur."], ["updated_at", "2014-09-19 19:55:16.897284"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a720e1bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_a720e1bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 19:55:16.900754"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a720e1bb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.907631"], ["updated_at", "2014-09-19 19:55:16.907631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.909163"], ["updated_at", "2014-09-19 19:55:16.909163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_7b40515d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui ut libero dolor voluptatibus natus. Aut mollitia voluptas ut quod. Et enim tenetur mollitia occaecati deserunt assumenda. Vero natus aspernatur rerum voluptatum eum ab. Repellat inventore neque voluptates itaque.\", \"Officiis qui odit et modi et id. Sint eaque sequi facilis. Cupiditate accusamus possimus aut at. Est aspernatur odit omnis suscipit deleniti et. Et odit ratione velit ducimus ut.\"]"], ["created_at", "2014-09-19 19:55:16.911981"], ["name", "contract_7b40515d"], ["title", "Id ut omnis sint fugit omnis ut placeat."], ["updated_at", "2014-09-19 19:55:16.911981"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.917028"], ["updated_at", "2014-09-19 19:55:16.917028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.918500"], ["updated_at", "2014-09-19 19:55:16.918500"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d6d5d0ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui magnam quia saepe dolores et tenetur. Eum eaque quis repellat architecto omnis consequatur voluptatem. Ducimus incidunt ex molestias architecto.\", \"Autem totam non est dolores laboriosam veritatis doloribus. Et qui consequatur harum sed nisi. Sequi at mollitia.\"]"], ["created_at", "2014-09-19 19:55:16.920879"], ["name", "contract_d6d5d0ec"], ["title", "Eos atque porro aut architecto."], ["updated_at", "2014-09-19 19:55:16.920879"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.932073"], ["updated_at", "2014-09-19 19:55:16.932073"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.933917"], ["updated_at", "2014-09-19 19:55:16.933917"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_504236bf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam qui quidem est repellendus officiis necessitatibus. Ut quia adipisci voluptatibus omnis id. Laudantium asperiores officiis eos architecto ad veniam.\", \"Accusamus impedit voluptatum. Non quaerat eos ducimus voluptatem. Eius facere ratione consequatur quas et. Assumenda nobis et dolores omnis.\"]"], ["created_at", "2014-09-19 19:55:16.937335"], ["name", "contract_504236bf"], ["title", "Non illo ullam non cumque."], ["updated_at", "2014-09-19 19:55:16.937335"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.943172"], ["updated_at", "2014-09-19 19:55:16.943172"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.944804"], ["updated_at", "2014-09-19 19:55:16.944804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f852ef95') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti in unde perspiciatis. Repudiandae accusamus eius aliquid non. Nemo odit alias aperiam.\", \"Atque qui suscipit. Dolores et quo consequatur assumenda ratione in laborum. Qui ipsa non quaerat aut. Quos eum est sint id.\"]"], ["created_at", "2014-09-19 19:55:16.947691"], ["name", "contract_f852ef95"], ["title", "Commodi et qui non dolorum."], ["updated_at", "2014-09-19 19:55:16.947691"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.952995"], ["updated_at", "2014-09-19 19:55:16.952995"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.954504"], ["updated_at", "2014-09-19 19:55:16.954504"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_be23e717') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse odit earum. Non quae quos voluptas vitae debitis porro consequuntur. Et quis ut aut rerum.\", \"Autem excepturi iure. Porro ipsa enim commodi. Ipsam incidunt quae quia facilis. Debitis est aut quaerat sit blanditiis excepturi qui.\"]"], ["created_at", "2014-09-19 19:55:16.956923"], ["name", "contract_be23e717"], ["title", "Alias velit et rerum."], ["updated_at", "2014-09-19 19:55:16.956923"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be23e717"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_be23e717') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:55:16.960370"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be23e717"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_be23e717') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:55:16.965707"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_ce99223c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis libero eum sint quia. Facere asperiores odio. Ut reprehenderit est facere. Laborum ea dignissimos quos delectus consequatur odit.\", \"Hic ducimus officiis est. Sint voluptatibus quos qui incidunt amet. Eveniet repellendus quia culpa dolor sint. Enim consequatur esse.\"]"], ["created_at", "2014-09-19 19:55:16.971901"], ["name", "contract_ce99223c"], ["title", "Assumenda dolor vel asperiores eveniet velit illum iusto."], ["updated_at", "2014-09-19 19:55:16.971901"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction 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_c4086c44') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil perspiciatis corrupti libero. Illo eum aliquam sunt porro. Et tenetur qui sapiente in. Ut aspernatur commodi. Illum voluptatum voluptatem odio culpa.\", \"Quo tempora quia natus nostrum voluptatibus omnis. Alias adipisci facilis quia eligendi sit nobis. Voluptas eveniet consequatur qui fugit cumque adipisci quisquam.\"]"], ["created_at", "2014-09-19 19:55:16.976655"], ["name", "contract_c4086c44"], ["title", "Ipsam dolorem officiis velit."], ["updated_at", "2014-09-19 19:55:16.976655"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c4086c44"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_c4086c44') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:55:16.979590"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.982002"], ["updated_at", "2014-09-19 19:55:16.982002"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.986675"], ["updated_at", "2014-09-19 19:55:16.986675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.988070"], ["updated_at", "2014-09-19 19:55:16.988070"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c33b7a73') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae voluptatem est ut. Animi et sed non est nihil minus. Exercitationem consectetur ipsa ducimus. Voluptatem nihil quo natus in aut dolorem temporibus. Ut dignissimos eligendi.\", \"Aut quisquam sint tempora explicabo ut numquam. Et qui illum. Modi veritatis fugiat. Temporibus voluptas aut nihil maxime nisi ab.\"]"], ["created_at", "2014-09-19 19:55:16.991029"], ["name", "contract_c33b7a73"], ["title", "Aspernatur voluptates voluptas."], ["updated_at", "2014-09-19 19:55:16.991029"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c33b7a73"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_c33b7a73') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:55:16.993999"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:16.996373"], ["updated_at", "2014-09-19 19:55:16.996373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 19:55:16.998445"], ["updated_at", "2014-09-19 19:55:16.998445"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.005100"], ["updated_at", "2014-09-19 19:55:17.005100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.006789"], ["updated_at", "2014-09-19 19:55:17.006789"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_66f3fe0b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti dolor temporibus earum eum sit. Magnam quibusdam voluptatem qui ut enim quis dolorem. Voluptatum beatae cum quas. Id quo quo autem pariatur consequatur velit.\", \"Tempora sed impedit corporis aliquid est fugiat ab. Autem pariatur consequatur sunt consectetur consequuntur a. Odio omnis perferendis architecto quia id necessitatibus ex. Totam quas et.\"]"], ["created_at", "2014-09-19 19:55:17.010993"], ["name", "contract_66f3fe0b"], ["title", "Omnis mollitia qui maxime natus aperiam."], ["updated_at", "2014-09-19 19:55:17.010993"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66f3fe0b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_66f3fe0b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:55:17.014409"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.017526"], ["updated_at", "2014-09-19 19:55:17.017526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 19:55:17.019858"], ["updated_at", "2014-09-19 19:55:17.019858"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.024416"], ["updated_at", "2014-09-19 19:55:17.024416"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.025992"], ["updated_at", "2014-09-19 19:55:17.025992"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_1b210db5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis veritatis sint autem et alias qui sunt. Consequuntur modi animi necessitatibus enim ipsum. Et quis totam et. Vero sit hic deserunt maiores qui corporis.\", \"Dignissimos rem eligendi perferendis qui explicabo eos. Et at doloremque atque qui excepturi. Similique sint vel ducimus dolorum provident consequatur enim.\"]"], ["created_at", "2014-09-19 19:55:17.029053"], ["name", "contract_1b210db5"], ["title", "Asperiores et sapiente possimus."], ["updated_at", "2014-09-19 19:55:17.029053"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b210db5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_1b210db5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:55:17.032116"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.034530"], ["updated_at", "2014-09-19 19:55:17.034530"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 19:55:17.036869"], ["updated_at", "2014-09-19 19:55:17.036869"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.042651"], ["updated_at", "2014-09-19 19:55:17.042651"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.044252"], ["updated_at", "2014-09-19 19:55:17.044252"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6169e030') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt quo sint architecto inventore voluptatibus ipsum. Quibusdam non vitae. Voluptas saepe aliquam quaerat at. Et quo sint eveniet nisi.\", \"Deserunt consequatur molestias exercitationem necessitatibus dolorem fuga. Asperiores porro eos officia distinctio consectetur tempora. Est velit ut nemo sed sit. Doloremque quibusdam dolores et aliquid quo est sed.\"]"], ["created_at", "2014-09-19 19:55:17.047310"], ["name", "contract_6169e030"], ["title", "Quidem distinctio est qui."], ["updated_at", "2014-09-19 19:55:17.047310"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6169e030"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_6169e030') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:55:17.050389"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.053410"], ["updated_at", "2014-09-19 19:55:17.053410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 19:55:17.055644"], ["updated_at", "2014-09-19 19:55:17.055644"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.062752"], ["updated_at", "2014-09-19 19:55:17.062752"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.064283"], ["updated_at", "2014-09-19 19:55:17.064283"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.071315"], ["updated_at", "2014-09-19 19:55:17.071315"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:17.072807"], ["updated_at", "2014-09-19 19:55:17.072807"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.150350"], ["updated_at", "2014-09-19 19:55:47.150350"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.157604"], ["updated_at", "2014-09-19 19:55:47.157604"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_8d87de9e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui distinctio aut quos debitis. Sequi quisquam minus velit incidunt error voluptatem. Facilis nihil ut autem consectetur omnis et expedita. Officiis excepturi repellendus eos cum.\", \"Laborum ut tempore voluptatem est vel repellat eligendi. Qui molestias molestiae. Sed quod nam qui quidem vel et.\"]"], ["created_at", "2014-09-19 19:55:47.389684"], ["name", "contract_8d87de9e"], ["title", "Qui dolorum est voluptatibus dolor reprehenderit in ut."], ["updated_at", "2014-09-19 19:55:47.389684"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8d87de9e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8d87de9e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:55:47.400742"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.407874"], ["updated_at", "2014-09-19 19:55:47.407874"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:55:47.411515"], ["updated_at", "2014-09-19 19:55:47.411515"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.429478"], ["updated_at", "2014-09-19 19:55:47.429478"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.431259"], ["updated_at", "2014-09-19 19:55:47.431259"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_15b3da62') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident vitae aspernatur non expedita facilis et rem. Est animi quo. Laborum est reiciendis dolor. Quod rerum voluptas provident. Non neque ut commodi iusto voluptates.\", \"Cupiditate dicta incidunt dolores eius deleniti esse placeat. Itaque error et fuga quia. Deleniti sed sit quia aut doloremque rerum.\"]"], ["created_at", "2014-09-19 19:55:47.434815"], ["name", "contract_15b3da62"], ["title", "Asperiores labore quisquam non omnis fugit."], ["updated_at", "2014-09-19 19:55:47.434815"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15b3da62"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_15b3da62') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:55:47.438278"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.440909"], ["updated_at", "2014-09-19 19:55:47.440909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:55:47.443956"], ["updated_at", "2014-09-19 19:55:47.443956"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.454148"], ["updated_at", "2014-09-19 19:55:47.454148"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.455830"], ["updated_at", "2014-09-19 19:55:47.455830"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f751a82') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error at doloribus aut nemo cumque soluta. Facilis aut dolores cum non et sint sed. Optio aut excepturi qui. Nulla et non.\", \"Id voluptate a modi iste voluptatem. Dicta itaque doloribus. Explicabo distinctio ducimus non deserunt. Non doloremque deserunt et doloribus in excepturi facere. Fugiat ad non facilis.\"]"], ["created_at", "2014-09-19 19:55:47.459180"], ["name", "contract_6f751a82"], ["title", "Veniam ut est dolores."], ["updated_at", "2014-09-19 19:55:47.459180"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f751a82"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_6f751a82') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:55:47.462510"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.465456"], ["updated_at", "2014-09-19 19:55:47.465456"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:55:47.467756"], ["updated_at", "2014-09-19 19:55:47.467756"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.477402"], ["updated_at", "2014-09-19 19:55:47.477402"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.479079"], ["updated_at", "2014-09-19 19:55:47.479079"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ddc8fa41') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed qui architecto. Ut commodi maxime. Itaque quidem aut omnis autem dolores unde sed.\", \"Aliquid quibusdam deleniti earum iusto. Dolor omnis non officiis voluptatem libero. Sit doloremque praesentium beatae facilis et consequatur ducimus. Similique a eum.\"]"], ["created_at", "2014-09-19 19:55:47.482092"], ["name", "contract_ddc8fa41"], ["title", "Est corrupti cupiditate et."], ["updated_at", "2014-09-19 19:55:47.482092"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ddc8fa41"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_ddc8fa41') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:55:47.485070"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.487432"], ["updated_at", "2014-09-19 19:55:47.487432"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:55:47.489743"], ["updated_at", "2014-09-19 19:55:47.489743"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.494968"], ["updated_at", "2014-09-19 19:55:47.494968"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.496608"], ["updated_at", "2014-09-19 19:55:47.496608"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.505786"], ["updated_at", "2014-09-19 19:55:47.505786"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.507441"], ["updated_at", "2014-09-19 19:55:47.507441"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.3ms) begin transaction 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_23a20733') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero quas et sed sint est autem quis. Necessitatibus quas ut. Omnis aut et possimus odio eos quo. Ducimus illum fugit voluptas sed sit. Similique non voluptatibus.\", \"Dolor qui commodi nihil quia qui. Officia consequuntur commodi atque illum voluptas. Et eligendi repellendus est nemo praesentium. Ut dolorem ea consequatur quos libero non maxime. Molestias error voluptas explicabo.\"]"], ["created_at", "2014-09-19 19:55:47.514032"], ["name", "contract_23a20733"], ["title", "Et deserunt in tenetur."], ["updated_at", "2014-09-19 19:55:47.514032"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction 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_6b2ae01c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut tempore sit praesentium sunt tenetur voluptatibus quo. Quis sunt est voluptates perspiciatis soluta voluptatem excepturi. Sit deserunt impedit quas. Quia mollitia sint qui consequatur sit exercitationem. Aut tempora a quo illo et non.\", \"Voluptas delectus ducimus et sit. Similique ut corporis facere consequatur. Quibusdam eius aut. Vitae sit non sed vel.\"]"], ["created_at", "2014-09-19 19:55:47.519072"], ["name", "contract_6b2ae01c"], ["title", "Non pariatur culpa voluptatem sint ex."], ["updated_at", "2014-09-19 19:55:47.519072"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6b2ae01c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_6b2ae01c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:55:47.522301"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.524954"], ["updated_at", "2014-09-19 19:55:47.524954"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction 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_d4a4abd8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat accusamus repellat laborum quia neque. Natus sit similique fugiat quisquam. Excepturi minus id animi iste est.\", \"Dolorem itaque hic cum similique. Velit a sint ut quasi. Saepe harum accusamus qui ut voluptatem tempore.\"]"], ["created_at", "2014-09-19 19:55:47.534957"], ["name", "contract_d4a4abd8"], ["title", "Ab tempore eum sint."], ["updated_at", "2014-09-19 19:55:47.534957"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4a4abd8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d4a4abd8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:55:47.538420"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.542218"], ["updated_at", "2014-09-19 19:55:47.542218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 19:55:47.544382"], ["updated_at", "2014-09-19 19:55:47.544382"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d4a4abd8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4a4abd8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d4a4abd8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction 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_a102717a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est omnis voluptatem laudantium in beatae. Vel ut et. Unde sit aliquam aspernatur adipisci omnis quasi. Sit enim dolorem voluptatem maxime aliquam officia. Quis voluptatum omnis inventore laudantium est.\", \"Nisi est laborum sunt dolor doloremque. Inventore aliquam et vitae. Aliquid consequuntur quo voluptatem saepe sint alias eligendi.\"]"], ["created_at", "2014-09-19 19:55:47.553405"], ["name", "contract_a102717a"], ["title", "Assumenda sit voluptatem tempore."], ["updated_at", "2014-09-19 19:55:47.553405"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a102717a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_a102717a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:55:47.556444"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a102717a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est omnis voluptatem laudantium in beatae. Vel ut et. Unde sit aliquam aspernatur adipisci omnis quasi. Sit enim dolorem voluptatem maxime aliquam officia. Quis voluptatum omnis inventore laudantium est.\", \"Nisi est laborum sunt dolor doloremque. Inventore aliquam et vitae. Aliquid consequuntur quo voluptatem saepe sint alias eligendi.\"]"], ["created_at", "2014-09-19 19:55:47.559822"], ["name", "joe"], ["title", "Assumenda sit voluptatem tempore."], ["updated_at", "2014-09-19 19:55:47.559822"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:55:47.562717"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_bb77aa73') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio ut consectetur est qui. Dolores ab at aut expedita nostrum dolorem sed. Dolorum maiores voluptas maxime voluptatem. Dolor excepturi harum nulla libero porro dolores dolor.\", \"Et at voluptas quisquam ducimus. Est voluptates quia totam consequatur mollitia vel molestiae. Provident culpa ea ut quia voluptas et recusandae. Impedit fugiat tempore reiciendis et est.\"]"], ["created_at", "2014-09-19 19:55:47.567187"], ["name", "contract_bb77aa73"], ["title", "Eum quasi voluptas temporibus quod dolor adipisci vitae."], ["updated_at", "2014-09-19 19:55:47.567187"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bb77aa73"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_bb77aa73') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:55:47.570527"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_bb77aa73' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_bb77aa73') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio ut consectetur est qui. Dolores ab at aut expedita nostrum dolorem sed. Dolorum maiores voluptas maxime voluptatem. Dolor excepturi harum nulla libero porro dolores dolor.\", \"Et at voluptas quisquam ducimus. Est voluptates quia totam consequatur mollitia vel molestiae. Provident culpa ea ut quia voluptas et recusandae. Impedit fugiat tempore reiciendis et est.\"]"], ["created_at", "2014-09-19 19:55:47.574755"], ["name", "contract_bb77aa73"], ["title", "Eum quasi voluptas temporibus quod dolor adipisci vitae."], ["updated_at", "2014-09-19 19:55:47.574755"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bb77aa73"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_bb77aa73') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 19:55:47.578606"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_f5af481b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus repellendus deleniti debitis in laborum. Molestias accusantium dolores voluptas temporibus magni. Ut facere voluptatem et sed necessitatibus.\", \"Occaecati quia placeat aperiam distinctio. Est ut at architecto illo corporis. Tempora aliquam libero quo ut.\"]"], ["created_at", "2014-09-19 19:55:47.584003"], ["name", "contract_f5af481b"], ["title", "Perferendis error reprehenderit vel."], ["updated_at", "2014-09-19 19:55:47.584003"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5af481b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f5af481b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:55:47.588974"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5af481b"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5af481b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f5af481b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 19:55:47.593916"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.596921"], ["updated_at", "2014-09-19 19:55:47.596921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.598419"], ["updated_at", "2014-09-19 19:55:47.598419"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_ed1e2125') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quidem molestias accusamus mollitia. Animi ea quis incidunt. Voluptates dolores et sunt. Quas rem et ab ea molestiae voluptatem blanditiis. Optio nam ut.\", \"Officiis quam soluta dolorum eum et est et. Dolorem id quis perferendis. Eos consequatur quia veniam sed ab.\"]"], ["created_at", "2014-09-19 19:55:47.601710"], ["name", "contract_ed1e2125"], ["title", "Quis odio aut."], ["updated_at", "2014-09-19 19:55:47.601710"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 19:55:47.607061"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:55:47.607061"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.611387"], ["updated_at", "2014-09-19 19:55:47.611387"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.612866"], ["updated_at", "2014-09-19 19:55:47.612866"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1217a0df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas eum possimus dolorem nihil consequatur vitae. Autem molestias error velit. Quaerat nisi exercitationem ut aut non omnis tempora.\", \"Odio nesciunt aut voluptatibus qui ipsam praesentium architecto. Omnis qui ea aut blanditiis distinctio. Deleniti enim nobis unde. Repudiandae rem explicabo id.\"]"], ["created_at", "2014-09-19 19:55:47.615561"], ["name", "contract_1217a0df"], ["title", "Architecto sit rerum aut qui."], ["updated_at", "2014-09-19 19:55:47.615561"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.619921"], ["updated_at", "2014-09-19 19:55:47.619921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.621552"], ["updated_at", "2014-09-19 19:55:47.621552"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_37c75ff7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci sunt et dolor et. Porro consectetur sapiente ut. Quas odit ut sequi tenetur delectus exercitationem repellendus. Ut expedita dolorem aliquid hic ab sed.\", \"Voluptatem vel illum quia. Veritatis dolores odio eum quidem autem quisquam. Totam sint perspiciatis vel dicta ratione deserunt.\"]"], ["created_at", "2014-09-19 19:55:47.624164"], ["name", "contract_37c75ff7"], ["title", "Quisquam esse praesentium aperiam enim voluptas molestias."], ["updated_at", "2014-09-19 19:55:47.624164"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.629573"], ["updated_at", "2014-09-19 19:55:47.629573"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.631118"], ["updated_at", "2014-09-19 19:55:47.631118"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_00244648') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium et saepe ut consequatur qui maxime esse. Odit tempora est similique excepturi quas quod voluptatem. Esse quia numquam molestiae sint. Et in quidem earum eligendi tempore voluptates.\", \"Eius voluptatibus laboriosam sint ut accusantium. Consequuntur dolorem illum. Voluptatem quis est.\"]"], ["created_at", "2014-09-19 19:55:47.633598"], ["name", "contract_00244648"], ["title", "Quod ut sit et tempora dolorem reiciendis."], ["updated_at", "2014-09-19 19:55:47.633598"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00244648"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_00244648') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 19:55:47.638629"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_00244648' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.649258"], ["updated_at", "2014-09-19 19:55:47.649258"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.651178"], ["updated_at", "2014-09-19 19:55:47.651178"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_928f980c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat quod sunt rem molestias error et. Quia perferendis qui hic nihil enim voluptas. Rerum animi non rerum. Enim optio dolor eos nostrum omnis eum. Hic impedit debitis esse consectetur id minus.\", \"Rerum reprehenderit tempore quia. Eius eveniet laborum. Vero sit aut iure minus earum eum ut. Iusto ullam distinctio qui voluptate corrupti quia nihil.\"]"], ["created_at", "2014-09-19 19:55:47.653871"], ["name", "contract_928f980c"], ["title", "Necessitatibus sed perspiciatis quam quaerat."], ["updated_at", "2014-09-19 19:55:47.653871"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.660789"], ["updated_at", "2014-09-19 19:55:47.660789"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.662499"], ["updated_at", "2014-09-19 19:55:47.662499"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7b9f04be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet tempore id. Aliquam nam amet sit ullam vel dolorum. Eaque qui ut iusto ut necessitatibus. Tempore asperiores veniam ut ex. Labore nostrum voluptate porro.\", \"Consequatur ut molestiae voluptatibus excepturi. Soluta non ab voluptatem nostrum atque optio aut. Sit voluptatibus est. Fuga ut autem commodi iste. Cupiditate suscipit rerum ullam est dignissimos voluptatum et.\"]"], ["created_at", "2014-09-19 19:55:47.665169"], ["name", "contract_7b9f04be"], ["title", "Nisi ut laborum cum."], ["updated_at", "2014-09-19 19:55:47.665169"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.669293"], ["updated_at", "2014-09-19 19:55:47.669293"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.670721"], ["updated_at", "2014-09-19 19:55:47.670721"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_b06750f5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt qui et placeat ipsa eligendi tempora iure. Fuga qui quisquam sit sunt suscipit vero praesentium. Et perferendis cumque possimus laudantium quia. Repellat tempore voluptatem porro perferendis reiciendis.\", \"Totam quaerat ipsa ad ut vero nobis voluptatem. Qui quos ut quia iusto iste. Non dolor culpa temporibus aut nisi ipsa corrupti. Inventore itaque sint cupiditate.\"]"], ["created_at", "2014-09-19 19:55:47.673287"], ["name", "contract_b06750f5"], ["title", "A explicabo in eos in eveniet maiores."], ["updated_at", "2014-09-19 19:55:47.673287"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.677538"], ["updated_at", "2014-09-19 19:55:47.677538"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.679019"], ["updated_at", "2014-09-19 19:55:47.679019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_99170a55') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae officiis eligendi veniam. Et vel eligendi sapiente quasi aut. Et quam laboriosam voluptates ut.\", \"Labore eveniet dolor nihil. Quis nam nihil repellat odit suscipit voluptatem. Ab minus nobis incidunt porro et harum.\"]"], ["created_at", "2014-09-19 19:55:47.681530"], ["name", "contract_99170a55"], ["title", "A tenetur ratione velit dignissimos et autem."], ["updated_at", "2014-09-19 19:55:47.681530"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.689911"], ["updated_at", "2014-09-19 19:55:47.689911"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.691500"], ["updated_at", "2014-09-19 19:55:47.691500"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_0b7c2e38') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia rem et et et et neque autem. Dignissimos sed ea iusto quia nesciunt quo. Culpa consectetur placeat eos harum velit tempore. Accusamus sunt sunt soluta officiis aut. Reiciendis voluptatem earum quisquam cupiditate suscipit.\", \"Perspiciatis repudiandae ut ratione mollitia saepe et. Alias placeat deleniti aut. Consequatur repellendus esse perspiciatis tempora ea aperiam. Expedita sunt perferendis ullam illum sunt sint.\"]"], ["created_at", "2014-09-19 19:55:47.694164"], ["name", "contract_0b7c2e38"], ["title", "Corporis quos mollitia dolorum recusandae dignissimos laudantium."], ["updated_at", "2014-09-19 19:55:47.694164"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b7c2e38"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_0b7c2e38') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 19:55:47.697953"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.702749"], ["updated_at", "2014-09-19 19:55:47.702749"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.704206"], ["updated_at", "2014-09-19 19:55:47.704206"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3b78645c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum distinctio dicta dolores fugiat neque quam veritatis. Explicabo dignissimos sint atque dolorum debitis consectetur repellat. Et libero dolores cumque et blanditiis neque. Amet non possimus. Totam exercitationem sed ut autem ut.\", \"Cum optio nisi eligendi maiores. Sed rerum sint pariatur et magni. Sed ullam natus tempora quis et. Nostrum facilis aut perspiciatis quod harum deserunt.\"]"], ["created_at", "2014-09-19 19:55:47.706881"], ["name", "contract_3b78645c"], ["title", "Sit officiis voluptas."], ["updated_at", "2014-09-19 19:55:47.706881"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.711168"], ["updated_at", "2014-09-19 19:55:47.711168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.712634"], ["updated_at", "2014-09-19 19:55:47.712634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dff30789') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque aliquam illum hic repellat. Modi aliquid aliquam tempore praesentium nobis omnis. In voluptatem adipisci eos dolorem non ipsa ipsam.\", \"Dicta error quis iste ipsum velit laboriosam placeat. Vel doloremque reiciendis porro. Nulla est deserunt. Sunt maiores animi voluptatem hic aspernatur.\"]"], ["created_at", "2014-09-19 19:55:47.715142"], ["name", "contract_dff30789"], ["title", "Temporibus quasi voluptatem laudantium omnis."], ["updated_at", "2014-09-19 19:55:47.715142"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.720055"], ["updated_at", "2014-09-19 19:55:47.720055"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.721576"], ["updated_at", "2014-09-19 19:55:47.721576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_994aa6d0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem incidunt similique numquam placeat odit. Excepturi accusamus ullam qui quo reiciendis explicabo. Dolor ratione numquam. Nobis laborum atque.\", \"Doloribus aperiam harum dolor reiciendis aut nostrum eos. Minus voluptatem sint praesentium fuga doloribus perferendis. Quis veniam assumenda atque architecto id quisquam dolorum.\"]"], ["created_at", "2014-09-19 19:55:47.724238"], ["name", "contract_994aa6d0"], ["title", "Dolorem ad incidunt magnam vel."], ["updated_at", "2014-09-19 19:55:47.724238"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 22, 15, 2, 5, 16, 23, 6, 3, 19, 1, 18, 21, 25, 8, 20, 11, 10, 7, 4, 24, 13, 12, 9, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.739531"], ["updated_at", "2014-09-19 19:55:47.739531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.741176"], ["updated_at", "2014-09-19 19:55:47.741176"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21cfbd75') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia repellendus debitis ut praesentium vel exercitationem. Est voluptas distinctio. Fugit dolore optio pariatur deleniti illum. Sed sed ipsam quidem accusamus non qui voluptatibus. Rerum doloremque eveniet placeat a odit.\", \"Alias id at doloremque dicta aliquid ad. Et explicabo repellendus quis. Tempore et cumque consequatur quia. Officiis beatae quis sit eum.\"]"], ["created_at", "2014-09-19 19:55:47.743959"], ["name", "contract_21cfbd75"], ["title", "Dolor quibusdam necessitatibus ex."], ["updated_at", "2014-09-19 19:55:47.743959"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 26]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 26]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 26 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.751625"], ["updated_at", "2014-09-19 19:55:47.751625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.753054"], ["updated_at", "2014-09-19 19:55:47.753054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a9541918') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At ullam commodi aliquam. Quibusdam sunt voluptate provident delectus unde. Quis autem ipsa. Voluptatum laboriosam dolor. Minima officiis voluptatibus nemo at est reprehenderit.\", \"Sed voluptate repellendus eligendi sed id earum. Dicta expedita dolor. Eum molestiae ipsam odio officia sunt iste.\"]"], ["created_at", "2014-09-19 19:55:47.755676"], ["name", "contract_a9541918"], ["title", "Ut et rem nobis."], ["updated_at", "2014-09-19 19:55:47.755676"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9541918"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_a9541918') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:55:47.759073"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9541918"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_a9541918') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:55:47.764418"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.768461"], ["updated_at", "2014-09-19 19:55:47.768461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.769933"], ["updated_at", "2014-09-19 19:55:47.769933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a9e6e658') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat harum natus. In ut unde sunt voluptatem vero totam. Est labore ad autem.\", \"Ut voluptatibus numquam dolore magni repudiandae. Tempore voluptatem laboriosam totam saepe illum. Exercitationem voluptatem fugiat. Itaque ab laudantium. Earum ullam qui quae ut.\"]"], ["created_at", "2014-09-19 19:55:47.772489"], ["name", "contract_a9e6e658"], ["title", "Nihil voluptatibus eum distinctio optio tempore dolores."], ["updated_at", "2014-09-19 19:55:47.772489"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9e6e658"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_a9e6e658') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 19:55:47.778208"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.783275"], ["updated_at", "2014-09-19 19:55:47.783275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.784818"], ["updated_at", "2014-09-19 19:55:47.784818"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0ecfe4c1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem aut temporibus est vero sapiente cum. Est suscipit incidunt quaerat voluptas. Consequatur maiores eos qui quaerat tempora repellat explicabo. Et nam omnis aliquid.\", \"Alias qui accusamus sit quos ut. Id iste ut enim amet. Fuga quis ut molestiae recusandae aut nam.\"]"], ["created_at", "2014-09-19 19:55:47.787366"], ["name", "contract_0ecfe4c1"], ["title", "Non et est eos."], ["updated_at", "2014-09-19 19:55:47.787366"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.793271"], ["updated_at", "2014-09-19 19:55:47.793271"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.794769"], ["updated_at", "2014-09-19 19:55:47.794769"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21fdc7b9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptatem consequatur aut quo exercitationem asperiores est. Quaerat beatae repellat iusto rem sapiente dolorem. Blanditiis laboriosam hic aliquam totam amet nihil et.\", \"Ex nostrum et cupiditate ullam. Nulla omnis voluptas delectus reprehenderit aut reiciendis. Repellendus nostrum consequatur cupiditate. Et ad eligendi assumenda culpa nihil officia.\"]"], ["created_at", "2014-09-19 19:55:47.797318"], ["name", "contract_21fdc7b9"], ["title", "Accusamus ut nesciunt in."], ["updated_at", "2014-09-19 19:55:47.797318"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21fdc7b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_21fdc7b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:55:47.800685"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.806112"], ["updated_at", "2014-09-19 19:55:47.806112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:55:47.807614"], ["updated_at", "2014-09-19 19:55:47.807614"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ad425220') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae eaque deserunt. Unde aut alias nisi. Sunt et aut qui natus provident. Iusto officiis enim illo neque quos sed.\", \"Non quae maiores rerum quas at molestiae voluptas. Consectetur dolore at repellat unde tempore. Dolores quidem blanditiis quis corporis voluptas. Repellat rerum voluptatem exercitationem eos velit et ad. Consectetur quo sit cumque omnis modi aut quia.\"]"], ["created_at", "2014-09-19 19:55:47.810268"], ["name", "contract_ad425220"], ["title", "Numquam exercitationem porro sunt."], ["updated_at", "2014-09-19 19:55:47.810268"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut est quaerat voluptatem est. Esse et ut soluta ut. Sequi labore voluptas ut.\", \"Dolor porro harum est nostrum asperiores tempore. Dignissimos accusamus quia. Est eum consectetur placeat iste laboriosam. Pariatur aut qui eveniet debitis non amet.\"]"], ["created_at", "2014-09-19 19:55:47.816958"], ["name", "alpha"], ["title", "Voluptas fugiat molestiae blanditiis dolorum ea."], ["updated_at", "2014-09-19 19:55:47.816958"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:55:47.820212"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos nostrum omnis sed eligendi voluptatem ipsum. Labore corrupti et harum vel et et placeat. Odio sit architecto facere. Facere et inventore possimus aut illo eaque. Voluptatem cum consectetur laboriosam repellendus.\", \"Nemo aut id asperiores velit cumque architecto. Aut eum inventore qui. Voluptas qui aspernatur. Ut maxime cupiditate dicta culpa aperiam dolor ut.\"]"], ["created_at", "2014-09-19 19:55:47.824458"], ["name", "beta"], ["title", "Vel eligendi possimus eveniet."], ["updated_at", "2014-09-19 19:55:47.824458"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:55:47.827451"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est iste mollitia quia reiciendis. Dolor earum aut eos commodi voluptatem. Harum voluptatem error quaerat id placeat. Pariatur omnis doloremque aspernatur temporibus laboriosam saepe ad. Voluptas vel perferendis repellat sint nemo.\", \"Repellat voluptas nesciunt debitis nobis. Ipsa in ad sint ab iure sunt dolor. Sapiente ad expedita explicabo voluptatum blanditiis. Soluta autem enim.\"]"], ["created_at", "2014-09-19 19:55:47.831400"], ["name", "alpha"], ["title", "Est voluptas maxime cum optio."], ["updated_at", "2014-09-19 19:55:47.831400"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:55:47.834456"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora illo sunt. Eveniet aliquid quod necessitatibus perferendis reprehenderit. Quas voluptatem ea doloremque recusandae voluptas. Et et sit repellat recusandae debitis labore.\", \"Et consequatur voluptas quos. Non autem dolor. Sint voluptatem velit velit impedit error. Quisquam officia tenetur qui corrupti. Modi ullam possimus pariatur qui.\"]"], ["created_at", "2014-09-19 19:55:47.837738"], ["name", "beta"], ["title", "Ducimus omnis consequuntur officia sint culpa."], ["updated_at", "2014-09-19 19:55:47.837738"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:55:47.841083"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam expedita labore ut eius. Omnis alias quae molestias libero ab placeat iure. Est culpa dolor perspiciatis deleniti deserunt suscipit.\", \"Ut non ullam. Iusto veritatis cum quod et iste. Nam dignissimos hic vitae itaque veniam voluptatem. Officia architecto neque aliquid aut deserunt inventore cumque. Perferendis laborum maiores ea libero quod sint.\"]"], ["created_at", "2014-09-19 19:55:47.845224"], ["name", "alpha"], ["title", "Sapiente omnis sequi minima distinctio voluptatem nobis quis."], ["updated_at", "2014-09-19 19:55:47.845224"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:55:47.848240"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea amet voluptatem. Ullam quo quasi suscipit rem consequatur temporibus blanditiis. Et et fugiat quia praesentium voluptatem numquam deleniti.\", \"Nobis eos qui facilis non voluptas. Enim officia soluta doloremque. Sit laudantium amet quas consequatur et unde. Minus a voluptatem voluptate corrupti.\"]"], ["created_at", "2014-09-19 19:55:47.851379"], ["name", "beta"], ["title", "Repellendus voluptas quo alias magnam harum sit."], ["updated_at", "2014-09-19 19:55:47.851379"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 19:55:47.854306"], ["version", 3]]  (0.6ms) commit transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.2ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.140596"], ["updated_at", "2014-09-19 19:57:23.140596"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.147860"], ["updated_at", "2014-09-19 19:57:23.147860"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.164884"], ["updated_at", "2014-09-19 19:57:23.164884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.166563"], ["updated_at", "2014-09-19 19:57:23.166563"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.174820"], ["updated_at", "2014-09-19 19:57:23.174820"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.177547"], ["updated_at", "2014-09-19 19:57:23.177547"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_45e96a9b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo aut ut qui ipsum doloremque sunt accusamus. Itaque aut doloremque sit a. Sunt id omnis consequatur nihil asperiores eveniet sit.\", \"Vel nostrum commodi dolorem voluptatem cum. Exercitationem autem porro est aut. Cupiditate reiciendis quia ea.\"]"], ["created_at", "2014-09-19 19:57:23.399994"], ["name", "contract_45e96a9b"], ["title", "Quia facere repellendus quod impedit officiis iste."], ["updated_at", "2014-09-19 19:57:23.399994"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45e96a9b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_45e96a9b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 19:57:23.411250"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.417327"], ["updated_at", "2014-09-19 19:57:23.417327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 19:57:23.420405"], ["updated_at", "2014-09-19 19:57:23.420405"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.430840"], ["updated_at", "2014-09-19 19:57:23.430840"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.432503"], ["updated_at", "2014-09-19 19:57:23.432503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_59f0cba1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quaerat perspiciatis accusantium est voluptatem perferendis dolor. Et id voluptate sit. Omnis molestias odio voluptas.\", \"Amet facilis occaecati veritatis voluptas perspiciatis numquam. Commodi quo cum nostrum numquam vel. Aut velit adipisci aut illum beatae quia cumque.\"]"], ["created_at", "2014-09-19 19:57:23.435767"], ["name", "contract_59f0cba1"], ["title", "Qui est aut impedit nam porro."], ["updated_at", "2014-09-19 19:57:23.435767"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_59f0cba1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_59f0cba1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 19:57:23.439132"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.441798"], ["updated_at", "2014-09-19 19:57:23.441798"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 19:57:23.444987"], ["updated_at", "2014-09-19 19:57:23.444987"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.449454"], ["updated_at", "2014-09-19 19:57:23.449454"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.451007"], ["updated_at", "2014-09-19 19:57:23.451007"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2d764382') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eius et unde. Ipsam quia qui possimus. Aut eum inventore. Perferendis reprehenderit ipsum. Harum quo alias officiis in quibusdam.\", \"Nostrum qui dicta labore aliquid facilis laboriosam. Magnam impedit ipsa hic. Sint assumenda veniam. Quis necessitatibus autem.\"]"], ["created_at", "2014-09-19 19:57:23.454153"], ["name", "contract_2d764382"], ["title", "Aspernatur quidem est."], ["updated_at", "2014-09-19 19:57:23.454153"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2d764382"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_2d764382') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 19:57:23.458080"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.460928"], ["updated_at", "2014-09-19 19:57:23.460928"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 19:57:23.463292"], ["updated_at", "2014-09-19 19:57:23.463292"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 1.3ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.476846"], ["updated_at", "2014-09-19 19:57:23.476846"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.478858"], ["updated_at", "2014-09-19 19:57:23.478858"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f9c63b0a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis facere mollitia deserunt eum. Deserunt facilis debitis maxime dolores. Provident aspernatur totam. Ipsa et rerum omnis natus voluptates.\", \"Molestias dicta sunt nihil odio ducimus rem. Quia autem consequatur natus accusamus nisi. Incidunt dolor adipisci. Illum voluptas sed explicabo earum.\"]"], ["created_at", "2014-09-19 19:57:23.482519"], ["name", "contract_f9c63b0a"], ["title", "Sapiente id esse itaque recusandae quis velit."], ["updated_at", "2014-09-19 19:57:23.482519"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9c63b0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_f9c63b0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 19:57:23.485874"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.488407"], ["updated_at", "2014-09-19 19:57:23.488407"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 19:57:23.490628"], ["updated_at", "2014-09-19 19:57:23.490628"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque quia et aliquam optio suscipit quaerat. Est ut ut. Aut voluptatem consequatur assumenda iusto. Nisi voluptatem magni deleniti et omnis totam velit. Quas dolorem temporibus similique doloribus vitae dolore.\", \"Similique earum sunt. Ut voluptatum eum nobis quia non molestiae. Similique et sunt ex. Nihil id ducimus neque corporis consequatur aut et. Vero iure est.\"]"], ["created_at", "2014-09-19 19:57:23.497698"], ["name", "alpha"], ["title", "Sit et dolores odit ipsam rerum."], ["updated_at", "2014-09-19 19:57:23.497698"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 19:57:23.501091"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos aut aspernatur voluptate eaque. Natus aut voluptas eaque debitis ut ab. Optio laboriosam officia eaque.\", \"Sint odit exercitationem veritatis. Dolorum consectetur hic dolorem inventore officiis. Repellat culpa laboriosam. Nemo qui aut veniam.\"]"], ["created_at", "2014-09-19 19:57:23.504919"], ["name", "beta"], ["title", "Distinctio occaecati quidem incidunt consectetur accusantium."], ["updated_at", "2014-09-19 19:57:23.504919"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 19:57:23.508176"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur sed eveniet corporis rem praesentium optio. Tempora corporis quos magnam. Debitis consectetur harum et odio mollitia. Tempora eaque consequatur.\", \"Ad inventore nulla qui. Delectus modi dolor dolorem doloribus. Alias voluptatem dolore animi suscipit iusto sit officiis. Harum in occaecati laboriosam.\"]"], ["created_at", "2014-09-19 19:57:23.513931"], ["name", "alpha"], ["title", "Officiis quaerat suscipit dolorem id et."], ["updated_at", "2014-09-19 19:57:23.513931"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 19:57:23.517408"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat molestiae aliquid dolorem quae. Veniam praesentium illum omnis exercitationem quia eum. Consequatur molestiae hic velit placeat. Facilis cumque ut dolore.\", \"Sed inventore repellat sed nulla. Magnam maxime debitis nihil veniam et et velit. Iusto quidem eos voluptatem cum deserunt dolorem maxime. Debitis cumque aut itaque a ad dolorem.\"]"], ["created_at", "2014-09-19 19:57:23.520636"], ["name", "beta"], ["title", "Atque autem nisi qui suscipit."], ["updated_at", "2014-09-19 19:57:23.520636"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 19:57:23.524451"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio at laboriosam perferendis neque dolorem. Doloremque ut vero pariatur eveniet officiis. Temporibus sint veritatis. Autem quia unde consequatur.\", \"Quas labore corrupti earum voluptatem molestiae. Dolorum non atque tenetur. Quas in cum ducimus consequatur voluptas. Dolorem labore beatae.\"]"], ["created_at", "2014-09-19 19:57:23.529246"], ["name", "alpha"], ["title", "Enim atque assumenda debitis temporibus."], ["updated_at", "2014-09-19 19:57:23.529246"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 19:57:23.533745"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aut similique ut deserunt. Sit accusantium corporis veritatis minus nostrum et voluptatibus. Accusamus corporis unde totam earum illo ut iste. Vel adipisci sapiente expedita est magnam corrupti. Ducimus et cupiditate laborum necessitatibus sapiente aut.\", \"Exercitationem praesentium et. Qui provident blanditiis minima velit totam aut. Libero voluptatem ea sit ab. Eos dolorum magnam nisi omnis. Expedita ad ratione.\"]"], ["created_at", "2014-09-19 19:57:23.537865"], ["name", "beta"], ["title", "Non sit fuga."], ["updated_at", "2014-09-19 19:57:23.537865"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 19:57:23.540983"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.544140"], ["updated_at", "2014-09-19 19:57:23.544140"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.545490"], ["updated_at", "2014-09-19 19:57:23.545490"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4c54ae76') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore asperiores rerum perspiciatis sequi quia nihil. Et autem officia. Nesciunt sit nulla sequi dolores. Eius quod saepe.\", \"Qui nostrum repellat ipsum voluptatem ut saepe. Consequuntur aut sit et mollitia. Et placeat nobis perferendis inventore. Sapiente rerum soluta porro consectetur ut cum. Autem eos vel ab repellat.\"]"], ["created_at", "2014-09-19 19:57:23.548097"], ["name", "contract_4c54ae76"], ["title", "Reprehenderit eaque quis id non."], ["updated_at", "2014-09-19 19:57:23.548097"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 11]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 11]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 11 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.557642"], ["updated_at", "2014-09-19 19:57:23.557642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.559257"], ["updated_at", "2014-09-19 19:57:23.559257"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a1bc885f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores commodi omnis adipisci ab autem reiciendis temporibus. Et expedita dolores recusandae eum mollitia. Adipisci quos fuga ut doloribus enim. Et et ducimus voluptas.\", \"Aut quia aut. Dolorem nemo perferendis expedita hic aliquam. Consequatur facere voluptatem porro.\"]"], ["created_at", "2014-09-19 19:57:23.561810"], ["name", "contract_a1bc885f"], ["title", "Dolor quia iure esse fuga."], ["updated_at", "2014-09-19 19:57:23.561810"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.567317"], ["updated_at", "2014-09-19 19:57:23.567317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.568746"], ["updated_at", "2014-09-19 19:57:23.568746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c799bb7a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea quidem magni consequatur sed ut. Et consequatur consectetur odit nihil ea. Ex consequatur totam enim.\", \"Eveniet recusandae odio architecto repudiandae placeat. Voluptas optio non voluptas incidunt. Occaecati voluptates velit est minima. Aliquid ea occaecati et sunt eveniet dolore quos. Molestias cumque saepe quisquam et quas ipsa.\"]"], ["created_at", "2014-09-19 19:57:23.571270"], ["name", "contract_c799bb7a"], ["title", "Dicta minus occaecati eum et."], ["updated_at", "2014-09-19 19:57:23.571270"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c799bb7a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_c799bb7a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 19:57:23.574785"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.580632"], ["updated_at", "2014-09-19 19:57:23.580632"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.582112"], ["updated_at", "2014-09-19 19:57:23.582112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1314c381') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur atque quia quia qui. Ipsa earum quo dolorem tenetur quaerat aliquid aperiam. Eligendi sit voluptatem officia necessitatibus.\", \"Natus dolorem sint quia illum. Facilis explicabo ut nihil ducimus placeat officiis vel. Ratione molestiae quaerat et aut vel nemo.\"]"], ["created_at", "2014-09-19 19:57:23.584586"], ["name", "contract_1314c381"], ["title", "Amet aperiam itaque illum et placeat aspernatur aut."], ["updated_at", "2014-09-19 19:57:23.584586"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 19:57:23.588638"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.594108"], ["updated_at", "2014-09-19 19:57:23.594108"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.595706"], ["updated_at", "2014-09-19 19:57:23.595706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9fcabf6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est illum eaque vero. Hic quia sit enim consequatur. Ab rerum at ea.\", \"Harum architecto deleniti minus quos quo ullam. Culpa dolorum dolor consequatur dolor. Et repudiandae magni saepe iusto optio.\"]"], ["created_at", "2014-09-19 19:57:23.598285"], ["name", "contract_9fcabf6d"], ["title", "Mollitia in maxime non enim inventore reprehenderit."], ["updated_at", "2014-09-19 19:57:23.598285"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.606253"], ["updated_at", "2014-09-19 19:57:23.606253"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.607967"], ["updated_at", "2014-09-19 19:57:23.607967"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_8d6ec7ff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis quos sed maiores adipisci vero repellendus. Est autem nam. Aut ex ut. Quam deserunt molestiae est ea. Deleniti laudantium autem eum inventore.\", \"Ut incidunt magnam modi officiis iure iste voluptates. Consequatur quaerat fuga ipsam. Libero in autem ab. Labore omnis eos dolorum vel earum.\"]"], ["created_at", "2014-09-19 19:57:23.610837"], ["name", "contract_8d6ec7ff"], ["title", "Fugiat voluptatem et quia."], ["updated_at", "2014-09-19 19:57:23.610837"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 5, 10, 8, 6, 3, 1, 2, 16, 15, 12, 13, 4, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.621159"], ["updated_at", "2014-09-19 19:57:23.621159"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.622844"], ["updated_at", "2014-09-19 19:57:23.622844"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6537eb8f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi rerum molestiae nostrum. Distinctio mollitia ut ut. Reiciendis vero ipsum.\", \"Occaecati aliquid aliquam aut velit qui aspernatur labore. Accusamus laboriosam qui. Qui sunt harum voluptatibus quis. Quisquam enim ipsa vero odit et sunt molestias.\"]"], ["created_at", "2014-09-19 19:57:23.626630"], ["name", "contract_6537eb8f"], ["title", "Nemo tempore eos neque sint provident minus doloremque."], ["updated_at", "2014-09-19 19:57:23.626630"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.632064"], ["updated_at", "2014-09-19 19:57:23.632064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.633760"], ["updated_at", "2014-09-19 19:57:23.633760"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_75451dcd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa asperiores libero architecto quis occaecati. Veritatis dolorem laudantium magnam. Odit dolorum corrupti perspiciatis consectetur. Quis temporibus ut.\", \"Architecto magnam placeat cupiditate accusamus quisquam. Est quam inventore. Aut voluptate incidunt voluptas. Unde asperiores et.\"]"], ["created_at", "2014-09-19 19:57:23.636551"], ["name", "contract_75451dcd"], ["title", "Aut vitae amet voluptatibus minima omnis."], ["updated_at", "2014-09-19 19:57:23.636551"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75451dcd"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_75451dcd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 19:57:23.643349"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.647960"], ["updated_at", "2014-09-19 19:57:23.647960"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.649476"], ["updated_at", "2014-09-19 19:57:23.649476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_787ed6a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id eveniet nobis. Est excepturi maxime voluptates adipisci. Ducimus dicta sed animi omnis est. Voluptas culpa rerum qui sint.\", \"Laudantium molestiae veritatis qui est accusantium molestias. At quis sunt. Non repudiandae non debitis.\"]"], ["created_at", "2014-09-19 19:57:23.651952"], ["name", "contract_787ed6a6"], ["title", "Ea iste doloribus."], ["updated_at", "2014-09-19 19:57:23.651952"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.656713"], ["updated_at", "2014-09-19 19:57:23.656713"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.658245"], ["updated_at", "2014-09-19 19:57:23.658245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c32c35c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo quam ut minus cumque excepturi et recusandae. Non beatae cumque a nostrum accusamus. Neque molestias et laudantium id occaecati dolore. Perspiciatis rerum provident. Perspiciatis consequatur quod.\", \"Eum eos modi ullam. Et eum vero aut et voluptatem. Optio soluta molestiae ratione aut. Cum rerum ratione qui aut.\"]"], ["created_at", "2014-09-19 19:57:23.660793"], ["name", "contract_c32c35c4"], ["title", "Quam aliquid sed qui explicabo."], ["updated_at", "2014-09-19 19:57:23.660793"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c32c35c4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_c32c35c4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:57:23.664163"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c32c35c4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_c32c35c4') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 19:57:23.669710"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.675113"], ["updated_at", "2014-09-19 19:57:23.675113"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.676658"], ["updated_at", "2014-09-19 19:57:23.676658"]]  (1.1ms) commit transaction  (0.0ms) begin transaction 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_0a9d92d0') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita nihil saepe id. Recusandae rerum sequi. Vel ab impedit nobis iste odit ut voluptatem. Tenetur sunt ab alias cum et. Ut eum soluta incidunt nobis autem qui eos.\", \"Ipsa ab ut corporis unde in. Distinctio itaque non accusantium et dignissimos sit vitae. Animi sed sequi voluptatem similique.\"]"], ["created_at", "2014-09-19 19:57:23.680048"], ["name", "contract_0a9d92d0"], ["title", "Et quos atque qui sunt eligendi."], ["updated_at", "2014-09-19 19:57:23.680048"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.684356"], ["updated_at", "2014-09-19 19:57:23.684356"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.685976"], ["updated_at", "2014-09-19 19:57:23.685976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58606c9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt magni est qui quisquam. Quia quisquam rerum reiciendis ab ut sit. Debitis ipsam magnam officia quae qui.\", \"Eveniet alias et incidunt harum qui tempore. Nisi alias autem ipsum asperiores. Voluptatem maxime et cum illum. Dolore ipsum facere eligendi. Occaecati maiores assumenda et.\"]"], ["created_at", "2014-09-19 19:57:23.688504"], ["name", "contract_58606c9a"], ["title", "Aliquid commodi impedit voluptatem quam."], ["updated_at", "2014-09-19 19:57:23.688504"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.692676"], ["updated_at", "2014-09-19 19:57:23.692676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.694151"], ["updated_at", "2014-09-19 19:57:23.694151"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f70804ae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam hic dolorum deserunt dolor nisi molestias. Illum nihil doloribus laboriosam. Fugit velit quos eum quae id officiis. Sit optio quis odit molestias repudiandae facilis maiores. Est illum ullam cum non et magni.\", \"Ipsam magni excepturi dolor et consequatur. Qui inventore ut. Iure corporis libero fuga accusantium atque et. Vero similique dolores. Velit itaque ut.\"]"], ["created_at", "2014-09-19 19:57:23.696717"], ["name", "contract_f70804ae"], ["title", "Delectus illo dignissimos officia odit est nihil."], ["updated_at", "2014-09-19 19:57:23.696717"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.701386"], ["updated_at", "2014-09-19 19:57:23.701386"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.703235"], ["updated_at", "2014-09-19 19:57:23.703235"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_17c881e1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus ea sint rerum. Sit autem debitis ut. Magni rerum libero velit at. Incidunt est suscipit aut sed impedit alias.\", \"Eum officia totam nisi eius neque. Vel nobis recusandae aut sunt. Voluptatem autem possimus. Unde non repellendus.\"]"], ["created_at", "2014-09-19 19:57:23.706794"], ["name", "contract_17c881e1"], ["title", "Sit provident nam autem."], ["updated_at", "2014-09-19 19:57:23.706794"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_17c881e1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_17c881e1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 19:57:23.710615"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_17c881e1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.721932"], ["updated_at", "2014-09-19 19:57:23.721932"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.723703"], ["updated_at", "2014-09-19 19:57:23.723703"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_766f0bf4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum vero unde a deleniti. Et aliquid perspiciatis quis. Qui est consequatur.\", \"Repellat maxime deserunt illum unde ut labore. Dolor dolor provident dignissimos sed. Rem voluptatum id tenetur nobis quisquam consectetur et. Perferendis impedit ut.\"]"], ["created_at", "2014-09-19 19:57:23.726396"], ["name", "contract_766f0bf4"], ["title", "Error rerum et."], ["updated_at", "2014-09-19 19:57:23.726396"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.734011"], ["updated_at", "2014-09-19 19:57:23.734011"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.735830"], ["updated_at", "2014-09-19 19:57:23.735830"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a57373cb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt quisquam libero est blanditiis. Soluta perferendis vitae. Voluptatem aut laudantium labore officiis velit iusto aut.\", \"Ut dolores praesentium. Ut cumque voluptatem adipisci. Est recusandae enim vel.\"]"], ["created_at", "2014-09-19 19:57:23.738680"], ["name", "contract_a57373cb"], ["title", "Rerum quae autem dolores recusandae tenetur tempora."], ["updated_at", "2014-09-19 19:57:23.738680"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.743651"], ["updated_at", "2014-09-19 19:57:23.743651"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.745183"], ["updated_at", "2014-09-19 19:57:23.745183"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d660bab0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam suscipit laborum temporibus tenetur vel fugiat quisquam. Quia aut quo. Unde voluptatem ducimus. Exercitationem sit vel nemo consequatur.\", \"Quia eos sit. Vel nisi eum ex earum. Sequi sit eaque dolor repellat eveniet nihil fugiat. Maxime commodi et. Asperiores dolorum natus.\"]"], ["created_at", "2014-09-19 19:57:23.747880"], ["name", "contract_d660bab0"], ["title", "Et voluptate libero."], ["updated_at", "2014-09-19 19:57:23.747880"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d660bab0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_d660bab0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 19:57:23.752258"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.757432"], ["updated_at", "2014-09-19 19:57:23.757432"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.759116"], ["updated_at", "2014-09-19 19:57:23.759116"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_328ba3f4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad nam fugit tenetur minus doloribus optio quam. Et est repudiandae dolore aut. Sed delectus est.\", \"Omnis quia odio nostrum fugiat. Molestiae non accusantium iusto. Voluptate reiciendis molestiae cumque qui magnam fugiat quas. Iste dolores sequi quod est eius.\"]"], ["created_at", "2014-09-19 19:57:23.762379"], ["name", "contract_328ba3f4"], ["title", "Exercitationem saepe minus similique."], ["updated_at", "2014-09-19 19:57:23.762379"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction 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_a648afe8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic enim cumque aperiam vitae odit non voluptas. Deserunt quo tenetur qui eos est magnam. Sapiente exercitationem doloribus quae qui ab. Officiis aliquam provident. Quia sapiente et minima placeat culpa libero.\", \"Ut odio quisquam autem a. Omnis molestiae aut nemo velit non error. Doloremque ea autem aliquam repellat cumque ut perspiciatis.\"]"], ["created_at", "2014-09-19 19:57:23.770022"], ["name", "contract_a648afe8"], ["title", "Explicabo voluptatem quasi."], ["updated_at", "2014-09-19 19:57:23.770022"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]]  (0.0ms) begin transaction 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_131cd3f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum eligendi rerum rerum molestiae. Reiciendis eligendi assumenda sint et libero consectetur dolor. Debitis sint asperiores nemo magni aut et.\", \"Accusamus qui tempora nesciunt. Autem a ut et ea sint. Minima nam sit. Animi officiis quae dolorem.\"]"], ["created_at", "2014-09-19 19:57:23.774170"], ["name", "contract_131cd3f8"], ["title", "Recusandae dignissimos dolorum vel."], ["updated_at", "2014-09-19 19:57:23.774170"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_131cd3f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_131cd3f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 19:57:23.777192"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.779626"], ["updated_at", "2014-09-19 19:57:23.779626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]]  (0.0ms) begin transaction 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_140e945a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptatem sed. Quis dignissimos ab aut. Magni enim eaque sint aut qui est. Impedit laboriosam voluptas.\", \"Id cupiditate adipisci. Sapiente hic possimus voluptatem illum eveniet voluptatum. Saepe id et odio perspiciatis.\"]"], ["created_at", "2014-09-19 19:57:23.785033"], ["name", "contract_140e945a"], ["title", "Quasi repellendus odit sed cumque perferendis sit nostrum."], ["updated_at", "2014-09-19 19:57:23.785033"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_140e945a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_140e945a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 19:57:23.789131"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_140e945a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_140e945a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptatem sed. Quis dignissimos ab aut. Magni enim eaque sint aut qui est. Impedit laboriosam voluptas.\", \"Id cupiditate adipisci. Sapiente hic possimus voluptatem illum eveniet voluptatum. Saepe id et odio perspiciatis.\"]"], ["created_at", "2014-09-19 19:57:23.794305"], ["name", "contract_140e945a"], ["title", "Quasi repellendus odit sed cumque perferendis sit nostrum."], ["updated_at", "2014-09-19 19:57:23.794305"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_140e945a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_140e945a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 19:57:23.797929"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_6253efe2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis dolorem deserunt error repellat. Sequi sed alias quia eum. Porro sed officia et numquam id. Aut est alias voluptatem.\", \"Qui est suscipit. Sit amet laudantium commodi ut atque. Ullam voluptas velit omnis laudantium commodi iste. Harum sit rerum.\"]"], ["created_at", "2014-09-19 19:57:23.803084"], ["name", "contract_6253efe2"], ["title", "Molestiae libero porro provident nostrum neque iste."], ["updated_at", "2014-09-19 19:57:23.803084"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6253efe2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_6253efe2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:57:23.808517"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6253efe2"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6253efe2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_6253efe2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 19:57:23.814970"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f4da956d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid ut vel molestias dolor voluptatibus impedit rerum. Odio laboriosam voluptas cupiditate. Nisi porro quod. Nam vel molestias impedit assumenda quia.\", \"Laborum aut nobis dolor molestiae. Laborum dignissimos vero a soluta aliquid quam. Sequi vero assumenda.\"]"], ["created_at", "2014-09-19 19:57:23.819404"], ["name", "contract_f4da956d"], ["title", "Omnis et vel et."], ["updated_at", "2014-09-19 19:57:23.819404"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4da956d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_f4da956d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 19:57:23.822400"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f4da956d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid ut vel molestias dolor voluptatibus impedit rerum. Odio laboriosam voluptas cupiditate. Nisi porro quod. Nam vel molestias impedit assumenda quia.\", \"Laborum aut nobis dolor molestiae. Laborum dignissimos vero a soluta aliquid quam. Sequi vero assumenda.\"]"], ["created_at", "2014-09-19 19:57:23.825769"], ["name", "joe"], ["title", "Omnis et vel et."], ["updated_at", "2014-09-19 19:57:23.825769"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 19:57:23.828910"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_517181de') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos perferendis quod delectus sint temporibus perspiciatis quaerat. Possimus quaerat enim omnis assumenda. Nostrum et quibusdam.\", \"Similique ipsa earum officia dicta est. Est exercitationem nesciunt totam quia dolor. Unde provident est inventore sunt molestiae et quam. Quis aliquam quisquam tenetur.\"]"], ["created_at", "2014-09-19 19:57:23.832631"], ["name", "contract_517181de"], ["title", "Ad dolorem tempora est sit perferendis dolor."], ["updated_at", "2014-09-19 19:57:23.832631"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_517181de"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_517181de') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 19:57:23.835640"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 19:57:23.840070"], ["updated_at", "2014-09-19 19:57:23.840070"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 19:57:23.842356"], ["updated_at", "2014-09-19 19:57:23.842356"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_517181de') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_517181de"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_517181de') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:00.899416"], ["updated_at", "2014-09-19 20:00:00.899416"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:00.906640"], ["updated_at", "2014-09-19 20:00:00.906640"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_76aa7d6a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis quasi quia. Provident natus ea. Deserunt id delectus. Sunt deserunt esse est. Molestiae aut autem laudantium animi.\", \"Doloribus autem quas voluptate. Nesciunt minima quaerat sint distinctio voluptatum. Sit eligendi quo. Rerum architecto dolores veritatis vero. Et consequatur debitis et voluptatibus non sint.\"]"], ["created_at", "2014-09-19 20:00:01.141299"], ["name", "contract_76aa7d6a"], ["title", "Quisquam debitis tenetur."], ["updated_at", "2014-09-19 20:00:01.141299"]] [1m (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76aa7d6a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_76aa7d6a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:00:01.153228"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.159521"], ["updated_at", "2014-09-19 20:00:01.159521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:00:01.162729"], ["updated_at", "2014-09-19 20:00:01.162729"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.176506"], ["updated_at", "2014-09-19 20:00:01.176506"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.178714"], ["updated_at", "2014-09-19 20:00:01.178714"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f873f094') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore nulla consequuntur. Et ut ipsum repellendus veniam ipsam. Voluptas sit vel quia unde. Aut commodi aut consectetur distinctio ut consequatur.\", \"Fuga et nisi libero id. Error sint beatae nisi sint perferendis tenetur laudantium. Est natus voluptatem. Molestiae rerum eos qui. Voluptatem quam eveniet laudantium quis eius.\"]"], ["created_at", "2014-09-19 20:00:01.182950"], ["name", "contract_f873f094"], ["title", "Non aliquam repellat."], ["updated_at", "2014-09-19 20:00:01.182950"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f873f094"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) 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_f873f094') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:00:01.188098"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.192024"], ["updated_at", "2014-09-19 20:00:01.192024"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 20:00:01.194912"], ["updated_at", "2014-09-19 20:00:01.194912"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.206530"], ["updated_at", "2014-09-19 20:00:01.206530"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.208252"], ["updated_at", "2014-09-19 20:00:01.208252"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_2ec5883c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia officia et id suscipit provident. Distinctio aut reprehenderit et ullam. Quisquam explicabo ut. Voluptates eos natus labore perferendis.\", \"Veniam dolorem perferendis sint reprehenderit illum sunt et. Tempore illo qui. Dolor id omnis ea rerum. Dolorum autem in dolor facere illum sunt. Repellendus commodi culpa qui sed ipsum recusandae.\"]"], ["created_at", "2014-09-19 20:00:01.211632"], ["name", "contract_2ec5883c"], ["title", "Soluta voluptatem qui veritatis harum asperiores rerum."], ["updated_at", "2014-09-19 20:00:01.211632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ec5883c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_2ec5883c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:00:01.215199"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.218471"], ["updated_at", "2014-09-19 20:00:01.218471"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:00:01.220767"], ["updated_at", "2014-09-19 20:00:01.220767"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.227683"], ["updated_at", "2014-09-19 20:00:01.227683"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.229284"], ["updated_at", "2014-09-19 20:00:01.229284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_954d5b9c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste et repudiandae quae vero. Et magni error culpa voluptatum dolorem nemo quia. Et iure id eligendi quibusdam quia dolor. Aut saepe vel sit omnis. Porro ut maxime non rem fugit fugiat.\", \"Impedit libero perspiciatis eos hic aut exercitationem alias. Molestiae ad tenetur. Exercitationem autem nemo laudantium id omnis voluptatum optio.\"]"], ["created_at", "2014-09-19 20:00:01.232545"], ["name", "contract_954d5b9c"], ["title", "Est dicta maiores necessitatibus neque voluptas voluptatem laborum."], ["updated_at", "2014-09-19 20:00:01.232545"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_954d5b9c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_954d5b9c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:00:01.235831"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.238251"], ["updated_at", "2014-09-19 20:00:01.238251"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:00:01.240417"], ["updated_at", "2014-09-19 20:00:01.240417"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.249967"], ["updated_at", "2014-09-19 20:00:01.249967"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.251775"], ["updated_at", "2014-09-19 20:00:01.251775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_612b5a91') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque rem quo dolor voluptatem ut. Veritatis enim placeat accusamus velit amet. Nemo vel omnis animi et quis sed. Possimus vero perspiciatis natus labore.\", \"Velit similique possimus sed ea est molestias et. Reprehenderit tenetur facilis sed sed. Asperiores saepe ipsa quaerat corporis. Est est quia facere eveniet. Reiciendis voluptatum tempora corporis mollitia quia.\"]"], ["created_at", "2014-09-19 20:00:01.255466"], ["name", "contract_612b5a91"], ["title", "Incidunt deserunt in."], ["updated_at", "2014-09-19 20:00:01.255466"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.264519"], ["updated_at", "2014-09-19 20:00:01.264519"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.266364"], ["updated_at", "2014-09-19 20:00:01.266364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_28734d55') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut vero tenetur rerum corporis consectetur ut voluptatum. Earum odit velit possimus repellat inventore voluptas. Ea architecto impedit dolorem dignissimos quas ratione veniam.\", \"Veritatis temporibus est ipsa ratione eius quod. Est est excepturi et voluptatibus a veniam. Eligendi eum error id ratione est et dolorem. Culpa amet fugiat minima saepe beatae aut aspernatur.\"]"], ["created_at", "2014-09-19 20:00:01.269368"], ["name", "contract_28734d55"], ["title", "Repudiandae reiciendis cum corporis perferendis qui mollitia minima."], ["updated_at", "2014-09-19 20:00:01.269368"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.275115"], ["updated_at", "2014-09-19 20:00:01.275115"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.276573"], ["updated_at", "2014-09-19 20:00:01.276573"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_62ac738a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi aliquam est occaecati laborum ab. Non sed similique consequatur sed et facere ipsa. Porro sed et sunt. Dolorem voluptates officia distinctio magni ipsam officiis.\", \"Et iure nostrum tempore perspiciatis in. Non est consequuntur eum ut doloremque possimus. Nisi doloremque dolorem nulla fuga.\"]"], ["created_at", "2014-09-19 20:00:01.279365"], ["name", "contract_62ac738a"], ["title", "Perferendis iusto libero odio veritatis tenetur voluptatem magni."], ["updated_at", "2014-09-19 20:00:01.279365"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.285423"], ["updated_at", "2014-09-19 20:00:01.285423"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.287068"], ["updated_at", "2014-09-19 20:00:01.287068"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_39c932d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui minus ducimus tempore. Similique est id qui et. Inventore autem mollitia.\", \"Dolorem excepturi et. Libero fugit ipsum quia et. Assumenda rerum est repellat exercitationem ut inventore.\"]"], ["created_at", "2014-09-19 20:00:01.289985"], ["name", "contract_39c932d9"], ["title", "Commodi reprehenderit aut dolor reiciendis odit ad."], ["updated_at", "2014-09-19 20:00:01.289985"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.294532"], ["updated_at", "2014-09-19 20:00:01.294532"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.296082"], ["updated_at", "2014-09-19 20:00:01.296082"]]  (0.4ms) commit transaction  (0.0ms) begin transaction 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_27060b72') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sed eligendi delectus eos harum. Magni saepe doloribus sed. Voluptas ratione eos veniam sit consequatur.\", \"Nesciunt sed magnam. Veniam nostrum qui rerum alias non quod. Dolores similique deleniti minima sed perspiciatis id. Sequi totam facilis numquam. Qui accusamus quos.\"]"], ["created_at", "2014-09-19 20:00:01.298951"], ["name", "contract_27060b72"], ["title", "Ut et minima a voluptatem voluptate perspiciatis."], ["updated_at", "2014-09-19 20:00:01.298951"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 6, 3, 8, 5, 7, 1, 4, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.309465"], ["updated_at", "2014-09-19 20:00:01.309465"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.311233"], ["updated_at", "2014-09-19 20:00:01.311233"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_09fc5b91') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quis deserunt ex rerum nobis. Nisi sapiente veritatis. Neque enim dolores qui qui.\", \"Id quod nisi vitae et iusto harum blanditiis. Blanditiis reprehenderit et. Non sint ullam animi rerum nam libero.\"]"], ["created_at", "2014-09-19 20:00:01.313929"], ["name", "contract_09fc5b91"], ["title", "Beatae voluptatum consectetur animi sint sapiente eius unde."], ["updated_at", "2014-09-19 20:00:01.313929"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.318476"], ["updated_at", "2014-09-19 20:00:01.318476"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.320086"], ["updated_at", "2014-09-19 20:00:01.320086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3536002d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni ratione adipisci dolor odit voluptatem. Culpa consequatur neque et quia soluta consequatur. Consequuntur autem quasi asperiores neque.\", \"Eaque est et quibusdam consectetur autem neque. Nostrum harum ab distinctio itaque quidem tempora. Tempora eius quisquam. Quam accusamus dolorem beatae aut quibusdam inventore adipisci.\"]"], ["created_at", "2014-09-19 20:00:01.322659"], ["name", "contract_3536002d"], ["title", "Ducimus aspernatur aut qui."], ["updated_at", "2014-09-19 20:00:01.322659"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:00:01.326236"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:00:01.326236"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.329844"], ["updated_at", "2014-09-19 20:00:01.329844"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.331290"], ["updated_at", "2014-09-19 20:00:01.331290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6fd4b416') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ullam nesciunt reiciendis culpa similique consectetur et. Molestiae nihil tempora excepturi nobis. Qui optio fuga omnis dolor error harum. Tempora rerum hic. Quia non omnis totam sunt autem repudiandae eveniet.\", \"Sunt incidunt dolore voluptatem ratione et dolor quia. Nihil rerum quos laboriosam aut. Consequuntur cupiditate et perspiciatis non. Et magnam omnis quasi.\"]"], ["created_at", "2014-09-19 20:00:01.333855"], ["name", "contract_6fd4b416"], ["title", "Et itaque rerum illo molestias."], ["updated_at", "2014-09-19 20:00:01.333855"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.338190"], ["updated_at", "2014-09-19 20:00:01.338190"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.339669"], ["updated_at", "2014-09-19 20:00:01.339669"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dd505aa6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum voluptatibus id aut sequi. Consequatur fuga ipsam sit voluptatibus. Quaerat sint dolorem eum sit distinctio ut.\", \"Minus libero facere perferendis. Aliquid nihil sint. Consequuntur quo sapiente molestias doloribus quia dolor earum. Animi repellat consequuntur quod nulla. Recusandae similique a sequi odit quo.\"]"], ["created_at", "2014-09-19 20:00:01.342200"], ["name", "contract_dd505aa6"], ["title", "Natus similique porro vitae velit sed."], ["updated_at", "2014-09-19 20:00:01.342200"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.347858"], ["updated_at", "2014-09-19 20:00:01.347858"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.350073"], ["updated_at", "2014-09-19 20:00:01.350073"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b8ff49ab') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae voluptatibus voluptatum. Eveniet aut earum qui. A voluptatem nisi et sit natus vitae ipsum.\", \"Dolore culpa quia excepturi. Recusandae dolores nostrum. Eveniet non earum. Aliquid minus ea quo nemo. Similique vero consequatur praesentium quia natus dignissimos.\"]"], ["created_at", "2014-09-19 20:00:01.353627"], ["name", "contract_b8ff49ab"], ["title", "Illo et cum."], ["updated_at", "2014-09-19 20:00:01.353627"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b8ff49ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b8ff49ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:00:01.357830"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.362953"], ["updated_at", "2014-09-19 20:00:01.362953"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.364485"], ["updated_at", "2014-09-19 20:00:01.364485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_740fbf42') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quam dolor sit tempore assumenda delectus. Odio eveniet molestias est amet exercitationem. Omnis est est et doloremque eos sunt commodi.\", \"Officia aut sit enim nostrum. Consequatur vel cum voluptatibus voluptatum. Iste molestiae consequuntur quia aspernatur qui et. Unde et quasi maxime. Vel quisquam dolores consequuntur deleniti pariatur.\"]"], ["created_at", "2014-09-19 20:00:01.367045"], ["name", "contract_740fbf42"], ["title", "Repellat omnis exercitationem quibusdam."], ["updated_at", "2014-09-19 20:00:01.367045"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_740fbf42"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_740fbf42') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:00:01.370434"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_740fbf42' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.377270"], ["updated_at", "2014-09-19 20:00:01.377270"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.378808"], ["updated_at", "2014-09-19 20:00:01.378808"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8babfa49') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui vitae tempora minus. Quidem a et. Sapiente sint suscipit omnis assumenda. Veniam ut velit voluptatem et excepturi dolores. Excepturi vel eum eligendi ipsam magnam et et.\", \"Qui perspiciatis sit non aut labore. Rem facere sit sit sed. Qui veniam recusandae.\"]"], ["created_at", "2014-09-19 20:00:01.381629"], ["name", "contract_8babfa49"], ["title", "Soluta ea harum ratione eum consectetur atque."], ["updated_at", "2014-09-19 20:00:01.381629"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.387277"], ["updated_at", "2014-09-19 20:00:01.387277"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.388651"], ["updated_at", "2014-09-19 20:00:01.388651"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_5cd1c1d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa quo qui ullam. Voluptatem sed alias in ut ea. Dolor iste vel et. Consequuntur assumenda quo reiciendis labore non. Vero doloremque tempora.\", \"Et tempore fugiat amet totam libero molestiae. Qui ipsum tenetur sed nisi recusandae aut tempore. Sit vel tenetur unde. Ab exercitationem est sapiente vero molestias vel saepe.\"]"], ["created_at", "2014-09-19 20:00:01.391802"], ["name", "contract_5cd1c1d7"], ["title", "Ut voluptatem modi blanditiis iste doloremque non."], ["updated_at", "2014-09-19 20:00:01.391802"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.402462"], ["updated_at", "2014-09-19 20:00:01.402462"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.404139"], ["updated_at", "2014-09-19 20:00:01.404139"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4bb6ef87') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident at nemo. Minus sint explicabo optio consequatur fugiat qui. Corporis dolores consequuntur quae ipsa voluptatem iste voluptate. Quia beatae et aut explicabo quaerat repudiandae possimus. Ea fugiat sint dolor.\", \"Consequatur voluptatem explicabo in. Quas nobis et placeat asperiores ut tenetur. Alias consequatur quia quod deleniti rerum molestiae.\"]"], ["created_at", "2014-09-19 20:00:01.406800"], ["name", "contract_4bb6ef87"], ["title", "Nostrum eaque voluptatum id accusamus."], ["updated_at", "2014-09-19 20:00:01.406800"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4bb6ef87"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_4bb6ef87') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:00:01.411774"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.415792"], ["updated_at", "2014-09-19 20:00:01.415792"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.417297"], ["updated_at", "2014-09-19 20:00:01.417297"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4f8bc195') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor ea et hic aut quia dolore. Illo commodi sit et aut reiciendis dignissimos. Ratione laudantium voluptas consectetur voluptatem commodi eos.\", \"Aut placeat quo dolorem sit aut repellendus necessitatibus. Quaerat nisi suscipit earum voluptates nostrum odit quia. Praesentium soluta et sit voluptatibus nisi est. Iure provident perspiciatis. Quis vitae sit unde.\"]"], ["created_at", "2014-09-19 20:00:01.419849"], ["name", "contract_4f8bc195"], ["title", "Laudantium tempore neque."], ["updated_at", "2014-09-19 20:00:01.419849"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 20]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 20]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 20 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.428837"], ["updated_at", "2014-09-19 20:00:01.428837"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.430856"], ["updated_at", "2014-09-19 20:00:01.430856"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b891d098') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed quis rerum qui. Quis numquam enim praesentium amet voluptas veritatis. Dolores qui cumque corporis ut quibusdam quaerat. Recusandae est accusantium officia est.\", \"Et quam quia dolor aut. Rem omnis officia. Est alias blanditiis aut quam quia occaecati.\"]"], ["created_at", "2014-09-19 20:00:01.434166"], ["name", "contract_b891d098"], ["title", "Corporis blanditiis rerum voluptas earum."], ["updated_at", "2014-09-19 20:00:01.434166"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b891d098"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_b891d098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:00:01.437748"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.443571"], ["updated_at", "2014-09-19 20:00:01.443571"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.445151"], ["updated_at", "2014-09-19 20:00:01.445151"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_1f747f88') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit impedit est quis id explicabo cupiditate. Rem eligendi sit. Ullam corporis ratione et. Et repudiandae ut et veritatis ducimus.\", \"Reiciendis nam qui quas quibusdam eos odio. Porro consectetur est possimus molestiae ratione. Repudiandae sunt in consequatur. Voluptas doloribus autem optio rerum est facilis.\"]"], ["created_at", "2014-09-19 20:00:01.447837"], ["name", "contract_1f747f88"], ["title", "Qui sint dolorum accusamus."], ["updated_at", "2014-09-19 20:00:01.447837"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f747f88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_1f747f88') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:00:01.451176"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f747f88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_1f747f88') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:00:01.456319"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.460177"], ["updated_at", "2014-09-19 20:00:01.460177"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.461646"], ["updated_at", "2014-09-19 20:00:01.461646"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8d48a3cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis et mollitia blanditiis et eum. Voluptates vero id amet nesciunt aut. Rerum illo est rerum ut. Ducimus qui officiis consequatur quisquam quae voluptatum est.\", \"Quibusdam laudantium dolor quae similique tenetur qui veritatis. At culpa ipsam in quaerat similique. Et non doloribus qui ut velit soluta ex. Quia error nesciunt quidem doloribus eligendi. Aut sint sit.\"]"], ["created_at", "2014-09-19 20:00:01.464514"], ["name", "contract_8d48a3cc"], ["title", "Quas sed qui suscipit quia."], ["updated_at", "2014-09-19 20:00:01.464514"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem accusamus sit minus facilis delectus. Velit nesciunt a ea modi et consequatur. Neque id iure mollitia sequi voluptate in sit. Minima ut reprehenderit molestias dolor ducimus itaque. Enim sit nulla voluptatibus quasi.\", \"Sit aspernatur enim et. Laborum voluptatem cupiditate. Impedit amet consectetur et nam. Illo sint corporis itaque error maxime et.\"]"], ["created_at", "2014-09-19 20:00:01.470991"], ["name", "alpha"], ["title", "Est deserunt earum qui et enim dignissimos fuga."], ["updated_at", "2014-09-19 20:00:01.470991"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:00:01.474725"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut autem et totam libero ut delectus. Placeat aliquam eos necessitatibus voluptas provident iste. Voluptatem dolores repellat. Iusto laborum quae. Rem dignissimos expedita sed est in reprehenderit corporis.\", \"Odit quos et aut ipsa ut reprehenderit ut. Cum culpa architecto. Ut aperiam iusto animi. Porro voluptas delectus et.\"]"], ["created_at", "2014-09-19 20:00:01.479455"], ["name", "beta"], ["title", "Quae esse explicabo rem molestias."], ["updated_at", "2014-09-19 20:00:01.479455"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:00:01.483992"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis nemo nulla tenetur dicta voluptas. Hic laboriosam fugiat quas. Tenetur dignissimos exercitationem voluptate consequatur voluptatem qui. Et earum ad molestiae. Eum nemo alias et est.\", \"Facilis velit officia corrupti unde sapiente voluptas. Corporis nulla facere iusto rem omnis. In est dolores quod quo dolore et. Qui et culpa illum modi similique totam odit.\"]"], ["created_at", "2014-09-19 20:00:01.488868"], ["name", "alpha"], ["title", "Vitae id voluptatem."], ["updated_at", "2014-09-19 20:00:01.488868"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:00:01.492179"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure natus dolorem amet. Hic voluptatibus tenetur distinctio qui dolor est cumque. Facere molestias incidunt possimus voluptatem quam eveniet recusandae. Autem blanditiis soluta et.\", \"Officia et dicta quis cumque. Excepturi quam nulla est pariatur dolor fuga. Dolorem vero blanditiis rerum libero. Ipsam non qui aut porro inventore.\"]"], ["created_at", "2014-09-19 20:00:01.495449"], ["name", "beta"], ["title", "Numquam rerum voluptatem ut ab at."], ["updated_at", "2014-09-19 20:00:01.495449"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:00:01.498436"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate occaecati magni facilis possimus tenetur est nihil. Minus ipsum ut eum quia autem rem. Est officiis sit magnam.\", \"Rerum adipisci eligendi nesciunt mollitia. Vel labore corporis omnis sint rerum eligendi. Magnam ut officiis dolor cum voluptates dignissimos. Dolore ut eligendi quasi omnis quia soluta.\"]"], ["created_at", "2014-09-19 20:00:01.502107"], ["name", "alpha"], ["title", "Perspiciatis ut animi dolorem illum quis nulla."], ["updated_at", "2014-09-19 20:00:01.502107"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:00:01.505625"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique ut corporis. Voluptatem repudiandae aperiam eveniet iure. Rerum rem necessitatibus mollitia accusamus placeat ex et.\", \"Omnis aliquam sequi repellendus aliquid facere accusantium saepe. Aut amet dolores est eos harum vero. Omnis modi quae soluta vel debitis ut quod.\"]"], ["created_at", "2014-09-19 20:00:01.509487"], ["name", "beta"], ["title", "Harum porro blanditiis."], ["updated_at", "2014-09-19 20:00:01.509487"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:00:01.512776"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.516000"], ["updated_at", "2014-09-19 20:00:01.516000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.517482"], ["updated_at", "2014-09-19 20:00:01.517482"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.524521"], ["updated_at", "2014-09-19 20:00:01.524521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.526030"], ["updated_at", "2014-09-19 20:00:01.526030"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_7319b767') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste molestiae numquam sapiente. Est recusandae culpa. Et quod quia illo impedit ducimus dolorem blanditiis. Ea aut et eum velit.\", \"Nemo voluptatem minus suscipit provident. Eum ut sed. Eligendi quo in porro qui. Illum velit aut sit est. Dignissimos temporibus voluptatum totam quo officia.\"]"], ["created_at", "2014-09-19 20:00:01.531559"], ["name", "contract_7319b767"], ["title", "Nostrum laborum autem."], ["updated_at", "2014-09-19 20:00:01.531559"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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_9c153b92') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus quidem distinctio nam temporibus dolor. Est ut reprehenderit sit eum voluptas cumque dolores. Voluptatum possimus quos esse est incidunt et fugit. Cumque quod molestiae qui sunt. Et nulla voluptates impedit dolorum maiores quia.\", \"Voluptatibus qui ut aliquid soluta qui reprehenderit aliquam. Reprehenderit ut reiciendis minus architecto. Et rem quia qui at adipisci voluptatem enim. Non beatae alias voluptate rerum consequuntur tempore.\"]"], ["created_at", "2014-09-19 20:00:01.535861"], ["name", "contract_9c153b92"], ["title", "Impedit dolores et temporibus qui voluptate corporis."], ["updated_at", "2014-09-19 20:00:01.535861"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c153b92"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_9c153b92') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:00:01.538933"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.541351"], ["updated_at", "2014-09-19 20:00:01.541351"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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_bbba0a7d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae totam quasi repellat. Eos nihil dolorem temporibus fugit. Fugit impedit maiores quasi expedita dolorum eaque.\", \"Voluptates maiores modi distinctio excepturi. Est id ab distinctio veritatis. Voluptatem voluptatem aut modi sed.\"]"], ["created_at", "2014-09-19 20:00:01.550140"], ["name", "contract_bbba0a7d"], ["title", "Fuga sapiente ratione."], ["updated_at", "2014-09-19 20:00:01.550140"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbba0a7d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_bbba0a7d') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:00:01.554773"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbba0a7d"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbba0a7d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_bbba0a7d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:00:01.561251"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_dba942ee') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut et quam quod architecto dolore. Sed et voluptatum et repellendus est repellat. Vel quis nam distinctio. Molestias debitis ut autem consequatur voluptas aut. Officiis nulla veniam sapiente ut voluptas sit.\", \"Temporibus dolor velit voluptatem quidem eum consectetur. Itaque voluptas soluta omnis aut ut delectus nihil. Maxime consequuntur corporis. Quidem voluptatem exercitationem aut eveniet debitis impedit ipsum.\"]"], ["created_at", "2014-09-19 20:00:01.565966"], ["name", "contract_dba942ee"], ["title", "Tempore doloremque quasi numquam aliquid aut officia magni."], ["updated_at", "2014-09-19 20:00:01.565966"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dba942ee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_dba942ee') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:00:01.569580"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_dba942ee' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut et quam quod architecto dolore. Sed et voluptatum et repellendus est repellat. Vel quis nam distinctio. Molestias debitis ut autem consequatur voluptas aut. Officiis nulla veniam sapiente ut voluptas sit.\", \"Temporibus dolor velit voluptatem quidem eum consectetur. Itaque voluptas soluta omnis aut ut delectus nihil. Maxime consequuntur corporis. Quidem voluptatem exercitationem aut eveniet debitis impedit ipsum.\"]"], ["created_at", "2014-09-19 20:00:01.573310"], ["name", "joe"], ["title", "Tempore doloremque quasi numquam aliquid aut officia magni."], ["updated_at", "2014-09-19 20:00:01.573310"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:00:01.576177"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_5945e9ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam velit neque. Qui earum omnis veritatis sed fugit voluptatem minus. Nobis voluptatem perferendis sint.\", \"Nostrum et cupiditate laboriosam iusto voluptate. Maiores distinctio minus in dicta veritatis cupiditate provident. Reprehenderit fugit ullam deleniti temporibus sed rerum voluptate. Perspiciatis sed natus hic ab tempora. Nihil et quo quia facilis est.\"]"], ["created_at", "2014-09-19 20:00:01.579929"], ["name", "contract_5945e9ec"], ["title", "Nulla doloribus laudantium doloremque est soluta deserunt provident."], ["updated_at", "2014-09-19 20:00:01.579929"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5945e9ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_5945e9ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:00:01.582889"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5945e9ec' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_5945e9ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam velit neque. Qui earum omnis veritatis sed fugit voluptatem minus. Nobis voluptatem perferendis sint.\", \"Nostrum et cupiditate laboriosam iusto voluptate. Maiores distinctio minus in dicta veritatis cupiditate provident. Reprehenderit fugit ullam deleniti temporibus sed rerum voluptate. Perspiciatis sed natus hic ab tempora. Nihil et quo quia facilis est.\"]"], ["created_at", "2014-09-19 20:00:01.586289"], ["name", "contract_5945e9ec"], ["title", "Nulla doloribus laudantium doloremque est soluta deserunt provident."], ["updated_at", "2014-09-19 20:00:01.586289"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5945e9ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_5945e9ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:00:01.589235"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cf032608') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur velit odit ut voluptatum ex impedit est. Omnis a rerum libero reprehenderit voluptatem. Non consequatur in laudantium qui et provident amet. Suscipit officia sit eos animi enim minus.\", \"Veniam eum fugit est voluptas dolores autem. Rerum qui ad cupiditate dolor voluptate eos. Nihil eos voluptatem eaque commodi ullam est. Incidunt tenetur saepe iure.\"]"], ["created_at", "2014-09-19 20:00:01.592838"], ["name", "contract_cf032608"], ["title", "Vitae et dolores."], ["updated_at", "2014-09-19 20:00:01.592838"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf032608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_cf032608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:00:01.595728"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:01.599525"], ["updated_at", "2014-09-19 20:00:01.599525"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 20:00:01.601725"], ["updated_at", "2014-09-19 20:00:01.601725"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_cf032608') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf032608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_cf032608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.178982"], ["updated_at", "2014-09-19 20:00:30.178982"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.186571"], ["updated_at", "2014-09-19 20:00:30.186571"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_8364d8d0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa et labore voluptatem nobis dolorem officia nisi. Dicta sint eaque voluptas voluptate et nihil expedita. Et sit molestiae.\", \"Necessitatibus ea id sit accusantium sint illum. Ipsam qui aut dolorem est suscipit. Totam hic et.\"]"], ["created_at", "2014-09-19 20:00:30.419119"], ["name", "contract_8364d8d0"], ["title", "Beatae consequuntur quia accusamus quia magnam recusandae distinctio."], ["updated_at", "2014-09-19 20:00:30.419119"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8364d8d0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8364d8d0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:00:30.433025"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.439930"], ["updated_at", "2014-09-19 20:00:30.439930"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:00:30.443346"], ["updated_at", "2014-09-19 20:00:30.443346"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.458312"], ["updated_at", "2014-09-19 20:00:30.458312"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.460036"], ["updated_at", "2014-09-19 20:00:30.460036"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ade6f687') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed perferendis eveniet commodi voluptatem. Perspiciatis aliquid harum laudantium voluptatem occaecati veritatis officiis. Ut et quia ea laboriosam molestiae autem. Eos iusto ab veritatis accusantium voluptatem.\", \"Voluptates consequatur est ratione. Non qui sed. Sit consectetur quia. Voluptas perspiciatis excepturi commodi est. Aut et perspiciatis eum hic recusandae in ratione.\"]"], ["created_at", "2014-09-19 20:00:30.463614"], ["name", "contract_ade6f687"], ["title", "Sit quis deleniti ut fugit consectetur perferendis quidem."], ["updated_at", "2014-09-19 20:00:30.463614"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ade6f687"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ade6f687') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:00:30.467273"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.470031"], ["updated_at", "2014-09-19 20:00:30.470031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 20:00:30.473226"], ["updated_at", "2014-09-19 20:00:30.473226"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.483057"], ["updated_at", "2014-09-19 20:00:30.483057"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.484792"], ["updated_at", "2014-09-19 20:00:30.484792"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_1c3aec2b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid voluptas molestiae. Deserunt quia quia eius totam est eveniet quod. Voluptatum eos voluptatem nesciunt accusamus quaerat sunt.\", \"Dolor voluptatem est incidunt laboriosam in est fugit. Eaque at et. Dolore assumenda at maxime praesentium nisi impedit. Et sint fugit molestiae dignissimos facere sed. Minima ab esse est explicabo et qui facere.\"]"], ["created_at", "2014-09-19 20:00:30.488108"], ["name", "contract_1c3aec2b"], ["title", "Atque repudiandae consequuntur libero."], ["updated_at", "2014-09-19 20:00:30.488108"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1c3aec2b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1c3aec2b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:00:30.492620"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.495492"], ["updated_at", "2014-09-19 20:00:30.495492"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:00:30.498617"], ["updated_at", "2014-09-19 20:00:30.498617"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 1ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.505534"], ["updated_at", "2014-09-19 20:00:30.505534"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.507122"], ["updated_at", "2014-09-19 20:00:30.507122"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7018fe6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi nulla sequi quos sunt. Delectus et veniam exercitationem perspiciatis quae deserunt. Totam et cum maxime ut ipsa iusto maiores. Sint numquam saepe sint voluptatem molestiae.\", \"Hic sunt omnis quis. Iste corrupti qui doloribus occaecati. Quae ex quaerat ipsum occaecati omnis.\"]"], ["created_at", "2014-09-19 20:00:30.511029"], ["name", "contract_7018fe6d"], ["title", "Aliquam itaque voluptas cupiditate et qui."], ["updated_at", "2014-09-19 20:00:30.511029"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7018fe6d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_7018fe6d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:00:30.514473"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.516832"], ["updated_at", "2014-09-19 20:00:30.516832"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:00:30.519065"], ["updated_at", "2014-09-19 20:00:30.519065"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction 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_4ad2502d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis iste rerum quasi. Autem tempore impedit atque est nihil consequatur. Amet in nihil atque veritatis rem ut. Blanditiis qui qui non quos temporibus quia. Voluptate voluptatem qui animi.\", \"Consequatur ut minus neque voluptatem explicabo culpa sunt. Quia dolorem velit aliquam vitae. Quaerat et velit autem expedita voluptas libero.\"]"], ["created_at", "2014-09-19 20:00:30.532461"], ["name", "contract_4ad2502d"], ["title", "Ut voluptatum quam voluptates ipsum aut."], ["updated_at", "2014-09-19 20:00:30.532461"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ad2502d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_4ad2502d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:00:30.537081"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4ad2502d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis iste rerum quasi. Autem tempore impedit atque est nihil consequatur. Amet in nihil atque veritatis rem ut. Blanditiis qui qui non quos temporibus quia. Voluptate voluptatem qui animi.\", \"Consequatur ut minus neque voluptatem explicabo culpa sunt. Quia dolorem velit aliquam vitae. Quaerat et velit autem expedita voluptas libero.\"]"], ["created_at", "2014-09-19 20:00:30.541857"], ["name", "joe"], ["title", "Ut voluptatum quam voluptates ipsum aut."], ["updated_at", "2014-09-19 20:00:30.541857"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:00:30.545315"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0474a4d3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta iste ipsum quia quisquam incidunt a ratione. Et consectetur similique deleniti. Eos dolor aliquid voluptas et. Aspernatur incidunt perferendis aut. Qui qui rerum ducimus aut sit id.\", \"Ullam et est facere. Corrupti adipisci eveniet accusamus. Eaque facere aut voluptatem quo adipisci. Sint iste rerum et voluptas possimus vel magni.\"]"], ["created_at", "2014-09-19 20:00:30.551090"], ["name", "contract_0474a4d3"], ["title", "Doloremque deserunt nam."], ["updated_at", "2014-09-19 20:00:30.551090"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0474a4d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_0474a4d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:00:30.554382"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.558352"], ["updated_at", "2014-09-19 20:00:30.558352"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:00:30.560660"], ["updated_at", "2014-09-19 20:00:30.560660"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_0474a4d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0474a4d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.4ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_0474a4d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction 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_a97f6ead') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur expedita magnam et perspiciatis dolorem consequatur. Praesentium architecto aut quidem blanditiis quasi pariatur. Enim illum quis.\", \"Tenetur ex nam laboriosam voluptas consequuntur. Quisquam placeat tenetur pariatur est eaque. Perferendis cum est.\"]"], ["created_at", "2014-09-19 20:00:30.571366"], ["name", "contract_a97f6ead"], ["title", "Repudiandae eveniet molestiae ab."], ["updated_at", "2014-09-19 20:00:30.571366"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a97f6ead"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_a97f6ead') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:00:30.575595"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a97f6ead"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a97f6ead"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_a97f6ead') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:00:30.580690"], ["version", nil]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_efbbb8a2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima quia nesciunt nemo. Repellendus tempora et similique dignissimos. Maiores cumque ea nesciunt est aut placeat.\", \"Modi necessitatibus eveniet culpa est fugiat. Corrupti laborum dicta voluptatem eius et. Cumque aut quaerat consectetur voluptatem omnis. Aspernatur quae labore commodi neque et. Nobis aut at provident.\"]"], ["created_at", "2014-09-19 20:00:30.584634"], ["name", "contract_efbbb8a2"], ["title", "Odit sed sit praesentium recusandae."], ["updated_at", "2014-09-19 20:00:30.584634"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_efbbb8a2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_efbbb8a2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:00:30.588044"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_efbbb8a2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_efbbb8a2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima quia nesciunt nemo. Repellendus tempora et similique dignissimos. Maiores cumque ea nesciunt est aut placeat.\", \"Modi necessitatibus eveniet culpa est fugiat. Corrupti laborum dicta voluptatem eius et. Cumque aut quaerat consectetur voluptatem omnis. Aspernatur quae labore commodi neque et. Nobis aut at provident.\"]"], ["created_at", "2014-09-19 20:00:30.591416"], ["name", "contract_efbbb8a2"], ["title", "Odit sed sit praesentium recusandae."], ["updated_at", "2014-09-19 20:00:30.591416"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_efbbb8a2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_efbbb8a2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:00:30.594427"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.597863"], ["updated_at", "2014-09-19 20:00:30.597863"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.599553"], ["updated_at", "2014-09-19 20:00:30.599553"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_86ce3589') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci totam consectetur quasi assumenda earum minus consequatur. Quo iste necessitatibus quaerat quo recusandae quis doloremque. Fugiat reprehenderit quo. Est aliquid fugit fugiat maiores. Dolorum quia iste.\", \"Veniam cum vitae ut id. Sint nisi recusandae eius odit sunt repudiandae. Quas aut nihil sit provident. Veniam temporibus nihil optio aut eum dolores.\"]"], ["created_at", "2014-09-19 20:00:30.602312"], ["name", "contract_86ce3589"], ["title", "Commodi ut voluptas aliquam."], ["updated_at", "2014-09-19 20:00:30.602312"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.607582"], ["updated_at", "2014-09-19 20:00:30.607582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.609174"], ["updated_at", "2014-09-19 20:00:30.609174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a2b6da51') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eveniet ullam. Et delectus animi consequuntur dicta necessitatibus autem. Aut quidem excepturi est accusantium non. Quam magnam deleniti error neque ab.\", \"Mollitia deserunt dicta aut laborum soluta id. Architecto cumque voluptate quo. Non eligendi iste nulla delectus odio sit. Aut quidem molestiae optio iure dolorem. Eum perferendis dolor eligendi voluptas voluptatibus quidem nobis.\"]"], ["created_at", "2014-09-19 20:00:30.611822"], ["name", "contract_a2b6da51"], ["title", "Dicta exercitationem rerum quae."], ["updated_at", "2014-09-19 20:00:30.611822"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.617329"], ["updated_at", "2014-09-19 20:00:30.617329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.618972"], ["updated_at", "2014-09-19 20:00:30.618972"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c756424b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque voluptatem vel qui veritatis dolorem. Est perspiciatis beatae deleniti earum repellat sequi. Molestiae ex quasi placeat est consectetur. Omnis voluptatem laboriosam libero et. Et maxime culpa sit.\", \"Voluptatem in ducimus quidem. Modi vel ratione. Aliquid possimus illum dolorem. Sit culpa quia deleniti veniam enim. Sint voluptates est nihil repudiandae facilis et sit.\"]"], ["created_at", "2014-09-19 20:00:30.621637"], ["name", "contract_c756424b"], ["title", "Labore neque eos."], ["updated_at", "2014-09-19 20:00:30.621637"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.628442"], ["updated_at", "2014-09-19 20:00:30.628442"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.629971"], ["updated_at", "2014-09-19 20:00:30.629971"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_231102d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia et quia nostrum at cupiditate odit. Aliquid expedita occaecati sunt ipsam voluptatem odit et. Magnam et id.\", \"Sapiente est iusto eligendi et aut consequatur. Quia accusamus eos et aut minima. Vero ea qui nihil sit aut voluptates. Eligendi quos dolore omnis in voluptas quaerat et.\"]"], ["created_at", "2014-09-19 20:00:30.633310"], ["name", "contract_231102d6"], ["title", "Architecto quidem iusto illo."], ["updated_at", "2014-09-19 20:00:30.633310"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.641302"], ["updated_at", "2014-09-19 20:00:30.641302"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.642838"], ["updated_at", "2014-09-19 20:00:30.642838"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6c379365') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda quia quis molestiae rerum at. Exercitationem adipisci mollitia consequatur velit quae. Repellat soluta ad. Eos perspiciatis et voluptate culpa. Eos eaque quidem.\", \"Eos quia tempore inventore soluta rerum. Doloremque qui quod distinctio rerum. Aut non ea explicabo autem debitis.\"]"], ["created_at", "2014-09-19 20:00:30.645364"], ["name", "contract_6c379365"], ["title", "Recusandae deserunt eius cupiditate incidunt hic est saepe."], ["updated_at", "2014-09-19 20:00:30.645364"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.649808"], ["updated_at", "2014-09-19 20:00:30.649808"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.651245"], ["updated_at", "2014-09-19 20:00:30.651245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_59c44ee1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas sint aut voluptatem tempora aut commodi corporis. Aut praesentium in. Repellendus earum magnam doloremque voluptas est ratione ut.\", \"Laudantium minima vitae. Accusantium facere odio quaerat. Sed labore delectus est dolorem et. Quas et esse iste ea qui exercitationem ut.\"]"], ["created_at", "2014-09-19 20:00:30.653716"], ["name", "contract_59c44ee1"], ["title", "Pariatur aspernatur occaecati magnam perspiciatis."], ["updated_at", "2014-09-19 20:00:30.653716"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_59c44ee1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_59c44ee1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:00:30.657067"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.661667"], ["updated_at", "2014-09-19 20:00:30.661667"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.663169"], ["updated_at", "2014-09-19 20:00:30.663169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_08fe0700') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit in fuga. Adipisci facere dignissimos exercitationem quae illo. Nisi aut et excepturi. Rerum aut omnis tempora officia. Et asperiores aperiam aut temporibus sint ab consectetur.\", \"Provident odit nam doloribus ut iure pariatur. Quia quod harum omnis nihil. Ex et quam perspiciatis laudantium.\"]"], ["created_at", "2014-09-19 20:00:30.665849"], ["name", "contract_08fe0700"], ["title", "Autem quia minus voluptatem qui."], ["updated_at", "2014-09-19 20:00:30.665849"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08fe0700"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_08fe0700') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:00:30.669926"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.675939"], ["updated_at", "2014-09-19 20:00:30.675939"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.677527"], ["updated_at", "2014-09-19 20:00:30.677527"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_fce58869') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima maxime repellat rerum molestias consequatur a. Qui debitis ut enim a impedit nobis molestiae. Beatae omnis tempore quibusdam.\", \"Ratione eveniet eius occaecati quas. Dolorum corrupti asperiores voluptas similique quas. Ipsam ratione et quaerat.\"]"], ["created_at", "2014-09-19 20:00:30.680092"], ["name", "contract_fce58869"], ["title", "Mollitia ipsum nisi."], ["updated_at", "2014-09-19 20:00:30.680092"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 17, 3, 5, 16, 15, 4, 1, 11, 12, 8, 2, 13, 10, 9, 18, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.690431"], ["updated_at", "2014-09-19 20:00:30.690431"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.692175"], ["updated_at", "2014-09-19 20:00:30.692175"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34127adb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed corporis illum officiis libero quis. Nostrum sed corporis aliquam. Laborum officiis quia doloremque fuga architecto. Maiores quis consequatur sapiente. Et quia assumenda et maxime veniam et.\", \"Iste nihil labore consequuntur laborum. Voluptas ea assumenda vitae dignissimos officiis autem nihil. Quo ut autem ipsam velit. Perferendis tempore amet voluptas.\"]"], ["created_at", "2014-09-19 20:00:30.694900"], ["name", "contract_34127adb"], ["title", "Cupiditate tempore quae voluptas dolores corporis."], ["updated_at", "2014-09-19 20:00:30.694900"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.700650"], ["updated_at", "2014-09-19 20:00:30.700650"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.702424"], ["updated_at", "2014-09-19 20:00:30.702424"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_ad0d17da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil enim voluptas qui. Delectus odit quia nihil eos voluptate. Excepturi sunt quidem quam. Nam ullam aut amet.\", \"Illo consequatur excepturi optio tempora ea neque. Eos iure quam iste consequatur. Est quia quam.\"]"], ["created_at", "2014-09-19 20:00:30.705426"], ["name", "contract_ad0d17da"], ["title", "Velit non delectus aut quod aperiam ut exercitationem."], ["updated_at", "2014-09-19 20:00:30.705426"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ad0d17da"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ad0d17da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:00:30.709023"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ad0d17da' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.716950"], ["updated_at", "2014-09-19 20:00:30.716950"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.718623"], ["updated_at", "2014-09-19 20:00:30.718623"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b9bf32f9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae molestias exercitationem est iure. Culpa minima autem et nemo voluptatem. Doloribus ipsam et natus et aspernatur. Quasi officia atque.\", \"Alias nisi consequatur beatae enim debitis. Aut unde ipsa. Perspiciatis sequi necessitatibus et. Qui qui et. Molestias deleniti libero error in cupiditate.\"]"], ["created_at", "2014-09-19 20:00:30.721511"], ["name", "contract_b9bf32f9"], ["title", "Sint molestiae enim facere."], ["updated_at", "2014-09-19 20:00:30.721511"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.725877"], ["updated_at", "2014-09-19 20:00:30.725877"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.727329"], ["updated_at", "2014-09-19 20:00:30.727329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6a88ddec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum fuga perferendis et eveniet et. Mollitia aspernatur quia. Debitis eaque alias repellendus cumque facere consectetur.\", \"Ab officiis placeat quisquam possimus cumque facere aut. Dolor necessitatibus ipsa voluptas provident laboriosam. Deleniti minima doloremque.\"]"], ["created_at", "2014-09-19 20:00:30.729856"], ["name", "contract_6a88ddec"], ["title", "Dolorum maiores totam."], ["updated_at", "2014-09-19 20:00:30.729856"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6a88ddec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_6a88ddec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:00:30.733260"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6a88ddec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_6a88ddec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:00:30.738692"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.742827"], ["updated_at", "2014-09-19 20:00:30.742827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.744286"], ["updated_at", "2014-09-19 20:00:30.744286"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cebc0317') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid modi repellat aut architecto. Amet recusandae ut fuga occaecati hic excepturi. Dolores repellat commodi error nesciunt vero at esse.\", \"Eligendi tempora officiis ut et. Ipsum cupiditate quisquam quis. Blanditiis incidunt unde. Est vel ut est aut iusto quo.\"]"], ["created_at", "2014-09-19 20:00:30.746796"], ["name", "contract_cebc0317"], ["title", "Voluptas esse necessitatibus voluptas."], ["updated_at", "2014-09-19 20:00:30.746796"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:00:30.750404"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:00:30.750404"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.754286"], ["updated_at", "2014-09-19 20:00:30.754286"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.756204"], ["updated_at", "2014-09-19 20:00:30.756204"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ce708ebb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto adipisci quibusdam sunt omnis. Dolores excepturi voluptatem labore. Error nostrum dolorem non voluptas quisquam.\", \"Libero sed et quae nostrum. Dolor deserunt nulla sit dignissimos libero atque. Eaque nam optio dolorem quaerat. Eaque repudiandae ad unde. Aliquid iste quaerat reiciendis et libero aut.\"]"], ["created_at", "2014-09-19 20:00:30.758852"], ["name", "contract_ce708ebb"], ["title", "Quis nemo ut."], ["updated_at", "2014-09-19 20:00:30.758852"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.765167"], ["updated_at", "2014-09-19 20:00:30.765167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.766744"], ["updated_at", "2014-09-19 20:00:30.766744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_318441d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas quia nulla accusamus voluptas. Totam omnis rerum animi qui molestiae provident qui. Et consequatur vitae culpa explicabo odit sit.\", \"Nemo dolor laboriosam. Accusamus harum fugiat velit et et. Minus itaque repudiandae accusantium fugit quia delectus. Nihil qui reiciendis magni at necessitatibus. Ipsam facere accusantium sapiente corporis eum.\"]"], ["created_at", "2014-09-19 20:00:30.769425"], ["name", "contract_318441d2"], ["title", "Tempore autem aut."], ["updated_at", "2014-09-19 20:00:30.769425"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_318441d2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_318441d2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:00:30.774716"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.778998"], ["updated_at", "2014-09-19 20:00:30.778998"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.780701"], ["updated_at", "2014-09-19 20:00:30.780701"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_27d7276f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores rerum quidem sit provident. Sed aliquid mollitia. Sit id dolore voluptatibus sed.\", \"Ut maxime et. Id eum consectetur sed magnam deserunt. Esse nobis et. Aperiam sequi at non sit. Non laborum explicabo saepe consequatur est.\"]"], ["created_at", "2014-09-19 20:00:30.783278"], ["name", "contract_27d7276f"], ["title", "Nostrum ex nemo aperiam necessitatibus."], ["updated_at", "2014-09-19 20:00:30.783278"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.788466"], ["updated_at", "2014-09-19 20:00:30.788466"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.790208"], ["updated_at", "2014-09-19 20:00:30.790208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_73cdd05a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis similique laboriosam nostrum delectus. Neque officia qui laudantium rerum. Recusandae omnis sit. Et est harum qui perspiciatis voluptatem facilis. Maiores ut quaerat quo natus voluptatem voluptatem vitae.\", \"Quia aut quibusdam est sint sunt ipsa rem. Voluptatem non sed dolorem eum nemo saepe minus. Voluptatem a quibusdam voluptas omnis rem deleniti. Doloribus voluptatem a pariatur reprehenderit est non velit. Eligendi neque repellendus non hic qui occaecati.\"]"], ["created_at", "2014-09-19 20:00:30.792823"], ["name", "contract_73cdd05a"], ["title", "Qui in nesciunt."], ["updated_at", "2014-09-19 20:00:30.792823"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 422 Unprocessable Entity in 6ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.803213"], ["updated_at", "2014-09-19 20:00:30.803213"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.804926"], ["updated_at", "2014-09-19 20:00:30.804926"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_5d94b209') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos eveniet consequatur molestias qui. Optio eius quos in dicta nobis voluptate. Quisquam et vel vero nulla. Voluptates natus eaque.\", \"Praesentium ea explicabo sed. Dignissimos ratione inventore totam et. Dolor voluptas velit dolorum rerum et.\"]"], ["created_at", "2014-09-19 20:00:30.807849"], ["name", "contract_5d94b209"], ["title", "Dolorum magnam inventore nobis et debitis qui aut."], ["updated_at", "2014-09-19 20:00:30.807849"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.812827"], ["updated_at", "2014-09-19 20:00:30.812827"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.814440"], ["updated_at", "2014-09-19 20:00:30.814440"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.822579"], ["updated_at", "2014-09-19 20:00:30.822579"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.824610"], ["updated_at", "2014-09-19 20:00:30.824610"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia quia tenetur cupiditate molestiae. Iure rerum totam ullam modi. Et consequatur enim esse. Ipsam necessitatibus perspiciatis quos est beatae.\", \"Quas unde assumenda illum fugiat sit voluptatem. Eos dolorum et aut et. Nesciunt explicabo aut a. Facere quisquam molestiae dolore excepturi.\"]"], ["created_at", "2014-09-19 20:00:30.830123"], ["name", "alpha"], ["title", "Impedit et quas et."], ["updated_at", "2014-09-19 20:00:30.830123"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:00:30.833285"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ut optio aliquid explicabo eos vero. Et atque et repellendus aut voluptas. Facilis laborum corrupti recusandae doloremque est error est.\", \"Laborum omnis qui. Voluptatem qui totam saepe iure. At enim illo hic aut. Harum delectus debitis voluptates cupiditate. Accusantium eum beatae in ea consequatur.\"]"], ["created_at", "2014-09-19 20:00:30.836700"], ["name", "beta"], ["title", "Maxime quaerat hic qui."], ["updated_at", "2014-09-19 20:00:30.836700"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:00:30.839732"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus neque culpa et. Soluta mollitia iusto sunt cupiditate placeat nesciunt. Adipisci quia provident illo. Sunt accusantium est dolore in architecto est dolorum. Asperiores ut voluptatibus et.\", \"Aspernatur vitae quos aut optio. Quis doloremque eveniet illo dolor. Expedita ut qui est delectus.\"]"], ["created_at", "2014-09-19 20:00:30.843498"], ["name", "alpha"], ["title", "Omnis nulla itaque et placeat eius consequatur."], ["updated_at", "2014-09-19 20:00:30.843498"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:00:30.846485"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae magni a deleniti. Sed dolore et. Ullam eligendi non quisquam eum eius. Quos id eveniet omnis omnis nobis. Deserunt labore et cum enim.\", \"Debitis iusto molestias numquam. Quod consequatur dolor maxime voluptatibus ullam cum tempora. Tenetur explicabo sit optio distinctio ipsum magni. Harum odio sed et in minima voluptas. Vero non sed suscipit voluptatibus.\"]"], ["created_at", "2014-09-19 20:00:30.850661"], ["name", "beta"], ["title", "Libero nisi culpa autem iusto."], ["updated_at", "2014-09-19 20:00:30.850661"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:00:30.853766"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam nihil vitae delectus veritatis omnis. Eos est nihil minus ipsam. Ut minus ullam dolores atque qui. Sed et saepe perferendis ratione assumenda ab quis.\", \"Occaecati aut nihil nesciunt ab aperiam ea. Deleniti distinctio ut. Et cupiditate occaecati. Tenetur laudantium omnis dolorem qui iusto voluptas. Tempora voluptatibus consequuntur.\"]"], ["created_at", "2014-09-19 20:00:30.857580"], ["name", "alpha"], ["title", "Omnis aperiam cum consequatur."], ["updated_at", "2014-09-19 20:00:30.857580"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:00:30.860511"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et qui esse earum dignissimos eum sint. Illo voluptatem aut rerum. Eaque deserunt eius eum incidunt. Saepe voluptatem recusandae eius. Ut exercitationem consequatur.\", \"Nostrum maiores accusantium. Minima quam corporis. Tempora tenetur expedita.\"]"], ["created_at", "2014-09-19 20:00:30.863860"], ["name", "beta"], ["title", "Aut assumenda totam laudantium repellendus."], ["updated_at", "2014-09-19 20:00:30.863860"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:00:30.867283"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8aa11e00') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut accusamus enim soluta. Omnis eum fugit enim provident. Aut sed quas fugiat. Sed architecto et temporibus ullam quam. Reiciendis aut deleniti deserunt magnam.\", \"Est porro qui. Repellendus dolore libero praesentium voluptas et error. Eaque nemo vel molestiae nobis quia ratione impedit. A repellendus et voluptas praesentium eum ad neque. Assumenda iste facilis iure tempora rerum.\"]"], ["created_at", "2014-09-19 20:00:30.871272"], ["name", "contract_8aa11e00"], ["title", "Facere quo accusamus consectetur qui animi."], ["updated_at", "2014-09-19 20:00:30.871272"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_9deb3068') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui dolorem suscipit et eum repellat reprehenderit. Veritatis illo itaque atque. Ducimus non tenetur.\", \"Quae fuga soluta et dolor. Beatae voluptatem aspernatur iure delectus. Sit non ut doloremque velit est.\"]"], ["created_at", "2014-09-19 20:00:30.875272"], ["name", "contract_9deb3068"], ["title", "Alias accusamus sint."], ["updated_at", "2014-09-19 20:00:30.875272"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9deb3068"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_9deb3068') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:00:30.879446"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:00:30.882755"], ["updated_at", "2014-09-19 20:00:30.882755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_14c6f0fc') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi distinctio sunt officia sit facilis. Est minima incidunt laborum quis provident iste corporis. Aut optio distinctio perferendis officia error ratione non. Alias voluptatum aperiam nihil aut consequuntur optio officia. Et fugiat distinctio vel.\", \"Quia minus et beatae et repudiandae autem. Ut itaque eum maiores reiciendis aut odit tempora. Ratione eum ipsum aliquid quam.\"]"], ["created_at", "2014-09-19 20:02:32.222847"], ["name", "contract_14c6f0fc"], ["title", "Ut dolorem tenetur quis quae."], ["updated_at", "2014-09-19 20:02:32.222847"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_f03edb2b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati non suscipit molestias fugit voluptatem. Delectus animi adipisci. Voluptates nulla vel cum ex ullam. In error qui fugit quidem culpa rerum explicabo.\", \"Aut consequatur odit at voluptas voluptate voluptatibus et. Non consectetur magnam temporibus hic. Qui dolorum tenetur.\"]"], ["created_at", "2014-09-19 20:02:32.238336"], ["name", "contract_f03edb2b"], ["title", "Voluptatem nisi tempora."], ["updated_at", "2014-09-19 20:02:32.238336"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f03edb2b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_f03edb2b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:02:32.243382"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.248966"], ["updated_at", "2014-09-19 20:02:32.248966"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.256273"], ["updated_at", "2014-09-19 20:02:32.256273"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.257870"], ["updated_at", "2014-09-19 20:02:32.257870"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3cfbb8b2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti cum aliquam earum. Et accusamus ipsum quo officiis. Velit ad ea quia. Cumque repudiandae velit. Odit ut ex id fugit eum.\", \"Mollitia repudiandae aspernatur. Similique laboriosam totam. Et et sit consequuntur dolorum iusto. Recusandae minima saepe eius doloremque sed delectus. Fugit aut tempora.\"]"], ["created_at", "2014-09-19 20:02:32.262447"], ["name", "contract_3cfbb8b2"], ["title", "Voluptas deleniti ut."], ["updated_at", "2014-09-19 20:02:32.262447"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_ae55e07c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui placeat ad est velit quibusdam minus sint. Quo architecto ut totam. Temporibus sed accusamus aut sunt. Omnis ea tempore nemo ipsam voluptates.\", \"Et possimus illo. Aut dolorem quis. Libero sint ut.\"]"], ["created_at", "2014-09-19 20:02:32.270990"], ["name", "contract_ae55e07c"], ["title", "Aliquid distinctio quis voluptas autem eos harum."], ["updated_at", "2014-09-19 20:02:32.270990"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ae55e07c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_ae55e07c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:02:32.274405"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction 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_09138fc5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat facilis eum qui. Nam aut est et inventore ratione architecto iusto. Perferendis voluptates itaque.\", \"Modi adipisci quis libero et et. Cum deserunt quis doloremque. Odit qui impedit.\"]"], ["created_at", "2014-09-19 20:02:32.280312"], ["name", "contract_09138fc5"], ["title", "Et cumque explicabo omnis et."], ["updated_at", "2014-09-19 20:02:32.280312"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_c3b90ecf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur ex quo sequi ea ut. Aspernatur placeat est et facere est. Qui quia voluptate voluptatibus.\", \"Iste omnis suscipit modi. Dolores officia consequatur. Ut labore est quia. Quia velit iure perspiciatis itaque et in.\"]"], ["created_at", "2014-09-19 20:02:32.284642"], ["name", "contract_c3b90ecf"], ["title", "Porro quia cupiditate earum tenetur quo facilis."], ["updated_at", "2014-09-19 20:02:32.284642"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c3b90ecf"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_c3b90ecf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:02:32.289015"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_c634f882') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui similique hic est temporibus possimus nemo distinctio. Aspernatur voluptatibus omnis sit et. Ipsam eos placeat quaerat sint enim.\", \"Aut non rem dignissimos architecto. Nisi praesentium occaecati a. Laudantium veniam qui deleniti eum velit odit accusamus. Sint nemo laborum illum in hic.\"]"], ["created_at", "2014-09-19 20:02:32.295817"], ["name", "contract_c634f882"], ["title", "Quae ab eum eius ut eos."], ["updated_at", "2014-09-19 20:02:32.295817"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_a035d56c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est id assumenda nisi. Laborum et facere sit. Dolorem omnis laboriosam distinctio animi enim possimus. Aliquam voluptas rerum eum molestiae eveniet quis minus. Aut ex optio cum.\", \"Sint accusantium in voluptatem temporibus sit omnis non. Sequi non voluptates quas repudiandae rerum. Vel aut consectetur.\"]"], ["created_at", "2014-09-19 20:02:32.301193"], ["name", "contract_a035d56c"], ["title", "Animi nostrum quasi reprehenderit sit sit in."], ["updated_at", "2014-09-19 20:02:32.301193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2e8d800b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci est voluptatem qui quis necessitatibus est. Consequuntur harum cum eligendi inventore. Et officiis ea odio non quae aliquid. Ea sed dolores. Blanditiis laborum ipsum et dolorum enim soluta dicta.\", \"Blanditiis ipsa nulla minus et et. Rem sed quisquam saepe voluptatem quis molestiae. Est cumque temporibus.\"]"], ["created_at", "2014-09-19 20:02:32.304829"], ["name", "contract_2e8d800b"], ["title", "Illo saepe optio in dignissimos maxime fugit."], ["updated_at", "2014-09-19 20:02:32.304829"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_49eaf7fc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur amet voluptas quo odit non sequi. Quia molestiae velit fugit ut modi. Et ullam aperiam deleniti sed cumque enim ipsam. Suscipit magnam labore ipsa reprehenderit possimus optio.\", \"Pariatur corrupti fuga sint eius fugit dolorum non. Non ut voluptas quia modi. Qui reprehenderit accusantium rerum nihil ullam quas. Vero reprehenderit deleniti accusantium. Voluptatibus eaque voluptates rerum omnis corrupti sunt ullam.\"]"], ["created_at", "2014-09-19 20:02:32.308361"], ["name", "contract_49eaf7fc"], ["title", "Sit et mollitia et."], ["updated_at", "2014-09-19 20:02:32.308361"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_e4e10474') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero fugit laborum aperiam explicabo nesciunt dolores. Consectetur voluptatem aut. At quibusdam in nisi. Et itaque enim quo quam fugit explicabo vel.\", \"Esse iste id et beatae id dolor. Accusamus et aut ad vel at. Magnam consequatur assumenda fuga temporibus perferendis distinctio. Omnis rem tempore assumenda.\"]"], ["created_at", "2014-09-19 20:02:32.313896"], ["name", "contract_e4e10474"], ["title", "Ad officiis maiores."], ["updated_at", "2014-09-19 20:02:32.313896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7e6c6e6c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos qui et omnis sed. Voluptatem animi et non magnam. Ipsa minus velit.\", \"Nihil tenetur et iste et qui. Id quis fuga ipsum at. Quas doloremque consequuntur dolores. Sed blanditiis distinctio adipisci eum. Est sed consequatur architecto et.\"]"], ["created_at", "2014-09-19 20:02:32.317329"], ["name", "contract_7e6c6e6c"], ["title", "A officiis eaque ab odit minus voluptatibus."], ["updated_at", "2014-09-19 20:02:32.317329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_282b1fad') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed illo sed repellat unde eos quia distinctio. Quaerat dolorem totam dolores id laboriosam accusantium est. Eos quia quas est. Eius officiis aut aperiam. Perspiciatis in saepe omnis impedit assumenda dolores.\", \"Omnis quis nobis et laborum vel iure. Ex sint numquam iste sit ducimus. Blanditiis error nesciunt occaecati id unde. Ipsa et at. Veritatis excepturi ea rerum voluptatem et exercitationem aliquid.\"]"], ["created_at", "2014-09-19 20:02:32.320713"], ["name", "contract_282b1fad"], ["title", "Consequatur ipsam accusantium aut."], ["updated_at", "2014-09-19 20:02:32.320713"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7c25225b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui doloribus est. Provident at qui quia. Sint numquam incidunt quasi sed ut libero. Voluptas voluptatem error.\", \"Nisi ipsam aut qui. Consectetur labore aut nostrum quos. Qui nemo repellat.\"]"], ["created_at", "2014-09-19 20:02:32.323941"], ["name", "contract_7c25225b"], ["title", "Iusto non voluptatem sequi."], ["updated_at", "2014-09-19 20:02:32.323941"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction 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_6207fbb4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit qui esse sit vero dolores accusamus quos. Laboriosam corporis ut quo nostrum et. Quo non laborum.\", \"Quia veniam doloribus illo aliquid. Non cum nemo ullam. Velit optio aut. Quos quam quo et repudiandae dolorum explicabo sint. Harum provident soluta sit distinctio.\"]"], ["created_at", "2014-09-19 20:02:32.329271"], ["name", "contract_6207fbb4"], ["title", "Quaerat ab atque provident optio dolor."], ["updated_at", "2014-09-19 20:02:32.329271"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction 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_07248684') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam voluptas excepturi recusandae aut voluptatem sequi. Sed facilis quod molestiae aut occaecati sit. Veritatis qui est.\", \"Laboriosam et numquam reiciendis. Rerum dolor qui soluta eveniet sed et. Reiciendis corporis cum et ipsam perferendis. Ea velit et autem quos qui voluptatem cum. Aut rerum accusamus aut recusandae exercitationem neque.\"]"], ["created_at", "2014-09-19 20:02:32.335915"], ["name", "contract_07248684"], ["title", "Cum enim doloremque labore."], ["updated_at", "2014-09-19 20:02:32.335915"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_6a345c8e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem aut odio sunt est et dolorem excepturi. Ut eos nihil. Qui corporis deserunt quos itaque atque porro omnis.\", \"Ullam ipsum molestias non odio. Beatae provident repellendus voluptatem nam voluptas. Et vel quae sed numquam repudiandae. Consequatur quod impedit nesciunt quia sint.\"]"], ["created_at", "2014-09-19 20:02:32.340402"], ["name", "contract_6a345c8e"], ["title", "Odit et omnis molestias ut et."], ["updated_at", "2014-09-19 20:02:32.340402"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_832c9550') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima dolorem nemo ipsum illo asperiores. Occaecati eos et enim sit voluptatibus. Atque aspernatur amet hic alias quis. Odio dicta omnis.\", \"Cumque nostrum corrupti nulla perferendis sed. Voluptatum et consectetur sint non possimus. Velit impedit rerum sit modi et doloribus.\"]"], ["created_at", "2014-09-19 20:02:32.343848"], ["name", "contract_832c9550"], ["title", "Voluptate temporibus ratione reiciendis dolorem molestiae."], ["updated_at", "2014-09-19 20:02:32.343848"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_832c9550"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_832c9550') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:02:32.347208"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7196931c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum voluptate repudiandae reiciendis corrupti deserunt. Labore repellat aut sunt eius. Magnam quidem dicta tempora non praesentium. Est modi veniam unde omnis quas corrupti optio.\", \"Animi laboriosam aut cumque. Debitis rerum pariatur labore dignissimos error libero. Consequuntur eum ipsa rerum amet ad voluptas. Blanditiis ullam id. Sed et autem nihil est delectus.\"]"], ["created_at", "2014-09-19 20:02:32.351443"], ["name", "contract_7196931c"], ["title", "Modi ratione hic dolor ullam."], ["updated_at", "2014-09-19 20:02:32.351443"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7196931c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_7196931c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:02:32.354372"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_22a2754a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim illo ut natus. Deleniti molestias autem harum unde. Ea nulla ipsum dolor officiis. Fuga sit non est consequuntur unde voluptatem voluptatibus.\", \"Dolores hic natus. Deleniti rem aut et. Et cumque qui ducimus tenetur sit libero quaerat. Quia ut delectus unde temporibus possimus labore.\"]"], ["created_at", "2014-09-19 20:02:32.358169"], ["name", "contract_22a2754a"], ["title", "Minus aspernatur sit eveniet ea."], ["updated_at", "2014-09-19 20:02:32.358169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo veniam itaque autem. Distinctio animi dicta odio rerum accusantium molestiae repellat. Totam laudantium sint eligendi dolorum. Quas maiores sunt.\", \"A tempore minima pariatur molestiae voluptatem ducimus. Pariatur soluta aspernatur. Fugit incidunt eum omnis possimus officia ratione dolore. Pariatur dolores velit.\"]"], ["created_at", "2014-09-19 20:02:32.361154"], ["name", "alpha"], ["title", "Voluptatem autem soluta."], ["updated_at", "2014-09-19 20:02:32.361154"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:02:32.364136"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis voluptates totam est. Quis ullam facere hic. Fuga ut perferendis aperiam quibusdam. Reiciendis quaerat asperiores odio quisquam aspernatur cum. Sed tenetur reiciendis reprehenderit.\", \"Quis adipisci amet odit ipsum asperiores. Maiores facere ullam totam consequatur ipsam. Culpa nemo consequatur nobis qui. Eligendi architecto odio recusandae accusantium voluptatem. Illum doloremque non ut.\"]"], ["created_at", "2014-09-19 20:02:32.367466"], ["name", "beta"], ["title", "Non aspernatur quisquam qui dolorum saepe."], ["updated_at", "2014-09-19 20:02:32.367466"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:02:32.370592"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt ducimus ut ut est voluptatem. Rerum molestiae mollitia facilis molestiae sed est non. Officia illum aut reprehenderit veniam beatae voluptatem. Qui aut quia et provident.\", \"Dolore provident quis eveniet voluptas occaecati quos. Similique illo soluta nemo dolorum. Mollitia consequatur et occaecati sapiente dignissimos. Possimus qui libero in.\"]"], ["created_at", "2014-09-19 20:02:32.375425"], ["name", "alpha"], ["title", "Et aut voluptatem fugiat accusantium dolorem totam officiis."], ["updated_at", "2014-09-19 20:02:32.375425"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:02:32.378495"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et rem illo eum ut possimus. Ea cupiditate fugit non ut illo voluptas sunt. Cupiditate tempora voluptate. Quod suscipit voluptas aliquam. Nesciunt atque distinctio repellat quibusdam soluta eligendi.\", \"Adipisci quaerat assumenda qui. Cum quidem libero. Non expedita qui.\"]"], ["created_at", "2014-09-19 20:02:32.381848"], ["name", "beta"], ["title", "Fugit impedit dolores reprehenderit adipisci quia."], ["updated_at", "2014-09-19 20:02:32.381848"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:02:32.384840"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dolores velit dicta. Sunt voluptates explicabo voluptatem non est consequuntur deserunt. Atque praesentium omnis pariatur est.\", \"Architecto laboriosam distinctio expedita quo cum eligendi. Voluptatum exercitationem ea quis non. Numquam et tempore quae aliquid modi dolor.\"]"], ["created_at", "2014-09-19 20:02:32.388583"], ["name", "alpha"], ["title", "Non veritatis doloremque a."], ["updated_at", "2014-09-19 20:02:32.388583"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:02:32.391751"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus temporibus voluptatem libero assumenda. Error et ex enim et facilis. Magnam tempore ducimus perspiciatis impedit nobis. Blanditiis soluta vero voluptatem harum sit molestiae.\", \"Quisquam reprehenderit velit animi deserunt et et odio. Reiciendis saepe atque. Sunt vel sed.\"]"], ["created_at", "2014-09-19 20:02:32.395129"], ["name", "beta"], ["title", "Quam aut quasi et."], ["updated_at", "2014-09-19 20:02:32.395129"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:02:32.398096"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_864064c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam repudiandae rerum natus qui aut. Commodi magni eveniet. Et quis non et sed perferendis alias delectus. Sed voluptatem omnis eos eum est qui. Aut ullam incidunt qui architecto aliquam aliquid.\", \"Et quo blanditiis quia. Quisquam quia incidunt. Debitis dolorem et provident laudantium.\"]"], ["created_at", "2014-09-19 20:02:32.401932"], ["name", "contract_864064c9"], ["title", "Dolores dignissimos odio saepe odit laudantium et."], ["updated_at", "2014-09-19 20:02:32.401932"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_864064c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_864064c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:02:32.406111"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_864064c9"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_864064c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_864064c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:02:32.411088"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_28fb2a2f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente quod rerum animi omnis eligendi enim. Velit recusandae neque et sed molestias nesciunt. Facilis minus sit et vel delectus aspernatur doloremque. Facere consequatur excepturi rerum sunt in autem sint. Unde amet veritatis explicabo laboriosam.\", \"Ea dolorum voluptates et aspernatur modi labore cum. Ut pariatur ducimus quasi rerum nihil provident. Ut ut dolor eligendi aut.\"]"], ["created_at", "2014-09-19 20:02:32.415312"], ["name", "contract_28fb2a2f"], ["title", "Dolore optio cumque voluptas harum."], ["updated_at", "2014-09-19 20:02:32.415312"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_28fb2a2f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_28fb2a2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:02:32.418541"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.422223"], ["updated_at", "2014-09-19 20:02:32.422223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 20:02:32.424408"], ["updated_at", "2014-09-19 20:02:32.424408"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_28fb2a2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_28fb2a2f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_28fb2a2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction 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_a1b0391b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis velit debitis voluptatum rem cumque officia. Quaerat voluptates rem. Et fugiat doloremque. Vitae amet laborum numquam sunt. Et amet velit.\", \"Vero adipisci quasi quae nihil minus. Nostrum ex fugiat esse quis incidunt non porro. Omnis eius reiciendis sint voluptatem quibusdam et.\"]"], ["created_at", "2014-09-19 20:02:32.435474"], ["name", "contract_a1b0391b"], ["title", "Commodi eligendi aperiam natus sapiente aut et."], ["updated_at", "2014-09-19 20:02:32.435474"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1b0391b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_a1b0391b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:02:32.438381"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a1b0391b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_a1b0391b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis velit debitis voluptatum rem cumque officia. Quaerat voluptates rem. Et fugiat doloremque. Vitae amet laborum numquam sunt. Et amet velit.\", \"Vero adipisci quasi quae nihil minus. Nostrum ex fugiat esse quis incidunt non porro. Omnis eius reiciendis sint voluptatem quibusdam et.\"]"], ["created_at", "2014-09-19 20:02:32.443528"], ["name", "contract_a1b0391b"], ["title", "Commodi eligendi aperiam natus sapiente aut et."], ["updated_at", "2014-09-19 20:02:32.443528"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1b0391b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_a1b0391b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:02:32.446736"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f17f5137') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum quam officia consequatur. Consequatur rerum sit ad culpa. Voluptatem itaque dolore eos et eaque ut esse. Commodi temporibus adipisci iste sapiente sequi. Perferendis corrupti voluptatem quia aut.\", \"In ut molestias. Eos et enim sunt. Commodi eius ut sit at. Est vitae consequatur ut nulla nostrum voluptatem aut.\"]"], ["created_at", "2014-09-19 20:02:32.450894"], ["name", "contract_f17f5137"], ["title", "Nihil eos provident eligendi."], ["updated_at", "2014-09-19 20:02:32.450894"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f17f5137"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_f17f5137') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:02:32.453741"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f17f5137' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum quam officia consequatur. Consequatur rerum sit ad culpa. Voluptatem itaque dolore eos et eaque ut esse. Commodi temporibus adipisci iste sapiente sequi. Perferendis corrupti voluptatem quia aut.\", \"In ut molestias. Eos et enim sunt. Commodi eius ut sit at. Est vitae consequatur ut nulla nostrum voluptatem aut.\"]"], ["created_at", "2014-09-19 20:02:32.457881"], ["name", "joe"], ["title", "Nihil eos provident eligendi."], ["updated_at", "2014-09-19 20:02:32.457881"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:02:32.460768"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.464194"], ["updated_at", "2014-09-19 20:02:32.464194"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.465653"], ["updated_at", "2014-09-19 20:02:32.465653"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.472972"], ["updated_at", "2014-09-19 20:02:32.472972"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.474481"], ["updated_at", "2014-09-19 20:02:32.474481"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.485011"], ["updated_at", "2014-09-19 20:02:32.485011"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.486788"], ["updated_at", "2014-09-19 20:02:32.486788"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_14bd194a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam repudiandae aspernatur explicabo. Qui voluptatem iure ullam deserunt cumque qui quam. Nisi nam temporibus similique nemo.\", \"Natus iure sapiente veniam dignissimos quasi veritatis. Est laborum porro. Non voluptatem sed doloribus. Sed culpa illum fuga totam et repellendus.\"]"], ["created_at", "2014-09-19 20:02:32.490483"], ["name", "contract_14bd194a"], ["title", "Dolores vel sint delectus sed amet sequi."], ["updated_at", "2014-09-19 20:02:32.490483"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_14bd194a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_14bd194a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:02:32.493551"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.495988"], ["updated_at", "2014-09-19 20:02:32.495988"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 20:02:32.498184"], ["updated_at", "2014-09-19 20:02:32.498184"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.503590"], ["updated_at", "2014-09-19 20:02:32.503590"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.505167"], ["updated_at", "2014-09-19 20:02:32.505167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4c093be4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque veritatis illo facere exercitationem delectus. Delectus facere molestias dolores asperiores qui ipsam. Nulla voluptatum quia optio earum fugiat culpa dolorem. Iusto quisquam ut mollitia ea. Mollitia ut enim.\", \"Tenetur aut ut perspiciatis. Repellendus rerum saepe. Omnis quia et.\"]"], ["created_at", "2014-09-19 20:02:32.508142"], ["name", "contract_4c093be4"], ["title", "Sapiente minus aut."], ["updated_at", "2014-09-19 20:02:32.508142"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4c093be4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_4c093be4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:02:32.511355"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.513824"], ["updated_at", "2014-09-19 20:02:32.513824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 20:02:32.515940"], ["updated_at", "2014-09-19 20:02:32.515940"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.521912"], ["updated_at", "2014-09-19 20:02:32.521912"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.523623"], ["updated_at", "2014-09-19 20:02:32.523623"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6b636a9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque amet placeat doloribus et. Adipisci saepe veritatis et incidunt eaque et. Et eos sint sapiente. Optio animi blanditiis qui distinctio.\", \"Eum aut deleniti. Corporis voluptates et praesentium est vel cumque. Quia voluptas delectus deserunt voluptatum.\"]"], ["created_at", "2014-09-19 20:02:32.526626"], ["name", "contract_6b636a9a"], ["title", "Sunt odio nostrum qui."], ["updated_at", "2014-09-19 20:02:32.526626"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6b636a9a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_6b636a9a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:02:32.529639"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.532065"], ["updated_at", "2014-09-19 20:02:32.532065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 20:02:32.534246"], ["updated_at", "2014-09-19 20:02:32.534246"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.540518"], ["updated_at", "2014-09-19 20:02:32.540518"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.542029"], ["updated_at", "2014-09-19 20:02:32.542029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eb610854') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam deserunt quia cum sed. Reprehenderit qui doloremque minus id exercitationem et quia. Sed quia quisquam magnam accusamus aliquid illum voluptatem.\", \"Rerum autem possimus tempora consequatur voluptatem ea. A et in ut est quod. Asperiores quo in est rerum.\"]"], ["created_at", "2014-09-19 20:02:32.544875"], ["name", "contract_eb610854"], ["title", "Facilis eius consequuntur beatae officiis magnam."], ["updated_at", "2014-09-19 20:02:32.544875"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb610854"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_eb610854') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:02:32.547846"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:02:32.550232"], ["updated_at", "2014-09-19 20:02:32.550232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 20:02:32.552316"], ["updated_at", "2014-09-19 20:02:32.552316"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (2.2ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.2ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_91e4209e') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis ut et nemo. Recusandae a quia nobis quo delectus eum quia. Tempora quia suscipit. Nam velit eos architecto consequuntur.\", \"Sapiente sint maxime. Non eum cum. Cumque non pariatur voluptatem. Et voluptates cum.\"]"], ["created_at", "2014-09-19 20:03:30.223043"], ["name", "contract_91e4209e"], ["title", "Ut enim quia et dicta."], ["updated_at", "2014-09-19 20:03:30.223043"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91e4209e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_91e4209e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:03:30.234437"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.245054"], ["updated_at", "2014-09-19 20:03:30.245054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:03:30.250307"], ["updated_at", "2014-09-19 20:03:30.250307"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.5ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_91e4209e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91e4209e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_91e4209e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction 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_30ababef') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo rem cum. Minus ipsa quis aut ea nulla. Quis soluta et delectus et earum.\", \"Et qui omnis saepe cumque. Nulla quae unde. Omnis deleniti officia dolorem. Minima animi voluptatibus suscipit laudantium.\"]"], ["created_at", "2014-09-19 20:03:30.265127"], ["name", "contract_30ababef"], ["title", "Est eius tempora est."], ["updated_at", "2014-09-19 20:03:30.265127"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_30ababef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_30ababef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:03:30.268362"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_30ababef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo rem cum. Minus ipsa quis aut ea nulla. Quis soluta et delectus et earum.\", \"Et qui omnis saepe cumque. Nulla quae unde. Omnis deleniti officia dolorem. Minima animi voluptatibus suscipit laudantium.\"]"], ["created_at", "2014-09-19 20:03:30.273890"], ["name", "joe"], ["title", "Est eius tempora est."], ["updated_at", "2014-09-19 20:03:30.273890"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:03:30.277038"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_76d15222') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa eaque fugit. Porro facilis non quidem optio facere. Blanditiis sit eum numquam sint expedita ipsam ipsa. Rerum quam enim cumque sint.\", \"Sunt accusamus esse molestiae nostrum eligendi vel eos. Modi est in magni eos. Ex eligendi voluptatem fugit occaecati illum id. Aut officia repudiandae ab tempora fuga earum. Consequatur itaque aliquid qui ea excepturi architecto debitis.\"]"], ["created_at", "2014-09-19 20:03:30.281101"], ["name", "contract_76d15222"], ["title", "Fugit iure cumque quidem ratione reiciendis."], ["updated_at", "2014-09-19 20:03:30.281101"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76d15222"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_76d15222') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:03:30.286122"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76d15222"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76d15222"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_76d15222') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:03:30.291786"], ["version", nil]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_e143abb7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium excepturi odio omnis. Quia eum dolores culpa non quidem quo. Ut possimus amet placeat totam voluptas. Labore qui et sit cumque.\", \"Explicabo eos porro adipisci. Repellat iure quae sequi facilis. A quod maiores fuga. Quam ipsa doloremque vero id. Quaerat sint autem.\"]"], ["created_at", "2014-09-19 20:03:30.297314"], ["name", "contract_e143abb7"], ["title", "A laudantium laboriosam ratione ut recusandae illum maxime."], ["updated_at", "2014-09-19 20:03:30.297314"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e143abb7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_e143abb7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:03:30.302180"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e143abb7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_e143abb7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium excepturi odio omnis. Quia eum dolores culpa non quidem quo. Ut possimus amet placeat totam voluptas. Labore qui et sit cumque.\", \"Explicabo eos porro adipisci. Repellat iure quae sequi facilis. A quod maiores fuga. Quam ipsa doloremque vero id. Quaerat sint autem.\"]"], ["created_at", "2014-09-19 20:03:30.306934"], ["name", "contract_e143abb7"], ["title", "A laudantium laboriosam ratione ut recusandae illum maxime."], ["updated_at", "2014-09-19 20:03:30.306934"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e143abb7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_e143abb7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:03:30.312056"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem culpa in tenetur aut dolor quia optio. Sed voluptate ipsum necessitatibus repellat asperiores eos. Eos non qui quia sequi rerum. Et ipsum suscipit laudantium dignissimos. Enim ab vel sit.\", \"Sequi laborum distinctio qui. Deleniti iusto quia totam ullam. Et illum aperiam dolores fugit delectus non. Alias accusantium facere. Dolore veniam ullam et deserunt dolores non.\"]"], ["created_at", "2014-09-19 20:03:30.317806"], ["name", "alpha"], ["title", "Reprehenderit soluta praesentium odio at facere."], ["updated_at", "2014-09-19 20:03:30.317806"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:03:30.323021"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est in vitae nostrum vero aspernatur culpa dolores. Omnis sed quia ipsam et nisi voluptatibus. In ea quos culpa.\", \"Velit sit porro repellendus sed deleniti amet. Ullam dignissimos non rerum voluptatibus enim omnis molestiae. Omnis qui veniam.\"]"], ["created_at", "2014-09-19 20:03:30.327933"], ["name", "beta"], ["title", "Possimus exercitationem reiciendis ut ullam."], ["updated_at", "2014-09-19 20:03:30.327933"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:03:30.331420"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque est voluptas a voluptates veniam. Et consequatur maiores tempora. Maiores nesciunt deserunt voluptatibus omnis sint.\", \"Et architecto velit impedit repudiandae cum commodi. Quo eligendi veritatis provident sunt error temporibus eveniet. In nesciunt ut fugit tenetur voluptas rem.\"]"], ["created_at", "2014-09-19 20:03:30.335808"], ["name", "alpha"], ["title", "Iste nostrum quidem placeat."], ["updated_at", "2014-09-19 20:03:30.335808"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:03:30.340665"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa ut voluptates quo et vel. Et omnis in corrupti. Voluptas minima quaerat iusto maxime deserunt quia. Veniam suscipit nam autem officia. Nihil saepe ea.\", \"Dolor voluptas sit rerum cupiditate aspernatur. Quos pariatur et velit. Asperiores et accusamus pariatur repellat ullam.\"]"], ["created_at", "2014-09-19 20:03:30.346403"], ["name", "beta"], ["title", "Omnis quo repellat sit provident pariatur ab."], ["updated_at", "2014-09-19 20:03:30.346403"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:03:30.351108"], ["version", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa eius porro rerum sit. Quia hic blanditiis nulla minima quis et quia. Ad amet nihil est qui doloremque.\", \"Cumque qui repudiandae tenetur et. Omnis iure quia est. Eveniet est velit eius nam est amet. Voluptatum in maiores est autem et unde.\"]"], ["created_at", "2014-09-19 20:03:30.356018"], ["name", "alpha"], ["title", "Ipsam a odio fugit blanditiis fuga."], ["updated_at", "2014-09-19 20:03:30.356018"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:03:30.359406"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui facere earum. Aut quae autem. Ullam amet consequatur aspernatur facere dolore.\", \"Laboriosam eveniet reprehenderit facere et cupiditate et ea. Dolor dicta eos nobis excepturi omnis nesciunt. Nulla illo aspernatur molestiae quis. Expedita laboriosam consequatur.\"]"], ["created_at", "2014-09-19 20:03:30.363774"], ["name", "beta"], ["title", "Similique voluptas aliquid."], ["updated_at", "2014-09-19 20:03:30.363774"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:03:30.367323"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.373690"], ["updated_at", "2014-09-19 20:03:30.373690"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.375246"], ["updated_at", "2014-09-19 20:03:30.375246"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.387181"], ["updated_at", "2014-09-19 20:03:30.387181"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.388707"], ["updated_at", "2014-09-19 20:03:30.388707"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_4c0ff927') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores magnam quia consequatur vel vel omnis. Voluptas alias impedit cumque et consequatur quae. Excepturi recusandae iste omnis est voluptatem. Aspernatur quos consequatur odio asperiores.\", \"Nihil laudantium vero. Qui et totam vero harum. Quibusdam reprehenderit consequuntur corporis alias ex. Dicta quis eaque est illum ea.\"]"], ["created_at", "2014-09-19 20:03:30.394723"], ["name", "contract_4c0ff927"], ["title", "Architecto libero ea cum."], ["updated_at", "2014-09-19 20:03:30.394723"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction 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_42d43217') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum non tempora corrupti et. Accusantium reiciendis ratione. Mollitia quo ut iure at voluptatibus. Fugit et quas magnam et molestiae cum. Mollitia aliquid illo quia.\", \"Aut quo sed et explicabo magnam. Eum nesciunt numquam. Ab unde voluptatem labore veritatis saepe.\"]"], ["created_at", "2014-09-19 20:03:30.400236"], ["name", "contract_42d43217"], ["title", "Molestiae totam nisi dicta dolorum ad rerum."], ["updated_at", "2014-09-19 20:03:30.400236"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_42d43217"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_42d43217') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:03:30.403580"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.406383"], ["updated_at", "2014-09-19 20:03:30.406383"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.411711"], ["updated_at", "2014-09-19 20:03:30.411711"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.413242"], ["updated_at", "2014-09-19 20:03:30.413242"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7b3e4f66') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem enim iusto sit pariatur. Quo consequatur consequatur. Ut dolorem distinctio dolor at aut. Id dolorem ut impedit illum ullam.\", \"Ea voluptas voluptatem velit error sed nam. Voluptate laudantium veniam porro molestiae. Rerum itaque repellendus.\"]"], ["created_at", "2014-09-19 20:03:30.415807"], ["name", "contract_7b3e4f66"], ["title", "Sint accusantium dicta accusamus delectus dolores ratione impedit."], ["updated_at", "2014-09-19 20:03:30.415807"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.423536"], ["updated_at", "2014-09-19 20:03:30.423536"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.425112"], ["updated_at", "2014-09-19 20:03:30.425112"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_6d1371c0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi nulla debitis earum labore non. Rem laudantium est. Nihil omnis aut tempore quibusdam aut. Consectetur nihil molestiae quia architecto qui corporis. Et sint et minima incidunt voluptas.\", \"Et maxime quae ut. Vero eos fuga incidunt adipisci explicabo nemo quaerat. Ut adipisci rerum dolores id.\"]"], ["created_at", "2014-09-19 20:03:30.428434"], ["name", "contract_6d1371c0"], ["title", "Est dignissimos cumque rerum."], ["updated_at", "2014-09-19 20:03:30.428434"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 16 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:03:30.432721"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.438213"], ["updated_at", "2014-09-19 20:03:30.438213"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.439913"], ["updated_at", "2014-09-19 20:03:30.439913"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b58ab5d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat blanditiis perspiciatis vitae voluptates corporis autem dolor. Inventore quia et. Et voluptates sapiente doloremque iste quibusdam minima rerum. Voluptatem nesciunt alias ipsa quo recusandae.\", \"Voluptates animi est necessitatibus iure. Consectetur deleniti voluptates officia qui dolore. Quo quisquam fugit. Quo rerum qui qui aperiam vero dolor natus.\"]"], ["created_at", "2014-09-19 20:03:30.442549"], ["name", "contract_1b58ab5d"], ["title", "Aut minus consequatur dolorem quod aspernatur dolor aut."], ["updated_at", "2014-09-19 20:03:30.442549"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.447152"], ["updated_at", "2014-09-19 20:03:30.447152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.448702"], ["updated_at", "2014-09-19 20:03:30.448702"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c239cf40') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis a voluptas quo ex dolor delectus. Qui accusantium et vero. Officiis nisi laboriosam quia et aut quis veniam. Recusandae expedita rerum id sapiente quo.\", \"Suscipit dicta officia numquam praesentium deleniti voluptas. Occaecati consequatur nemo ut vel omnis eos et. Qui maiores harum voluptate numquam eveniet vitae qui. Fugiat in autem. Ea ducimus eos corporis ut nam.\"]"], ["created_at", "2014-09-19 20:03:30.451550"], ["name", "contract_c239cf40"], ["title", "Aperiam dolor itaque nihil placeat porro ex."], ["updated_at", "2014-09-19 20:03:30.451550"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 7, 12, 10, 8, 17, 2, 14, 13, 4, 15, 1, 18, 6, 5, 3, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.461336"], ["updated_at", "2014-09-19 20:03:30.461336"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.462967"], ["updated_at", "2014-09-19 20:03:30.462967"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e16208fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis debitis libero facere nulla quia in. Sed praesentium possimus. Ea sed repellendus eum blanditiis natus ipsam.\", \"Itaque error velit nisi adipisci. Et earum voluptas consectetur quas voluptatem debitis. Qui voluptas et ut dignissimos.\"]"], ["created_at", "2014-09-19 20:03:30.465804"], ["name", "contract_e16208fe"], ["title", "Et pariatur similique."], ["updated_at", "2014-09-19 20:03:30.465804"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e16208fe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_e16208fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:03:30.470251"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e16208fe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_e16208fe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:03:30.478170"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.483162"], ["updated_at", "2014-09-19 20:03:30.483162"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.484878"], ["updated_at", "2014-09-19 20:03:30.484878"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b19316e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod suscipit perferendis similique id. Et numquam enim modi in et. Eveniet in et et.\", \"Sint aut ut. Corrupti nesciunt voluptatem ex voluptatum atque dolor. Aut dolorem optio a illum animi reprehenderit.\"]"], ["created_at", "2014-09-19 20:03:30.487820"], ["name", "contract_b19316e2"], ["title", "Quia doloribus accusantium reiciendis cumque et accusamus."], ["updated_at", "2014-09-19 20:03:30.487820"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.491831"], ["updated_at", "2014-09-19 20:03:30.491831"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.493353"], ["updated_at", "2014-09-19 20:03:30.493353"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ec30166f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas optio sunt aut. Unde similique ipsa sit nihil aut qui officiis. Qui incidunt illo sit accusantium. Reprehenderit occaecati veritatis.\", \"Dolores doloremque rem sed. Id amet nulla sequi aut temporibus. Architecto harum dolor expedita.\"]"], ["created_at", "2014-09-19 20:03:30.495813"], ["name", "contract_ec30166f"], ["title", "Iste sint sunt et eaque fugiat maiores itaque."], ["updated_at", "2014-09-19 20:03:30.495813"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.501582"], ["updated_at", "2014-09-19 20:03:30.501582"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.503803"], ["updated_at", "2014-09-19 20:03:30.503803"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a2c09c31') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem excepturi corporis. Beatae debitis eos. Et quo est eaque consequatur veniam.\", \"Iste repudiandae quam omnis. Dolorum et asperiores. Quo animi sunt qui numquam voluptatem a. Delectus quia necessitatibus at sequi provident omnis aperiam.\"]"], ["created_at", "2014-09-19 20:03:30.507075"], ["name", "contract_a2c09c31"], ["title", "Doloribus nam labore voluptas repellat tempora."], ["updated_at", "2014-09-19 20:03:30.507075"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.511196"], ["updated_at", "2014-09-19 20:03:30.511196"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.512655"], ["updated_at", "2014-09-19 20:03:30.512655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_29d4c7b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas qui dolores tenetur. Odio aut vel officia et voluptatem nihil quia. Est id sunt et sit. Debitis delectus et ab. Eaque autem inventore.\", \"Vero corrupti architecto et non ab. Numquam voluptatibus dolores optio odio. Dolores ex quia aut aspernatur nisi.\"]"], ["created_at", "2014-09-19 20:03:30.515123"], ["name", "contract_29d4c7b8"], ["title", "Nesciunt molestias commodi quidem ipsum rerum repellat."], ["updated_at", "2014-09-19 20:03:30.515123"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.520447"], ["updated_at", "2014-09-19 20:03:30.520447"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.521932"], ["updated_at", "2014-09-19 20:03:30.521932"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6fc3581d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et odit totam. Ut inventore quasi eos numquam. Deleniti est ratione nobis quo et non.\", \"In sint voluptatem veniam assumenda quia quae distinctio. Tenetur dicta a praesentium hic consectetur reiciendis. Nesciunt nemo alias.\"]"], ["created_at", "2014-09-19 20:03:30.524395"], ["name", "contract_6fc3581d"], ["title", "Quibusdam commodi laboriosam et quia."], ["updated_at", "2014-09-19 20:03:30.524395"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.529936"], ["updated_at", "2014-09-19 20:03:30.529936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.531580"], ["updated_at", "2014-09-19 20:03:30.531580"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_751e20d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id perspiciatis recusandae. Laboriosam aut nulla non ut doloribus et. Molestias accusamus non doloribus. Esse ipsum voluptatibus nulla voluptas expedita aut. Molestias ea architecto nesciunt iste.\", \"Molestias mollitia odit voluptatibus. In numquam non labore minima sint aut soluta. Est quia illo aut molestiae excepturi. Vel voluptatem fuga temporibus officia.\"]"], ["created_at", "2014-09-19 20:03:30.534257"], ["name", "contract_751e20d2"], ["title", "Asperiores doloremque aut quisquam est."], ["updated_at", "2014-09-19 20:03:30.534257"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_751e20d2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_751e20d2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:03:30.537430"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.543129"], ["updated_at", "2014-09-19 20:03:30.543129"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.544960"], ["updated_at", "2014-09-19 20:03:30.544960"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3b19f69d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt est et iste quasi accusantium. Rerum iusto fugit iste deleniti et. Non quas qui dignissimos quis vitae ut cumque. Fugit corrupti molestiae odio a.\", \"Accusamus ut ducimus et dolorem laboriosam doloremque. Velit qui et. Qui non ipsa voluptas id at. Voluptas ut voluptas et. Nihil assumenda repudiandae quo.\"]"], ["created_at", "2014-09-19 20:03:30.547588"], ["name", "contract_3b19f69d"], ["title", "Sed incidunt eligendi velit rem fugiat."], ["updated_at", "2014-09-19 20:03:30.547588"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.552650"], ["updated_at", "2014-09-19 20:03:30.552650"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.554115"], ["updated_at", "2014-09-19 20:03:30.554115"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_58e20144') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic quo dicta. Nulla velit tenetur recusandae atque et non. Omnis unde cumque est ratione labore.\", \"Magnam consequatur amet aut ut molestiae fuga animi. Ducimus est non aliquam totam reiciendis. Rerum dolorum provident. Id ut quaerat quia quo dolores non.\"]"], ["created_at", "2014-09-19 20:03:30.556725"], ["name", "contract_58e20144"], ["title", "Iusto placeat ducimus provident maiores aliquam."], ["updated_at", "2014-09-19 20:03:30.556725"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 27]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 27]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 27 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.565973"], ["updated_at", "2014-09-19 20:03:30.565973"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.568390"], ["updated_at", "2014-09-19 20:03:30.568390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3a62942d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam dignissimos quas deleniti illum molestiae eum. Natus provident officia alias. Placeat sit voluptatem molestias laboriosam. Eligendi voluptatem accusamus et nihil.\", \"Fuga et eum eius molestiae. Voluptatum id itaque. Suscipit et sed quis illo molestias.\"]"], ["created_at", "2014-09-19 20:03:30.571544"], ["name", "contract_3a62942d"], ["title", "Ipsam et quos quo eaque."], ["updated_at", "2014-09-19 20:03:30.571544"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.581420"], ["updated_at", "2014-09-19 20:03:30.581420"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.583098"], ["updated_at", "2014-09-19 20:03:30.583098"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1beee7fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse cumque debitis. Voluptas corporis officia. Commodi consequatur velit odit quo fugiat eos. Beatae perspiciatis reiciendis velit porro.\", \"Hic culpa harum. Est cumque aut aut voluptatem. Commodi non possimus aut. Nobis numquam est et qui quos veniam voluptas. Ipsum quia voluptatibus qui amet ex consectetur.\"]"], ["created_at", "2014-09-19 20:03:30.585758"], ["name", "contract_1beee7fb"], ["title", "Quod enim similique aut nulla deserunt excepturi adipisci."], ["updated_at", "2014-09-19 20:03:30.585758"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1beee7fb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_1beee7fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:03:30.590417"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.594529"], ["updated_at", "2014-09-19 20:03:30.594529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.596013"], ["updated_at", "2014-09-19 20:03:30.596013"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_66cf10e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis eveniet esse omnis at libero assumenda aut. Doloremque quam est. Praesentium hic id minus. Beatae laborum velit corporis repudiandae ducimus quibusdam a. Quisquam amet a.\", \"Adipisci aut voluptatum inventore. Esse corrupti quasi eaque et tenetur. Id ratione quisquam qui fuga qui temporibus velit. Non voluptatem maxime facilis qui optio iusto debitis. Vero tempora quidem.\"]"], ["created_at", "2014-09-19 20:03:30.598729"], ["name", "contract_66cf10e5"], ["title", "Distinctio voluptatum autem harum vero a maxime nostrum."], ["updated_at", "2014-09-19 20:03:30.598729"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66cf10e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_66cf10e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:03:30.602292"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_66cf10e5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.609744"], ["updated_at", "2014-09-19 20:03:30.609744"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.611389"], ["updated_at", "2014-09-19 20:03:30.611389"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ecc83de0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure aliquam sit quibusdam fugiat qui. Corporis sint eveniet voluptatibus amet exercitationem dolorum aut. Iste quas labore necessitatibus voluptas at. Consectetur id maxime maiores repudiandae laboriosam provident. Laudantium unde accusantium minima.\", \"Ullam voluptas qui et fugiat aspernatur autem. Ipsum ipsa quas omnis in aut iste magnam. Cumque voluptatibus dolorem eius nemo inventore molestias. Soluta aperiam neque ad libero tempore iste. Et velit id repudiandae corporis voluptate ut rerum.\"]"], ["created_at", "2014-09-19 20:03:30.614622"], ["name", "contract_ecc83de0"], ["title", "Qui est necessitatibus."], ["updated_at", "2014-09-19 20:03:30.614622"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecc83de0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_ecc83de0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:03:30.617744"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.622801"], ["updated_at", "2014-09-19 20:03:30.622801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.624322"], ["updated_at", "2014-09-19 20:03:30.624322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f4268a77') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque iusto et quasi in magni dolorum rerum. Odit atque consectetur delectus temporibus perferendis iste. Id sunt illum.\", \"Ut a tempora et vel consequuntur. Quasi numquam architecto consequatur. Et aut aperiam qui. Quod qui soluta quaerat. Temporibus inventore quia atque vero dicta.\"]"], ["created_at", "2014-09-19 20:03:30.626969"], ["name", "contract_f4268a77"], ["title", "Ipsa sit totam."], ["updated_at", "2014-09-19 20:03:30.626969"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.630791"], ["updated_at", "2014-09-19 20:03:30.630791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.632268"], ["updated_at", "2014-09-19 20:03:30.632268"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c716f0fe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi sit voluptas commodi sint explicabo. Quia sequi repellat voluptates sit sit dicta occaecati. Perferendis sequi quo minus aut facere. Et corporis voluptatem quos. Voluptatem amet nihil.\", \"Doloremque non voluptatibus aut a. Et soluta qui. Sed beatae minima adipisci pariatur totam possimus placeat.\"]"], ["created_at", "2014-09-19 20:03:30.635126"], ["name", "contract_c716f0fe"], ["title", "Fuga qui voluptate sit facilis nihil cupiditate perspiciatis."], ["updated_at", "2014-09-19 20:03:30.635126"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c716f0fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_c716f0fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:03:30.638156"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.640533"], ["updated_at", "2014-09-19 20:03:30.640533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 20:03:30.642670"], ["updated_at", "2014-09-19 20:03:30.642670"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.650736"], ["updated_at", "2014-09-19 20:03:30.650736"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.653212"], ["updated_at", "2014-09-19 20:03:30.653212"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_02d1254a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum fuga sed ut quasi. Dolorum id ea quia et molestiae. Rerum occaecati fuga laudantium optio enim doloribus. Ipsa aut eveniet error blanditiis reiciendis aliquam.\", \"Omnis illum asperiores. Eum dolorum ad. Laborum ipsa quod autem. Voluptas sit modi. Necessitatibus quaerat qui.\"]"], ["created_at", "2014-09-19 20:03:30.658043"], ["name", "contract_02d1254a"], ["title", "Harum necessitatibus vero esse voluptatibus."], ["updated_at", "2014-09-19 20:03:30.658043"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_02d1254a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_02d1254a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:03:30.661930"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.664555"], ["updated_at", "2014-09-19 20:03:30.664555"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 20:03:30.666853"], ["updated_at", "2014-09-19 20:03:30.666853"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.673848"], ["updated_at", "2014-09-19 20:03:30.673848"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.675441"], ["updated_at", "2014-09-19 20:03:30.675441"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5051f74f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In suscipit in sint nihil sit dolor voluptatibus. Qui autem qui et ut ullam nihil. Debitis omnis minima. Qui qui provident atque et amet praesentium et.\", \"Natus ut doloribus rerum. Sint eligendi quo minus quam ad. Amet nisi quia recusandae veniam. Repudiandae at quibusdam.\"]"], ["created_at", "2014-09-19 20:03:30.678481"], ["name", "contract_5051f74f"], ["title", "Ipsa inventore saepe."], ["updated_at", "2014-09-19 20:03:30.678481"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5051f74f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_5051f74f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:03:30.682236"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.685114"], ["updated_at", "2014-09-19 20:03:30.685114"]]  (1.1ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 20:03:30.687883"], ["updated_at", "2014-09-19 20:03:30.687883"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.692741"], ["updated_at", "2014-09-19 20:03:30.692741"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.694254"], ["updated_at", "2014-09-19 20:03:30.694254"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_68a7a1eb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit cum pariatur eaque enim suscipit labore. Voluptates facere dolor doloremque autem consectetur non. Et corrupti vero voluptatem. Facilis consequatur sit aut necessitatibus qui excepturi in.\", \"Numquam nam sed debitis. Blanditiis qui id eius et maxime. Quam expedita et magni. Repellat ut voluptatem quo recusandae dolore dolores. Ea corrupti reiciendis et quidem.\"]"], ["created_at", "2014-09-19 20:03:30.697333"], ["name", "contract_68a7a1eb"], ["title", "Qui et hic numquam quia dolores."], ["updated_at", "2014-09-19 20:03:30.697333"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_68a7a1eb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_68a7a1eb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:03:30.701137"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:03:30.703937"], ["updated_at", "2014-09-19 20:03:30.703937"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 20:03:30.706307"], ["updated_at", "2014-09-19 20:03:30.706307"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.342795"], ["updated_at", "2014-09-19 20:05:26.342795"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.350107"], ["updated_at", "2014-09-19 20:05:26.350107"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_152e20bf') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas fugit expedita dolorem saepe libero laudantium. Et tempora recusandae. Libero qui quis ut neque nihil. Et quibusdam nostrum.\", \"Totam voluptatem voluptatem fugit voluptates perferendis itaque. Quis aut sequi natus. Voluptate repellat ex facere qui.\"]"], ["created_at", "2014-09-19 20:05:26.577908"], ["name", "contract_152e20bf"], ["title", "Non nam doloremque."], ["updated_at", "2014-09-19 20:05:26.577908"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_152e20bf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_152e20bf') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:05:26.589250"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_152e20bf' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.607362"], ["updated_at", "2014-09-19 20:05:26.607362"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.609194"], ["updated_at", "2014-09-19 20:05:26.609194"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_432f41c8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa molestias maxime. Ipsa cum repudiandae qui aliquid aut. Doloribus doloremque ut. Blanditiis maiores tempore voluptatum.\", \"Dolores quia ea quia modi quod maiores eveniet. Recusandae tempora sed id. Ad accusamus dolor ducimus quam. Est nam hic corporis quo enim alias. Maxime sit aliquam dolorum voluptates consectetur.\"]"], ["created_at", "2014-09-19 20:05:26.612349"], ["name", "contract_432f41c8"], ["title", "Enim neque est mollitia non quos eius iste."], ["updated_at", "2014-09-19 20:05:26.612349"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.618676"], ["updated_at", "2014-09-19 20:05:26.618676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.620376"], ["updated_at", "2014-09-19 20:05:26.620376"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:05:26.623914"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:05:26.623914"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/3 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.628421"], ["updated_at", "2014-09-19 20:05:26.628421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.629968"], ["updated_at", "2014-09-19 20:05:26.629968"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.633475"], ["updated_at", "2014-09-19 20:05:26.633475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.634947"], ["updated_at", "2014-09-19 20:05:26.634947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9682f388') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et et accusantium sint qui ea. Doloremque vero voluptas dolorem. Non non provident est voluptatem. Quas possimus suscipit laudantium nam aut.\", \"Accusantium culpa facilis temporibus dicta ut. Nesciunt possimus est consequatur dolorum quia quibusdam eum. Cupiditate velit rem voluptatem vel laboriosam quia. Necessitatibus ipsa cupiditate repudiandae. Laudantium impedit odit placeat voluptas.\"]"], ["created_at", "2014-09-19 20:05:26.638295"], ["name", "contract_9682f388"], ["title", "Quibusdam expedita molestias."], ["updated_at", "2014-09-19 20:05:26.638295"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.644146"], ["updated_at", "2014-09-19 20:05:26.644146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.645750"], ["updated_at", "2014-09-19 20:05:26.645750"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_516daa39') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores officiis consequuntur. Corporis omnis non dolorem a asperiores similique. Sint est eaque.\", \"Aut consequatur quae praesentium minus omnis. Officiis aliquam ex est. Quas sed sapiente voluptatum error dolor voluptatem. Aspernatur et esse vel sapiente. Cumque et molestiae praesentium.\"]"], ["created_at", "2014-09-19 20:05:26.648522"], ["name", "contract_516daa39"], ["title", "Dolor et voluptates animi at ullam et."], ["updated_at", "2014-09-19 20:05:26.648522"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.654011"], ["updated_at", "2014-09-19 20:05:26.654011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.656125"], ["updated_at", "2014-09-19 20:05:26.656125"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.660153"], ["updated_at", "2014-09-19 20:05:26.660153"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.661874"], ["updated_at", "2014-09-19 20:05:26.661874"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_479da996') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum quia dolores soluta tempore amet. Aliquam sed adipisci necessitatibus sapiente modi inventore eos. Eius consectetur dolore similique voluptas unde provident. Vero et beatae.\", \"Id autem doloribus in labore numquam eaque necessitatibus. Aperiam eos enim voluptatem voluptas enim. Quibusdam est provident et eligendi ipsum vero. Nostrum quis facere sit.\"]"], ["created_at", "2014-09-19 20:05:26.664609"], ["name", "contract_479da996"], ["title", "Quam quo dolorum iste error repellat voluptatibus velit."], ["updated_at", "2014-09-19 20:05:26.664609"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_479da996"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_479da996') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:05:26.667736"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.673465"], ["updated_at", "2014-09-19 20:05:26.673465"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.675279"], ["updated_at", "2014-09-19 20:05:26.675279"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d69c9c59') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit aliquid magnam dolor reiciendis omnis ducimus doloribus. Itaque nihil reiciendis fuga ipsam omnis. Qui dolorem quia accusantium dolor maiores.\", \"Fuga ipsum est. Sapiente et deserunt sequi voluptatum provident. Omnis ut aliquam provident.\"]"], ["created_at", "2014-09-19 20:05:26.678350"], ["name", "contract_d69c9c59"], ["title", "Id dolorem reprehenderit aliquam fuga."], ["updated_at", "2014-09-19 20:05:26.678350"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d69c9c59"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_d69c9c59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:05:26.684682"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.690594"], ["updated_at", "2014-09-19 20:05:26.690594"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.692219"], ["updated_at", "2014-09-19 20:05:26.692219"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 2, 6, 5, 4, 7, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.702385"], ["updated_at", "2014-09-19 20:05:26.702385"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.704077"], ["updated_at", "2014-09-19 20:05:26.704077"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f4a470b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique est quod nihil excepturi sit in inventore. Voluptates quis numquam. Enim nesciunt quaerat enim consequatur quis.\", \"Ut asperiores maxime dolor suscipit. Quo nisi dolor. Provident sed mollitia. Mollitia et quibusdam quia aut sint perferendis dolorem.\"]"], ["created_at", "2014-09-19 20:05:26.707085"], ["name", "contract_9f4a470b"], ["title", "Necessitatibus laudantium minima."], ["updated_at", "2014-09-19 20:05:26.707085"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.714780"], ["updated_at", "2014-09-19 20:05:26.714780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.716423"], ["updated_at", "2014-09-19 20:05:26.716423"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.721088"], ["updated_at", "2014-09-19 20:05:26.721088"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.722831"], ["updated_at", "2014-09-19 20:05:26.722831"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.727069"], ["updated_at", "2014-09-19 20:05:26.727069"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.728609"], ["updated_at", "2014-09-19 20:05:26.728609"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2b9c86e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde quasi eaque nulla est libero minus alias. Atque dolores beatae iure est omnis. Veniam quia commodi repellendus sequi.\", \"Eos quis esse non maiores quis cum. In neque consequatur sint. Quos minus iure et. Quis at iure occaecati exercitationem velit sed.\"]"], ["created_at", "2014-09-19 20:05:26.731355"], ["name", "contract_2b9c86e4"], ["title", "Omnis eum dolorem velit."], ["updated_at", "2014-09-19 20:05:26.731355"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.737666"], ["updated_at", "2014-09-19 20:05:26.737666"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.739355"], ["updated_at", "2014-09-19 20:05:26.739355"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a2524e36') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo dolores quasi voluptatem sit explicabo. Tempore voluptatem eaque doloribus. Sit voluptatem odio.\", \"Illum atque perferendis ut et consequuntur. Autem ad perspiciatis nemo unde. Voluptatibus mollitia aut aspernatur accusantium doloremque. Porro dolorem a. Corporis facere accusamus sed ipsa veritatis.\"]"], ["created_at", "2014-09-19 20:05:26.742321"], ["name", "contract_a2524e36"], ["title", "Esse asperiores ipsum."], ["updated_at", "2014-09-19 20:05:26.742321"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a2524e36"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_a2524e36') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:05:26.747062"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.751277"], ["updated_at", "2014-09-19 20:05:26.751277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.752729"], ["updated_at", "2014-09-19 20:05:26.752729"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_2a33c249') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quia voluptatibus distinctio corrupti est iste quos. Sed facilis totam eos voluptatum. Et ex fugiat veritatis neque omnis rerum. Eius excepturi nesciunt. Aut dolore inventore.\", \"Magni ipsam et soluta rem. Eaque quis eligendi laborum. Deserunt rerum reiciendis et autem. Vitae rerum tempora.\"]"], ["created_at", "2014-09-19 20:05:26.755289"], ["name", "contract_2a33c249"], ["title", "Provident molestias voluptatum consectetur porro."], ["updated_at", "2014-09-19 20:05:26.755289"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.761747"], ["updated_at", "2014-09-19 20:05:26.761747"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.763565"], ["updated_at", "2014-09-19 20:05:26.763565"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_8a284e68') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod illo delectus amet sed. Hic maxime in placeat tempora iusto. Exercitationem numquam architecto id placeat. Nulla consequatur earum placeat sapiente.\", \"Velit sint et qui. Iure ab omnis voluptate culpa pariatur impedit asperiores. Qui quia nam libero. Consequatur ut velit maiores sit. Nostrum quia voluptatem odio.\"]"], ["created_at", "2014-09-19 20:05:26.766909"], ["name", "contract_8a284e68"], ["title", "Sed eos minus neque ullam qui."], ["updated_at", "2014-09-19 20:05:26.766909"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 12]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 12]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 12 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.775020"], ["updated_at", "2014-09-19 20:05:26.775020"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.776527"], ["updated_at", "2014-09-19 20:05:26.776527"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_78c596cb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati eum dolorum esse dolor. Repellendus commodi omnis asperiores voluptate recusandae sapiente officiis. Culpa voluptatibus quo. Laudantium aliquid et est.\", \"Sunt aut similique tenetur. Neque eligendi consequuntur eum debitis et perferendis autem. Odit omnis repudiandae et occaecati velit ut. Ullam consequatur deleniti.\"]"], ["created_at", "2014-09-19 20:05:26.779170"], ["name", "contract_78c596cb"], ["title", "Facilis dolorem ratione amet accusantium enim quidem quas."], ["updated_at", "2014-09-19 20:05:26.779170"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78c596cb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_78c596cb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:05:26.782155"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78c596cb"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_78c596cb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:05:26.788420"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem rerum quia aut. Provident quia corporis fugiat ipsa non aut. Ex sunt ipsum cum.\", \"Mollitia at neque ea. Natus qui quas quis pariatur vel ratione nulla. Commodi dolores omnis inventore reprehenderit.\"]"], ["created_at", "2014-09-19 20:05:26.794445"], ["name", "alpha"], ["title", "Temporibus deleniti laudantium corrupti voluptas ab."], ["updated_at", "2014-09-19 20:05:26.794445"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:05:26.797966"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit quo debitis iste. Voluptatibus atque sed quia voluptatem necessitatibus corporis dolorum. Veritatis voluptas nihil molestias. Corporis voluptatibus et animi est alias.\", \"Sit voluptas excepturi. Perferendis voluptatum voluptatem eum. Omnis repellat sapiente odit esse eius. Iste et est vitae non ipsum. Aperiam aliquam officiis et ea.\"]"], ["created_at", "2014-09-19 20:05:26.802351"], ["name", "beta"], ["title", "Dolores aut voluptas aut."], ["updated_at", "2014-09-19 20:05:26.802351"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:05:26.805707"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet necessitatibus atque. Error culpa non vel. Est qui aliquam.\", \"Quasi aut quis magnam sit totam. Sit excepturi eos aut et. Accusantium laboriosam qui. Eos quas at harum iste non. Enim aut consequatur tempora.\"]"], ["created_at", "2014-09-19 20:05:26.809818"], ["name", "alpha"], ["title", "Totam fugit quibusdam nesciunt pariatur ipsa sapiente cumque."], ["updated_at", "2014-09-19 20:05:26.809818"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:05:26.812754"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut numquam vel magni. Ipsum distinctio in totam possimus dicta labore fuga. Quia ex eum occaecati est quia.\", \"Odit dolore molestiae omnis quasi excepturi architecto sit. Quaerat nulla porro ut tenetur eum quia. Et laudantium voluptate ut ea beatae temporibus facilis.\"]"], ["created_at", "2014-09-19 20:05:26.816151"], ["name", "beta"], ["title", "Earum nemo ullam est sed."], ["updated_at", "2014-09-19 20:05:26.816151"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:05:26.819321"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex fugit quos delectus officia vel. Deserunt perspiciatis natus mollitia quia omnis. Eos praesentium deleniti enim. Amet nam earum et sapiente delectus aliquam repellat.\", \"Quo sequi voluptas nobis in. Maiores dicta sapiente modi inventore dolorum. In magni quisquam non. Nihil aut suscipit dolores.\"]"], ["created_at", "2014-09-19 20:05:26.823258"], ["name", "alpha"], ["title", "Voluptate totam suscipit repellat quis voluptatem sit laudantium."], ["updated_at", "2014-09-19 20:05:26.823258"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:05:26.826444"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint doloribus enim dolorem non occaecati. Aspernatur delectus maxime non repudiandae. Aperiam eveniet rerum. Sint adipisci amet tempora expedita ducimus inventore. Qui hic numquam voluptas.\", \"In et perferendis. Reprehenderit in sint. Quibusdam alias voluptas voluptas libero eligendi numquam. Ab quam totam adipisci omnis ipsum occaecati laudantium.\"]"], ["created_at", "2014-09-19 20:05:26.829893"], ["name", "beta"], ["title", "Autem facere eius facilis."], ["updated_at", "2014-09-19 20:05:26.829893"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:05:26.833312"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.836865"], ["updated_at", "2014-09-19 20:05:26.836865"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.838566"], ["updated_at", "2014-09-19 20:05:26.838566"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.848033"], ["updated_at", "2014-09-19 20:05:26.848033"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.849966"], ["updated_at", "2014-09-19 20:05:26.849966"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_d354af94') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur modi est possimus. Amet vero at voluptatibus voluptatem quia pariatur qui. Cupiditate perspiciatis quo accusantium est est doloribus. Quidem ea nisi.\", \"Dolor rerum rerum. Occaecati molestiae fugit nemo ut. Eum perferendis ut. Et dignissimos quam.\"]"], ["created_at", "2014-09-19 20:05:26.855516"], ["name", "contract_d354af94"], ["title", "Natus rerum ea unde maxime."], ["updated_at", "2014-09-19 20:05:26.855516"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d354af94"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_d354af94') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:05:26.860104"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.867359"], ["updated_at", "2014-09-19 20:05:26.867359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-19 20:05:26.870882"], ["updated_at", "2014-09-19 20:05:26.870882"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_d354af94') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d354af94"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_d354af94') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction 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_236c898e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam facilis omnis ducimus quisquam maiores ea eligendi. Fugiat voluptatem praesentium a adipisci exercitationem consequatur molestias. Placeat iusto expedita dolor deleniti. Quod vel sapiente eos non illo. Quas tempore dolores deleniti id quis.\", \"Harum fugiat fuga consequuntur sit exercitationem est. Et qui maiores quae voluptatum dolorem. Dolore laboriosam ab perferendis ipsa. Facere rem tempore illum aut consequatur est. Quos id repellat voluptatem.\"]"], ["created_at", "2014-09-19 20:05:26.889131"], ["name", "contract_236c898e"], ["title", "Fuga est qui qui et."], ["updated_at", "2014-09-19 20:05:26.889131"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_236c898e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_236c898e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:05:26.893563"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_236c898e"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_236c898e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_236c898e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:05:26.898573"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a1c7ed46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex velit natus placeat reprehenderit et. Nemo eius voluptatibus aliquid deleniti. Sed debitis cupiditate et iure.\", \"Sint labore iure omnis. Molestias voluptatibus laborum. Assumenda ratione vero.\"]"], ["created_at", "2014-09-19 20:05:26.902213"], ["name", "contract_a1c7ed46"], ["title", "Unde qui atque sit."], ["updated_at", "2014-09-19 20:05:26.902213"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1c7ed46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_a1c7ed46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:05:26.905646"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a1c7ed46' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex velit natus placeat reprehenderit et. Nemo eius voluptatibus aliquid deleniti. Sed debitis cupiditate et iure.\", \"Sint labore iure omnis. Molestias voluptatibus laborum. Assumenda ratione vero.\"]"], ["created_at", "2014-09-19 20:05:26.909575"], ["name", "joe"], ["title", "Unde qui atque sit."], ["updated_at", "2014-09-19 20:05:26.909575"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:05:26.912729"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_96cc5bfc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum sed cumque consectetur dolorem est pariatur. Eaque nam tempora. Quasi sint suscipit reiciendis cum aut. Ut iusto laborum asperiores nihil.\", \"Quia ut accusantium. A at fugit et repellat et. Vel est ratione.\"]"], ["created_at", "2014-09-19 20:05:26.916858"], ["name", "contract_96cc5bfc"], ["title", "Tempora aut vel voluptas."], ["updated_at", "2014-09-19 20:05:26.916858"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_96cc5bfc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_96cc5bfc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:05:26.920109"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_96cc5bfc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_96cc5bfc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum sed cumque consectetur dolorem est pariatur. Eaque nam tempora. Quasi sint suscipit reiciendis cum aut. Ut iusto laborum asperiores nihil.\", \"Quia ut accusantium. A at fugit et repellat et. Vel est ratione.\"]"], ["created_at", "2014-09-19 20:05:26.923790"], ["name", "contract_96cc5bfc"], ["title", "Tempora aut vel voluptas."], ["updated_at", "2014-09-19 20:05:26.923790"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_96cc5bfc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_96cc5bfc') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:05:26.926861"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b6c0a89e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam occaecati molestiae. Sunt repudiandae ipsa voluptate. Fugiat ea cupiditate repellendus qui ratione corrupti consequatur.\", \"Est iusto eveniet consequatur non voluptatibus vel. Cupiditate ducimus debitis qui nulla ratione quibusdam. Voluptatum at in omnis dolor sint aperiam.\"]"], ["created_at", "2014-09-19 20:05:26.935610"], ["name", "contract_b6c0a89e"], ["title", "Qui voluptatem dolorem eum quo."], ["updated_at", "2014-09-19 20:05:26.935610"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.1ms) begin transaction 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_d4b4cf4a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id quia adipisci non dolorem. Natus ducimus molestiae reprehenderit dolor sequi consectetur. Commodi sequi quis quisquam consequatur enim est neque.\", \"Et illo aut. Quisquam rerum corrupti culpa. Ipsa minus ad est corporis dicta nam. Commodi corrupti nihil.\"]"], ["created_at", "2014-09-19 20:05:26.940459"], ["name", "contract_d4b4cf4a"], ["title", "Laboriosam consequatur culpa repudiandae."], ["updated_at", "2014-09-19 20:05:26.940459"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d4b4cf4a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_d4b4cf4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:05:26.943663"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.946124"], ["updated_at", "2014-09-19 20:05:26.946124"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.951649"], ["updated_at", "2014-09-19 20:05:26.951649"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.953388"], ["updated_at", "2014-09-19 20:05:26.953388"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35d0cad6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis earum velit sit rerum est consequuntur. Ea nam voluptatem inventore quo enim explicabo unde. Incidunt nemo voluptatem et labore placeat. Molestiae error eum explicabo ipsa consequatur et.\", \"Repellendus eaque qui iure quo voluptates et enim. Quas odit consequatur ut repellat aliquam aut qui. Ut veniam et odit ipsam. Sint sapiente eum eaque aut et voluptate animi. Eligendi est accusamus.\"]"], ["created_at", "2014-09-19 20:05:26.956432"], ["name", "contract_35d0cad6"], ["title", "In deleniti odit cum."], ["updated_at", "2014-09-19 20:05:26.956432"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35d0cad6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_35d0cad6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:05:26.959451"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.961886"], ["updated_at", "2014-09-19 20:05:26.961886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 20:05:26.964083"], ["updated_at", "2014-09-19 20:05:26.964083"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.971439"], ["updated_at", "2014-09-19 20:05:26.971439"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.973309"], ["updated_at", "2014-09-19 20:05:26.973309"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_25d50168') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique dolorum necessitatibus. Assumenda corporis molestias quia. Occaecati ad odio vel.\", \"Pariatur enim eos ut laborum quasi quia. Rerum est voluptas at. Ut ipsa culpa corporis.\"]"], ["created_at", "2014-09-19 20:05:26.976788"], ["name", "contract_25d50168"], ["title", "Aut sapiente soluta consectetur itaque reiciendis incidunt."], ["updated_at", "2014-09-19 20:05:26.976788"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_25d50168"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_25d50168') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:05:26.980119"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.983491"], ["updated_at", "2014-09-19 20:05:26.983491"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 20:05:26.986393"], ["updated_at", "2014-09-19 20:05:26.986393"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.991603"], ["updated_at", "2014-09-19 20:05:26.991603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:26.993104"], ["updated_at", "2014-09-19 20:05:26.993104"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_04a7e486') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum facere quia hic. Repudiandae odio repellendus sequi incidunt quidem. Totam non sed deserunt itaque aut eos nulla. Repellendus quod reiciendis doloremque at itaque voluptates error.\", \"Maiores velit impedit. Quia aut inventore. Rerum commodi ut exercitationem rem minima provident quas.\"]"], ["created_at", "2014-09-19 20:05:26.996226"], ["name", "contract_04a7e486"], ["title", "Quos repudiandae eos."], ["updated_at", "2014-09-19 20:05:26.996226"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04a7e486"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_04a7e486') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:05:26.999605"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:27.002534"], ["updated_at", "2014-09-19 20:05:27.002534"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 20:05:27.004869"], ["updated_at", "2014-09-19 20:05:27.004869"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:27.013765"], ["updated_at", "2014-09-19 20:05:27.013765"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:27.016057"], ["updated_at", "2014-09-19 20:05:27.016057"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b8777b8e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sed culpa. Accusantium qui est. Sed voluptatem dolorum corporis non. Quae laboriosam unde id blanditiis vero a.\", \"Modi voluptatem a dolores eaque dolor omnis. Quas ut quo iusto. Quas vitae ipsa eos accusamus nihil quis. Sed soluta tenetur sed voluptatem culpa magnam vitae. Facere ad maxime sunt.\"]"], ["created_at", "2014-09-19 20:05:27.020957"], ["name", "contract_b8777b8e"], ["title", "Quibusdam et dolorem id iure."], ["updated_at", "2014-09-19 20:05:27.020957"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b8777b8e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_b8777b8e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:05:27.025208"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:05:27.028314"], ["updated_at", "2014-09-19 20:05:27.028314"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-19 20:05:27.031417"], ["updated_at", "2014-09-19 20:05:27.031417"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.459641"], ["updated_at", "2014-09-19 20:07:27.459641"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.467285"], ["updated_at", "2014-09-19 20:07:27.467285"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.483366"], ["updated_at", "2014-09-19 20:07:27.483366"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.485431"], ["updated_at", "2014-09-19 20:07:27.485431"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1f45cc90') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic modi voluptates aut. Nostrum odio enim labore sed quasi aut. Quod alias cupiditate soluta similique.\", \"Ipsam quo est amet ullam est aliquid. Suscipit ut officiis. Reiciendis ipsa magni laborum. Qui totam nesciunt eius ad labore.\"]"], ["created_at", "2014-09-19 20:07:27.710941"], ["name", "contract_1f45cc90"], ["title", "Nobis ducimus quo perspiciatis placeat ea doloribus."], ["updated_at", "2014-09-19 20:07:27.710941"]]  (1.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.718623"], ["updated_at", "2014-09-19 20:07:27.718623"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.720748"], ["updated_at", "2014-09-19 20:07:27.720748"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:07:27.724628"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:07:27.724628"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.730676"], ["updated_at", "2014-09-19 20:07:27.730676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.732518"], ["updated_at", "2014-09-19 20:07:27.732518"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.737207"], ["updated_at", "2014-09-19 20:07:27.737207"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.738740"], ["updated_at", "2014-09-19 20:07:27.738740"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_5b8956d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque quidem cumque nihil ut culpa. Consequatur repellendus facilis sequi voluptas earum. Quam facilis eligendi quia corporis. Exercitationem cupiditate quis enim sint qui explicabo et.\", \"Rerum quod eius voluptatibus mollitia. Est numquam aut enim. Ullam tenetur quae molestiae in omnis. Et velit nisi.\"]"], ["created_at", "2014-09-19 20:07:27.741659"], ["name", "contract_5b8956d4"], ["title", "Dolores accusantium voluptas deleniti."], ["updated_at", "2014-09-19 20:07:27.741659"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.747128"], ["updated_at", "2014-09-19 20:07:27.747128"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.748799"], ["updated_at", "2014-09-19 20:07:27.748799"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.758748"], ["updated_at", "2014-09-19 20:07:27.758748"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.760702"], ["updated_at", "2014-09-19 20:07:27.760702"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e2dbb143') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate ut ipsa occaecati voluptas aut rem quam. Velit sit perspiciatis soluta et aperiam quisquam minima. Occaecati quasi inventore sequi.\", \"Nobis dolorem sunt molestiae. Qui error laborum dolor. Ut at odit et optio voluptatem. Harum nesciunt dolore officiis cumque.\"]"], ["created_at", "2014-09-19 20:07:27.763862"], ["name", "contract_e2dbb143"], ["title", "Tempora ex consectetur libero et."], ["updated_at", "2014-09-19 20:07:27.763862"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e2dbb143"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_e2dbb143') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:07:27.777043"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e2dbb143' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.789727"], ["updated_at", "2014-09-19 20:07:27.789727"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.791685"], ["updated_at", "2014-09-19 20:07:27.791685"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_465e279c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias quisquam et rerum. Dolor praesentium officiis quaerat. Officia quas hic facilis sunt at in qui.\", \"Consequatur nostrum blanditiis est alias in. Mollitia harum quos reprehenderit nihil voluptatem ab. Necessitatibus odio aliquam eos autem voluptas.\"]"], ["created_at", "2014-09-19 20:07:27.794614"], ["name", "contract_465e279c"], ["title", "Libero quos dolores tempore."], ["updated_at", "2014-09-19 20:07:27.794614"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.801300"], ["updated_at", "2014-09-19 20:07:27.801300"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.802740"], ["updated_at", "2014-09-19 20:07:27.802740"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_31a898e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore optio accusantium esse iure maxime quia quia. Sequi omnis sit. Culpa earum error nobis doloribus deleniti.\", \"Quia aut laboriosam pariatur inventore. Beatae ab voluptatem iste sit culpa. Suscipit occaecati esse blanditiis corrupti inventore aperiam voluptatum. In perferendis ullam temporibus aut. Quisquam eaque sit odio sed.\"]"], ["created_at", "2014-09-19 20:07:27.805439"], ["name", "contract_31a898e7"], ["title", "Fugit consequuntur ipsa voluptas libero similique accusamus."], ["updated_at", "2014-09-19 20:07:27.805439"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_31a898e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_31a898e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:07:27.808776"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.814190"], ["updated_at", "2014-09-19 20:07:27.814190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.815890"], ["updated_at", "2014-09-19 20:07:27.815890"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_9ac6a24d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias facere tenetur sed officiis. Aut dolorem soluta et. Illum voluptas repellat eum dicta quis.\", \"Excepturi est hic et quia. Quo illo vel. Laboriosam provident placeat atque fugit voluptatem quia.\"]"], ["created_at", "2014-09-19 20:07:27.819029"], ["name", "contract_9ac6a24d"], ["title", "Odio blanditiis deleniti qui quidem error."], ["updated_at", "2014-09-19 20:07:27.819029"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.825539"], ["updated_at", "2014-09-19 20:07:27.825539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.827119"], ["updated_at", "2014-09-19 20:07:27.827119"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_93fc261f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui et similique. Sint odit sequi necessitatibus aut unde quasi. Odit porro quis error. Odit reprehenderit voluptatem ipsum at. Est et sint optio voluptatem.\", \"Omnis nisi corrupti repudiandae. Ab sit hic ipsum. Atque hic autem odit minus maxime qui excepturi.\"]"], ["created_at", "2014-09-19 20:07:27.829751"], ["name", "contract_93fc261f"], ["title", "Nihil quos dolor est itaque possimus odit magnam."], ["updated_at", "2014-09-19 20:07:27.829751"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.835334"], ["updated_at", "2014-09-19 20:07:27.835334"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.836959"], ["updated_at", "2014-09-19 20:07:27.836959"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cd09f2bb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi qui dolore et aliquid quisquam. Vero incidunt ut voluptas. Nostrum doloremque nisi quae expedita.\", \"Odit quidem veritatis maxime quisquam. Dolores a sed fugit. Alias ratione et.\"]"], ["created_at", "2014-09-19 20:07:27.839727"], ["name", "contract_cd09f2bb"], ["title", "Eum reiciendis harum voluptas."], ["updated_at", "2014-09-19 20:07:27.839727"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.848585"], ["updated_at", "2014-09-19 20:07:27.848585"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.850250"], ["updated_at", "2014-09-19 20:07:27.850250"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 6, 5, 3, 8, 7, 4, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.859090"], ["updated_at", "2014-09-19 20:07:27.859090"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.860602"], ["updated_at", "2014-09-19 20:07:27.860602"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_018a447a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum hic quo consequuntur enim corrupti. Molestiae omnis quisquam ut omnis. Dolores dolor sequi voluptatem perspiciatis. Consequatur quasi ipsam.\", \"Voluptatem delectus doloribus nam consequatur autem. Nihil rerum nemo velit magni. Qui molestiae id perspiciatis autem recusandae rem ut.\"]"], ["created_at", "2014-09-19 20:07:27.863305"], ["name", "contract_018a447a"], ["title", "Minima similique tempora in et numquam minus."], ["updated_at", "2014-09-19 20:07:27.863305"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.870076"], ["updated_at", "2014-09-19 20:07:27.870076"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.871523"], ["updated_at", "2014-09-19 20:07:27.871523"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e72aa586') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem sint eveniet maiores odit. In quaerat et. Nobis sit illum ea. Sint et ratione dolores ea dolores laudantium aspernatur. Sunt aut fuga maiores.\", \"Rerum sit recusandae natus dolorem quidem alias ducimus. Sed sunt nam aut autem odit distinctio nihil. Quo animi vel odit amet perspiciatis quam. Ab quaerat eos temporibus et repellendus. Nihil earum eveniet.\"]"], ["created_at", "2014-09-19 20:07:27.874081"], ["name", "contract_e72aa586"], ["title", "Recusandae inventore voluptatem et sunt vero aut qui."], ["updated_at", "2014-09-19 20:07:27.874081"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e72aa586"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_e72aa586') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:07:27.877066"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e72aa586"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_e72aa586') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:07:27.882466"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.887457"], ["updated_at", "2014-09-19 20:07:27.887457"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.889095"], ["updated_at", "2014-09-19 20:07:27.889095"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.892705"], ["updated_at", "2014-09-19 20:07:27.892705"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.894165"], ["updated_at", "2014-09-19 20:07:27.894165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dc11c492') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim praesentium repellendus. Nulla dicta harum temporibus. Esse eum maxime sit mollitia voluptates. Officia aut vel alias inventore.\", \"Quae qui ut sapiente explicabo voluptate dolores aut. Et voluptatem blanditiis. Sequi aut non modi aut dicta. Error molestiae officiis possimus amet.\"]"], ["created_at", "2014-09-19 20:07:27.896748"], ["name", "contract_dc11c492"], ["title", "Aliquam dignissimos delectus id."], ["updated_at", "2014-09-19 20:07:27.896748"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dc11c492"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_dc11c492') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:07:27.901116"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.905116"], ["updated_at", "2014-09-19 20:07:27.905116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.906565"], ["updated_at", "2014-09-19 20:07:27.906565"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9056fa1a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sed alias commodi ipsam. Itaque sapiente enim quo maiores animi commodi. Assumenda ad quia in rerum eaque commodi vel.\", \"Quasi facilis quia eum deleniti velit deserunt. Quasi blanditiis similique sunt. Est eveniet aut. Magni id adipisci commodi minima pariatur quibusdam.\"]"], ["created_at", "2014-09-19 20:07:27.909591"], ["name", "contract_9056fa1a"], ["title", "Necessitatibus hic voluptatibus harum praesentium iusto incidunt."], ["updated_at", "2014-09-19 20:07:27.909591"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9056fa1a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_9056fa1a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:07:27.912919"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.922338"], ["updated_at", "2014-09-19 20:07:27.922338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.923971"], ["updated_at", "2014-09-19 20:07:27.923971"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.931800"], ["updated_at", "2014-09-19 20:07:27.931800"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.933319"], ["updated_at", "2014-09-19 20:07:27.933319"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae consectetur aut itaque nostrum est molestias. Atque enim quibusdam magnam aspernatur voluptas asperiores. Autem sint aut ducimus et sed impedit sint. Autem enim in a eius quo. Unde possimus non et.\", \"Dolore quae consectetur. Rerum vel corrupti. Id in laudantium et voluptatem doloremque. Beatae et perferendis repellendus neque laudantium fuga omnis.\"]"], ["created_at", "2014-09-19 20:07:27.938043"], ["name", "alpha"], ["title", "Voluptatibus placeat consequatur voluptatem in possimus optio sunt."], ["updated_at", "2014-09-19 20:07:27.938043"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:07:27.941210"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste voluptate autem est quidem illo esse deleniti. Ut quisquam sed mollitia cumque corrupti. Sint quia labore quia sapiente. Molestiae debitis accusamus. A quos aut adipisci eius.\", \"Commodi laudantium repellendus. Nobis mollitia quae. Deleniti id similique quas minus asperiores aut accusantium. Facilis commodi sit dignissimos. Iusto consequatur voluptates dolorem.\"]"], ["created_at", "2014-09-19 20:07:27.944851"], ["name", "beta"], ["title", "Maiores accusamus quas sit vel."], ["updated_at", "2014-09-19 20:07:27.944851"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:07:27.947821"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi libero eius doloribus laboriosam voluptatem fugiat. Ipsa magnam et dolorum. Beatae non provident pariatur.\", \"Ratione repudiandae natus. Itaque delectus nemo consequatur eveniet alias placeat. Dolorem sequi aliquam.\"]"], ["created_at", "2014-09-19 20:07:27.951468"], ["name", "alpha"], ["title", "Consequatur totam aut."], ["updated_at", "2014-09-19 20:07:27.951468"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:07:27.954835"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum nisi qui et ut. Fuga temporibus iste. Harum aut ad rerum enim sapiente eveniet. Dolor ad possimus illo repellendus repudiandae autem eum.\", \"Aut voluptatem id. Tenetur sed assumenda. Quisquam voluptas deleniti est non delectus rerum. Facere itaque ad qui ut tempore. Distinctio est eligendi qui.\"]"], ["created_at", "2014-09-19 20:07:27.958310"], ["name", "beta"], ["title", "Sed ad sit."], ["updated_at", "2014-09-19 20:07:27.958310"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:07:27.961244"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam animi cum et rerum perspiciatis. Quos perspiciatis molestiae id eveniet error. Et et doloremque odit aut corrupti. Saepe sint repudiandae est quos facere molestiae. Ipsum ut consequuntur aut necessitatibus adipisci.\", \"Qui in voluptatibus explicabo nulla facilis perspiciatis. Voluptatem aliquid impedit. Ducimus et fugiat. Quo reprehenderit ut animi incidunt.\"]"], ["created_at", "2014-09-19 20:07:27.964947"], ["name", "alpha"], ["title", "Eum aut ipsa qui dolorem."], ["updated_at", "2014-09-19 20:07:27.964947"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:07:27.967787"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi qui tempore vitae. Ullam impedit et. Ut provident dolores praesentium delectus soluta. Quis officiis cumque.\", \"Qui error id facilis ab. Maiores omnis quas magni voluptas at aut. Doloribus dolor eligendi. Aperiam quia rerum sint. Vero nulla officia et quod a totam debitis.\"]"], ["created_at", "2014-09-19 20:07:27.971220"], ["name", "beta"], ["title", "Nobis accusantium eaque id quo impedit tempore."], ["updated_at", "2014-09-19 20:07:27.971220"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:07:27.974118"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.977365"], ["updated_at", "2014-09-19 20:07:27.977365"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.978894"], ["updated_at", "2014-09-19 20:07:27.978894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7bfd5c1a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil numquam fuga sed sit maiores molestias iure. Ipsam est eveniet voluptatibus quos. Quibusdam reprehenderit dolorem possimus sequi.\", \"Laudantium eligendi ut voluptatem. Sit sapiente impedit qui hic odit enim vitae. Illum sint deleniti.\"]"], ["created_at", "2014-09-19 20:07:27.981856"], ["name", "contract_7bfd5c1a"], ["title", "Laborum ut voluptatem et et consequatur unde."], ["updated_at", "2014-09-19 20:07:27.981856"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7bfd5c1a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_7bfd5c1a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:07:27.984873"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:27.989449"], ["updated_at", "2014-09-19 20:07:27.989449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-19 20:07:27.992288"], ["updated_at", "2014-09-19 20:07:27.992288"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.005846"], ["updated_at", "2014-09-19 20:07:28.005846"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.007766"], ["updated_at", "2014-09-19 20:07:28.007766"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_95e1069e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae esse odio alias qui aliquam cupiditate ipsam. Similique alias sint inventore et et aut qui. Voluptates sunt vitae sunt in consequatur esse. Distinctio quia velit.\", \"Quas error cum vero mollitia. Dolore voluptatem id possimus consequatur. Fugit quas at culpa omnis voluptatem hic. Aut est aut earum repellat quis blanditiis. Voluptas aut omnis accusamus et nulla aut.\"]"], ["created_at", "2014-09-19 20:07:28.011202"], ["name", "contract_95e1069e"], ["title", "Harum reprehenderit eaque."], ["updated_at", "2014-09-19 20:07:28.011202"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_95e1069e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_95e1069e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:07:28.014670"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.017035"], ["updated_at", "2014-09-19 20:07:28.017035"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-19 20:07:28.020498"], ["updated_at", "2014-09-19 20:07:28.020498"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.025540"], ["updated_at", "2014-09-19 20:07:28.025540"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.026902"], ["updated_at", "2014-09-19 20:07:28.026902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bc6fd376') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam itaque aliquid est. Molestias delectus aut. Modi sit quos eum quisquam consequatur ipsa. Similique illum ab reiciendis quasi eligendi alias recusandae.\", \"Nesciunt minus laborum est similique rem at enim. Nihil molestiae eligendi libero dolorem. Eum voluptate pariatur aut aut non.\"]"], ["created_at", "2014-09-19 20:07:28.029716"], ["name", "contract_bc6fd376"], ["title", "Expedita explicabo velit."], ["updated_at", "2014-09-19 20:07:28.029716"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bc6fd376"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_bc6fd376') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:07:28.032716"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.035199"], ["updated_at", "2014-09-19 20:07:28.035199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-19 20:07:28.037245"], ["updated_at", "2014-09-19 20:07:28.037245"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.043054"], ["updated_at", "2014-09-19 20:07:28.043054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.044679"], ["updated_at", "2014-09-19 20:07:28.044679"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f22cc59d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod dolores officia. Fugiat velit quia distinctio necessitatibus nostrum est. Non enim ut repellat qui autem earum doloribus.\", \"Quae voluptates accusantium in voluptatum cum ut. Cum voluptate eos et id et. Tenetur sunt impedit. Ut dolor commodi et quo hic deserunt molestias.\"]"], ["created_at", "2014-09-19 20:07:28.047702"], ["name", "contract_f22cc59d"], ["title", "Placeat numquam mollitia ut."], ["updated_at", "2014-09-19 20:07:28.047702"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f22cc59d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_f22cc59d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:07:28.050638"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.053344"], ["updated_at", "2014-09-19 20:07:28.053344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-19 20:07:28.055455"], ["updated_at", "2014-09-19 20:07:28.055455"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction 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_83da7cb5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum perferendis animi aliquam alias. Consequatur quod doloremque est odit occaecati. Officiis quod quos. Totam laudantium blanditiis ab ex voluptas est. Porro sed mollitia exercitationem esse.\", \"Rerum ea fugiat et occaecati ut. Nobis repudiandae ut molestiae cumque quae ipsam. Et quas ex omnis accusantium illum. Eos est neque dolor necessitatibus nesciunt.\"]"], ["created_at", "2014-09-19 20:07:28.061991"], ["name", "contract_83da7cb5"], ["title", "Expedita totam odit nisi vero."], ["updated_at", "2014-09-19 20:07:28.061991"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83da7cb5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_83da7cb5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:07:28.064950"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_83da7cb5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum perferendis animi aliquam alias. Consequatur quod doloremque est odit occaecati. Officiis quod quos. Totam laudantium blanditiis ab ex voluptas est. Porro sed mollitia exercitationem esse.\", \"Rerum ea fugiat et occaecati ut. Nobis repudiandae ut molestiae cumque quae ipsam. Et quas ex omnis accusantium illum. Eos est neque dolor necessitatibus nesciunt.\"]"], ["created_at", "2014-09-19 20:07:28.068301"], ["name", "joe"], ["title", "Expedita totam odit nisi vero."], ["updated_at", "2014-09-19 20:07:28.068301"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:07:28.071192"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c9b4b864') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil in vel sunt sint harum nisi. Ea aliquid ut veniam. Nihil itaque officiis asperiores amet tempore fuga. Est dolorem ut molestias.\", \"Ut est ea quis unde sed et. Consequuntur quam fuga mollitia. Hic amet quas.\"]"], ["created_at", "2014-09-19 20:07:28.074701"], ["name", "contract_c9b4b864"], ["title", "Quo et quasi esse."], ["updated_at", "2014-09-19 20:07:28.074701"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c9b4b864"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_c9b4b864') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:07:28.079367"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c9b4b864"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c9b4b864"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_c9b4b864') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:07:28.084644"], ["version", nil]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_5209d54a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et doloremque voluptatibus esse porro qui ratione. Et consequatur est velit. Est rerum sapiente quo iure assumenda omnis eius.\", \"Dolorum sunt qui possimus numquam sed est. Sunt sapiente ut quis aut deleniti repellat. Eos rerum est illo totam iste aspernatur. Nemo rerum dolorum non.\"]"], ["created_at", "2014-09-19 20:07:28.088724"], ["name", "contract_5209d54a"], ["title", "Rerum dignissimos molestiae earum ad rerum dicta."], ["updated_at", "2014-09-19 20:07:28.088724"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5209d54a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_5209d54a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:07:28.092188"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.095689"], ["updated_at", "2014-09-19 20:07:28.095689"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-19 20:07:28.097776"], ["updated_at", "2014-09-19 20:07:28.097776"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_5209d54a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5209d54a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_5209d54a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction 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_0cbb02cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit doloremque quas voluptatem praesentium rerum. Sint voluptatibus commodi aliquam blanditiis nostrum facilis. Recusandae excepturi perferendis reiciendis facilis quam numquam. Expedita totam quisquam tempora. Sed facere corrupti voluptatum inventore dolor et occaecati.\", \"Accusantium blanditiis animi saepe tempora maxime repellat reprehenderit. Consequatur temporibus odio dolore voluptas. Ea ut reprehenderit eos fuga sequi sit.\"]"], ["created_at", "2014-09-19 20:07:28.106275"], ["name", "contract_0cbb02cc"], ["title", "Quibusdam ipsam quisquam cum rerum rem perferendis dolorum."], ["updated_at", "2014-09-19 20:07:28.106275"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0cbb02cc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_0cbb02cc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:07:28.109072"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0cbb02cc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_0cbb02cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit doloremque quas voluptatem praesentium rerum. Sint voluptatibus commodi aliquam blanditiis nostrum facilis. Recusandae excepturi perferendis reiciendis facilis quam numquam. Expedita totam quisquam tempora. Sed facere corrupti voluptatum inventore dolor et occaecati.\", \"Accusantium blanditiis animi saepe tempora maxime repellat reprehenderit. Consequatur temporibus odio dolore voluptas. Ea ut reprehenderit eos fuga sequi sit.\"]"], ["created_at", "2014-09-19 20:07:28.112596"], ["name", "contract_0cbb02cc"], ["title", "Quibusdam ipsam quisquam cum rerum rem perferendis dolorum."], ["updated_at", "2014-09-19 20:07:28.112596"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0cbb02cc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_0cbb02cc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:07:28.115502"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6082ca9a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo suscipit enim similique. Itaque cum magnam nostrum. Ratione in deleniti.\", \"Fugit rerum occaecati perferendis aperiam cupiditate. Corrupti magni quos. Aut aperiam autem ab. Blanditiis voluptates voluptatem et quis. Delectus omnis doloribus assumenda laboriosam.\"]"], ["created_at", "2014-09-19 20:07:28.119869"], ["name", "contract_6082ca9a"], ["title", "Omnis explicabo nostrum sit velit et."], ["updated_at", "2014-09-19 20:07:28.119869"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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_077b0c08') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate recusandae et blanditiis alias totam. Consequatur rem qui dolorem est omnis esse. Non consectetur excepturi incidunt. Quia fugit tempora et ullam. Officiis quos repudiandae consequatur eveniet nesciunt nulla.\", \"Dolores et placeat. Ea non dolorem est veniam voluptatem. Libero vitae modi voluptas nesciunt. Aut officia non excepturi qui aut vero. Rerum voluptatem eum laborum.\"]"], ["created_at", "2014-09-19 20:07:28.124104"], ["name", "contract_077b0c08"], ["title", "Dolor vero officiis hic impedit et id quae."], ["updated_at", "2014-09-19 20:07:28.124104"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_077b0c08"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_077b0c08') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:07:28.126926"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:07:28.129326"], ["updated_at", "2014-09-19 20:07:28.129326"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_db77021c') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum officiis iure amet sit eum. Non sint ab ut aut. Dolorem quia ipsum aut praesentium. Molestiae sequi rerum aspernatur iure. Suscipit voluptatem officia est est nobis ad.\", \"Iusto incidunt quod et qui. Tenetur laborum architecto eos. Fuga porro ea dolorem eos sunt ut. Porro aut eius repellat. Consequatur qui et esse.\"]"], ["created_at", "2014-09-19 20:08:07.226172"], ["name", "contract_db77021c"], ["title", "Modi voluptatem excepturi rem nihil qui in."], ["updated_at", "2014-09-19 20:08:07.226172"]]  (2.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_c18c17c6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et repellendus consequatur impedit animi quisquam quidem ea. Aspernatur qui deserunt harum. Autem enim in distinctio eveniet accusantium eos. Accusantium iure vel rerum sint tenetur possimus incidunt. Aut vel voluptatum.\", \"Soluta suscipit quibusdam perspiciatis qui. Repellat ut sequi. Aliquam inventore ducimus.\"]"], ["created_at", "2014-09-19 20:08:07.248584"], ["name", "contract_c18c17c6"], ["title", "Corrupti voluptates ad voluptatem nemo nostrum et."], ["updated_at", "2014-09-19 20:08:07.248584"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c18c17c6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_c18c17c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:08:07.253130"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.258664"], ["updated_at", "2014-09-19 20:08:07.258664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque voluptas est molestiae excepturi. Molestiae aut illo aut. Qui sapiente laborum. Laboriosam voluptas at aliquid placeat est. Sapiente dignissimos dolorem libero et debitis quaerat velit.\", \"In dolore nulla deleniti veritatis. Rem quae nemo facere ab et aut et. Provident fuga necessitatibus.\"]"], ["created_at", "2014-09-19 20:08:07.268649"], ["name", "alpha"], ["title", "Quis non et molestias nulla temporibus voluptatibus dolorem."], ["updated_at", "2014-09-19 20:08:07.268649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:08:07.272176"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit debitis quia eos. Ab qui accusantium assumenda nihil temporibus. Sunt dolores non minima. Eos aut qui voluptatum magni libero facilis illum. Quas quo amet hic.\", \"Vero soluta quia. Voluptatem eos nobis consectetur earum repellat rerum. Necessitatibus voluptatum repellat.\"]"], ["created_at", "2014-09-19 20:08:07.276674"], ["name", "beta"], ["title", "Quidem iste accusamus voluptatum."], ["updated_at", "2014-09-19 20:08:07.276674"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:08:07.279843"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est qui beatae nam ut. Reiciendis vitae facere ullam rem eius. Et excepturi incidunt non itaque. Aut incidunt quo doloremque commodi. Eligendi qui repellendus harum laboriosam iure voluptatem.\", \"Porro possimus et ab. Voluptatibus aperiam rerum consequuntur. Et voluptatem repudiandae quod.\"]"], ["created_at", "2014-09-19 20:08:07.283966"], ["name", "alpha"], ["title", "Provident illo voluptas odit nisi voluptas veritatis reprehenderit."], ["updated_at", "2014-09-19 20:08:07.283966"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:08:07.287341"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quia eaque distinctio ratione. Distinctio nulla itaque aut aut. Distinctio est sit magni ipsam tenetur et consectetur.\", \"Ut rerum quo eaque quos voluptates. Aperiam quis enim. Officia nisi sed enim aut non aut ducimus. Quidem nostrum voluptatem. In accusamus vero.\"]"], ["created_at", "2014-09-19 20:08:07.290968"], ["name", "beta"], ["title", "Molestiae ut sint cum consequatur eos."], ["updated_at", "2014-09-19 20:08:07.290968"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:08:07.294074"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto dolores mollitia deleniti porro vel sunt. Velit vitae assumenda soluta unde. Magnam quas ab facere quidem hic. Doloribus eligendi officiis.\", \"Praesentium assumenda quam. Laboriosam accusantium ipsam deleniti consequatur quisquam. Beatae quo qui officiis eum. Nisi velit est repellendus vero quis.\"]"], ["created_at", "2014-09-19 20:08:07.298154"], ["name", "alpha"], ["title", "Dolorum consequatur nisi."], ["updated_at", "2014-09-19 20:08:07.298154"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.5ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:08:07.302209"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.7ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quia voluptatibus eos ea neque quis velit. Dolores architecto velit molestiae blanditiis tempora. Est dolores voluptas.\", \"Atque doloribus nobis sunt ea voluptatem eos vel. Distinctio consequatur quasi aut asperiores vel. Sit doloribus aut iusto nesciunt. Fugiat qui autem sunt ut maxime eius.\"]"], ["created_at", "2014-09-19 20:08:07.306362"], ["name", "beta"], ["title", "Sit enim sapiente dolor nostrum quo ea."], ["updated_at", "2014-09-19 20:08:07.306362"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:08:07.310894"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3e42386c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A et ipsum recusandae. Sit minima ut. Neque sit voluptas minima non tempora. Voluptatum saepe eos accusantium repudiandae qui molestiae architecto. Perferendis fuga id eos rerum unde est.\", \"Ipsam ut veritatis vero sunt. Autem repellat adipisci dicta. At doloribus aut. Cupiditate velit consequatur.\"]"], ["created_at", "2014-09-19 20:08:07.314991"], ["name", "contract_3e42386c"], ["title", "In enim ex id et consequatur."], ["updated_at", "2014-09-19 20:08:07.314991"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e42386c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_3e42386c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:08:07.318293"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3e42386c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_3e42386c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A et ipsum recusandae. Sit minima ut. Neque sit voluptas minima non tempora. Voluptatum saepe eos accusantium repudiandae qui molestiae architecto. Perferendis fuga id eos rerum unde est.\", \"Ipsam ut veritatis vero sunt. Autem repellat adipisci dicta. At doloribus aut. Cupiditate velit consequatur.\"]"], ["created_at", "2014-09-19 20:08:07.325038"], ["name", "contract_3e42386c"], ["title", "In enim ex id et consequatur."], ["updated_at", "2014-09-19 20:08:07.325038"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e42386c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_3e42386c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:08:07.328424"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_03c2f954') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates voluptas ipsa veritatis est. Odit asperiores sint aut quod. Numquam aut incidunt officia. Quia veniam sit molestias. Dicta mollitia qui facilis ut quod praesentium repellendus.\", \"Enim est et eveniet libero. Sit ipsa ut eos sequi est nihil. Suscipit pariatur veritatis molestiae facilis et. Cum ex quis quod totam corrupti.\"]"], ["created_at", "2014-09-19 20:08:07.332705"], ["name", "contract_03c2f954"], ["title", "Porro at culpa minima sunt."], ["updated_at", "2014-09-19 20:08:07.332705"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_03c2f954"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.5ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_03c2f954') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:08:07.336369"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_03c2f954' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates voluptas ipsa veritatis est. Odit asperiores sint aut quod. Numquam aut incidunt officia. Quia veniam sit molestias. Dicta mollitia qui facilis ut quod praesentium repellendus.\", \"Enim est et eveniet libero. Sit ipsa ut eos sequi est nihil. Suscipit pariatur veritatis molestiae facilis et. Cum ex quis quod totam corrupti.\"]"], ["created_at", "2014-09-19 20:08:07.340205"], ["name", "joe"], ["title", "Porro at culpa minima sunt."], ["updated_at", "2014-09-19 20:08:07.340205"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:08:07.343642"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c05500e0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis et explicabo quia minus deserunt dolore eligendi. Unde qui culpa quo. Ut consequatur sed nisi distinctio repellendus magnam repudiandae. Ut assumenda ut recusandae excepturi aperiam magni a. Laboriosam aut eius exercitationem.\", \"Sapiente est similique possimus vel. Eum ut dolor sint cumque aut commodi. Ut pariatur eaque et. Facilis aperiam autem nemo.\"]"], ["created_at", "2014-09-19 20:08:07.347998"], ["name", "contract_c05500e0"], ["title", "Tenetur asperiores architecto qui aut officia nobis."], ["updated_at", "2014-09-19 20:08:07.347998"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c05500e0"]]  (0.3ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_c05500e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:08:07.351848"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.355981"], ["updated_at", "2014-09-19 20:08:07.355981"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-19 20:08:07.358758"], ["updated_at", "2014-09-19 20:08:07.358758"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_c05500e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c05500e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_c05500e0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_a7e6d96d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est corporis laborum earum sit ut deleniti. A voluptas ducimus officiis ea ab laboriosam atque. Debitis repellat officia ut maxime voluptatem. Ex maiores quae ut distinctio inventore.\", \"Natus quia quia velit iure illum. Dolores in tempora sit. Et sunt ipsam voluptatem. Rerum accusantium perspiciatis magnam soluta illo corrupti.\"]"], ["created_at", "2014-09-19 20:08:07.373772"], ["name", "contract_a7e6d96d"], ["title", "Et et provident omnis maxime fugiat."], ["updated_at", "2014-09-19 20:08:07.373772"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a7e6d96d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a7e6d96d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:08:07.379162"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a7e6d96d"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a7e6d96d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a7e6d96d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:08:07.384304"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.387461"], ["updated_at", "2014-09-19 20:08:07.387461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.388940"], ["updated_at", "2014-09-19 20:08:07.388940"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_92fa45a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed nesciunt quis reprehenderit illo dolorem. Dolore et molestiae repudiandae libero sed molestiae aut. Odio eum non.\", \"Explicabo magni assumenda in. Magnam nulla omnis aut perspiciatis ipsam est quam. Animi odit vel. Sit perferendis iste.\"]"], ["created_at", "2014-09-19 20:08:07.391886"], ["name", "contract_92fa45a4"], ["title", "Voluptatum nobis est."], ["updated_at", "2014-09-19 20:08:07.391886"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_92fa45a4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_92fa45a4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:08:07.394838"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.397172"], ["updated_at", "2014-09-19 20:08:07.397172"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 20:08:07.399289"], ["updated_at", "2014-09-19 20:08:07.399289"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.408515"], ["updated_at", "2014-09-19 20:08:07.408515"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.410229"], ["updated_at", "2014-09-19 20:08:07.410229"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5d7523e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam nulla animi nesciunt numquam aut. Est sed deleniti corporis consequatur aut. Non repudiandae sunt veniam hic pariatur consequatur. Quaerat sint architecto vero beatae. Placeat nemo eum in dignissimos sit fuga exercitationem.\", \"Ipsam in cupiditate aut est soluta. Totam quae ut sit nulla. Mollitia exercitationem facilis sed quas porro illum laborum.\"]"], ["created_at", "2014-09-19 20:08:07.413425"], ["name", "contract_5d7523e3"], ["title", "Quisquam velit accusantium quidem sint esse."], ["updated_at", "2014-09-19 20:08:07.413425"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d7523e3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_5d7523e3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:08:07.416545"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.418966"], ["updated_at", "2014-09-19 20:08:07.418966"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 20:08:07.421134"], ["updated_at", "2014-09-19 20:08:07.421134"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.428062"], ["updated_at", "2014-09-19 20:08:07.428062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.429526"], ["updated_at", "2014-09-19 20:08:07.429526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0bb96fbe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius perferendis maxime dicta. Minus ratione dolorem rerum placeat dolor quisquam quia. Maxime dicta rerum non ut et et labore.\", \"Dolore veniam iusto id recusandae aut voluptas reiciendis. Dolorum repudiandae aliquid aut distinctio quo. Architecto voluptate commodi quis dolorum totam facilis quo. Impedit molestiae cum itaque sed incidunt praesentium velit. Ab qui quidem illum aliquam ipsum tempora recusandae.\"]"], ["created_at", "2014-09-19 20:08:07.432401"], ["name", "contract_0bb96fbe"], ["title", "Sit perspiciatis quasi dolorem ad molestias qui."], ["updated_at", "2014-09-19 20:08:07.432401"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0bb96fbe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_0bb96fbe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:08:07.435445"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.437808"], ["updated_at", "2014-09-19 20:08:07.437808"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-19 20:08:07.440204"], ["updated_at", "2014-09-19 20:08:07.440204"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.449185"], ["updated_at", "2014-09-19 20:08:07.449185"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.450856"], ["updated_at", "2014-09-19 20:08:07.450856"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a8413313') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dignissimos hic dolor cumque nulla quo. Dicta ad quisquam omnis iure est eum esse. Error ea quod aut maiores blanditiis. Dolores officia animi. Est magni possimus officiis accusantium.\", \"Voluptate et et voluptas nostrum. Molestiae doloremque maiores possimus. Reprehenderit vero quibusdam. Voluptatem perferendis ratione distinctio ea. Culpa temporibus et qui quia ducimus nisi enim.\"]"], ["created_at", "2014-09-19 20:08:07.454046"], ["name", "contract_a8413313"], ["title", "Voluptas aut incidunt."], ["updated_at", "2014-09-19 20:08:07.454046"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a8413313"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_a8413313') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:08:07.457830"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.460520"], ["updated_at", "2014-09-19 20:08:07.460520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-19 20:08:07.462678"], ["updated_at", "2014-09-19 20:08:07.462678"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.467637"], ["updated_at", "2014-09-19 20:08:07.467637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.469104"], ["updated_at", "2014-09-19 20:08:07.469104"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.476903"], ["updated_at", "2014-09-19 20:08:07.476903"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.478433"], ["updated_at", "2014-09-19 20:08:07.478433"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.481972"], ["updated_at", "2014-09-19 20:08:07.481972"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.483498"], ["updated_at", "2014-09-19 20:08:07.483498"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a0224742') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat quo hic vel. Consequatur inventore et non omnis. Placeat minima recusandae quidem sed. Occaecati mollitia et illo.\", \"Veniam non tempore illum. Quibusdam blanditiis accusantium debitis dolore expedita porro. Hic quia odit accusamus aspernatur et nihil. Sapiente est eos. Rerum non magni voluptatibus provident excepturi autem.\"]"], ["created_at", "2014-09-19 20:08:07.486585"], ["name", "contract_a0224742"], ["title", "Inventore ut omnis reiciendis qui odio voluptas."], ["updated_at", "2014-09-19 20:08:07.486585"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.492109"], ["updated_at", "2014-09-19 20:08:07.492109"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.493881"], ["updated_at", "2014-09-19 20:08:07.493881"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.498938"], ["updated_at", "2014-09-19 20:08:07.498938"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.500425"], ["updated_at", "2014-09-19 20:08:07.500425"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a9a63f7c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates sint tenetur vel voluptate dolor fuga veritatis. Laudantium asperiores eum fugiat dignissimos eligendi aut velit. Qui sint voluptatem sit.\", \"Quis qui voluptates qui et sed. Quas maxime eaque dolores. Qui facilis recusandae qui ea nisi praesentium illum. Totam ipsam qui labore error sint ut. Nulla facere accusamus tenetur voluptas.\"]"], ["created_at", "2014-09-19 20:08:07.503084"], ["name", "contract_a9a63f7c"], ["title", "Velit voluptas eveniet cumque."], ["updated_at", "2014-09-19 20:08:07.503084"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9a63f7c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_a9a63f7c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:08:07.506872"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9a63f7c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_a9a63f7c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:08:07.514404"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.520209"], ["updated_at", "2014-09-19 20:08:07.520209"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.522268"], ["updated_at", "2014-09-19 20:08:07.522268"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 5, 3, 8, 6, 4, 11, 17, 10, 9, 16, 15, 19, 14, 18, 20, 13, 2, 1, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.533769"], ["updated_at", "2014-09-19 20:08:07.533769"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.535333"], ["updated_at", "2014-09-19 20:08:07.535333"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aa12dee0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi suscipit aliquam aut fuga. Occaecati quia consectetur ut sint ut. Et velit illo sit. Qui minus quibusdam dolor culpa nobis dignissimos.\", \"Quos accusantium et quia voluptate pariatur minus. Nulla sed dignissimos. Totam rerum repellat. Et voluptatem labore sint omnis fugiat doloribus harum.\"]"], ["created_at", "2014-09-19 20:08:07.538113"], ["name", "contract_aa12dee0"], ["title", "Enim aut et molestiae molestiae illo minus blanditiis."], ["updated_at", "2014-09-19 20:08:07.538113"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa12dee0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_aa12dee0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:08:07.541835"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.548057"], ["updated_at", "2014-09-19 20:08:07.548057"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.549630"], ["updated_at", "2014-09-19 20:08:07.549630"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:08:07.553117"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:08:07.553117"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/22 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.556862"], ["updated_at", "2014-09-19 20:08:07.556862"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.558611"], ["updated_at", "2014-09-19 20:08:07.558611"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_21badd90') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est officiis et consectetur. Tenetur cupiditate dolor ut dolores illo. Voluptate quo iste rem eaque. Odio quia error iusto cumque quisquam eveniet.\", \"Nulla ipsam molestias molestiae unde. Ad praesentium aut quibusdam et cumque voluptatibus. Consectetur labore corporis architecto voluptatem voluptate voluptas. Quia sit qui et necessitatibus. Ipsam placeat similique ut eius.\"]"], ["created_at", "2014-09-19 20:08:07.561450"], ["name", "contract_21badd90"], ["title", "Incidunt architecto qui veritatis eligendi impedit omnis."], ["updated_at", "2014-09-19 20:08:07.561450"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21badd90"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_21badd90') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:08:07.566031"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.570445"], ["updated_at", "2014-09-19 20:08:07.570445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.572012"], ["updated_at", "2014-09-19 20:08:07.572012"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_819b5bbb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus ea eaque qui culpa et. Saepe corrupti inventore occaecati cumque vitae amet deleniti. Sint et facilis fuga ut et. Consequatur neque fuga maxime nostrum quam architecto.\", \"Aut voluptas impedit laborum magnam odio et voluptatum. Quam non consequuntur dolores quae libero. Dolores perspiciatis quos reprehenderit fugiat. Qui esse ad ex sint iure.\"]"], ["created_at", "2014-09-19 20:08:07.575288"], ["name", "contract_819b5bbb"], ["title", "Hic facilis a exercitationem nihil laboriosam."], ["updated_at", "2014-09-19 20:08:07.575288"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.581098"], ["updated_at", "2014-09-19 20:08:07.581098"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.582477"], ["updated_at", "2014-09-19 20:08:07.582477"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.585812"], ["updated_at", "2014-09-19 20:08:07.585812"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.587325"], ["updated_at", "2014-09-19 20:08:07.587325"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_695fd3f7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo qui porro temporibus pariatur. Hic enim consectetur sit. Sed quaerat magnam et. Facilis magni fuga occaecati voluptatem iure inventore.\", \"Libero molestiae non ad. Impedit recusandae quo est illum veritatis sunt. Delectus ratione qui accusantium non aperiam tempore. Autem ratione porro. Ea repudiandae dolores harum ullam ut.\"]"], ["created_at", "2014-09-19 20:08:07.589981"], ["name", "contract_695fd3f7"], ["title", "Dolores quidem quod expedita."], ["updated_at", "2014-09-19 20:08:07.589981"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 25]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 25]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 25 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.597315"], ["updated_at", "2014-09-19 20:08:07.597315"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.598798"], ["updated_at", "2014-09-19 20:08:07.598798"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0ec67b14') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque inventore distinctio sint. Tempora ea nam iusto est cum libero. Deserunt sequi ipsa necessitatibus. Fuga ea adipisci voluptate et eum laborum ullam.\", \"Iusto harum enim facilis. Et voluptatem vel vero omnis totam atque accusantium. Mollitia sint omnis.\"]"], ["created_at", "2014-09-19 20:08:07.601370"], ["name", "contract_0ec67b14"], ["title", "Omnis quaerat impedit quisquam."], ["updated_at", "2014-09-19 20:08:07.601370"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.608238"], ["updated_at", "2014-09-19 20:08:07.608238"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.609954"], ["updated_at", "2014-09-19 20:08:07.609954"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.613728"], ["updated_at", "2014-09-19 20:08:07.613728"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.615138"], ["updated_at", "2014-09-19 20:08:07.615138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9d72f875') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus unde quia voluptate quis eos voluptatem mollitia. Non cumque aut blanditiis. Beatae qui qui. Ut nihil perferendis vel rerum ad.\", \"Et voluptate eligendi consequuntur id fugiat quaerat. Aliquid ut quia dolores maxime placeat consequatur cupiditate. Et ut aliquid ipsa voluptates modi ut. Et repellat voluptatem earum ut nihil vitae rerum.\"]"], ["created_at", "2014-09-19 20:08:07.617866"], ["name", "contract_9d72f875"], ["title", "Et impedit sint optio."], ["updated_at", "2014-09-19 20:08:07.617866"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.622554"], ["updated_at", "2014-09-19 20:08:07.622554"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.624212"], ["updated_at", "2014-09-19 20:08:07.624212"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_d9f0a2be') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur omnis repellendus voluptatibus quia. Fugiat molestiae voluptatem iste voluptas et quae quia. Deleniti vitae nobis. Voluptatem est autem corrupti omnis. Blanditiis quia commodi quo repudiandae.\", \"Accusantium dolor consectetur aut. Ut dolores quo. Sed itaque voluptas magnam. Quidem est ad. Pariatur qui ipsa sit officiis rerum aut.\"]"], ["created_at", "2014-09-19 20:08:07.627825"], ["name", "contract_d9f0a2be"], ["title", "Expedita odit et fugiat aliquid."], ["updated_at", "2014-09-19 20:08:07.627825"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.633838"], ["updated_at", "2014-09-19 20:08:07.633838"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.635450"], ["updated_at", "2014-09-19 20:08:07.635450"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7eabe174') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis autem dolores. Quasi nihil qui praesentium. Nesciunt ipsam ut. Blanditiis praesentium placeat quas non voluptatem aut expedita.\", \"Molestias dolores saepe. Est autem in facere. Accusantium in est fuga iure hic explicabo. At repellendus fugit alias laudantium impedit. Dolor sed incidunt suscipit aperiam.\"]"], ["created_at", "2014-09-19 20:08:07.638009"], ["name", "contract_7eabe174"], ["title", "Aut recusandae facere officiis optio voluptas dolorem."], ["updated_at", "2014-09-19 20:08:07.638009"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7eabe174"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_7eabe174') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:08:07.641054"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7eabe174' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.651911"], ["updated_at", "2014-09-19 20:08:07.651911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.653593"], ["updated_at", "2014-09-19 20:08:07.653593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0723263d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit at molestias dolor qui accusantium rerum ipsam. Et qui quidem nobis illo veniam labore quos. Ipsam dolorum aut. Labore eum veniam voluptate optio molestias est. Similique eos et voluptates animi rerum libero dicta.\", \"Eveniet rerum nemo. Dolores dolor facere enim et ea aliquid facilis. Natus doloribus illum est eveniet adipisci nesciunt eum. Rem architecto nesciunt explicabo sit.\"]"], ["created_at", "2014-09-19 20:08:07.656302"], ["name", "contract_0723263d"], ["title", "Error rerum ea aut."], ["updated_at", "2014-09-19 20:08:07.656302"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 422 Unprocessable Entity in 3ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.663180"], ["updated_at", "2014-09-19 20:08:07.663180"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.665083"], ["updated_at", "2014-09-19 20:08:07.665083"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.669376"], ["updated_at", "2014-09-19 20:08:07.669376"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:08:07.671030"], ["updated_at", "2014-09-19 20:08:07.671030"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9b8a3f74') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos est eum consequatur harum nostrum. Pariatur velit et praesentium ut tempore dolor. Ipsum tenetur est perferendis. Blanditiis quam aut animi. Est est dolorem id eum qui in aut.\", \"Sit dolorem velit quis omnis suscipit saepe consequatur. Reprehenderit qui expedita similique delectus assumenda. Ad unde iste praesentium. Possimus nostrum ipsa dolores voluptates. Omnis quam debitis dolorum omnis dolorem.\"]"], ["created_at", "2014-09-19 20:08:07.674254"], ["name", "contract_9b8a3f74"], ["title", "Sed aspernatur esse qui doloremque quaerat eligendi."], ["updated_at", "2014-09-19 20:08:07.674254"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9b8a3f74"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_9b8a3f74') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:08:07.677321"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum et distinctio aut beatae possimus repellendus occaecati. Quia quo aut vel. Sunt sint est autem aut exercitationem hic.\", \"Delectus autem autem atque. In explicabo reprehenderit laboriosam nobis temporibus et. Est laboriosam suscipit odio.\"]"], ["created_at", "2014-09-19 20:09:49.318458"], ["name", "alpha"], ["title", "Provident laudantium qui accusantium."], ["updated_at", "2014-09-19 20:09:49.318458"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:09:49.330920"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed facilis voluptas nobis eum. Quia praesentium a sed amet. Repellendus eos voluptatibus vitae delectus. Excepturi et sint. Quos expedita maxime voluptatum ut.\", \"Aspernatur ullam exercitationem voluptatem velit et ea cum. Quisquam officia cum laborum officiis. Sint et reprehenderit iure distinctio.\"]"], ["created_at", "2014-09-19 20:09:49.337328"], ["name", "beta"], ["title", "Dolorem vitae nisi exercitationem."], ["updated_at", "2014-09-19 20:09:49.337328"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:09:49.340970"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem ratione officiis et a. Ut ut libero aliquam ad. Perferendis eveniet omnis laboriosam distinctio. Qui quam iure sit nihil quibusdam aut.\", \"Omnis magnam veritatis. Consectetur molestiae doloribus reprehenderit et. Id quis quam et voluptas facere.\"]"], ["created_at", "2014-09-19 20:09:49.345320"], ["name", "alpha"], ["title", "Voluptatem doloribus est possimus."], ["updated_at", "2014-09-19 20:09:49.345320"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:09:49.348806"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto assumenda ex voluptas qui debitis necessitatibus accusamus. Debitis ea incidunt voluptatem. Repellendus numquam perferendis.\", \"Consectetur dolor nostrum aut vel unde perspiciatis rerum. Ut porro enim iure aut atque. Ullam et temporibus tenetur sed. Ut velit optio delectus voluptatem.\"]"], ["created_at", "2014-09-19 20:09:49.352603"], ["name", "beta"], ["title", "Quia aliquid hic ab."], ["updated_at", "2014-09-19 20:09:49.352603"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:09:49.357179"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur eligendi consequatur. Qui explicabo dolores perferendis neque ut et. Recusandae rerum voluptates ipsum qui. Fugiat corrupti velit facere consequuntur pariatur laudantium ut. Molestias maxime est et.\", \"Quia modi sed molestiae iure quas perspiciatis. Molestiae numquam modi officia sint. Ea veritatis fugit dolores maiores adipisci vero.\"]"], ["created_at", "2014-09-19 20:09:49.361473"], ["name", "alpha"], ["title", "Id rem et autem cum fugit tenetur in."], ["updated_at", "2014-09-19 20:09:49.361473"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:09:49.365008"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia qui magnam illo sit reprehenderit voluptatem. Reiciendis odio voluptas labore quidem qui. Alias quis asperiores quia aut est nulla vitae. Eveniet quia alias eaque est omnis dolorem.\", \"Quam voluptas tempora vero quasi. Inventore nihil et eum molestias. Et fuga ratione omnis. Consequatur suscipit illum. Reiciendis qui optio voluptatum sapiente perspiciatis aut.\"]"], ["created_at", "2014-09-19 20:09:49.368855"], ["name", "beta"], ["title", "Doloremque quo assumenda voluptate incidunt."], ["updated_at", "2014-09-19 20:09:49.368855"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:09:49.372152"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.376793"], ["updated_at", "2014-09-19 20:09:49.376793"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.380956"], ["updated_at", "2014-09-19 20:09:49.380956"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6e8f6909') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum maxime magnam et. Dolorem reprehenderit modi mollitia autem a. Recusandae iste accusantium repellendus.\", \"Nemo et fugiat eum fuga. Ipsa suscipit voluptatibus. Dolore et inventore neque.\"]"], ["created_at", "2014-09-19 20:09:49.384717"], ["name", "contract_6e8f6909"], ["title", "Corrupti odit soluta ipsam."], ["updated_at", "2014-09-19 20:09:49.384717"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e8f6909"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_6e8f6909') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:09:49.388462"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.393487"], ["updated_at", "2014-09-19 20:09:49.393487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:09:49.396775"], ["updated_at", "2014-09-19 20:09:49.396775"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.411038"], ["updated_at", "2014-09-19 20:09:49.411038"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.412785"], ["updated_at", "2014-09-19 20:09:49.412785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5f145b3b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa dicta harum voluptate provident impedit recusandae. Quidem enim officia ullam numquam qui quasi et. In minus possimus et provident.\", \"Animi odio ut illo qui. Distinctio alias aliquam eos. Tempora doloribus saepe quia sint et. Voluptatem sapiente sit iste libero architecto earum dolores.\"]"], ["created_at", "2014-09-19 20:09:49.416470"], ["name", "contract_5f145b3b"], ["title", "Quod reprehenderit explicabo exercitationem cum."], ["updated_at", "2014-09-19 20:09:49.416470"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5f145b3b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_5f145b3b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:09:49.419772"], ["version", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.422889"], ["updated_at", "2014-09-19 20:09:49.422889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 20:09:49.425224"], ["updated_at", "2014-09-19 20:09:49.425224"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.435496"], ["updated_at", "2014-09-19 20:09:49.435496"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.437347"], ["updated_at", "2014-09-19 20:09:49.437347"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b455aeb3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe quibusdam tempore vel. Et fugit perferendis quaerat. Aut eos nihil. Est perspiciatis qui earum. Beatae qui aut distinctio maiores.\", \"Sapiente facere similique amet aut error. Et voluptas sequi non et corrupti. Et rem quos. Nam numquam officiis illum.\"]"], ["created_at", "2014-09-19 20:09:49.442238"], ["name", "contract_b455aeb3"], ["title", "Aliquid quo repellat tenetur voluptates maxime praesentium dolores."], ["updated_at", "2014-09-19 20:09:49.442238"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b455aeb3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_b455aeb3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:09:49.446325"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.449444"], ["updated_at", "2014-09-19 20:09:49.449444"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:09:49.451683"], ["updated_at", "2014-09-19 20:09:49.451683"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.456309"], ["updated_at", "2014-09-19 20:09:49.456309"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.458081"], ["updated_at", "2014-09-19 20:09:49.458081"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_035cee80') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut tempora mollitia voluptas. Quidem repudiandae sit molestiae nobis nisi inventore nihil. Nihil quos et. Harum officia accusamus. Enim autem doloremque inventore.\", \"Sunt praesentium sed quis ut ex. Minima voluptates laudantium et nostrum. Ipsum aut perferendis.\"]"], ["created_at", "2014-09-19 20:09:49.461547"], ["name", "contract_035cee80"], ["title", "Possimus voluptate sequi sed eius."], ["updated_at", "2014-09-19 20:09:49.461547"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_035cee80"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_035cee80') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:09:49.464806"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.467293"], ["updated_at", "2014-09-19 20:09:49.467293"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:09:49.469426"], ["updated_at", "2014-09-19 20:09:49.469426"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction 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_919a9ba6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt quis et sint delectus minus cum labore. Voluptatum quod dicta et architecto. Exercitationem ducimus enim. Numquam velit et suscipit iusto.\", \"Iste neque nemo et facere est dignissimos. Minima explicabo numquam eveniet voluptatibus ipsum est deleniti. Sed sint quam provident. Eveniet quaerat sed. Sapiente praesentium laborum quam accusantium.\"]"], ["created_at", "2014-09-19 20:09:49.479525"], ["name", "contract_919a9ba6"], ["title", "Sequi facilis rerum quibusdam voluptatem ut nihil quo."], ["updated_at", "2014-09-19 20:09:49.479525"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_919a9ba6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_919a9ba6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:09:49.482793"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_919a9ba6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_919a9ba6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt quis et sint delectus minus cum labore. Voluptatum quod dicta et architecto. Exercitationem ducimus enim. Numquam velit et suscipit iusto.\", \"Iste neque nemo et facere est dignissimos. Minima explicabo numquam eveniet voluptatibus ipsum est deleniti. Sed sint quam provident. Eveniet quaerat sed. Sapiente praesentium laborum quam accusantium.\"]"], ["created_at", "2014-09-19 20:09:49.486385"], ["name", "contract_919a9ba6"], ["title", "Sequi facilis rerum quibusdam voluptatem ut nihil quo."], ["updated_at", "2014-09-19 20:09:49.486385"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_919a9ba6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_919a9ba6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:09:49.489509"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_acf3d0b5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores voluptatibus nulla. Repudiandae laudantium et. Illum facilis dolorem sit.\", \"Enim minus sapiente corrupti libero aut. Provident quasi ut aliquam et. Voluptas qui consequatur odit voluptatem. Sunt enim cupiditate. In ut perferendis dignissimos.\"]"], ["created_at", "2014-09-19 20:09:49.495243"], ["name", "contract_acf3d0b5"], ["title", "Molestias quas pariatur voluptas vitae."], ["updated_at", "2014-09-19 20:09:49.495243"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_acf3d0b5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_acf3d0b5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:09:49.499659"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.504448"], ["updated_at", "2014-09-19 20:09:49.504448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-19 20:09:49.506829"], ["updated_at", "2014-09-19 20:09:49.506829"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_acf3d0b5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_acf3d0b5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_acf3d0b5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_fb761da7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias fugit enim velit est impedit sed et. Sunt eius incidunt dolorum sunt eum repellendus. Necessitatibus et ad adipisci similique mollitia.\", \"Recusandae nobis debitis quis ducimus. Voluptatem rem et et quis reiciendis qui. Natus non nihil corporis. Nostrum omnis quidem quia aliquid et sit.\"]"], ["created_at", "2014-09-19 20:09:49.516405"], ["name", "contract_fb761da7"], ["title", "Ut voluptate quam qui dolores aut."], ["updated_at", "2014-09-19 20:09:49.516405"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb761da7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_fb761da7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:09:49.520587"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb761da7"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb761da7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_fb761da7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:09:49.525810"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_98013221') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat harum qui debitis. Error eveniet saepe. Nulla doloremque laboriosam repudiandae.\", \"Repellendus ut dicta aspernatur illum et sit est. Aliquam maiores harum sunt. Sit explicabo voluptate fuga. Quae doloribus repellat consequatur sed laboriosam iusto quo.\"]"], ["created_at", "2014-09-19 20:09:49.530308"], ["name", "contract_98013221"], ["title", "Labore cumque veritatis sint adipisci nostrum."], ["updated_at", "2014-09-19 20:09:49.530308"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98013221"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_98013221') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:09:49.533827"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_98013221' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat harum qui debitis. Error eveniet saepe. Nulla doloremque laboriosam repudiandae.\", \"Repellendus ut dicta aspernatur illum et sit est. Aliquam maiores harum sunt. Sit explicabo voluptate fuga. Quae doloribus repellat consequatur sed laboriosam iusto quo.\"]"], ["created_at", "2014-09-19 20:09:49.538717"], ["name", "joe"], ["title", "Labore cumque veritatis sint adipisci nostrum."], ["updated_at", "2014-09-19 20:09:49.538717"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:09:49.543489"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.547652"], ["updated_at", "2014-09-19 20:09:49.547652"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.549320"], ["updated_at", "2014-09-19 20:09:49.549320"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.556935"], ["updated_at", "2014-09-19 20:09:49.556935"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.558494"], ["updated_at", "2014-09-19 20:09:49.558494"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.563255"], ["updated_at", "2014-09-19 20:09:49.563255"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.564740"], ["updated_at", "2014-09-19 20:09:49.564740"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9a7d3de1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit similique hic voluptatum aut maiores quo. Saepe exercitationem sed explicabo. Eum nulla debitis similique minus et reprehenderit.\", \"Exercitationem inventore et dolor molestiae deleniti perferendis est. Consequatur amet illo. Labore reiciendis explicabo ipsa dicta laborum sequi corporis. Eos exercitationem voluptas fuga sed.\"]"], ["created_at", "2014-09-19 20:09:49.567518"], ["name", "contract_9a7d3de1"], ["title", "Esse occaecati tenetur est nemo."], ["updated_at", "2014-09-19 20:09:49.567518"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.573567"], ["updated_at", "2014-09-19 20:09:49.573567"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.575548"], ["updated_at", "2014-09-19 20:09:49.575548"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a05bac50') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel ut quam et pariatur nulla. Occaecati nihil sit ut dolorem. Qui blanditiis totam id voluptatem suscipit. Sit aliquam vitae.\", \"Saepe architecto occaecati. Eligendi impedit vitae modi debitis quos omnis ea. Placeat cum id eum. Laudantium maxime qui impedit et distinctio cum. Molestiae praesentium quis dignissimos.\"]"], ["created_at", "2014-09-19 20:09:49.578640"], ["name", "contract_a05bac50"], ["title", "Doloribus laudantium omnis."], ["updated_at", "2014-09-19 20:09:49.578640"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.582500"], ["updated_at", "2014-09-19 20:09:49.582500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.584055"], ["updated_at", "2014-09-19 20:09:49.584055"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2c7ec10f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est doloribus eaque. Sint hic cupiditate fuga dolores. Voluptas sunt quo iste qui est blanditiis. Vitae tempora odio nihil asperiores dolorem at. Qui dolorem iste qui ut aut alias nobis.\", \"Est voluptatum blanditiis enim. Velit aut voluptatibus. Est quaerat non autem dicta. Laborum aut assumenda quo.\"]"], ["created_at", "2014-09-19 20:09:49.586960"], ["name", "contract_2c7ec10f"], ["title", "Eveniet nam sunt et similique iure dignissimos ea."], ["updated_at", "2014-09-19 20:09:49.586960"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2c7ec10f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_2c7ec10f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:09:49.591133"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.597436"], ["updated_at", "2014-09-19 20:09:49.597436"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.599082"], ["updated_at", "2014-09-19 20:09:49.599082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_09fb7c17') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est omnis possimus. Accusamus provident impedit tenetur laudantium. Doloribus quidem voluptas enim.\", \"Voluptas laudantium velit perspiciatis rerum. Molestiae rem corrupti adipisci. Et et alias vero nihil deleniti repellat. Fuga qui mollitia. Rem id aut et perferendis omnis.\"]"], ["created_at", "2014-09-19 20:09:49.601725"], ["name", "contract_09fb7c17"], ["title", "Autem quis est accusamus sunt libero neque suscipit."], ["updated_at", "2014-09-19 20:09:49.601725"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.605753"], ["updated_at", "2014-09-19 20:09:49.605753"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.607273"], ["updated_at", "2014-09-19 20:09:49.607273"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_64f24985') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum necessitatibus quae consequatur. Sequi tenetur quia vero omnis. Repellat illum ex tenetur sed hic est.\", \"Perspiciatis quidem et possimus dolorum soluta placeat. Non blanditiis autem et facilis esse. Et neque sint.\"]"], ["created_at", "2014-09-19 20:09:49.610376"], ["name", "contract_64f24985"], ["title", "Atque quae totam sunt cupiditate expedita."], ["updated_at", "2014-09-19 20:09:49.610376"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.616320"], ["updated_at", "2014-09-19 20:09:49.616320"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.617740"], ["updated_at", "2014-09-19 20:09:49.617740"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a7679ef1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit iure quidem eligendi quia qui. Magnam quos non alias ducimus doloremque dicta. Autem doloremque reprehenderit dolor commodi. Deserunt omnis temporibus assumenda in autem.\", \"Vitae totam autem cum est temporibus. Recusandae placeat consequatur quae. Odio ut vero quas molestiae.\"]"], ["created_at", "2014-09-19 20:09:49.620295"], ["name", "contract_a7679ef1"], ["title", "Adipisci rerum placeat sit beatae amet voluptatem et."], ["updated_at", "2014-09-19 20:09:49.620295"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 22]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 22]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 22 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.627761"], ["updated_at", "2014-09-19 20:09:49.627761"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.629192"], ["updated_at", "2014-09-19 20:09:49.629192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aa2ccb5d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta ea et. Qui aut dolor harum. Assumenda non rerum cum minima repellat. Velit cupiditate repellendus quibusdam neque eius vel blanditiis.\", \"Eveniet rerum corporis ea nihil facilis. Nisi omnis voluptatum autem. Quae perspiciatis optio voluptatem.\"]"], ["created_at", "2014-09-19 20:09:49.631755"], ["name", "contract_aa2ccb5d"], ["title", "Libero earum ea cum optio qui."], ["updated_at", "2014-09-19 20:09:49.631755"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 23 [["content", "Some content"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:09:49.635630"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/23 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.641027"], ["updated_at", "2014-09-19 20:09:49.641027"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.642953"], ["updated_at", "2014-09-19 20:09:49.642953"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_97f09b46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea reprehenderit in laboriosam maxime. Pariatur et illum in nostrum. Quisquam quos consequuntur eum minima rerum pariatur.\", \"Vel reprehenderit nesciunt ut. Non nulla temporibus et pariatur cupiditate earum rerum. Quia repellendus debitis tenetur sed dolorum sunt.\"]"], ["created_at", "2014-09-19 20:09:49.645767"], ["name", "contract_97f09b46"], ["title", "Odio facere qui et."], ["updated_at", "2014-09-19 20:09:49.645767"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_97f09b46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_97f09b46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:09:49.648875"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_97f09b46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_97f09b46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:09:49.654696"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.658914"], ["updated_at", "2014-09-19 20:09:49.658914"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.660443"], ["updated_at", "2014-09-19 20:09:49.660443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6deb186d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non vel nostrum sunt blanditiis magni. Praesentium est fuga quo. Excepturi nisi nostrum reprehenderit sint et.\", \"Aliquam vel explicabo perferendis odio earum alias. Labore ut autem. Harum aut eveniet amet maxime. Architecto eos et ut dolorem expedita.\"]"], ["created_at", "2014-09-19 20:09:49.662989"], ["name", "contract_6deb186d"], ["title", "Et voluptatem placeat."], ["updated_at", "2014-09-19 20:09:49.662989"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.667946"], ["updated_at", "2014-09-19 20:09:49.667946"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.669458"], ["updated_at", "2014-09-19 20:09:49.669458"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cd8909bf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et fugiat pariatur qui. Inventore earum impedit omnis. Quisquam ducimus omnis asperiores quod itaque. Tempora corrupti sint sit iste. Reprehenderit enim quod voluptates vel et.\", \"Voluptas voluptatum rerum explicabo natus voluptas adipisci consequatur. Sit sequi sit. Ut dolores eligendi nihil commodi. Omnis dolorem id. Optio explicabo repellendus ut ad facilis laborum nemo.\"]"], ["created_at", "2014-09-19 20:09:49.672143"], ["name", "contract_cd8909bf"], ["title", "Ea commodi ut facere delectus est autem qui."], ["updated_at", "2014-09-19 20:09:49.672143"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.677552"], ["updated_at", "2014-09-19 20:09:49.677552"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.679058"], ["updated_at", "2014-09-19 20:09:49.679058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3cf8c1fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia aut voluptatibus. Quia et corrupti doloremque et ullam voluptatem. Aspernatur impedit est incidunt consequuntur blanditiis recusandae.\", \"Quas eius aliquam voluptate est. Aut possimus quisquam earum harum adipisci rem qui. Exercitationem aut rerum quo. Et laudantium quaerat vero delectus ipsam. Voluptatem repellat eos.\"]"], ["created_at", "2014-09-19 20:09:49.681658"], ["name", "contract_3cf8c1fe"], ["title", "Enim molestiae in sequi quis."], ["updated_at", "2014-09-19 20:09:49.681658"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3cf8c1fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_3cf8c1fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:09:49.684735"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.689513"], ["updated_at", "2014-09-19 20:09:49.689513"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.691095"], ["updated_at", "2014-09-19 20:09:49.691095"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_982d62ce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque blanditiis voluptas eaque voluptatem provident occaecati eos. Repellat velit eum ut ab esse aspernatur eius. Aliquid unde impedit est. Iste et neque nobis. Quos aut distinctio corrupti quisquam a ut.\", \"Suscipit error voluptas aut alias. Nemo aperiam cupiditate dignissimos suscipit quo. Similique dolor aut accusamus et eveniet. Enim tempore in velit ipsa. Provident tempora illo magni est.\"]"], ["created_at", "2014-09-19 20:09:49.694479"], ["name", "contract_982d62ce"], ["title", "Placeat quos repellendus tempore tempora ut."], ["updated_at", "2014-09-19 20:09:49.694479"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.698838"], ["updated_at", "2014-09-19 20:09:49.698838"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.700379"], ["updated_at", "2014-09-19 20:09:49.700379"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5d0981fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto natus voluptatem sit fuga sunt eos. Ea voluptatum natus et aut voluptates illum. Iusto unde fuga.\", \"Sed illum beatae quidem accusantium error ad. Molestiae necessitatibus dignissimos. Nemo iste sapiente. Exercitationem earum ut corporis. Quae aut ea.\"]"], ["created_at", "2014-09-19 20:09:49.702875"], ["name", "contract_5d0981fb"], ["title", "Labore in maiores et magnam qui cum occaecati."], ["updated_at", "2014-09-19 20:09:49.702875"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d0981fb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_5d0981fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:09:49.707417"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.711620"], ["updated_at", "2014-09-19 20:09:49.711620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.713236"], ["updated_at", "2014-09-19 20:09:49.713236"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3c3b33a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit eius sed doloribus dolore hic quae similique. Qui et aliquam quas placeat a exercitationem quam. Qui quod explicabo voluptatem.\", \"Laboriosam molestiae et optio quisquam. Perspiciatis veniam saepe sit non. Est unde earum aperiam magnam. Nesciunt ex voluptatem quo nisi.\"]"], ["created_at", "2014-09-19 20:09:49.715965"], ["name", "contract_3c3b33a5"], ["title", "Sed neque maiores labore consequatur inventore consequatur."], ["updated_at", "2014-09-19 20:09:49.715965"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.721976"], ["updated_at", "2014-09-19 20:09:49.721976"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.723398"], ["updated_at", "2014-09-19 20:09:49.723398"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bccf437b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quis ipsam. Qui voluptatum itaque corporis in. Ullam laudantium magni distinctio et repellat voluptatibus. Cupiditate nisi ut consequatur facilis voluptas harum.\", \"Iure accusantium id ipsam amet possimus. Non optio ut et et. Nostrum consequatur aut modi et.\"]"], ["created_at", "2014-09-19 20:09:49.726686"], ["name", "contract_bccf437b"], ["title", "Aut perspiciatis debitis facilis cumque qui facere aut."], ["updated_at", "2014-09-19 20:09:49.726686"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3, 1, 6, 4, 2, 10, 20, 19, 30, 27, 29, 8, 21, 25, 7, 12, 11, 24, 15, 28, 17, 18, 13, 9, 31, 26, 14, 16, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.740962"], ["updated_at", "2014-09-19 20:09:49.740962"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.742700"], ["updated_at", "2014-09-19 20:09:49.742700"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8505f10b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae aut fugit suscipit perferendis temporibus atque in. Ullam rerum atque quas quibusdam cum ad iusto. Quo aut ex modi. Accusamus rem totam qui.\", \"Dolores ullam commodi neque amet ipsum nihil libero. Velit eum sequi a fugit. Quis ipsam consequatur.\"]"], ["created_at", "2014-09-19 20:09:49.745593"], ["name", "contract_8505f10b"], ["title", "Dolor ut quisquam ad quia quasi pariatur qui."], ["updated_at", "2014-09-19 20:09:49.745593"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.750214"], ["updated_at", "2014-09-19 20:09:49.750214"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.751797"], ["updated_at", "2014-09-19 20:09:49.751797"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_33580f3f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus ut et esse molestiae. Expedita rerum aut. Est non iusto est laboriosam mollitia voluptate. Aliquam atque dolorem dolores incidunt sit.\", \"Sint et totam ipsam nobis. In est odio officia omnis eveniet. Cum minima consectetur inventore vitae sunt enim dolore. Vero sed sit dolorum rem. Neque eius alias et.\"]"], ["created_at", "2014-09-19 20:09:49.754604"], ["name", "contract_33580f3f"], ["title", "Voluptas sint labore hic."], ["updated_at", "2014-09-19 20:09:49.754604"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_33580f3f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_33580f3f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:09:49.758340"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_33580f3f' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.766206"], ["updated_at", "2014-09-19 20:09:49.766206"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.767813"], ["updated_at", "2014-09-19 20:09:49.767813"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_615659ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid repellendus sit accusantium. Iure enim unde est. Quod consequatur dicta atque sunt possimus vel.\", \"Accusamus sint esse cumque tempora est placeat. Voluptate tenetur vel fugit voluptatibus consectetur. Voluptates consequatur accusantium consectetur eum qui eveniet qui. Impedit nemo sint veniam doloremque.\"]"], ["created_at", "2014-09-19 20:09:49.770555"], ["name", "contract_615659ba"], ["title", "Itaque quod delectus quis recusandae odio quidem rerum."], ["updated_at", "2014-09-19 20:09:49.770555"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction 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_c0818437') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium ullam vero aut. Facere ea id repellat architecto. Quibusdam omnis repudiandae corporis labore velit mollitia minus.\", \"Et dolores aut sint. Vitae consectetur ipsum et maiores voluptatem praesentium. Dolores laboriosam sapiente sequi blanditiis.\"]"], ["created_at", "2014-09-19 20:09:49.777519"], ["name", "contract_c0818437"], ["title", "Et adipisci molestiae ut ut."], ["updated_at", "2014-09-19 20:09:49.777519"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction 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_05821164') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non voluptas cumque. Corrupti neque similique iusto sint. Est dignissimos dolorem minima cum ut praesentium. Ut necessitatibus ea.\", \"Maiores voluptatem pariatur et voluptatibus ullam aliquam omnis. Facilis cupiditate quam sunt. Illum ut autem cumque praesentium.\"]"], ["created_at", "2014-09-19 20:09:49.781814"], ["name", "contract_05821164"], ["title", "Molestiae quasi ea."], ["updated_at", "2014-09-19 20:09:49.781814"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_05821164"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_05821164') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:09:49.784941"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:09:49.787451"], ["updated_at", "2014-09-19 20:09:49.787451"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_a48ce3da') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem consequatur corrupti nostrum voluptatem dolore. Molestiae qui accusantium tempora voluptas nemo sunt. Eos sint nulla illo. Omnis et vel omnis reprehenderit autem. Et aliquam at suscipit doloremque.\", \"Error ipsam mollitia provident. Non ut et et. Est laborum deleniti tempora temporibus et.\"]"], ["created_at", "2014-09-19 20:10:24.090760"], ["name", "contract_a48ce3da"], ["title", "Sit et placeat eius mollitia beatae nobis."], ["updated_at", "2014-09-19 20:10:24.090760"]]  (2.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_7636e971') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam nostrum alias cum optio. Saepe molestiae et vel sed corporis excepturi. Quidem explicabo ut ipsam. Alias ut eum quis. Excepturi dignissimos ut nesciunt voluptas dolorem.\", \"Vero id voluptatem quos sed non nihil. Consequuntur vitae quis. Possimus quasi dolor exercitationem quia voluptates esse veniam.\"]"], ["created_at", "2014-09-19 20:10:24.107452"], ["name", "contract_7636e971"], ["title", "Mollitia aliquam quia in tenetur cum quas."], ["updated_at", "2014-09-19 20:10:24.107452"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7636e971"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_7636e971') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:10:24.112117"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.117774"], ["updated_at", "2014-09-19 20:10:24.117774"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet temporibus numquam fugiat nobis porro. Laborum velit modi. Ad iure debitis sint rerum. Dolor dignissimos iusto omnis perspiciatis laborum.\", \"Enim tempora consectetur. Laudantium magni nam omnis accusamus ab molestiae et. Vitae ut reprehenderit est ut quo non. Minus distinctio delectus cupiditate doloremque dignissimos ut.\"]"], ["created_at", "2014-09-19 20:10:24.127290"], ["name", "alpha"], ["title", "Itaque ut fugiat dolor aut sequi ipsum."], ["updated_at", "2014-09-19 20:10:24.127290"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:10:24.131060"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet eveniet consectetur id et fugiat. Deserunt facere nobis sed omnis debitis cum. Nihil enim nulla nihil reiciendis sunt et ex.\", \"Vero veritatis voluptas. Nihil velit rerum. Rerum velit sit recusandae exercitationem sint et.\"]"], ["created_at", "2014-09-19 20:10:24.135531"], ["name", "beta"], ["title", "Tempore saepe ipsa inventore."], ["updated_at", "2014-09-19 20:10:24.135531"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:10:24.138861"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est facere eos blanditiis. Itaque ut fugit in. Sit nulla nemo sit facere.\", \"Qui dolorem similique iusto eveniet consequuntur et. Eos rem et odit eius explicabo. Fuga cupiditate vel eligendi sequi dicta voluptatem. Velit doloremque culpa alias minima at.\"]"], ["created_at", "2014-09-19 20:10:24.143191"], ["name", "alpha"], ["title", "Quibusdam quidem vero nam sed."], ["updated_at", "2014-09-19 20:10:24.143191"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:10:24.146534"], ["version", 2]]  (0.8ms) commit transaction  (0.4ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem laborum dolor nisi ullam laudantium dignissimos fuga. Ut ad qui repellat accusantium id. Quae officia numquam laboriosam rerum mollitia aspernatur. Consequatur reprehenderit distinctio doloribus totam magnam aliquid nihil. Ea id molestiae facere quia officia esse.\", \"Voluptatum et ea placeat quod ut ad officia. Voluptas nobis eaque sit velit alias unde deserunt. Earum unde ut sunt sint omnis amet. Quaerat nesciunt rerum. Dolores est exercitationem dolorem.\"]"], ["created_at", "2014-09-19 20:10:24.150704"], ["name", "beta"], ["title", "Sit dolore cupiditate numquam impedit aliquid."], ["updated_at", "2014-09-19 20:10:24.150704"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:10:24.155147"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum ducimus sunt laudantium voluptatem. Cum eligendi ab beatae similique ipsa dolor consequatur. Rerum nostrum cum amet et et culpa voluptatem.\", \"Est earum explicabo dolorem. Consequatur eius maxime. Ut minus sit. Reprehenderit sed perferendis ut ducimus.\"]"], ["created_at", "2014-09-19 20:10:24.160402"], ["name", "alpha"], ["title", "Sed facilis in."], ["updated_at", "2014-09-19 20:10:24.160402"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:10:24.164706"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque provident ab. Ratione inventore velit adipisci qui quibusdam. Occaecati illum facere dolores. Saepe omnis natus. Repellendus ut sed sed.\", \"Sit modi ut quia reiciendis corporis nulla. Quia non quaerat dolorem enim eveniet. Perferendis ea sed reiciendis veritatis sit. Ut odio ut. Ut enim voluptatem.\"]"], ["created_at", "2014-09-19 20:10:24.169547"], ["name", "beta"], ["title", "Et voluptas nemo perspiciatis voluptates veniam numquam repellat."], ["updated_at", "2014-09-19 20:10:24.169547"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:10:24.172573"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f5324605') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos vitae veritatis consectetur est. Temporibus omnis similique itaque qui perspiciatis iusto. Facilis et pariatur modi quia provident. Suscipit temporibus voluptas laborum provident.\", \"Deserunt asperiores odio eum in dolorum aperiam aut. Explicabo ex soluta quasi non consequuntur non. Voluptatem est repudiandae animi officiis. Id provident nobis excepturi eaque enim autem.\"]"], ["created_at", "2014-09-19 20:10:24.176428"], ["name", "contract_f5324605"], ["title", "Adipisci non cum unde enim neque."], ["updated_at", "2014-09-19 20:10:24.176428"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5324605"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_f5324605') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:10:24.181831"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5324605"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5324605"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_f5324605') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:10:24.188395"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d479444e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus officiis praesentium quis porro sint ullam. Molestias quos sequi est error aspernatur beatae qui. Aut reprehenderit sit corporis soluta sit eaque. Magnam quasi explicabo inventore.\", \"Nihil quidem officiis animi. Eligendi sapiente inventore. Voluptate tempora nisi aut quis magnam iure qui.\"]"], ["created_at", "2014-09-19 20:10:24.192425"], ["name", "contract_d479444e"], ["title", "At magnam sed ut voluptate quo odio."], ["updated_at", "2014-09-19 20:10:24.192425"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d479444e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_d479444e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:10:24.195593"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d479444e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus officiis praesentium quis porro sint ullam. Molestias quos sequi est error aspernatur beatae qui. Aut reprehenderit sit corporis soluta sit eaque. Magnam quasi explicabo inventore.\", \"Nihil quidem officiis animi. Eligendi sapiente inventore. Voluptate tempora nisi aut quis magnam iure qui.\"]"], ["created_at", "2014-09-19 20:10:24.203803"], ["name", "joe"], ["title", "At magnam sed ut voluptate quo odio."], ["updated_at", "2014-09-19 20:10:24.203803"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:10:24.208838"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_afd5cc4e') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam hic quasi deleniti assumenda. Aperiam delectus quia non quis. Impedit assumenda dolorem aut architecto nam exercitationem. Aliquid soluta corrupti ducimus hic culpa illum exercitationem.\", \"Velit voluptas ratione id. Mollitia incidunt alias. Voluptas blanditiis recusandae dignissimos modi voluptate.\"]"], ["created_at", "2014-09-19 20:10:24.214575"], ["name", "contract_afd5cc4e"], ["title", "Doloremque rerum et aut nostrum eaque sit et."], ["updated_at", "2014-09-19 20:10:24.214575"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_afd5cc4e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_afd5cc4e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:10:24.219208"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_afd5cc4e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_afd5cc4e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam hic quasi deleniti assumenda. Aperiam delectus quia non quis. Impedit assumenda dolorem aut architecto nam exercitationem. Aliquid soluta corrupti ducimus hic culpa illum exercitationem.\", \"Velit voluptas ratione id. Mollitia incidunt alias. Voluptas blanditiis recusandae dignissimos modi voluptate.\"]"], ["created_at", "2014-09-19 20:10:24.224407"], ["name", "contract_afd5cc4e"], ["title", "Doloremque rerum et aut nostrum eaque sit et."], ["updated_at", "2014-09-19 20:10:24.224407"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_afd5cc4e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_afd5cc4e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:10:24.229620"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_10b44541') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est assumenda ut possimus ea. Laborum sint pariatur qui. Veritatis quia fuga.\", \"Nihil et perspiciatis dolorem. Voluptatem iusto doloremque eius est est aliquid. Adipisci dicta unde ut. Cupiditate ducimus voluptatum qui nemo praesentium.\"]"], ["created_at", "2014-09-19 20:10:24.234451"], ["name", "contract_10b44541"], ["title", "Suscipit recusandae atque odio ex repellat iure et."], ["updated_at", "2014-09-19 20:10:24.234451"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_10b44541"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_10b44541') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:10:24.237566"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.241450"], ["updated_at", "2014-09-19 20:10:24.241450"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-19 20:10:24.243661"], ["updated_at", "2014-09-19 20:10:24.243661"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_10b44541') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_10b44541"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_10b44541') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.258355"], ["updated_at", "2014-09-19 20:10:24.258355"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.260078"], ["updated_at", "2014-09-19 20:10:24.260078"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b2ef394') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae consequatur itaque laboriosam accusamus vero dolorem nesciunt. Et aut laudantium repellat libero. Consequatur non facere nihil.\", \"Facilis tempore ea occaecati magnam expedita consequatur. Sunt sapiente eveniet qui vitae provident doloremque debitis. Ea aspernatur eveniet omnis qui.\"]"], ["created_at", "2014-09-19 20:10:24.263114"], ["name", "contract_0b2ef394"], ["title", "Recusandae alias eaque et."], ["updated_at", "2014-09-19 20:10:24.263114"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b2ef394"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_0b2ef394') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:10:24.266882"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.269874"], ["updated_at", "2014-09-19 20:10:24.269874"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 20:10:24.272089"], ["updated_at", "2014-09-19 20:10:24.272089"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.279246"], ["updated_at", "2014-09-19 20:10:24.279246"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.280764"], ["updated_at", "2014-09-19 20:10:24.280764"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c7c8f97a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores quia qui. Quam odit harum quasi. Maxime aut aut. Minima iure voluptatibus rerum ut. Dolorum accusamus sed modi voluptate autem.\", \"Pariatur itaque dolorem delectus maiores est eos inventore. Omnis maxime cum. Debitis est exercitationem aliquam expedita consequuntur ea at.\"]"], ["created_at", "2014-09-19 20:10:24.283792"], ["name", "contract_c7c8f97a"], ["title", "Repellendus earum dolor perferendis ea voluptatem dolores vero."], ["updated_at", "2014-09-19 20:10:24.283792"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c7c8f97a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_c7c8f97a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:10:24.287285"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.289775"], ["updated_at", "2014-09-19 20:10:24.289775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 20:10:24.292081"], ["updated_at", "2014-09-19 20:10:24.292081"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.300544"], ["updated_at", "2014-09-19 20:10:24.300544"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.302068"], ["updated_at", "2014-09-19 20:10:24.302068"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_739fb235') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam hic praesentium vel. A consequuntur est placeat soluta ut rerum consequatur. Quidem non rem expedita consequatur est optio. Numquam eos nobis.\", \"Cumque non dolore impedit ut quia. Quidem consequuntur dolorem. Voluptatem est expedita sed. Doloremque corrupti ducimus eos voluptates iusto.\"]"], ["created_at", "2014-09-19 20:10:24.305096"], ["name", "contract_739fb235"], ["title", "Id id aspernatur soluta et."], ["updated_at", "2014-09-19 20:10:24.305096"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_739fb235"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_739fb235') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:10:24.308179"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.311109"], ["updated_at", "2014-09-19 20:10:24.311109"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-19 20:10:24.313243"], ["updated_at", "2014-09-19 20:10:24.313243"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.318832"], ["updated_at", "2014-09-19 20:10:24.318832"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.320342"], ["updated_at", "2014-09-19 20:10:24.320342"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_08e88b3d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique assumenda dolorum cupiditate vero. Recusandae ut quos est nulla porro. Minima quasi dolore. Non ea impedit exercitationem dolore quam cum facere.\", \"Cumque quaerat quam magnam et eligendi. Quo alias culpa. Labore unde voluptas reprehenderit. Quo sunt ullam asperiores in quas minus.\"]"], ["created_at", "2014-09-19 20:10:24.323202"], ["name", "contract_08e88b3d"], ["title", "Eligendi id dolores non deleniti aliquam."], ["updated_at", "2014-09-19 20:10:24.323202"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08e88b3d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_08e88b3d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:10:24.326230"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.328572"], ["updated_at", "2014-09-19 20:10:24.328572"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-19 20:10:24.330700"], ["updated_at", "2014-09-19 20:10:24.330700"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.340699"], ["updated_at", "2014-09-19 20:10:24.340699"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.342495"], ["updated_at", "2014-09-19 20:10:24.342495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_31f0d76d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere dolor et molestiae impedit. Est illo architecto omnis. Ducimus magni suscipit harum rem et. Aut sed nulla quasi dicta laboriosam dolores.\", \"Maxime numquam eum. Culpa nobis occaecati laboriosam. Nihil non eaque eos labore illo earum et.\"]"], ["created_at", "2014-09-19 20:10:24.345412"], ["name", "contract_31f0d76d"], ["title", "Veniam repellendus voluptas."], ["updated_at", "2014-09-19 20:10:24.345412"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.353007"], ["updated_at", "2014-09-19 20:10:24.353007"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.354589"], ["updated_at", "2014-09-19 20:10:24.354589"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_d531d059') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet aut tempora nobis consequatur voluptatem qui. Vero dolore velit. Blanditiis ratione aut magni modi. Voluptas enim aliquid aut velit.\", \"Aut quaerat commodi. Sed sint eos. Mollitia nemo ut officia et.\"]"], ["created_at", "2014-09-19 20:10:24.357245"], ["name", "contract_d531d059"], ["title", "Sapiente eum ipsam."], ["updated_at", "2014-09-19 20:10:24.357245"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d531d059"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_d531d059') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:10:24.361740"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.365853"], ["updated_at", "2014-09-19 20:10:24.365853"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.367359"], ["updated_at", "2014-09-19 20:10:24.367359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_13c82c16') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt nisi consequatur quia aut. Magni dolores enim deleniti. Eligendi corrupti pariatur quas aut ut animi inventore. Debitis dolorem occaecati quo ex similique est.\", \"Neque dolorum nihil quia repudiandae qui fuga. Dolorem tempore minima eius aspernatur nobis earum nemo. Minus dolores est alias. Ab in est temporibus est perferendis ex aut. Iure quasi omnis consequatur aut occaecati.\"]"], ["created_at", "2014-09-19 20:10:24.370026"], ["name", "contract_13c82c16"], ["title", "Est maxime ad sed aliquid."], ["updated_at", "2014-09-19 20:10:24.370026"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.374308"], ["updated_at", "2014-09-19 20:10:24.374308"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.375965"], ["updated_at", "2014-09-19 20:10:24.375965"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f79b8d45') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui omnis nam voluptas autem assumenda. Quis excepturi amet sunt voluptate nemo sunt voluptatem. Commodi et veniam sed eveniet. Dignissimos deleniti necessitatibus error laboriosam.\", \"Possimus praesentium est quisquam libero beatae saepe ut. Ipsam quibusdam voluptatum ipsa esse sit. Est modi iure non sequi consequatur. Autem facilis soluta provident ipsa sit iure.\"]"], ["created_at", "2014-09-19 20:10:24.378563"], ["name", "contract_f79b8d45"], ["title", "Molestiae porro quisquam voluptate tenetur."], ["updated_at", "2014-09-19 20:10:24.378563"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.384516"], ["updated_at", "2014-09-19 20:10:24.384516"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.386036"], ["updated_at", "2014-09-19 20:10:24.386036"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4a95df57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam atque dolores adipisci maiores accusamus aut quia. Quis molestiae ad enim cupiditate accusamus. Doloribus amet delectus non nostrum temporibus blanditiis qui.\", \"Aut nesciunt consequatur id reprehenderit dolore. Eos quae sit. Rerum consequatur doloribus ut dolorem minus sequi. Reprehenderit consequuntur doloribus suscipit aspernatur officiis molestiae soluta.\"]"], ["created_at", "2014-09-19 20:10:24.388835"], ["name", "contract_4a95df57"], ["title", "Qui maxime sequi modi ut dicta."], ["updated_at", "2014-09-19 20:10:24.388835"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a95df57"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_4a95df57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:10:24.392305"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.397249"], ["updated_at", "2014-09-19 20:10:24.397249"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.398793"], ["updated_at", "2014-09-19 20:10:24.398793"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_beae52c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus soluta non eum quis aut quis. Eius omnis et velit autem eum sit facilis. Adipisci vel et quam in ducimus sit. Nam animi exercitationem aut qui consequatur accusantium cum. Perspiciatis iusto sunt recusandae incidunt.\", \"Et ad a voluptatem eaque. Quod id voluptatum at doloribus quis. Culpa perferendis itaque ipsam. Voluptate dicta et incidunt nihil reiciendis. Error recusandae molestiae sunt.\"]"], ["created_at", "2014-09-19 20:10:24.401422"], ["name", "contract_beae52c0"], ["title", "Sit eum impedit atque."], ["updated_at", "2014-09-19 20:10:24.401422"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_beae52c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_beae52c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:10:24.404377"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_beae52c0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.411159"], ["updated_at", "2014-09-19 20:10:24.411159"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.412770"], ["updated_at", "2014-09-19 20:10:24.412770"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34bd8362') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt fugit aut eos praesentium. Eveniet qui ea saepe sint. Quis illum ipsum. Ex deleniti vel. Sint quis ad ducimus accusamus consectetur quia.\", \"Deleniti et minima autem eveniet. Eaque nobis illo cum. Cupiditate asperiores distinctio sunt ullam omnis ratione. Neque non reprehenderit veritatis recusandae dolor voluptate. Id natus et neque voluptas eveniet facilis.\"]"], ["created_at", "2014-09-19 20:10:24.415360"], ["name", "contract_34bd8362"], ["title", "Nam sequi aut dolores asperiores nisi quia."], ["updated_at", "2014-09-19 20:10:24.415360"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.420898"], ["updated_at", "2014-09-19 20:10:24.420898"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.422420"], ["updated_at", "2014-09-19 20:10:24.422420"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3059d59') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste sint ut dicta. Qui fugiat aut sit porro. Necessitatibus neque maxime voluptas culpa sint dicta nihil.\", \"Ab nostrum et. Et sit corrupti voluptatem. Sint quibusdam dolorem maiores. Qui doloribus autem.\"]"], ["created_at", "2014-09-19 20:10:24.425000"], ["name", "contract_a3059d59"], ["title", "Soluta eaque nesciunt nisi."], ["updated_at", "2014-09-19 20:10:24.425000"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3059d59"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_a3059d59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:10:24.428136"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3059d59"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_a3059d59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:10:24.434032"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.438397"], ["updated_at", "2014-09-19 20:10:24.438397"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.439988"], ["updated_at", "2014-09-19 20:10:24.439988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9c0cda22') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quos dolorem explicabo aut quia illo odit. Corrupti sunt dicta nemo rerum accusantium. Minima iure molestiae sed nihil est. Et sapiente ut veniam deserunt. Ad ratione blanditiis dicta.\", \"Commodi explicabo quia. Dolor velit dignissimos ullam sed earum expedita a. Ipsam quibusdam explicabo totam. Dolores voluptas at quo doloremque deserunt. Autem similique alias quam voluptates nesciunt.\"]"], ["created_at", "2014-09-19 20:10:24.442597"], ["name", "contract_9c0cda22"], ["title", "Perspiciatis est error quasi dolores natus ullam reiciendis."], ["updated_at", "2014-09-19 20:10:24.442597"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:10:24.445905"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:10:24.445905"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.449749"], ["updated_at", "2014-09-19 20:10:24.449749"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.451410"], ["updated_at", "2014-09-19 20:10:24.451410"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_29fa8c65') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut alias omnis non impedit blanditiis ut. Maxime sit perferendis. Minima culpa et quas enim aut. Quibusdam distinctio exercitationem aspernatur eum fuga. Est officia dolores saepe aspernatur vel ad.\", \"Enim ipsam porro cupiditate libero et laborum. Eos sint repellat voluptatem sed fugit laboriosam. Voluptatem praesentium veniam doloribus vel porro esse.\"]"], ["created_at", "2014-09-19 20:10:24.454050"], ["name", "contract_29fa8c65"], ["title", "Debitis quo fuga aut aut."], ["updated_at", "2014-09-19 20:10:24.454050"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.460109"], ["updated_at", "2014-09-19 20:10:24.460109"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.461771"], ["updated_at", "2014-09-19 20:10:24.461771"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c06cf8dd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente mollitia doloremque voluptatum. Voluptatibus consectetur exercitationem error alias sunt ratione qui. Cum reiciendis consequuntur modi error. Sit maxime quia praesentium distinctio. Ipsam quasi est voluptate numquam est.\", \"Omnis dolor vel ullam cupiditate dolorem dolorem. Qui corporis optio a. Et beatae voluptatum sequi aut laudantium dolore ea.\"]"], ["created_at", "2014-09-19 20:10:24.464579"], ["name", "contract_c06cf8dd"], ["title", "Consectetur cumque quia voluptas eum repellat ab."], ["updated_at", "2014-09-19 20:10:24.464579"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.470295"], ["updated_at", "2014-09-19 20:10:24.470295"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.472264"], ["updated_at", "2014-09-19 20:10:24.472264"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_22bb4eaf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi mollitia ut. Illo esse soluta voluptatibus et aut. Quam esse commodi aut placeat. Laboriosam rerum quam et necessitatibus sed.\", \"Enim rerum consequatur. Eum commodi id fugiat voluptas. Blanditiis doloribus pariatur odio.\"]"], ["created_at", "2014-09-19 20:10:24.475846"], ["name", "contract_22bb4eaf"], ["title", "Qui nihil a cumque repudiandae."], ["updated_at", "2014-09-19 20:10:24.475846"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 5, 3, 8, 6, 4, 18, 15, 14, 21, 31, 29, 19, 25, 23, 17, 2, 27, 26, 1, 13, 12, 24, 30, 16, 10, 20, 9, 22, 11, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.486717"], ["updated_at", "2014-09-19 20:10:24.486717"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.488348"], ["updated_at", "2014-09-19 20:10:24.488348"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_c3bd98fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto et quia sed quia necessitatibus explicabo quibusdam. Et modi possimus est. Minus sunt qui saepe et.\", \"Voluptate blanditiis quia architecto hic id quaerat aut. Quaerat eum impedit voluptate quia qui. Quisquam rerum eaque molestias magnam sequi consequatur.\"]"], ["created_at", "2014-09-19 20:10:24.491260"], ["name", "contract_c3bd98fe"], ["title", "Et vitae eos dolore."], ["updated_at", "2014-09-19 20:10:24.491260"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c3bd98fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_c3bd98fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:10:24.494597"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.501700"], ["updated_at", "2014-09-19 20:10:24.501700"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.503288"], ["updated_at", "2014-09-19 20:10:24.503288"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e8c2effb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe reiciendis ratione placeat quasi aliquid dolorem. Eveniet eos quidem magnam non. Omnis quis animi. Ut id cupiditate deleniti labore nam.\", \"Quod error iusto et assumenda ab ducimus vitae. Dignissimos est mollitia necessitatibus. Unde ratione voluptatum vero placeat voluptatem possimus. Doloremque mollitia et aut ut accusantium et.\"]"], ["created_at", "2014-09-19 20:10:24.506091"], ["name", "contract_e8c2effb"], ["title", "Quisquam veniam aut perferendis eos voluptatem earum laborum."], ["updated_at", "2014-09-19 20:10:24.506091"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.509654"], ["updated_at", "2014-09-19 20:10:24.509654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.511092"], ["updated_at", "2014-09-19 20:10:24.511092"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e9b65346') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui et necessitatibus ut doloribus non. Suscipit fuga asperiores assumenda nam ipsam. Commodi aut suscipit porro.\", \"Dolores voluptatem incidunt voluptas. Doloremque est incidunt. Placeat voluptatem provident facere et. Assumenda inventore molestiae nam sunt.\"]"], ["created_at", "2014-09-19 20:10:24.513581"], ["name", "contract_e9b65346"], ["title", "Sunt reiciendis excepturi voluptatem provident."], ["updated_at", "2014-09-19 20:10:24.513581"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.517299"], ["updated_at", "2014-09-19 20:10:24.517299"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.518762"], ["updated_at", "2014-09-19 20:10:24.518762"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f95ed1d8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure quo iste et distinctio est voluptas magni. Voluptas vel harum possimus nam sint voluptatibus. Fuga et dolor.\", \"Ut est neque officiis vel id. Cupiditate quo ipsam ullam. Corporis eos provident corrupti eius.\"]"], ["created_at", "2014-09-19 20:10:24.521275"], ["name", "contract_f95ed1d8"], ["title", "Aut officia magnam incidunt pariatur quia qui."], ["updated_at", "2014-09-19 20:10:24.521275"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.525578"], ["updated_at", "2014-09-19 20:10:24.525578"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.527219"], ["updated_at", "2014-09-19 20:10:24.527219"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4f2ef5cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique sed quasi eius accusantium occaecati. Cum tenetur ut ipsum quos id voluptatem deleniti. Ex veniam quia est laudantium. Ipsum consectetur unde dignissimos quod neque. Saepe distinctio quo.\", \"Quam in ut nulla velit odio. Aperiam quas quam. Tempora qui voluptatem minima reprehenderit recusandae quibusdam. Qui consequatur deleniti cum. Consequatur odio reiciendis fugit asperiores expedita.\"]"], ["created_at", "2014-09-19 20:10:24.529768"], ["name", "contract_4f2ef5cc"], ["title", "Aspernatur voluptatem sed sint."], ["updated_at", "2014-09-19 20:10:24.529768"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 36]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 36]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 36 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.538369"], ["updated_at", "2014-09-19 20:10:24.538369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.539954"], ["updated_at", "2014-09-19 20:10:24.539954"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c89be59a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus ad expedita explicabo facilis dicta. Sed sunt quam dolor in. Laboriosam et quia cupiditate qui ipsum mollitia recusandae. Et eaque incidunt aut voluptatem voluptates ut.\", \"Aut sit repellat distinctio deserunt doloribus. Ipsum aut excepturi incidunt voluptatibus inventore minus. Molestiae et odio in velit.\"]"], ["created_at", "2014-09-19 20:10:24.542603"], ["name", "contract_c89be59a"], ["title", "Minus nobis animi illo."], ["updated_at", "2014-09-19 20:10:24.542603"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 422 Unprocessable Entity in 6ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.555168"], ["updated_at", "2014-09-19 20:10:24.555168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.556920"], ["updated_at", "2014-09-19 20:10:24.556920"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.564094"], ["updated_at", "2014-09-19 20:10:24.564094"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:24.565583"], ["updated_at", "2014-09-19 20:10:24.565583"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_46bd3377') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ducimus dolorem sunt voluptate. Possimus soluta maiores provident impedit itaque ea. Officiis nam nihil quia explicabo quaerat fugit magnam.\", \"Voluptatem id quia cumque est. Eos dolores autem veritatis. Corrupti itaque quos velit incidunt accusamus. Fugit sint quia ea est.\"]"], ["created_at", "2014-09-19 20:10:38.003372"], ["name", "contract_46bd3377"], ["title", "Vero libero nobis voluptatem soluta eaque et."], ["updated_at", "2014-09-19 20:10:38.003372"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_69da50b1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam voluptate numquam saepe neque consequatur dolores explicabo. Quod qui vel officiis sint consequatur. Mollitia inventore consequuntur explicabo aut nesciunt et rerum. Cum eum hic doloribus et non adipisci. Vel cumque dolorum aut.\", \"Incidunt quis repudiandae unde. Id quia tenetur in dicta. Quaerat ut maxime eius eveniet quibusdam aspernatur.\"]"], ["created_at", "2014-09-19 20:10:38.020200"], ["name", "contract_69da50b1"], ["title", "Sed qui ea iste laborum id vitae."], ["updated_at", "2014-09-19 20:10:38.020200"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_69da50b1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_69da50b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:10:38.025210"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.031138"], ["updated_at", "2014-09-19 20:10:38.031138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.040169"], ["updated_at", "2014-09-19 20:10:38.040169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.041876"], ["updated_at", "2014-09-19 20:10:38.041876"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.052264"], ["updated_at", "2014-09-19 20:10:38.052264"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.053902"], ["updated_at", "2014-09-19 20:10:38.053902"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_706f090d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia doloribus repellendus alias magnam voluptas dolore molestiae. Fuga non voluptate officia nobis ipsum cum. Sed vitae inventore qui vel quis rerum.\", \"Aut mollitia ut incidunt. Voluptas modi est aut aut repudiandae aut. Eum consequatur quam voluptatem molestias reprehenderit. Culpa unde et. Exercitationem modi in voluptatum.\"]"], ["created_at", "2014-09-19 20:10:38.063732"], ["name", "contract_706f090d"], ["title", "Molestiae quia repellat ipsum rem non dolores animi."], ["updated_at", "2014-09-19 20:10:38.063732"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_706f090d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_706f090d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:10:38.067157"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.071940"], ["updated_at", "2014-09-19 20:10:38.071940"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:10:38.074335"], ["updated_at", "2014-09-19 20:10:38.074335"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_706f090d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_706f090d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_706f090d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.3ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_cf55b8ea') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate explicabo aliquid inventore quae possimus et. Nemo hic suscipit. Iure corporis quaerat sit facere autem rerum ullam.\", \"Est quis amet alias voluptatem sit iure necessitatibus. Vel velit aut ut cumque necessitatibus debitis et. Nulla itaque consequatur non. Ut excepturi sint corrupti facilis.\"]"], ["created_at", "2014-09-19 20:10:38.088535"], ["name", "contract_cf55b8ea"], ["title", "Necessitatibus earum ut et porro."], ["updated_at", "2014-09-19 20:10:38.088535"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf55b8ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_cf55b8ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:10:38.091524"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cf55b8ea' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_cf55b8ea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate explicabo aliquid inventore quae possimus et. Nemo hic suscipit. Iure corporis quaerat sit facere autem rerum ullam.\", \"Est quis amet alias voluptatem sit iure necessitatibus. Vel velit aut ut cumque necessitatibus debitis et. Nulla itaque consequatur non. Ut excepturi sint corrupti facilis.\"]"], ["created_at", "2014-09-19 20:10:38.097416"], ["name", "contract_cf55b8ea"], ["title", "Necessitatibus earum ut et porro."], ["updated_at", "2014-09-19 20:10:38.097416"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf55b8ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_cf55b8ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:10:38.101608"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_1a684005') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod voluptatem odio temporibus iste. Sed repellendus veritatis voluptate aut libero et. Inventore enim sit voluptatem vel. Odit harum laboriosam incidunt aut qui.\", \"Voluptatem eius in omnis. Dolore quidem quasi. Facilis rerum eum omnis.\"]"], ["created_at", "2014-09-19 20:10:38.106018"], ["name", "contract_1a684005"], ["title", "Dolorem in fuga saepe a laudantium."], ["updated_at", "2014-09-19 20:10:38.106018"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1a684005"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_1a684005') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:10:38.111113"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1a684005"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1a684005"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_1a684005') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:10:38.116450"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_80917084') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas pariatur est nemo doloribus ad non. Natus itaque sint dolorem culpa eius et ut. Aut laboriosam nihil aut animi. Consequatur quia facere.\", \"Libero voluptatem accusamus expedita. Quis numquam ea est et. Et corporis non qui molestiae ullam et maiores.\"]"], ["created_at", "2014-09-19 20:10:38.120251"], ["name", "contract_80917084"], ["title", "Quas est est accusamus."], ["updated_at", "2014-09-19 20:10:38.120251"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_80917084"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_80917084') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:10:38.124122"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_80917084' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas pariatur est nemo doloribus ad non. Natus itaque sint dolorem culpa eius et ut. Aut laboriosam nihil aut animi. Consequatur quia facere.\", \"Libero voluptatem accusamus expedita. Quis numquam ea est et. Et corporis non qui molestiae ullam et maiores.\"]"], ["created_at", "2014-09-19 20:10:38.129011"], ["name", "joe"], ["title", "Quas est est accusamus."], ["updated_at", "2014-09-19 20:10:38.129011"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:10:38.134145"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.139733"], ["updated_at", "2014-09-19 20:10:38.139733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.141638"], ["updated_at", "2014-09-19 20:10:38.141638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b484ceac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos impedit praesentium in autem odit non odio. Rerum non necessitatibus eum quasi iste facilis. Et repellendus porro quia ullam. Occaecati nobis optio harum aut voluptatem.\", \"Aut sed adipisci ut architecto soluta et velit. Ea eligendi consequatur explicabo. Sed harum et incidunt dolorum deserunt non. Optio consequatur eum odio quis.\"]"], ["created_at", "2014-09-19 20:10:38.144647"], ["name", "contract_b484ceac"], ["title", "Ut eum tempore est tempora."], ["updated_at", "2014-09-19 20:10:38.144647"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b484ceac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_b484ceac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:10:38.147910"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b484ceac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_b484ceac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:10:38.154414"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.158767"], ["updated_at", "2014-09-19 20:10:38.158767"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.160318"], ["updated_at", "2014-09-19 20:10:38.160318"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_06f12cfc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat non aspernatur facilis culpa ut. Nobis dolores aliquid autem. Ullam ut sed repellat ut qui sequi. Eligendi et ut perferendis sed omnis. Alias et voluptatem.\", \"Voluptatem voluptatum sed explicabo repellat occaecati magnam. Accusantium excepturi rerum est voluptatum. Laboriosam ut omnis sit enim et.\"]"], ["created_at", "2014-09-19 20:10:38.162867"], ["name", "contract_06f12cfc"], ["title", "Ducimus iure tempore nulla corporis doloremque pariatur."], ["updated_at", "2014-09-19 20:10:38.162867"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:10:38.166178"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:10:38.166178"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.171019"], ["updated_at", "2014-09-19 20:10:38.171019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.172521"], ["updated_at", "2014-09-19 20:10:38.172521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f3e2484') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure sunt veniam quia. Est aspernatur id ut corporis praesentium. Illum autem id fugiat aut. Perspiciatis ut aut nihil. Aut sint totam.\", \"Est eligendi ab a et expedita illo porro. Corporis temporibus sequi et commodi dolorem. Sunt sint sint.\"]"], ["created_at", "2014-09-19 20:10:38.175447"], ["name", "contract_6f3e2484"], ["title", "Consequuntur eos dolorem."], ["updated_at", "2014-09-19 20:10:38.175447"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 422 Unprocessable Entity in 2ms  (0.3ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.181830"], ["updated_at", "2014-09-19 20:10:38.181830"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.183481"], ["updated_at", "2014-09-19 20:10:38.183481"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6dbae209') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium similique perspiciatis maxime quia qui. Dicta cupiditate perferendis alias quis maxime. Voluptatem culpa et. Qui id qui nemo a. Temporibus enim est maiores ut voluptas.\", \"Et aliquid qui. Assumenda temporibus ea expedita ex et aliquam. Quibusdam provident adipisci. Provident laudantium praesentium. Quam ipsa earum et sunt rerum est.\"]"], ["created_at", "2014-09-19 20:10:38.186182"], ["name", "contract_6dbae209"], ["title", "Incidunt sed sit et qui."], ["updated_at", "2014-09-19 20:10:38.186182"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.193139"], ["updated_at", "2014-09-19 20:10:38.193139"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.194731"], ["updated_at", "2014-09-19 20:10:38.194731"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b9b12a10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex id aut mollitia assumenda. Ut reiciendis eos et est et commodi illo. Aut omnis enim ad delectus non adipisci. Provident facilis quae alias.\", \"Porro quod harum et. Aspernatur officiis consequuntur harum qui iste. Ratione ea vero ut vitae. Debitis velit quasi voluptatem facere.\"]"], ["created_at", "2014-09-19 20:10:38.197384"], ["name", "contract_b9b12a10"], ["title", "Tempore et sapiente est et."], ["updated_at", "2014-09-19 20:10:38.197384"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.202342"], ["updated_at", "2014-09-19 20:10:38.202342"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.203828"], ["updated_at", "2014-09-19 20:10:38.203828"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_66469fd9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque aperiam et dolorem non in. Ad nisi repudiandae in temporibus et. Minus sit non. Veniam et aut rerum molestias. Repellendus qui sed et vel.\", \"Voluptatem non rerum est. Et esse iusto. Quia enim minima quaerat eligendi id qui eos. Commodi est qui sit sequi recusandae deserunt. Pariatur consequatur eligendi qui.\"]"], ["created_at", "2014-09-19 20:10:38.206277"], ["name", "contract_66469fd9"], ["title", "Inventore quia rem non vel tempore enim."], ["updated_at", "2014-09-19 20:10:38.206277"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.210240"], ["updated_at", "2014-09-19 20:10:38.210240"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.211715"], ["updated_at", "2014-09-19 20:10:38.211715"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_20192164') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga quasi facilis ab accusamus debitis at quia. Itaque commodi aperiam eum voluptatibus soluta. Debitis quod cum praesentium aspernatur rerum qui. In magni explicabo maiores ut sit. Sapiente a dolor id suscipit voluptas.\", \"Eius earum quia. Pariatur eaque assumenda iusto minima sit temporibus. Praesentium quaerat eum tempore nihil sit molestias. Quo et ut nostrum accusamus.\"]"], ["created_at", "2014-09-19 20:10:38.214230"], ["name", "contract_20192164"], ["title", "Libero sit impedit est et facere dolore consequatur."], ["updated_at", "2014-09-19 20:10:38.214230"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_20192164"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_20192164') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:10:38.217381"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.222272"], ["updated_at", "2014-09-19 20:10:38.222272"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.223781"], ["updated_at", "2014-09-19 20:10:38.223781"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5ef4ee8e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id atque et sed distinctio ab laudantium nulla. Quia a pariatur nemo distinctio error. Impedit ut illum iure. Voluptas explicabo in enim delectus ad sint dolorum.\", \"Ducimus ullam magnam accusamus impedit autem. Quo sunt inventore distinctio molestiae impedit. Eveniet veniam nobis. Officia est voluptates velit ut officiis esse. Qui ut voluptate.\"]"], ["created_at", "2014-09-19 20:10:38.226373"], ["name", "contract_5ef4ee8e"], ["title", "Voluptatem totam et qui sunt tempora facilis."], ["updated_at", "2014-09-19 20:10:38.226373"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.231807"], ["updated_at", "2014-09-19 20:10:38.231807"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.233454"], ["updated_at", "2014-09-19 20:10:38.233454"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e8307033') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat vel laudantium officiis dolorem. Dolores exercitationem harum accusantium itaque. Ullam quod ad est occaecati laboriosam voluptates. Qui voluptas odit ipsum in. Molestiae sit natus quis aut blanditiis in.\", \"Temporibus ut iure quis. Non quo pariatur ipsum nihil repellendus debitis. Est veritatis numquam corporis. Et ipsum quod ut illo ad.\"]"], ["created_at", "2014-09-19 20:10:38.236168"], ["name", "contract_e8307033"], ["title", "Qui rem quia quasi sunt."], ["updated_at", "2014-09-19 20:10:38.236168"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.240207"], ["updated_at", "2014-09-19 20:10:38.240207"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.241945"], ["updated_at", "2014-09-19 20:10:38.241945"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_72668434') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam alias temporibus est. Est sed occaecati omnis magnam. Rerum laborum autem ex sit voluptatem rerum quisquam.\", \"Maxime et omnis inventore laborum nemo. Laboriosam quisquam quidem natus minus. Quia eum omnis explicabo et officiis. Sunt soluta nulla rerum optio possimus.\"]"], ["created_at", "2014-09-19 20:10:38.244871"], ["name", "contract_72668434"], ["title", "Id corrupti et voluptatem sit dolorem."], ["updated_at", "2014-09-19 20:10:38.244871"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72668434"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_72668434') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:10:38.247907"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.253477"], ["updated_at", "2014-09-19 20:10:38.253477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.254947"], ["updated_at", "2014-09-19 20:10:38.254947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_50d87434') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea beatae culpa ea harum odio blanditiis. Dolorem doloremque et nisi voluptatem qui aut assumenda. Laboriosam dolor quis perspiciatis sunt ut ipsum nostrum. Unde iste provident fuga ex saepe. Consequatur qui sit animi maxime velit saepe quaerat.\", \"Ipsum autem vitae. Qui et nostrum ipsam perferendis. Mollitia odio quo.\"]"], ["created_at", "2014-09-19 20:10:38.257810"], ["name", "contract_50d87434"], ["title", "Autem perspiciatis quisquam."], ["updated_at", "2014-09-19 20:10:38.257810"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_50d87434"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_50d87434') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:10:38.262437"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.267364"], ["updated_at", "2014-09-19 20:10:38.267364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.268921"], ["updated_at", "2014-09-19 20:10:38.268921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_329fc1c8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente reprehenderit accusamus autem molestiae corrupti id. Sed facere fugit soluta voluptates quo recusandae. Nisi tempore ut accusamus cumque sint laudantium. Sequi sint odio distinctio et architecto qui voluptas. Dolorum error perspiciatis totam.\", \"Velit reprehenderit omnis assumenda molestias rerum a natus. Ipsam omnis quia culpa. Consequuntur nihil numquam. Culpa cumque voluptas. Expedita enim in atque hic.\"]"], ["created_at", "2014-09-19 20:10:38.271579"], ["name", "contract_329fc1c8"], ["title", "Eaque consequatur saepe omnis eum repellendus inventore."], ["updated_at", "2014-09-19 20:10:38.271579"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.1ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 21]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 21]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 21 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.279762"], ["updated_at", "2014-09-19 20:10:38.279762"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.281287"], ["updated_at", "2014-09-19 20:10:38.281287"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_9e75b507') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque qui quod. Aperiam dolorem iure debitis sint velit vitae et. Est maiores odit reiciendis.\", \"Voluptatem omnis dolorum est repellendus. Voluptatem quaerat rerum consequatur excepturi facilis fugit eveniet. Rerum aut occaecati nobis repellat odio et error.\"]"], ["created_at", "2014-09-19 20:10:38.284096"], ["name", "contract_9e75b507"], ["title", "Molestiae tenetur sapiente."], ["updated_at", "2014-09-19 20:10:38.284096"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.288222"], ["updated_at", "2014-09-19 20:10:38.288222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.289745"], ["updated_at", "2014-09-19 20:10:38.289745"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_72a020df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi explicabo dolore molestiae et qui. Nam labore odit. Fugit velit cumque neque molestias. Ducimus veritatis sed delectus officia sit fugiat quo.\", \"Optio aut dolorum deserunt iste omnis. Aut temporibus non itaque recusandae corporis natus. Accusamus beatae velit ut corrupti iure. Aut dignissimos similique eveniet aliquid nihil. Et et quia fugit.\"]"], ["created_at", "2014-09-19 20:10:38.292353"], ["name", "contract_72a020df"], ["title", "Asperiores dolor aliquid nihil accusamus aliquam repudiandae."], ["updated_at", "2014-09-19 20:10:38.292353"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72a020df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_72a020df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:10:38.295386"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_72a020df' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.302230"], ["updated_at", "2014-09-19 20:10:38.302230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.303866"], ["updated_at", "2014-09-19 20:10:38.303866"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5e0d3dfe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias aut fugit tenetur omnis odit. Rerum velit natus ad sit. Est sit suscipit accusamus ea odit qui consequatur. Dolores atque sed voluptatem sed ullam. Beatae doloremque quam.\", \"Velit quia est enim qui ipsam in iusto. Consequatur odit omnis possimus. Ab quod accusamus vel eum veniam quis delectus.\"]"], ["created_at", "2014-09-19 20:10:38.306500"], ["name", "contract_5e0d3dfe"], ["title", "Quis atque ut a earum est eos."], ["updated_at", "2014-09-19 20:10:38.306500"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (10, 6, 16, 1, 20, 24, 17, 15, 2, 13, 12, 3, 19, 23, 7, 22, 9, 14, 5, 4, 18, 8, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.320676"], ["updated_at", "2014-09-19 20:10:38.320676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.322403"], ["updated_at", "2014-09-19 20:10:38.322403"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e3d3ce5e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ut non illum itaque eaque non. Nam et quia sit mollitia inventore est. Vel enim totam temporibus corrupti facere. Est et tenetur placeat qui natus ut. Exercitationem eos id.\", \"Quis id doloremque. At aut expedita est voluptatem eligendi omnis quia. Et aliquid est ab dolor commodi modi. Sit numquam non quo enim animi vel dolore.\"]"], ["created_at", "2014-09-19 20:10:38.325211"], ["name", "contract_e3d3ce5e"], ["title", "Totam sit sed consequuntur eum soluta."], ["updated_at", "2014-09-19 20:10:38.325211"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.329237"], ["updated_at", "2014-09-19 20:10:38.329237"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.330729"], ["updated_at", "2014-09-19 20:10:38.330729"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d1648cbb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic iste aut soluta ut mollitia officia. Tempore reprehenderit ut quo architecto. Earum id aliquam veritatis quos at. Tempore ut ut temporibus sit. Modi deleniti velit cupiditate ut.\", \"Et quo est. Voluptas sed eius modi omnis et consequatur officiis. Non ipsam eius sunt.\"]"], ["created_at", "2014-09-19 20:10:38.333311"], ["name", "contract_d1648cbb"], ["title", "Labore velit ex hic sit esse eum explicabo."], ["updated_at", "2014-09-19 20:10:38.333311"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.338000"], ["updated_at", "2014-09-19 20:10:38.338000"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.339710"], ["updated_at", "2014-09-19 20:10:38.339710"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ab3d19e1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quidem voluptatem delectus temporibus. Dolores illum omnis unde qui sed similique. Et voluptatum quasi. Nobis hic error. Voluptate ullam facilis id et adipisci non.\", \"Fugiat ipsam quo sint. Natus aut vero dolor nesciunt error. Et pariatur quo omnis consequatur dolores quae. Voluptatum ea aut iste eius quibusdam est.\"]"], ["created_at", "2014-09-19 20:10:38.342377"], ["name", "contract_ab3d19e1"], ["title", "Qui dicta similique cupiditate quia quis excepturi libero."], ["updated_at", "2014-09-19 20:10:38.342377"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.347809"], ["updated_at", "2014-09-19 20:10:38.347809"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.349888"], ["updated_at", "2014-09-19 20:10:38.349888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c333f498') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut placeat rem est sed. Quod molestiae magnam. Veniam libero et culpa. Odit quasi sed et iure.\", \"Voluptatem quae non delectus ut placeat quia non. Quam quisquam voluptas vel deserunt quaerat hic. Nemo esse quis fuga. Autem voluptatem praesentium qui pariatur quos quia doloremque.\"]"], ["created_at", "2014-09-19 20:10:38.352927"], ["name", "contract_c333f498"], ["title", "Optio neque itaque doloribus totam corrupti."], ["updated_at", "2014-09-19 20:10:38.352927"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c333f498"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_c333f498') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:10:38.357276"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.360935"], ["updated_at", "2014-09-19 20:10:38.360935"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 20:10:38.363797"], ["updated_at", "2014-09-19 20:10:38.363797"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.370746"], ["updated_at", "2014-09-19 20:10:38.370746"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.372381"], ["updated_at", "2014-09-19 20:10:38.372381"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c7090608') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat in voluptatem impedit assumenda atque est aspernatur. Et rerum nam ex et voluptas fugiat repudiandae. Qui qui repudiandae. Dicta delectus aspernatur aut magni.\", \"Iusto optio odit quia. Velit quia repellat quia. Sit ut optio voluptas sed. Necessitatibus et odit asperiores totam dicta et. Dolores voluptatem qui impedit eum occaecati natus debitis.\"]"], ["created_at", "2014-09-19 20:10:38.375567"], ["name", "contract_c7090608"], ["title", "Voluptate assumenda est iure reprehenderit dolores ipsam."], ["updated_at", "2014-09-19 20:10:38.375567"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c7090608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_c7090608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:10:38.378622"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.381206"], ["updated_at", "2014-09-19 20:10:38.381206"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 20:10:38.383678"], ["updated_at", "2014-09-19 20:10:38.383678"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.389762"], ["updated_at", "2014-09-19 20:10:38.389762"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.391265"], ["updated_at", "2014-09-19 20:10:38.391265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ce5141e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem maiores est deleniti ratione eveniet ipsum hic. Autem ducimus quia aliquam consequatur id. Maiores non atque. Dolorum autem quibusdam eum sed est harum.\", \"Pariatur magni dolor ratione quasi tempora dolorem. Suscipit repellendus et. Deserunt enim sint et.\"]"], ["created_at", "2014-09-19 20:10:38.394177"], ["name", "contract_ce5141e7"], ["title", "Asperiores eveniet rerum et corporis cupiditate natus qui."], ["updated_at", "2014-09-19 20:10:38.394177"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce5141e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_ce5141e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:10:38.397134"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.399538"], ["updated_at", "2014-09-19 20:10:38.399538"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 20:10:38.401701"], ["updated_at", "2014-09-19 20:10:38.401701"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.406147"], ["updated_at", "2014-09-19 20:10:38.406147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.407690"], ["updated_at", "2014-09-19 20:10:38.407690"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7eb15612') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque consequatur voluptate soluta ut eum. Labore qui velit omnis est qui. Nihil rerum perspiciatis qui voluptates perferendis sapiente.\", \"Sed cupiditate culpa voluptas. Cum qui nisi perferendis. Quis dicta voluptatum cum blanditiis ut. Deserunt deleniti voluptatem aliquid et sint quis. Repellendus enim consequatur unde sit eum consequuntur.\"]"], ["created_at", "2014-09-19 20:10:38.410696"], ["name", "contract_7eb15612"], ["title", "Sint quidem similique architecto non consequatur amet totam."], ["updated_at", "2014-09-19 20:10:38.410696"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7eb15612"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_7eb15612') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:10:38.413591"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:10:38.415970"], ["updated_at", "2014-09-19 20:10:38.415970"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-19 20:10:38.418113"], ["updated_at", "2014-09-19 20:10:38.418113"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod eos aut facilis aut vitae. A aspernatur autem natus rerum dolores. Adipisci facere reiciendis similique iste.\", \"Illum ipsam ea occaecati. Ipsum doloremque rerum non. Libero repellendus et id. Non alias qui non. Delectus soluta dolor et impedit praesentium.\"]"], ["created_at", "2014-09-19 20:10:38.426047"], ["name", "alpha"], ["title", "Veritatis rerum porro a occaecati."], ["updated_at", "2014-09-19 20:10:38.426047"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:10:38.429108"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui consectetur quod a quo dolor molestiae saepe. Non voluptatem consequatur quam. Qui explicabo voluptates sint iusto repudiandae modi odio.\", \"Possimus et aperiam. Enim fuga laborum et magnam iusto repellat. Repellat deleniti qui optio fuga doloremque natus sint.\"]"], ["created_at", "2014-09-19 20:10:38.433033"], ["name", "beta"], ["title", "Facere ipsum maiores."], ["updated_at", "2014-09-19 20:10:38.433033"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:10:38.436168"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores error corporis quam illo dignissimos pariatur eligendi. Inventore sed mollitia sit. Dolor nam tempore exercitationem laborum.\", \"Reiciendis similique dolorem quas est veniam praesentium. Sunt et distinctio. Eos earum adipisci aliquid quod non. Ut nisi nihil aspernatur quia quaerat eius in.\"]"], ["created_at", "2014-09-19 20:10:38.440093"], ["name", "alpha"], ["title", "Quae harum a autem quam consequatur rerum incidunt."], ["updated_at", "2014-09-19 20:10:38.440093"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:10:38.443101"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta dolores aut magnam sed itaque. Enim doloribus sunt sequi sed. Culpa commodi architecto sit possimus vel incidunt.\", \"Minus explicabo est sit fuga sit. Fugit quis laudantium. Consequatur ut autem consectetur similique rerum ut. Omnis minima voluptatem qui reiciendis et expedita dolor. Vero odio sunt.\"]"], ["created_at", "2014-09-19 20:10:38.446321"], ["name", "beta"], ["title", "Itaque hic expedita maxime."], ["updated_at", "2014-09-19 20:10:38.446321"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:10:38.449313"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit cupiditate eum aut. Ipsa sit sint deserunt. Et aut tempore quis qui architecto. Quo quas iure officiis consectetur asperiores. Aut ad eum distinctio.\", \"Pariatur quis et dicta reiciendis eum itaque. In qui quaerat. Quam debitis assumenda ipsa est impedit.\"]"], ["created_at", "2014-09-19 20:10:38.452934"], ["name", "alpha"], ["title", "Itaque reprehenderit quia."], ["updated_at", "2014-09-19 20:10:38.452934"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:10:38.456098"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia repellat dicta quia est eaque quia. Dolores et dicta assumenda. Sint eligendi aliquid est ducimus esse. Beatae voluptates voluptatibus illum et non. Qui voluptatem veniam est quibusdam enim adipisci.\", \"Ullam qui ratione numquam dolorem dolorum. Cumque libero iusto sed magni. Inventore corrupti occaecati eos sint quam rerum pariatur. Suscipit qui facilis quam repellat qui. Rerum perspiciatis possimus id doloribus ipsam ad.\"]"], ["created_at", "2014-09-19 20:10:38.459717"], ["name", "beta"], ["title", "Omnis eos veritatis non tempora tenetur rerum aut."], ["updated_at", "2014-09-19 20:10:38.459717"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:10:38.462682"], ["version", 3]]  (0.6ms) commit transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_b9931ffe') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero commodi enim qui doloribus provident magni. Dolores voluptatem aspernatur ut sit. Non quaerat rerum dolorem et aliquam.\", \"At aut sunt eos molestias. Et dolor amet rerum. Et quam cum cupiditate. Et aut a. Sit temporibus sit id.\"]"], ["created_at", "2014-09-19 20:11:14.043509"], ["name", "contract_b9931ffe"], ["title", "Incidunt sit et."], ["updated_at", "2014-09-19 20:11:14.043509"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b9931ffe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_b9931ffe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:11:14.056927"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b9931ffe' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b9931ffe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero commodi enim qui doloribus provident magni. Dolores voluptatem aspernatur ut sit. Non quaerat rerum dolorem et aliquam.\", \"At aut sunt eos molestias. Et dolor amet rerum. Et quam cum cupiditate. Et aut a. Sit temporibus sit id.\"]"], ["created_at", "2014-09-19 20:11:14.066125"], ["name", "contract_b9931ffe"], ["title", "Incidunt sit et."], ["updated_at", "2014-09-19 20:11:14.066125"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b9931ffe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_b9931ffe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:11:14.069625"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1afad098') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea rem laboriosam ratione quos voluptate et dolorem. Impedit aut praesentium. Omnis aut voluptas qui et commodi. Voluptas non omnis quia. Accusamus quae dolor.\", \"Cumque nesciunt nulla necessitatibus architecto quod earum culpa. Autem maiores ex animi possimus. Sunt quo voluptate iusto culpa. Esse cum occaecati.\"]"], ["created_at", "2014-09-19 20:11:14.074028"], ["name", "contract_1afad098"], ["title", "Ipsum et sunt velit."], ["updated_at", "2014-09-19 20:11:14.074028"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1afad098"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1afad098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:11:14.078214"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.087364"], ["updated_at", "2014-09-19 20:11:14.087364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:11:14.092744"], ["updated_at", "2014-09-19 20:11:14.092744"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1afad098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1afad098"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1afad098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_9cad0b7e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum repellat soluta magni recusandae incidunt labore. Quidem architecto ut autem est et non. Quibusdam quia reiciendis et aut quas.\", \"Iste repudiandae explicabo fugit maiores aut. Delectus quam vero perspiciatis quia recusandae. Minima doloribus cumque laborum perferendis. Aspernatur nihil vitae.\"]"], ["created_at", "2014-09-19 20:11:14.105429"], ["name", "contract_9cad0b7e"], ["title", "Provident dolorum ut est doloremque qui."], ["updated_at", "2014-09-19 20:11:14.105429"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9cad0b7e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9cad0b7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:11:14.109125"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9cad0b7e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum repellat soluta magni recusandae incidunt labore. Quidem architecto ut autem est et non. Quibusdam quia reiciendis et aut quas.\", \"Iste repudiandae explicabo fugit maiores aut. Delectus quam vero perspiciatis quia recusandae. Minima doloribus cumque laborum perferendis. Aspernatur nihil vitae.\"]"], ["created_at", "2014-09-19 20:11:14.113822"], ["name", "joe"], ["title", "Provident dolorum ut est doloremque qui."], ["updated_at", "2014-09-19 20:11:14.113822"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:11:14.116801"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34bfbc7e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo laudantium voluptas repudiandae odit illo fuga. Velit nisi non veritatis distinctio. Voluptatem occaecati quidem vero necessitatibus. Sint adipisci facilis. Cumque eum perspiciatis omnis.\", \"Inventore minus cum porro animi. Harum veritatis ut consequatur vel fugiat facilis asperiores. Iusto eos quibusdam.\"]"], ["created_at", "2014-09-19 20:11:14.120705"], ["name", "contract_34bfbc7e"], ["title", "Dolore mollitia sint consequatur deleniti dolores."], ["updated_at", "2014-09-19 20:11:14.120705"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34bfbc7e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_34bfbc7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:11:14.125385"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34bfbc7e"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34bfbc7e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_34bfbc7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:11:14.131659"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_85828dd0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed amet voluptatum autem aut id dolor. Occaecati in corporis ratione excepturi velit voluptatem facere. Doloribus odit numquam atque rerum earum facere reprehenderit.\", \"Numquam quos error vitae. Dicta tempore molestias excepturi ab. Cum eveniet facilis autem. Consequatur quod eaque quis modi perspiciatis rerum. Facilis commodi aut enim iste.\"]"], ["created_at", "2014-09-19 20:11:14.135783"], ["name", "contract_85828dd0"], ["title", "Quia quia facilis quisquam nam explicabo sint."], ["updated_at", "2014-09-19 20:11:14.135783"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction 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_6391dd1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam similique quo non. Nostrum quae in quisquam tenetur. Qui fuga autem nisi.\", \"Optio dignissimos assumenda suscipit praesentium possimus saepe eos. Tempora sed aut. Repudiandae eligendi et possimus tenetur sint porro. Est porro aperiam.\"]"], ["created_at", "2014-09-19 20:11:14.140161"], ["name", "contract_6391dd1f"], ["title", "Eum accusantium error."], ["updated_at", "2014-09-19 20:11:14.140161"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6391dd1f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_6391dd1f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:11:14.143381"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.146114"], ["updated_at", "2014-09-19 20:11:14.146114"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.151939"], ["updated_at", "2014-09-19 20:11:14.151939"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.153632"], ["updated_at", "2014-09-19 20:11:14.153632"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f02bd1c0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde aspernatur ex qui sequi ipsam ut maxime. Et unde soluta blanditiis. Eum vitae quo quam est enim. Expedita maxime dolores perspiciatis eaque officia laboriosam qui.\", \"Quidem est soluta quae autem. Ut ut omnis non illo. Dolores temporibus repudiandae pariatur odit illo.\"]"], ["created_at", "2014-09-19 20:11:14.158107"], ["name", "contract_f02bd1c0"], ["title", "Architecto iusto sed sit ipsa unde."], ["updated_at", "2014-09-19 20:11:14.158107"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f02bd1c0"]]  (0.3ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_f02bd1c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:11:14.161958"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.164723"], ["updated_at", "2014-09-19 20:11:14.164723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:11:14.166969"], ["updated_at", "2014-09-19 20:11:14.166969"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.176281"], ["updated_at", "2014-09-19 20:11:14.176281"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.177868"], ["updated_at", "2014-09-19 20:11:14.177868"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a613e263') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim est suscipit numquam rerum. Quo aliquid et voluptas cum. Nulla consectetur maiores. Aperiam aut quia cumque incidunt odit tempore. Magni dolore illo quo.\", \"Laboriosam dolores quae asperiores aperiam. Molestiae natus sint. Et ut est. Soluta perspiciatis eveniet ut quisquam optio excepturi. Minima temporibus odit.\"]"], ["created_at", "2014-09-19 20:11:14.181044"], ["name", "contract_a613e263"], ["title", "Qui consequatur rem aliquid aspernatur vitae."], ["updated_at", "2014-09-19 20:11:14.181044"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a613e263"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_a613e263') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:11:14.185551"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.188980"], ["updated_at", "2014-09-19 20:11:14.188980"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:11:14.191696"], ["updated_at", "2014-09-19 20:11:14.191696"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.201121"], ["updated_at", "2014-09-19 20:11:14.201121"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.202656"], ["updated_at", "2014-09-19 20:11:14.202656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9872e77d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam modi dolore repellat suscipit rem. Laudantium nesciunt est debitis fugit voluptas officia. Molestiae nemo omnis ut nam quia accusantium quia. Ipsa totam at sint quidem accusantium eum dolor.\", \"Quo sed mollitia ipsa iure optio quia. Hic tempora et molestiae recusandae incidunt. Et labore quibusdam omnis.\"]"], ["created_at", "2014-09-19 20:11:14.205645"], ["name", "contract_9872e77d"], ["title", "Est aspernatur impedit."], ["updated_at", "2014-09-19 20:11:14.205645"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9872e77d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_9872e77d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:11:14.208718"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.211196"], ["updated_at", "2014-09-19 20:11:14.211196"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-19 20:11:14.213590"], ["updated_at", "2014-09-19 20:11:14.213590"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.221187"], ["updated_at", "2014-09-19 20:11:14.221187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.222844"], ["updated_at", "2014-09-19 20:11:14.222844"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_11186832') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam velit cumque beatae ex quia dolorem non. Sit cumque adipisci delectus enim. Impedit id minus atque facere. Est possimus quia qui suscipit ut aut. Eum sit distinctio natus nesciunt asperiores blanditiis.\", \"Recusandae consectetur et rerum rerum. Harum autem et ullam iusto officiis adipisci. Veniam repellendus quaerat officiis ipsam nulla omnis error. Natus repellendus est rem in voluptas fuga. Aliquid possimus minus consequatur non libero quaerat.\"]"], ["created_at", "2014-09-19 20:11:14.226487"], ["name", "contract_11186832"], ["title", "Adipisci repellat a dolores quasi enim quidem ut."], ["updated_at", "2014-09-19 20:11:14.226487"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_11186832"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_11186832') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:11:14.229529"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.232010"], ["updated_at", "2014-09-19 20:11:14.232010"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-19 20:11:14.234156"], ["updated_at", "2014-09-19 20:11:14.234156"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.238876"], ["updated_at", "2014-09-19 20:11:14.238876"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.240372"], ["updated_at", "2014-09-19 20:11:14.240372"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.248129"], ["updated_at", "2014-09-19 20:11:14.248129"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.249725"], ["updated_at", "2014-09-19 20:11:14.249725"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur sit qui ea illum odio et. Et asperiores molestias nesciunt. Voluptas unde dicta molestias officia accusantium quo.\", \"Omnis quo optio qui. Vitae enim soluta non. Rem dignissimos non quis. Qui autem at sed ab reprehenderit nisi recusandae. Beatae ipsa sequi eum iure.\"]"], ["created_at", "2014-09-19 20:11:14.254411"], ["name", "alpha"], ["title", "Veritatis et qui eveniet."], ["updated_at", "2014-09-19 20:11:14.254411"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:11:14.257819"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo ut odio. Quasi enim sint. Vel fugit animi quaerat et quidem. Et accusantium ut corrupti iure quisquam ducimus ut.\", \"Eum animi velit modi nihil. Saepe sed distinctio qui voluptatem. Mollitia ipsum sed et atque.\"]"], ["created_at", "2014-09-19 20:11:14.261670"], ["name", "beta"], ["title", "Ut hic dolores."], ["updated_at", "2014-09-19 20:11:14.261670"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:11:14.265206"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum iure doloremque. Nisi ut quis voluptas cum consequuntur. Eveniet nulla et repellendus eligendi dolore. Est eligendi dolores consequuntur ea quos illo.\", \"Facilis nam quam. Aut beatae error in et veniam non. Rem voluptate dolores et. Autem error est voluptate consequatur in repellat. Et qui perferendis.\"]"], ["created_at", "2014-09-19 20:11:14.269117"], ["name", "alpha"], ["title", "Incidunt molestias quo ut amet consectetur odit."], ["updated_at", "2014-09-19 20:11:14.269117"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:11:14.272118"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet non ut ea consequuntur eum enim. Culpa quo accusamus ad vero natus dolores voluptas. Ab iste necessitatibus voluptate et sequi voluptatem consequuntur. Voluptatem nesciunt culpa. Dicta facere aliquam.\", \"Tempore numquam voluptas rerum et reiciendis. Id expedita labore a. Qui quisquam et dolores quis. Suscipit est animi minima.\"]"], ["created_at", "2014-09-19 20:11:14.275522"], ["name", "beta"], ["title", "Quia pariatur dicta doloremque corrupti."], ["updated_at", "2014-09-19 20:11:14.275522"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:11:14.278438"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos perspiciatis similique. Vero ratione omnis non corporis ea et. Veritatis sunt odio et eligendi ab distinctio quidem.\", \"Ea quia quo perspiciatis. Illum aut et rerum veniam. Ea laborum quaerat odit dicta tempore voluptatum.\"]"], ["created_at", "2014-09-19 20:11:14.282174"], ["name", "alpha"], ["title", "Possimus rem aspernatur blanditiis dolorum."], ["updated_at", "2014-09-19 20:11:14.282174"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:11:14.285155"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore eos nulla dolorem numquam placeat aut at. Qui sint non voluptatem totam neque vero. Itaque dicta voluptas vel. Voluptatum pariatur incidunt voluptatibus. Qui dolorem et.\", \"Officiis vitae cum ipsum qui repellendus sint veniam. Dolor sed quia quaerat labore repudiandae animi occaecati. Dolorum blanditiis explicabo dicta. Tenetur asperiores at voluptates et sequi. Omnis enim cumque dolor deleniti beatae.\"]"], ["created_at", "2014-09-19 20:11:14.288467"], ["name", "beta"], ["title", "Tempora iure eum reiciendis sit expedita ab ipsam."], ["updated_at", "2014-09-19 20:11:14.288467"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:11:14.291822"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.298008"], ["updated_at", "2014-09-19 20:11:14.298008"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.299721"], ["updated_at", "2014-09-19 20:11:14.299721"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bf765e49') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis provident dolorem commodi officia consequatur architecto molestias. Fuga dignissimos possimus. Aut doloremque corporis. Animi eos non qui quia suscipit repellat. Eligendi cumque inventore suscipit.\", \"Id mollitia aliquid omnis. Dignissimos qui vel. Fugit omnis ex et in non. Laborum amet molestiae explicabo sit dolorum.\"]"], ["created_at", "2014-09-19 20:11:14.302526"], ["name", "contract_bf765e49"], ["title", "Et cum consectetur eos molestiae mollitia debitis."], ["updated_at", "2014-09-19 20:11:14.302526"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.310385"], ["updated_at", "2014-09-19 20:11:14.310385"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.312611"], ["updated_at", "2014-09-19 20:11:14.312611"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f110047e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil fugiat nisi laboriosam est praesentium. Vel qui at amet earum. Nobis quod enim in.\", \"Ad iusto beatae occaecati accusamus error. Aut at soluta doloremque repellendus animi cupiditate neque. Eius tempora consequatur saepe. Eum ut sint sed earum.\"]"], ["created_at", "2014-09-19 20:11:14.316163"], ["name", "contract_f110047e"], ["title", "Ab doloremque atque voluptatem aut et fuga quis."], ["updated_at", "2014-09-19 20:11:14.316163"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.320719"], ["updated_at", "2014-09-19 20:11:14.320719"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.322685"], ["updated_at", "2014-09-19 20:11:14.322685"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_94a48a2e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam tempora odio rem velit. Nemo laborum cum eius. Eius ea quia voluptatem voluptatem error. Dolorum facilis similique excepturi corrupti. Voluptatem sit vero repudiandae quam.\", \"Cum consequuntur consequatur porro necessitatibus accusantium quo. Dignissimos officia exercitationem unde. Ad rem aspernatur dolor est praesentium.\"]"], ["created_at", "2014-09-19 20:11:14.326619"], ["name", "contract_94a48a2e"], ["title", "Aut beatae debitis incidunt a voluptatem blanditiis."], ["updated_at", "2014-09-19 20:11:14.326619"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.332228"], ["updated_at", "2014-09-19 20:11:14.332228"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.333935"], ["updated_at", "2014-09-19 20:11:14.333935"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ec3b3247') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos asperiores et. Quis laboriosam fugit eum ratione. At et fugiat earum veritatis.\", \"Itaque id magnam quia quis temporibus non. Ea et earum itaque voluptas dicta. Repudiandae architecto ipsa ut odit necessitatibus ut. Saepe incidunt recusandae dolores.\"]"], ["created_at", "2014-09-19 20:11:14.336753"], ["name", "contract_ec3b3247"], ["title", "Rerum praesentium sunt omnis quia aliquam magni."], ["updated_at", "2014-09-19 20:11:14.336753"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 15, 13, 18, 16, 14, 12, 3, 6, 8, 7, 21, 11, 4, 10, 2, 1, 19, 22, 9, 20, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.347259"], ["updated_at", "2014-09-19 20:11:14.347259"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.348896"], ["updated_at", "2014-09-19 20:11:14.348896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0e589d0c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et praesentium quidem. Laborum quo commodi magni quod id possimus. Velit iure commodi facilis.\", \"Deserunt vel quia recusandae voluptas inventore quia. Voluptatem voluptatem dignissimos non quibusdam enim quae. Recusandae omnis quo. Et ipsum ea quia qui velit odit eligendi. Mollitia est ipsa qui quam sit.\"]"], ["created_at", "2014-09-19 20:11:14.351629"], ["name", "contract_0e589d0c"], ["title", "In omnis id."], ["updated_at", "2014-09-19 20:11:14.351629"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.356833"], ["updated_at", "2014-09-19 20:11:14.356833"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.358469"], ["updated_at", "2014-09-19 20:11:14.358469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_05c66dbf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis at architecto corrupti quidem laudantium adipisci quia. Magni sunt molestiae inventore assumenda est quaerat. Molestiae vero voluptatibus ipsa. Aperiam nulla vero. Hic tempora recusandae voluptate explicabo.\", \"Ipsa commodi quia. Est voluptatibus ullam accusantium. Labore voluptas saepe. Cum fugiat suscipit aut possimus veniam.\"]"], ["created_at", "2014-09-19 20:11:14.361170"], ["name", "contract_05c66dbf"], ["title", "Aperiam dignissimos possimus provident."], ["updated_at", "2014-09-19 20:11:14.361170"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_05c66dbf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_05c66dbf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:11:14.364269"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_05c66dbf' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.371278"], ["updated_at", "2014-09-19 20:11:14.371278"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.372801"], ["updated_at", "2014-09-19 20:11:14.372801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e9b77954') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id reprehenderit provident eum reiciendis dolorem et. Minima officia repudiandae perspiciatis qui. Sed dignissimos harum molestias rerum est. Ut rem dolorem fugiat natus commodi. Non est quia pariatur et ab fugiat distinctio.\", \"Consectetur aut est et incidunt et esse vel. Occaecati exercitationem atque facere qui. Nesciunt dicta nostrum ut culpa. Molestiae explicabo similique.\"]"], ["created_at", "2014-09-19 20:11:14.375378"], ["name", "contract_e9b77954"], ["title", "Aliquid consequatur sequi."], ["updated_at", "2014-09-19 20:11:14.375378"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:11:14.378833"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:11:14.378833"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.382952"], ["updated_at", "2014-09-19 20:11:14.382952"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.384874"], ["updated_at", "2014-09-19 20:11:14.384874"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_34da7871') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione in occaecati minus molestias quia nam eos. Dolores vel corrupti quis fugit tenetur velit non. Accusamus esse numquam sit ad vel incidunt. Dolorem temporibus numquam alias occaecati. Laborum inventore ducimus.\", \"Fugit nihil quia quia eum ullam praesentium. Suscipit consequuntur qui magni nostrum. Magnam officiis earum cupiditate qui ut.\"]"], ["created_at", "2014-09-19 20:11:14.387602"], ["name", "contract_34da7871"], ["title", "Exercitationem dolor in."], ["updated_at", "2014-09-19 20:11:14.387602"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.392379"], ["updated_at", "2014-09-19 20:11:14.392379"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.394092"], ["updated_at", "2014-09-19 20:11:14.394092"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_d8ce7c31') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut eum quia ea aliquam quis voluptates tenetur. Facere ut nulla occaecati eveniet. Incidunt aut et. Perferendis ratione eligendi fuga voluptatem.\", \"Similique est nesciunt. Est fugit dignissimos rerum est. Similique aut nihil magnam voluptas.\"]"], ["created_at", "2014-09-19 20:11:14.396890"], ["name", "contract_d8ce7c31"], ["title", "Nulla iste et."], ["updated_at", "2014-09-19 20:11:14.396890"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.400990"], ["updated_at", "2014-09-19 20:11:14.400990"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.402503"], ["updated_at", "2014-09-19 20:11:14.402503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d3cecc25') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque aut quia. Ea neque id. Et explicabo ut voluptatem dignissimos.\", \"Ut sit sunt nobis. Ipsa quam omnis cupiditate velit iste. Voluptas quos corrupti natus ullam.\"]"], ["created_at", "2014-09-19 20:11:14.405042"], ["name", "contract_d3cecc25"], ["title", "Sit iste voluptas eum dolor."], ["updated_at", "2014-09-19 20:11:14.405042"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d3cecc25"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_d3cecc25') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:11:14.408138"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.413050"], ["updated_at", "2014-09-19 20:11:14.413050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.414593"], ["updated_at", "2014-09-19 20:11:14.414593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c0d79f4d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae deserunt quis laborum explicabo facilis. Modi neque eveniet aspernatur incidunt consequatur saepe magnam. Maiores et omnis architecto dolores.\", \"Et nulla asperiores quo corporis commodi. Sed quisquam necessitatibus amet facere assumenda. Sed ut nesciunt et rem cupiditate nobis quod.\"]"], ["created_at", "2014-09-19 20:11:14.417404"], ["name", "contract_c0d79f4d"], ["title", "Quae velit ratione."], ["updated_at", "2014-09-19 20:11:14.417404"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.423377"], ["updated_at", "2014-09-19 20:11:14.423377"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.425107"], ["updated_at", "2014-09-19 20:11:14.425107"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_24dc3d85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam sed eos autem. Doloribus quia ratione corrupti itaque natus. Eum earum repudiandae quam molestias dolorem architecto. Eius cumque eum ut vel at velit.\", \"Minus non quod voluptatem. Rerum et qui libero fugit nemo. Porro a saepe molestias qui et.\"]"], ["created_at", "2014-09-19 20:11:14.427838"], ["name", "contract_24dc3d85"], ["title", "Sed a et doloremque magni."], ["updated_at", "2014-09-19 20:11:14.427838"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24dc3d85"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_24dc3d85') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:11:14.432603"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.436851"], ["updated_at", "2014-09-19 20:11:14.436851"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.438332"], ["updated_at", "2014-09-19 20:11:14.438332"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_66cdcca0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis et unde consequuntur. In accusantium totam non. Recusandae quam dolor quod id in pariatur. Reprehenderit blanditiis dolor velit praesentium aperiam est itaque.\", \"Quasi quibusdam dolor qui. Et autem maxime et delectus. Praesentium quae tempore.\"]"], ["created_at", "2014-09-19 20:11:14.440857"], ["name", "contract_66cdcca0"], ["title", "Voluptatibus similique aliquam eveniet."], ["updated_at", "2014-09-19 20:11:14.440857"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.450765"], ["updated_at", "2014-09-19 20:11:14.450765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.452437"], ["updated_at", "2014-09-19 20:11:14.452437"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f9e7262f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis commodi nostrum quis nihil nihil. Modi laudantium fuga saepe sit autem in. Iusto qui quis minus nesciunt deleniti molestiae.\", \"Cumque voluptatem dolor repellat eum aliquam neque. Corporis minima ut hic sunt. In natus aut est. Libero quia eos molestias quaerat aut soluta velit.\"]"], ["created_at", "2014-09-19 20:11:14.455039"], ["name", "contract_f9e7262f"], ["title", "Explicabo voluptatem asperiores rerum."], ["updated_at", "2014-09-19 20:11:14.455039"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9e7262f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_f9e7262f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:11:14.458955"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9e7262f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_f9e7262f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:11:14.466464"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.472701"], ["updated_at", "2014-09-19 20:11:14.472701"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.474822"], ["updated_at", "2014-09-19 20:11:14.474822"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e8434661') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe voluptas voluptatibus ipsa esse dolores at tempore. Sapiente voluptatum nemo velit ea beatae hic est. Rerum blanditiis dolore beatae.\", \"Quo non voluptates est est. Distinctio quis quaerat quidem. Sed qui tenetur.\"]"], ["created_at", "2014-09-19 20:11:14.478334"], ["name", "contract_e8434661"], ["title", "Molestias ut omnis dolorem optio enim nihil."], ["updated_at", "2014-09-19 20:11:14.478334"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8434661"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_e8434661') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:11:14.482051"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.487631"], ["updated_at", "2014-09-19 20:11:14.487631"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.489849"], ["updated_at", "2014-09-19 20:11:14.489849"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_ab2efb9b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe fugit maxime. Esse fugit mollitia. Sunt qui accusantium. Et autem sed atque est aut et. Consectetur occaecati eos ut voluptas unde odit.\", \"Tempore sit non doloribus. Quia fugit cupiditate sint animi. Ut dolore impedit labore rerum sunt deleniti est. Voluptas occaecati laboriosam illum iure eos. Suscipit architecto ad rerum praesentium repudiandae dolores laudantium.\"]"], ["created_at", "2014-09-19 20:11:14.493102"], ["name", "contract_ab2efb9b"], ["title", "Et sapiente temporibus rerum perspiciatis quod minima."], ["updated_at", "2014-09-19 20:11:14.493102"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.500244"], ["updated_at", "2014-09-19 20:11:14.500244"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.502048"], ["updated_at", "2014-09-19 20:11:14.502048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6a100baa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas vel voluptate sint. Consequatur molestias quo dolorem ullam. Hic expedita velit et.\", \"Qui officia recusandae est autem labore sed voluptatem. Consectetur ipsam enim. Qui inventore natus delectus et. Consequatur quam aut assumenda natus eos dolor et. Voluptas ipsum quidem vel corrupti laborum.\"]"], ["created_at", "2014-09-19 20:11:14.504806"], ["name", "contract_6a100baa"], ["title", "Qui qui temporibus iure voluptas odit totam aut."], ["updated_at", "2014-09-19 20:11:14.504806"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1  (0.0ms) rollback transaction Completed 422 Unprocessable Entity in 2ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.510608"], ["updated_at", "2014-09-19 20:11:14.510608"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:11:14.512530"], ["updated_at", "2014-09-19 20:11:14.512530"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a91d7aac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus occaecati voluptas error quod consectetur deleniti temporibus. Est laudantium aut. Voluptatem optio recusandae explicabo rerum tempora quas. Quisquam assumenda ut illo quia et unde.\", \"Est similique nostrum delectus doloribus reiciendis dolore. Rem nihil delectus id. Consectetur sit ratione amet veritatis sequi pariatur aliquam. Ut illum nihil rerum fugiat. Laboriosam eos et quibusdam et.\"]"], ["created_at", "2014-09-19 20:11:14.515348"], ["name", "contract_a91d7aac"], ["title", "Illo voluptas ut rerum sit."], ["updated_at", "2014-09-19 20:11:14.515348"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 37]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 37]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 37 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_cc7cc011') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione sed excepturi provident voluptatem. Ratione cumque quia voluptatem dolore. Blanditiis atque aperiam doloribus dignissimos nisi. Sed eum voluptatum mollitia reiciendis fuga. Tenetur voluptates architecto.\", \"Pariatur ipsa corrupti sapiente natus nisi vel. Et voluptates ut consectetur mollitia est odio non. Veniam aut dolores.\"]"], ["created_at", "2014-09-19 20:12:37.259468"], ["name", "contract_cc7cc011"], ["title", "Quidem minima quae explicabo qui deleniti eaque."], ["updated_at", "2014-09-19 20:12:37.259468"]]  (2.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc7cc011"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cc7cc011') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:12:37.272997"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.282227"], ["updated_at", "2014-09-19 20:12:37.282227"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:12:37.287664"], ["updated_at", "2014-09-19 20:12:37.287664"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cc7cc011') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc7cc011"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_cc7cc011') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction 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_17dbae81') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quia ut. Est quia doloribus numquam. Aperiam voluptates eius debitis est. Modi beatae et qui odit quae sequi perferendis.\", \"Accusamus quo sed reiciendis cum. Et ipsam voluptas. Non reprehenderit illo reiciendis aut eum ullam. Quas error aut quidem nihil sint dolorum. Sunt et explicabo dolor corporis esse.\"]"], ["created_at", "2014-09-19 20:12:37.301633"], ["name", "contract_17dbae81"], ["title", "Ut quaerat exercitationem ullam et fugiat voluptatem laborum."], ["updated_at", "2014-09-19 20:12:37.301633"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_17dbae81"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_17dbae81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:12:37.305009"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_17dbae81' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_17dbae81') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quia ut. Est quia doloribus numquam. Aperiam voluptates eius debitis est. Modi beatae et qui odit quae sequi perferendis.\", \"Accusamus quo sed reiciendis cum. Et ipsam voluptas. Non reprehenderit illo reiciendis aut eum ullam. Quas error aut quidem nihil sint dolorum. Sunt et explicabo dolor corporis esse.\"]"], ["created_at", "2014-09-19 20:12:37.310663"], ["name", "contract_17dbae81"], ["title", "Ut quaerat exercitationem ullam et fugiat voluptatem laborum."], ["updated_at", "2014-09-19 20:12:37.310663"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_17dbae81"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_17dbae81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:12:37.314104"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b399d99f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda rerum consectetur quia. Totam laboriosam accusantium. Aspernatur maiores aut dolore accusamus et. Dolores molestiae omnis quia expedita neque voluptas ut.\", \"Praesentium rerum modi aut consequatur. Tenetur ullam deleniti aut enim consequatur ut ut. Ratione voluptas debitis. Et voluptatum possimus est. Porro ullam voluptatem minus magni.\"]"], ["created_at", "2014-09-19 20:12:37.318175"], ["name", "contract_b399d99f"], ["title", "Qui ut occaecati odit vitae placeat."], ["updated_at", "2014-09-19 20:12:37.318175"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b399d99f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_b399d99f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:12:37.321309"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b399d99f' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda rerum consectetur quia. Totam laboriosam accusantium. Aspernatur maiores aut dolore accusamus et. Dolores molestiae omnis quia expedita neque voluptas ut.\", \"Praesentium rerum modi aut consequatur. Tenetur ullam deleniti aut enim consequatur ut ut. Ratione voluptas debitis. Et voluptatum possimus est. Porro ullam voluptatem minus magni.\"]"], ["created_at", "2014-09-19 20:12:37.324937"], ["name", "joe"], ["title", "Qui ut occaecati odit vitae placeat."], ["updated_at", "2014-09-19 20:12:37.324937"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:12:37.328123"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_252e150d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos ea sequi doloremque reiciendis ipsa. Alias qui corrupti ipsa inventore. Magnam et dolorem ratione asperiores est corporis.\", \"Impedit in fugit dolorem qui est iure. Sed molestiae minus architecto cupiditate. Distinctio necessitatibus at et est labore nobis. Architecto omnis tempora optio autem cumque aperiam. Possimus aut aperiam debitis architecto quo.\"]"], ["created_at", "2014-09-19 20:12:37.332210"], ["name", "contract_252e150d"], ["title", "Culpa voluptates ullam molestiae quia adipisci et."], ["updated_at", "2014-09-19 20:12:37.332210"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_252e150d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_252e150d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:12:37.337368"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_252e150d"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_252e150d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_252e150d') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:12:37.344783"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.348780"], ["updated_at", "2014-09-19 20:12:37.348780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.351201"], ["updated_at", "2014-09-19 20:12:37.351201"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3eaca80a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima rerum facilis sunt. Fugit vero illo. Aut sint distinctio unde voluptate et. Accusamus voluptate sit. Est ducimus dolor fugit consequatur voluptatum voluptatem asperiores.\", \"Velit quasi maxime illo. Et porro labore inventore dolor. Et velit nihil quia fuga. Aperiam dolores libero totam. Praesentium accusantium incidunt libero architecto enim dolor.\"]"], ["created_at", "2014-09-19 20:12:37.354396"], ["name", "contract_3eaca80a"], ["title", "Nam unde enim ipsam necessitatibus et nihil repellendus."], ["updated_at", "2014-09-19 20:12:37.354396"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3eaca80a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_3eaca80a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:12:37.357530"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.360100"], ["updated_at", "2014-09-19 20:12:37.360100"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:12:37.363367"], ["updated_at", "2014-09-19 20:12:37.363367"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.374965"], ["updated_at", "2014-09-19 20:12:37.374965"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.376738"], ["updated_at", "2014-09-19 20:12:37.376738"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aad53984') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati sapiente sed tempore ut. Sint nulla facere doloribus voluptatem repellat. In maxime ut. Quisquam laudantium magni rerum.\", \"Consequatur sunt repellendus est voluptas voluptatem. Repellat perspiciatis quisquam voluptatem nam minima quas. Qui corrupti sit excepturi cupiditate nemo.\"]"], ["created_at", "2014-09-19 20:12:37.380090"], ["name", "contract_aad53984"], ["title", "Voluptatum sit aliquid."], ["updated_at", "2014-09-19 20:12:37.380090"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aad53984"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_aad53984') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:12:37.384275"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.387557"], ["updated_at", "2014-09-19 20:12:37.387557"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 20:12:37.390131"], ["updated_at", "2014-09-19 20:12:37.390131"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.398053"], ["updated_at", "2014-09-19 20:12:37.398053"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.399708"], ["updated_at", "2014-09-19 20:12:37.399708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_228e9d48') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis repudiandae veritatis et. Dignissimos id velit vero. Voluptatem itaque dignissimos voluptatem ex expedita laudantium ipsum. Fugit nam soluta impedit error qui autem. Quidem totam natus voluptas illo velit.\", \"Nulla rem recusandae omnis omnis sed. Sit ipsa dolorem vero facilis perferendis. Amet unde sunt. At pariatur soluta autem.\"]"], ["created_at", "2014-09-19 20:12:37.402859"], ["name", "contract_228e9d48"], ["title", "Et laborum est cum voluptate."], ["updated_at", "2014-09-19 20:12:37.402859"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_228e9d48"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_228e9d48') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:12:37.406187"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.408614"], ["updated_at", "2014-09-19 20:12:37.408614"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:12:37.411492"], ["updated_at", "2014-09-19 20:12:37.411492"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.420149"], ["updated_at", "2014-09-19 20:12:37.420149"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.422243"], ["updated_at", "2014-09-19 20:12:37.422243"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_252f329f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti autem nam repellat maiores. Perspiciatis aperiam et a dolor. Dolor et et ut quisquam explicabo laboriosam quibusdam. Debitis eveniet vitae quia illum sequi iusto laborum.\", \"Ut eum eveniet aspernatur dicta enim. Aliquam optio tempora ut voluptas sint nihil perspiciatis. Corporis magni ea ipsum atque in temporibus. Doloribus ut nulla molestiae qui. Quia sed accusantium dolores alias.\"]"], ["created_at", "2014-09-19 20:12:37.426091"], ["name", "contract_252f329f"], ["title", "Dolor reiciendis molestiae."], ["updated_at", "2014-09-19 20:12:37.426091"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_252f329f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_252f329f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:12:37.429474"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.431971"], ["updated_at", "2014-09-19 20:12:37.431971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:12:37.434259"], ["updated_at", "2014-09-19 20:12:37.434259"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.439424"], ["updated_at", "2014-09-19 20:12:37.439424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.441071"], ["updated_at", "2014-09-19 20:12:37.441071"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.449271"], ["updated_at", "2014-09-19 20:12:37.449271"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.451045"], ["updated_at", "2014-09-19 20:12:37.451045"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.455362"], ["updated_at", "2014-09-19 20:12:37.455362"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.457158"], ["updated_at", "2014-09-19 20:12:37.457158"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8d3f48c2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam fugiat facilis eos quia et molestiae. Est est neque iure assumenda dolore. Ea quos debitis deserunt et. Est corporis qui.\", \"Illum eos quia et et recusandae ut quaerat. Quia voluptates esse quod. Aut accusamus sed.\"]"], ["created_at", "2014-09-19 20:12:37.460758"], ["name", "contract_8d3f48c2"], ["title", "In reprehenderit exercitationem sint."], ["updated_at", "2014-09-19 20:12:37.460758"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 2, 9, 6, 10, 7, 11, 8, 4, 1, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.471481"], ["updated_at", "2014-09-19 20:12:37.471481"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.473257"], ["updated_at", "2014-09-19 20:12:37.473257"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3085a5e6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae et quia totam ex pariatur quia. Nihil fugiat ipsam. Autem consequatur iure optio omnis. Minima nihil quasi iusto aspernatur asperiores consequatur.\", \"Voluptatibus adipisci unde qui at. Provident ipsam minima nihil quis quo. Dolorum omnis asperiores earum voluptas quasi non quisquam. Ut blanditiis qui explicabo.\"]"], ["created_at", "2014-09-19 20:12:37.476185"], ["name", "contract_3085a5e6"], ["title", "Inventore quo alias vitae quidem molestiae earum."], ["updated_at", "2014-09-19 20:12:37.476185"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.483258"], ["updated_at", "2014-09-19 20:12:37.483258"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.484943"], ["updated_at", "2014-09-19 20:12:37.484943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ed52cebf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque vel dolore aperiam assumenda quaerat. Dicta quae sed non praesentium. Ut exercitationem asperiores enim cum aut incidunt voluptatibus. Nulla aut minima deserunt. Et dolorem laborum quia dolore rem voluptatem aperiam.\", \"Vel natus est. Quaerat sunt soluta commodi voluptatem occaecati earum. Quo eligendi facere repudiandae nobis et.\"]"], ["created_at", "2014-09-19 20:12:37.487620"], ["name", "contract_ed52cebf"], ["title", "Doloribus explicabo atque."], ["updated_at", "2014-09-19 20:12:37.487620"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 13]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 13]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 13 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.495228"], ["updated_at", "2014-09-19 20:12:37.495228"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.496759"], ["updated_at", "2014-09-19 20:12:37.496759"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_92fb9e66') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut illum autem possimus reprehenderit quidem facere. Voluptates iste facere aut excepturi porro. Aut beatae quas minus veniam dolores ratione temporibus. Repellat aliquam omnis eos est quia facere doloremque.\", \"Est consequatur et modi ab dolorum. Dolor dicta maiores laborum impedit dolore facilis eum. Veniam reiciendis ut ut impedit placeat eos. Assumenda molestiae velit et occaecati quis ducimus.\"]"], ["created_at", "2014-09-19 20:12:37.499310"], ["name", "contract_92fb9e66"], ["title", "Eos voluptatem nesciunt facere doloremque in."], ["updated_at", "2014-09-19 20:12:37.499310"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.503721"], ["updated_at", "2014-09-19 20:12:37.503721"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.505204"], ["updated_at", "2014-09-19 20:12:37.505204"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5a762f0a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus qui similique voluptas sint neque. Pariatur beatae molestias in. Voluptate sed a sed quis laudantium maiores. Ut est ut quo repudiandae. Dolorum omnis molestias mollitia odit at.\", \"Dolores nesciunt repellat culpa qui voluptate. Quia ipsa ipsam et alias sit harum tempora. Dicta ut illo molestiae culpa quo repudiandae minima. Sed et numquam quo. Quasi laudantium asperiores nostrum veniam.\"]"], ["created_at", "2014-09-19 20:12:37.507829"], ["name", "contract_5a762f0a"], ["title", "Laborum neque eum sit a dolores."], ["updated_at", "2014-09-19 20:12:37.507829"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5a762f0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_5a762f0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:12:37.512325"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.516449"], ["updated_at", "2014-09-19 20:12:37.516449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.518027"], ["updated_at", "2014-09-19 20:12:37.518027"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35950eaf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores ea voluptatem qui. Et animi magnam molestias esse mollitia nihil. Repellendus sed neque non deleniti aperiam. Ipsa accusantium blanditiis non dolor ut. Magnam labore facere beatae.\", \"Et velit voluptatem repellat rerum maxime magnam tenetur. Repellendus est accusantium dolorem omnis in ut. Laboriosam quia dolorem id voluptates aperiam minus voluptatem.\"]"], ["created_at", "2014-09-19 20:12:37.521378"], ["name", "contract_35950eaf"], ["title", "Architecto neque inventore."], ["updated_at", "2014-09-19 20:12:37.521378"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35950eaf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_35950eaf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:12:37.524405"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.530324"], ["updated_at", "2014-09-19 20:12:37.530324"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.531806"], ["updated_at", "2014-09-19 20:12:37.531806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3c8202e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde qui illo temporibus iure voluptates. Minus adipisci qui cumque. Suscipit pariatur itaque et reiciendis quasi et.\", \"Aliquam est veritatis quae. Ut voluptatibus iusto neque sed. Optio voluptatem repellendus eveniet in odit nostrum. Dolores velit consequuntur ratione ea voluptatum id.\"]"], ["created_at", "2014-09-19 20:12:37.534315"], ["name", "contract_3c8202e2"], ["title", "Dolorem molestiae dolore exercitationem harum sequi quasi at."], ["updated_at", "2014-09-19 20:12:37.534315"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:12:37.537629"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:12:37.537629"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.541243"], ["updated_at", "2014-09-19 20:12:37.541243"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.542825"], ["updated_at", "2014-09-19 20:12:37.542825"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_bbd063cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga ut vel est excepturi. Et explicabo occaecati in. Atque totam enim. Fugit maxime et laudantium velit nihil voluptatem esse.\", \"Consequatur iusto dolorum nulla ipsam perferendis aliquid veniam. Quaerat atque aliquid nobis qui error aut inventore. Porro minima quis ab et eos.\"]"], ["created_at", "2014-09-19 20:12:37.545527"], ["name", "contract_bbd063cf"], ["title", "Atque ab culpa."], ["updated_at", "2014-09-19 20:12:37.545527"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.550582"], ["updated_at", "2014-09-19 20:12:37.550582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.552075"], ["updated_at", "2014-09-19 20:12:37.552075"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4d2ff0f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ut suscipit. Quod est ea. Aut quidem est ullam temporibus vel. Tempore blanditiis et. Vero adipisci ea ut sapiente quia facere.\", \"Eos molestiae in ad blanditiis. Nihil minima dicta voluptatibus sed vel et. Aut aut pariatur dolore. Odio ipsa voluptatem delectus possimus.\"]"], ["created_at", "2014-09-19 20:12:37.554657"], ["name", "contract_4d2ff0f1"], ["title", "Et et rerum provident."], ["updated_at", "2014-09-19 20:12:37.554657"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.558526"], ["updated_at", "2014-09-19 20:12:37.558526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.560035"], ["updated_at", "2014-09-19 20:12:37.560035"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f8af81b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus culpa laudantium ratione. Quod molestiae voluptatibus ipsam et. Consequatur rerum possimus. Est aut officiis sapiente nobis voluptatem ad voluptatem.\", \"Est repudiandae minima facilis. Aut quae nemo hic. Temporibus modi ipsam et qui. Asperiores nam harum neque. Mollitia inventore ex porro est.\"]"], ["created_at", "2014-09-19 20:12:37.562566"], ["name", "contract_6f8af81b"], ["title", "Praesentium voluptatem qui velit ea quia consequatur iure."], ["updated_at", "2014-09-19 20:12:37.562566"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f8af81b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_6f8af81b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:12:37.565848"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6f8af81b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.573578"], ["updated_at", "2014-09-19 20:12:37.573578"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.575185"], ["updated_at", "2014-09-19 20:12:37.575185"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6fad63dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod ad enim ipsa itaque qui. Praesentium iste minus fuga illo distinctio sint. Aut non quo provident sit. Et ea quidem doloribus enim modi et. Earum sint quaerat.\", \"Qui dignissimos unde ut recusandae quaerat excepturi facere. Voluptas atque eveniet deleniti. Et et iste dolores asperiores enim modi explicabo. Amet beatae magni et similique est.\"]"], ["created_at", "2014-09-19 20:12:37.577903"], ["name", "contract_6fad63dc"], ["title", "Quia et cumque perspiciatis est."], ["updated_at", "2014-09-19 20:12:37.577903"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6fad63dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_6fad63dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:12:37.580942"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.585881"], ["updated_at", "2014-09-19 20:12:37.585881"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.587391"], ["updated_at", "2014-09-19 20:12:37.587391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_83feabf3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nihil velit deleniti et magni. Quod quasi adipisci. Vero eveniet neque fugiat aliquid eius magni.\", \"Sapiente dolor vitae consequatur natus. Sapiente aut hic quis ipsa aut nihil. Sit aliquid rem. Ut quos illo consectetur rerum alias ut. Ipsum quod perspiciatis.\"]"], ["created_at", "2014-09-19 20:12:37.589970"], ["name", "contract_83feabf3"], ["title", "Occaecati reprehenderit ut delectus corrupti sed."], ["updated_at", "2014-09-19 20:12:37.589970"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83feabf3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_83feabf3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:12:37.593033"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83feabf3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_83feabf3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:12:37.598272"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.602223"], ["updated_at", "2014-09-19 20:12:37.602223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.603737"], ["updated_at", "2014-09-19 20:12:37.603737"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3a2a46b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione quos eius maxime a suscipit eos quasi. Aut quaerat expedita. Aut consectetur nam debitis. Consequatur officia iste enim tempore. Eveniet delectus necessitatibus quidem iste perspiciatis ut.\", \"Vero iste aut enim molestiae odit laborum. Nulla eaque sed sunt aut. Voluptatibus ducimus laudantium. Qui eum deleniti ut repellat in molestiae. Deleniti nihil distinctio architecto repellat vel animi.\"]"], ["created_at", "2014-09-19 20:12:37.606302"], ["name", "contract_3a2a46b1"], ["title", "Quam hic eum dolor asperiores aut et."], ["updated_at", "2014-09-19 20:12:37.606302"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.613828"], ["updated_at", "2014-09-19 20:12:37.613828"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.616077"], ["updated_at", "2014-09-19 20:12:37.616077"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_5e47ff72') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati vitae quia. Impedit numquam dolor natus et eum asperiores sit. Provident vitae doloremque. Maiores eligendi rerum quisquam dolores sit cupiditate nihil. Et velit dolorum vel.\", \"Nulla fugiat ut aut error. Et adipisci quaerat temporibus reprehenderit sint mollitia. Dolor ullam ratione qui consequatur perspiciatis vero. Fuga repellendus dolorem hic.\"]"], ["created_at", "2014-09-19 20:12:37.619515"], ["name", "contract_5e47ff72"], ["title", "Reprehenderit et tempora quis minima beatae et iure."], ["updated_at", "2014-09-19 20:12:37.619515"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.623608"], ["updated_at", "2014-09-19 20:12:37.623608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.625139"], ["updated_at", "2014-09-19 20:12:37.625139"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ab0798f3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque laborum qui. Dignissimos magnam sunt deleniti nulla distinctio omnis qui. Qui commodi similique reiciendis quis.\", \"Omnis sed modi. Quis doloremque veritatis commodi ea. Iste est aut.\"]"], ["created_at", "2014-09-19 20:12:37.627690"], ["name", "contract_ab0798f3"], ["title", "Et omnis totam laboriosam omnis fugit error molestiae."], ["updated_at", "2014-09-19 20:12:37.627690"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:12:37.631355"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.635790"], ["updated_at", "2014-09-19 20:12:37.635790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.637205"], ["updated_at", "2014-09-19 20:12:37.637205"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_bc4c5253') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam sed illum. Assumenda consequatur vel magni. Natus nostrum nobis. Temporibus dolorem possimus quo ea vel. Iste voluptas fuga rerum.\", \"Placeat ut repudiandae est quia alias. Ut sunt qui recusandae. Quae qui atque dolores expedita.\"]"], ["created_at", "2014-09-19 20:12:37.639807"], ["name", "contract_bc4c5253"], ["title", "Repudiandae et necessitatibus voluptatem rerum."], ["updated_at", "2014-09-19 20:12:37.639807"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.643521"], ["updated_at", "2014-09-19 20:12:37.643521"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.645022"], ["updated_at", "2014-09-19 20:12:37.645022"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7d4383e0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos et assumenda ut. Voluptate iure et sequi. Accusantium earum et inventore. Blanditiis et fuga quis ducimus vel nemo. Corporis voluptatem officiis eos animi vitae voluptatem dolores.\", \"Ut excepturi in quos provident nemo delectus. Eveniet unde ut assumenda in quibusdam qui. Dolores commodi architecto est distinctio et. Et laboriosam consequuntur. Est itaque alias ea dicta.\"]"], ["created_at", "2014-09-19 20:12:37.647706"], ["name", "contract_7d4383e0"], ["title", "Deleniti quas officia corporis est."], ["updated_at", "2014-09-19 20:12:37.647706"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.651975"], ["updated_at", "2014-09-19 20:12:37.651975"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.653557"], ["updated_at", "2014-09-19 20:12:37.653557"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_c77ee37f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat soluta ut. Qui praesentium autem. Cumque possimus quaerat veniam. Perferendis officia amet fuga.\", \"Facilis tempora dicta eos. Consequatur voluptatem eaque. Et iste enim nesciunt culpa. Alias odit voluptatem beatae non voluptas distinctio.\"]"], ["created_at", "2014-09-19 20:12:37.656440"], ["name", "contract_c77ee37f"], ["title", "Assumenda exercitationem eum totam earum rerum non."], ["updated_at", "2014-09-19 20:12:37.656440"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction 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_f2123526') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum repellendus amet minima tempora. Quam vitae amet et commodi. Quidem reiciendis pariatur aut.\", \"Quod quo suscipit. Cum aspernatur consequatur repudiandae aliquid eos earum deserunt. Rerum tenetur ut a odio. Illo dolor occaecati sapiente hic corrupti voluptatem dolorem.\"]"], ["created_at", "2014-09-19 20:12:37.662369"], ["name", "contract_f2123526"], ["title", "Voluptate provident dolores."], ["updated_at", "2014-09-19 20:12:37.662369"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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_4ded44d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nobis doloribus. Eum autem reprehenderit. Odit perferendis repellat consectetur excepturi in. Nobis voluptas ipsum inventore repellat aperiam laborum aliquam.\", \"Dolores similique debitis eum. Accusantium consequatur tempora. Eligendi harum nemo similique possimus.\"]"], ["created_at", "2014-09-19 20:12:37.666563"], ["name", "contract_4ded44d9"], ["title", "Quo quia esse reprehenderit."], ["updated_at", "2014-09-19 20:12:37.666563"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ded44d9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_4ded44d9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:12:37.669514"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:12:37.671994"], ["updated_at", "2014-09-19 20:12:37.671994"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam qui adipisci ut. Numquam in necessitatibus quia dolorum ut. Enim molestias id quia.\", \"Iusto quas necessitatibus modi velit. Voluptate cumque pariatur velit. Tempora est et voluptatum numquam qui laboriosam aut.\"]"], ["created_at", "2014-09-19 20:12:37.677392"], ["name", "alpha"], ["title", "At laudantium deleniti sed nihil earum."], ["updated_at", "2014-09-19 20:12:37.677392"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:12:37.680352"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi vero aut id voluptatibus nihil iusto. Tempora rerum hic veniam. Dolorem debitis porro aliquid id adipisci. Ea accusamus aut harum ullam commodi. Consequuntur molestiae autem.\", \"Consequatur tenetur ex voluptas at ullam. Totam suscipit et velit. Minima quam nesciunt praesentium.\"]"], ["created_at", "2014-09-19 20:12:37.683702"], ["name", "beta"], ["title", "Natus animi maxime."], ["updated_at", "2014-09-19 20:12:37.683702"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:12:37.688026"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis fuga eos vero. Quam et quibusdam in. Explicabo voluptates facilis enim molestiae a. Cum aut consequatur ea est.\", \"Velit asperiores odio aperiam cum. Incidunt qui porro et est sapiente velit. Voluptatibus id blanditiis cupiditate placeat amet.\"]"], ["created_at", "2014-09-19 20:12:37.697777"], ["name", "alpha"], ["title", "Labore aspernatur rerum quibusdam dolorum recusandae vitae."], ["updated_at", "2014-09-19 20:12:37.697777"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:12:37.701319"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt quam quas rerum. Est molestiae repudiandae. Quos dolores animi eos. Explicabo ut est ut quis fugit. Atque magni quas animi.\", \"Voluptate ut modi voluptatem. Dolores placeat nam accusamus inventore quo labore ea. Quasi quibusdam omnis exercitationem maiores.\"]"], ["created_at", "2014-09-19 20:12:37.704748"], ["name", "beta"], ["title", "Vitae consequuntur ut voluptate quo."], ["updated_at", "2014-09-19 20:12:37.704748"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:12:37.707730"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem quia odit harum et molestiae asperiores. Nisi perferendis nemo deleniti qui. Expedita assumenda magnam. Amet aut ex quod laborum.\", \"Nihil quae rerum unde voluptatem ab autem. Fugiat et eligendi libero quia eaque velit. Et non autem laboriosam voluptatem.\"]"], ["created_at", "2014-09-19 20:12:37.711456"], ["name", "alpha"], ["title", "Dolores corrupti voluptate voluptas provident voluptas odio."], ["updated_at", "2014-09-19 20:12:37.711456"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:12:37.714546"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In exercitationem omnis quis consequatur earum quia minus. Accusantium sapiente et debitis voluptatem. Qui vitae culpa voluptates vel.\", \"Ullam sunt rerum. Eum adipisci voluptas atque. Facere rerum officia repellendus culpa maxime debitis perspiciatis. Ut consequuntur nulla accusantium voluptatem quam. Velit magni odit.\"]"], ["created_at", "2014-09-19 20:12:37.717845"], ["name", "beta"], ["title", "Officiis libero optio."], ["updated_at", "2014-09-19 20:12:37.717845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:12:37.720810"], ["version", 3]]  (0.7ms) commit transaction  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_6ac085c0') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam modi quae placeat sapiente voluptatibus rerum. Voluptatem mollitia quis. Nihil eos quo dignissimos quas.\", \"Nihil atque enim dolor voluptatem. Fugiat praesentium et. Et quibusdam pariatur atque. Commodi qui fugiat.\"]"], ["created_at", "2014-09-19 20:13:00.284287"], ["name", "contract_6ac085c0"], ["title", "Inventore qui repudiandae debitis ullam."], ["updated_at", "2014-09-19 20:13:00.284287"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ac085c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6ac085c0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:13:00.298632"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6ac085c0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam modi quae placeat sapiente voluptatibus rerum. Voluptatem mollitia quis. Nihil eos quo dignissimos quas.\", \"Nihil atque enim dolor voluptatem. Fugiat praesentium et. Et quibusdam pariatur atque. Commodi qui fugiat.\"]"], ["created_at", "2014-09-19 20:13:00.307286"], ["name", "joe"], ["title", "Inventore qui repudiandae debitis ullam."], ["updated_at", "2014-09-19 20:13:00.307286"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:13:00.310683"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_713da827') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero ab ea. Adipisci quis nemo quibusdam et quaerat neque occaecati. Quaerat porro asperiores aliquam assumenda. Sequi laboriosam ut iure voluptas delectus.\", \"Nihil nulla expedita voluptatem et ut ducimus rerum. Dolorum sit alias. Porro consequatur aspernatur voluptatibus molestiae debitis. Et voluptates veniam mollitia non. Enim excepturi error nihil natus quod ullam quis.\"]"], ["created_at", "2014-09-19 20:13:00.315351"], ["name", "contract_713da827"], ["title", "Sed aperiam dolorem quo."], ["updated_at", "2014-09-19 20:13:00.315351"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_713da827"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_713da827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:13:00.319572"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.326771"], ["updated_at", "2014-09-19 20:13:00.326771"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:13:00.332473"], ["updated_at", "2014-09-19 20:13:00.332473"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_713da827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_713da827"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_713da827') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_071829b6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non quod vel est quae officiis ab ut. Et dolorem quibusdam voluptatem ullam sunt animi aut. Exercitationem aut voluptatem facilis voluptatem.\", \"Ipsum sint deserunt eum rerum rerum doloribus. Expedita iure provident sapiente minima rerum veritatis. Iste aut maiores. Distinctio tempore ex est aut aspernatur. Magni corporis illo odio porro deserunt incidunt ut.\"]"], ["created_at", "2014-09-19 20:13:00.347649"], ["name", "contract_071829b6"], ["title", "Omnis non omnis in et tempora."], ["updated_at", "2014-09-19 20:13:00.347649"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_071829b6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_071829b6') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:13:00.353582"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_071829b6"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_071829b6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_071829b6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:13:00.360839"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8b9fabf0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel sed in. Nulla voluptatem ratione et maiores iure iste voluptas. Autem est laboriosam repellendus. A vitae corporis suscipit deleniti ut quas.\", \"Sit ipsam officia incidunt autem praesentium. Temporibus ipsa est porro ut et ducimus. Sint minima ab. Quia iure dolore quos ipsa. Suscipit et omnis.\"]"], ["created_at", "2014-09-19 20:13:00.364701"], ["name", "contract_8b9fabf0"], ["title", "Illo dolore excepturi necessitatibus dolores officia dolorum veritatis."], ["updated_at", "2014-09-19 20:13:00.364701"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8b9fabf0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_8b9fabf0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:13:00.367609"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8b9fabf0' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_8b9fabf0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel sed in. Nulla voluptatem ratione et maiores iure iste voluptas. Autem est laboriosam repellendus. A vitae corporis suscipit deleniti ut quas.\", \"Sit ipsam officia incidunt autem praesentium. Temporibus ipsa est porro ut et ducimus. Sint minima ab. Quia iure dolore quos ipsa. Suscipit et omnis.\"]"], ["created_at", "2014-09-19 20:13:00.371209"], ["name", "contract_8b9fabf0"], ["title", "Illo dolore excepturi necessitatibus dolores officia dolorum veritatis."], ["updated_at", "2014-09-19 20:13:00.371209"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8b9fabf0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8b9fabf0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:13:00.374477"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.379762"], ["updated_at", "2014-09-19 20:13:00.379762"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.381416"], ["updated_at", "2014-09-19 20:13:00.381416"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_358bded6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos distinctio exercitationem dolorem voluptatem est. Similique in expedita accusamus dolores omnis ducimus. Quibusdam est inventore. Vero saepe voluptates voluptas quia sequi at. Ut et dolore debitis.\", \"Corrupti iste voluptatem laborum iusto sunt. Molestiae est laboriosam cupiditate error qui aut quia. Labore quasi aperiam maiores.\"]"], ["created_at", "2014-09-19 20:13:00.386067"], ["name", "contract_358bded6"], ["title", "Esse inventore ut rerum odit hic quia repudiandae."], ["updated_at", "2014-09-19 20:13:00.386067"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_358bded6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_358bded6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:13:00.390566"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.393298"], ["updated_at", "2014-09-19 20:13:00.393298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:13:00.395561"], ["updated_at", "2014-09-19 20:13:00.395561"], ["user_id", 4], ["user_type", "DummyUser"]]  (1.0ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.409266"], ["updated_at", "2014-09-19 20:13:00.409266"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.411675"], ["updated_at", "2014-09-19 20:13:00.411675"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_4215ebca') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius qui voluptatem culpa voluptatem eaque repudiandae. Ullam et maxime. Corporis quo aut aperiam ex.\", \"Maxime sunt nostrum nemo eaque. Ut doloremque pariatur facere dolorem. Eius consequuntur vero aut. Hic consequuntur molestiae velit perferendis odio cumque.\"]"], ["created_at", "2014-09-19 20:13:00.416122"], ["name", "contract_4215ebca"], ["title", "Deserunt est voluptatem est eos."], ["updated_at", "2014-09-19 20:13:00.416122"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4215ebca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_4215ebca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:13:00.420805"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.424429"], ["updated_at", "2014-09-19 20:13:00.424429"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 20:13:00.426881"], ["updated_at", "2014-09-19 20:13:00.426881"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.436592"], ["updated_at", "2014-09-19 20:13:00.436592"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.438288"], ["updated_at", "2014-09-19 20:13:00.438288"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4b2734b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum nihil adipisci est eum non repellat. Ad aut vero id repudiandae perspiciatis aut. Asperiores at quod qui voluptas.\", \"Magnam et consequatur saepe placeat aut. Ad occaecati tenetur maiores aut fugiat ut. Id deserunt fugit non quae vel vero. Cupiditate non repellendus explicabo fuga placeat. Qui et nesciunt velit.\"]"], ["created_at", "2014-09-19 20:13:00.441308"], ["name", "contract_4b2734b3"], ["title", "Inventore voluptas alias voluptatibus laboriosam non."], ["updated_at", "2014-09-19 20:13:00.441308"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4b2734b3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_4b2734b3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:13:00.444584"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.447002"], ["updated_at", "2014-09-19 20:13:00.447002"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:13:00.449784"], ["updated_at", "2014-09-19 20:13:00.449784"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.455970"], ["updated_at", "2014-09-19 20:13:00.455970"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.457640"], ["updated_at", "2014-09-19 20:13:00.457640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_677adc66') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias porro molestias. Quisquam in accusantium et quis. Assumenda et praesentium dolor dicta. Cum dolorem ad porro hic exercitationem. Impedit adipisci totam.\", \"Magni distinctio et. Deserunt quisquam molestiae rem voluptatibus cumque repudiandae sapiente. Doloribus voluptas amet sunt. Vel quae repellendus eveniet sit eaque dignissimos. Facere error sed commodi ducimus aut.\"]"], ["created_at", "2014-09-19 20:13:00.460797"], ["name", "contract_677adc66"], ["title", "Enim facere ipsum eum ea dignissimos perspiciatis quidem."], ["updated_at", "2014-09-19 20:13:00.460797"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_677adc66"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_677adc66') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:13:00.463780"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.466236"], ["updated_at", "2014-09-19 20:13:00.466236"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:13:00.468421"], ["updated_at", "2014-09-19 20:13:00.468421"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.473946"], ["updated_at", "2014-09-19 20:13:00.473946"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.475456"], ["updated_at", "2014-09-19 20:13:00.475456"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_48843193') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat aspernatur non explicabo velit non. Fugit sed non. Soluta voluptates consectetur mollitia iure.\", \"Omnis minima dolor. Dignissimos fugiat distinctio. Non ut consequatur quia. Dignissimos autem ullam temporibus dolor.\"]"], ["created_at", "2014-09-19 20:13:00.478461"], ["name", "contract_48843193"], ["title", "Itaque dolore omnis dolor quam suscipit."], ["updated_at", "2014-09-19 20:13:00.478461"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_48843193"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_48843193') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:13:00.481495"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_86519dac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem necessitatibus amet et voluptates quo molestias. Nesciunt vel voluptas minima non. In et fuga sunt quas ab. Possimus aut laboriosam delectus quia sit. Non quia et.\", \"Iusto quia et molestiae. Omnis voluptatum veniam. Sint sed est. Assumenda quibusdam nulla officiis. Earum voluptatem mollitia praesentium.\"]"], ["created_at", "2014-09-19 20:13:00.485534"], ["name", "contract_86519dac"], ["title", "Non molestiae veniam fuga tenetur in repudiandae."], ["updated_at", "2014-09-19 20:13:00.485534"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_86519dac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_86519dac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:13:00.488474"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34bb8514') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum exercitationem nemo laborum repudiandae nihil. Sed et rem et quisquam vero. Similique ut quia. Molestiae quia voluptatibus consequatur aut numquam doloribus. Eligendi enim ab eius nostrum eos autem.\", \"Non consequuntur non. Necessitatibus vitae sint est qui id quas. Ad quod id hic porro. Officia facilis voluptas esse est et. Dolor quo minima occaecati.\"]"], ["created_at", "2014-09-19 20:13:00.492971"], ["name", "contract_34bb8514"], ["title", "Eos fuga voluptas perspiciatis rerum eos alias."], ["updated_at", "2014-09-19 20:13:00.492971"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction 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_981c1d62') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet ea qui necessitatibus. Quia amet at dolores explicabo facilis sit. Earum vitae aut quod. Quae ut magni et perferendis neque error. Necessitatibus voluptatem sint dicta iusto odit sed.\", \"Accusamus culpa tempore mollitia consequuntur minima et. Voluptatibus culpa id explicabo. Modi et autem tenetur et repellat.\"]"], ["created_at", "2014-09-19 20:13:00.499878"], ["name", "contract_981c1d62"], ["title", "Et nam ut culpa est nisi maiores."], ["updated_at", "2014-09-19 20:13:00.499878"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_981c1d62"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_981c1d62') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:13:00.503314"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction 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_567e372b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi molestiae eius minima aperiam. Expedita voluptatem unde laboriosam optio molestiae ut ullam. Et illo harum consequatur possimus sit soluta reprehenderit. Aliquam voluptas illo nihil dolores. Rem est qui totam qui consequatur consequuntur.\", \"Quasi id maxime. Sequi consequatur iusto eum aliquid tempora. Placeat aut necessitatibus. Aliquid velit repudiandae culpa ad dolor et maiores. Est modi ut voluptas qui vero voluptatem commodi.\"]"], ["created_at", "2014-09-19 20:13:00.509345"], ["name", "contract_567e372b"], ["title", "Sit eum tempore voluptatibus."], ["updated_at", "2014-09-19 20:13:00.509345"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_e7ae54cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non culpa quod exercitationem dolores quasi vel. Minima sit amet. Dicta vitae dolorum eveniet voluptatum distinctio magnam repellat. Amet fuga aut nesciunt voluptas enim ut porro.\", \"Voluptatem unde praesentium autem. Id dolor magni eveniet doloribus illum. Dolorem eum voluptatem incidunt quo quis eos pariatur. Et et quam debitis est nulla rerum voluptas.\"]"], ["created_at", "2014-09-19 20:13:00.513833"], ["name", "contract_e7ae54cf"], ["title", "Omnis occaecati in dolore dolorem."], ["updated_at", "2014-09-19 20:13:00.513833"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.1ms) begin transaction 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_18c0cf2b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae eos nam. Consequatur ab excepturi. At asperiores est sunt hic eaque nulla. Itaque et quae aut nulla eius reiciendis nostrum. Ut perferendis voluptas eaque illum officia ea.\", \"Repellat expedita velit. Exercitationem repudiandae culpa accusantium. Maiores dicta iusto. Hic tempore tempora deserunt quis asperiores. Expedita minus molestiae consequatur.\"]"], ["created_at", "2014-09-19 20:13:00.520491"], ["name", "contract_18c0cf2b"], ["title", "Vel est hic natus."], ["updated_at", "2014-09-19 20:13:00.520491"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_18c0cf2b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_18c0cf2b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:13:00.524163"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_e83fe8ca') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit consequatur delectus voluptatem debitis. Error sint cumque laborum ad porro rem. Dignissimos qui reprehenderit.\", \"Beatae ipsa et dignissimos. Qui omnis iusto dignissimos nobis et. Quam non enim sapiente autem. Aut ut dolorem rerum nemo.\"]"], ["created_at", "2014-09-19 20:13:00.529544"], ["name", "contract_e83fe8ca"], ["title", "Aut corrupti officia autem voluptas repellendus."], ["updated_at", "2014-09-19 20:13:00.529544"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0185bfbb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem sit nisi itaque aliquam. Dolore provident nam reiciendis blanditiis sint accusamus sequi. Qui sit et nostrum.\", \"Illo quae sunt pariatur voluptas qui deleniti. Quaerat ipsam earum et exercitationem. Sed corporis officiis et voluptates excepturi. Assumenda dolores cupiditate omnis ducimus molestiae repudiandae. Iusto quas enim est sint.\"]"], ["created_at", "2014-09-19 20:13:00.535782"], ["name", "contract_0185bfbb"], ["title", "Quia distinctio et tempora."], ["updated_at", "2014-09-19 20:13:00.535782"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_581843dd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa ducimus vel eos illo id sint. Minima rerum harum deserunt possimus aut. Ut repellendus dicta voluptas omnis cumque qui. Ad est aliquam atque.\", \"Sit necessitatibus voluptatem odit consequatur cum. Voluptate et vel deserunt et. Numquam cumque adipisci. Sequi ut perferendis et. Dolores et omnis.\"]"], ["created_at", "2014-09-19 20:13:00.540955"], ["name", "contract_581843dd"], ["title", "Tenetur quia consequatur voluptate sit voluptatem eos."], ["updated_at", "2014-09-19 20:13:00.540955"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_0595e6c6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui dolores aspernatur quidem sapiente quis recusandae dolor. Odit maiores sunt quo tempora ex. Tenetur odit et dolorem consequatur nihil velit. Consequatur totam qui. Est ut quia cum nemo et rem.\", \"Eaque placeat commodi et accusamus optio omnis voluptatibus. Dolorem quibusdam ducimus omnis necessitatibus. Minima facilis illum rerum expedita ab non eum. Hic ut impedit excepturi aut ex. Sint voluptas dolore et vero facilis provident.\"]"], ["created_at", "2014-09-19 20:13:00.545344"], ["name", "contract_0595e6c6"], ["title", "Neque quia modi repellat rerum atque."], ["updated_at", "2014-09-19 20:13:00.545344"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_da6c2f0d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas iure omnis et doloremque aspernatur in. Iste rerum aut fuga voluptates et consequatur perferendis. Nihil nostrum voluptatem quaerat quidem et quos ut.\", \"Officia et rerum. Eligendi nostrum veniam. Rem omnis consequatur aut eaque autem nemo vel. Quam quis labore.\"]"], ["created_at", "2014-09-19 20:13:00.549819"], ["name", "contract_da6c2f0d"], ["title", "Ut quia eos suscipit fugiat asperiores vitae."], ["updated_at", "2014-09-19 20:13:00.549819"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_53397d52') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime architecto facere dolor voluptates. Fuga aut rerum impedit nihil dolorum ipsam dolores. Fugiat rerum praesentium voluptas vitae totam. Illum rerum porro assumenda voluptas omnis. Dolores quam eveniet est aut quia ut.\", \"Debitis et provident ea totam non incidunt maxime. Odit mollitia eum dolores repudiandae voluptas aut natus. Ad iure laboriosam veritatis excepturi. Eos eos occaecati minus expedita.\"]"], ["created_at", "2014-09-19 20:13:00.553060"], ["name", "contract_53397d52"], ["title", "Perferendis nostrum sunt illo id eos esse eaque."], ["updated_at", "2014-09-19 20:13:00.553060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e3b68354') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid tempore delectus. Dignissimos et modi eligendi. Ex sint qui. Dolor dolores consequatur. Veniam dolores sint sunt consequatur error culpa.\", \"Non et rerum id iure rerum earum. Assumenda tempore ut. Explicabo beatae quam aspernatur. Numquam quia sint aliquid molestiae qui laudantium velit. Labore fugiat quo aut delectus.\"]"], ["created_at", "2014-09-19 20:13:00.556164"], ["name", "contract_e3b68354"], ["title", "Nulla est dolor."], ["updated_at", "2014-09-19 20:13:00.556164"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_3058fbe5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam asperiores commodi tenetur aut. Et magnam enim dolorem et. Pariatur aut at est sunt culpa. Impedit nesciunt dolores nulla explicabo eligendi.\", \"Eum quam voluptates magnam saepe autem. In esse perspiciatis ducimus nihil enim. Voluptatum et amet enim consectetur iure quos. Rerum et mollitia impedit laboriosam. Provident aliquid repudiandae voluptas eos.\"]"], ["created_at", "2014-09-19 20:13:00.559480"], ["name", "contract_3058fbe5"], ["title", "Facilis praesentium officiis soluta pariatur eveniet."], ["updated_at", "2014-09-19 20:13:00.559480"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction 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_7b100c5c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam est quae officiis sed corrupti illo. Temporibus rem sit in iste amet ex voluptas. At aut nemo magnam facilis id. Quo omnis debitis nihil sapiente incidunt alias est. Natus animi eos dignissimos impedit.\", \"Explicabo et rerum aut velit amet delectus. Qui ut eaque ratione. Ea quibusdam est dolorem ut numquam odio voluptate. Et fugiat fuga. Cum est nostrum doloribus aspernatur veritatis laborum placeat.\"]"], ["created_at", "2014-09-19 20:13:00.564685"], ["name", "contract_7b100c5c"], ["title", "Natus a unde quisquam."], ["updated_at", "2014-09-19 20:13:00.564685"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_7eeb9815') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus occaecati ea id beatae laboriosam. Cum dignissimos corporis voluptatum totam aut. Omnis id id corporis cum tempore culpa. Necessitatibus nesciunt rerum similique.\", \"Perferendis laboriosam exercitationem tenetur vel. Rem autem architecto eius excepturi perferendis molestiae. Eveniet earum tenetur et et sit quia. In expedita eos non ex id. Soluta officia consequuntur.\"]"], ["created_at", "2014-09-19 20:13:00.570024"], ["name", "contract_7eeb9815"], ["title", "Hic magnam impedit."], ["updated_at", "2014-09-19 20:13:00.570024"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_114d7694') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem omnis eligendi laborum nobis doloribus recusandae. Ea sunt vitae accusantium odio et ipsa. Nihil quis quisquam atque vel quia sint voluptas. Repellat voluptatum itaque non magni. Labore vitae debitis.\", \"Eos ullam culpa minima qui sequi at aperiam. Eum impedit laudantium tempora. Aut repellat omnis aut.\"]"], ["created_at", "2014-09-19 20:13:00.573346"], ["name", "contract_114d7694"], ["title", "Dolor laudantium quidem ut et sapiente."], ["updated_at", "2014-09-19 20:13:00.573346"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.575782"], ["updated_at", "2014-09-19 20:13:00.575782"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.577344"], ["updated_at", "2014-09-19 20:13:00.577344"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.585340"], ["updated_at", "2014-09-19 20:13:00.585340"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.586882"], ["updated_at", "2014-09-19 20:13:00.586882"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea minima ut voluptatibus aperiam quia rerum sit. Mollitia aut a. Voluptatem est necessitatibus consequuntur cupiditate. Repudiandae suscipit tempora.\", \"Magnam quae in nam ex neque perspiciatis soluta. Sunt ab illum impedit velit voluptatibus. Similique provident officiis nostrum tenetur ab sit. Aliquid ut vitae nulla non reprehenderit. Sunt quo consequatur.\"]"], ["created_at", "2014-09-19 20:13:00.594659"], ["name", "alpha"], ["title", "Aspernatur ea nesciunt quia eos corporis ut doloremque."], ["updated_at", "2014-09-19 20:13:00.594659"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:13:00.598696"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam pariatur dolor provident error et consequuntur porro. Deleniti occaecati voluptas porro est nam omnis. Accusamus incidunt a. Assumenda incidunt quas ut.\", \"Aspernatur ipsam perferendis tempore sit qui. Eum quibusdam beatae. Perspiciatis libero repudiandae maiores voluptatem et et neque. Et occaecati praesentium accusantium autem ducimus.\"]"], ["created_at", "2014-09-19 20:13:00.603455"], ["name", "beta"], ["title", "Asperiores fugit esse et omnis est."], ["updated_at", "2014-09-19 20:13:00.603455"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:13:00.607187"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero qui accusantium itaque voluptatem. Sit accusamus harum reprehenderit voluptas. Praesentium sed labore et neque nulla consectetur. Est aliquam aut quod et similique praesentium ut.\", \"Eveniet et maxime impedit et molestiae tenetur. Voluptatem et blanditiis quasi. Placeat nisi asperiores at laborum iste. Blanditiis non laboriosam id suscipit. Et quisquam aperiam.\"]"], ["created_at", "2014-09-19 20:13:00.611467"], ["name", "alpha"], ["title", "Et nemo reprehenderit."], ["updated_at", "2014-09-19 20:13:00.611467"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:13:00.614469"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis consequatur et omnis. In et itaque. Et eveniet minus facilis quod incidunt. Dolor expedita dignissimos consectetur vitae dolores inventore et.\", \"Quisquam vitae quaerat ad omnis. At maxime et fugit quaerat dicta aut. Deleniti aliquam laborum. Error qui quas aliquid mollitia rem aperiam quidem. Accusantium veniam labore natus sunt.\"]"], ["created_at", "2014-09-19 20:13:00.617772"], ["name", "beta"], ["title", "Mollitia exercitationem laboriosam ad id magni deleniti eum."], ["updated_at", "2014-09-19 20:13:00.617772"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:13:00.620714"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus sint laborum rerum labore. Temporibus consequuntur minima eos est quia omnis. Laborum recusandae quis sunt tempora quo laboriosam.\", \"Maiores et laborum perspiciatis expedita minus deleniti. Exercitationem rerum culpa sunt. Pariatur placeat quidem corporis culpa.\"]"], ["created_at", "2014-09-19 20:13:00.624520"], ["name", "alpha"], ["title", "Dolorem minima alias qui."], ["updated_at", "2014-09-19 20:13:00.624520"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:13:00.627697"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam natus quae eum consequatur sunt. Tenetur aut quo est nesciunt consectetur ratione voluptas. Ab iusto aperiam dolor non et tempore vel. Ad officiis quibusdam aliquam.\", \"Est quas eos et iure ut. Voluptatem laudantium voluptate. Incidunt sunt eaque ab.\"]"], ["created_at", "2014-09-19 20:13:00.632129"], ["name", "beta"], ["title", "Placeat suscipit molestias sed natus saepe veniam consequuntur."], ["updated_at", "2014-09-19 20:13:00.632129"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:13:00.635573"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5b3c6f78') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum veniam doloribus voluptate dolores dicta. Quia expedita at quis. Commodi laborum id dolorum praesentium inventore. Repellat magni quis cumque vel enim.\", \"Aut nostrum sed ipsa consequatur dolor eum dignissimos. Voluptate nulla suscipit corrupti est repudiandae. Ut aspernatur ut unde id.\"]"], ["created_at", "2014-09-19 20:13:00.639309"], ["name", "contract_5b3c6f78"], ["title", "Eligendi repellat suscipit est earum."], ["updated_at", "2014-09-19 20:13:00.639309"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction 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_beb4af11') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut optio fugit eos asperiores. Recusandae eum nemo corporis nulla quod. In voluptates ex sed id aut alias eos. Voluptates et voluptatem iure ipsa qui explicabo expedita.\", \"Recusandae eaque sed doloribus est dolorem molestias. Quia in cum. Voluptate eos at vitae laboriosam occaecati et corrupti. Cumque et alias quas.\"]"], ["created_at", "2014-09-19 20:13:00.643318"], ["name", "contract_beb4af11"], ["title", "Voluptates et saepe."], ["updated_at", "2014-09-19 20:13:00.643318"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_beb4af11"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_beb4af11') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:13:00.646577"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:00.649415"], ["updated_at", "2014-09-19 20:13:00.649415"]]  (1.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (1.2ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_82a1bd6c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas in dolorum doloremque vel rerum assumenda aut. Perferendis perspiciatis consequatur dolorum unde nemo nihil ut. Repudiandae magni sit voluptatem dignissimos. Nisi aut aut praesentium ea ipsam.\", \"A aut ut provident. Quo doloremque velit debitis mollitia voluptatem dolorum temporibus. Magnam nisi veritatis quidem architecto quas.\"]"], ["created_at", "2014-09-19 20:13:06.859270"], ["name", "contract_82a1bd6c"], ["title", "Animi laborum fugit maxime sapiente."], ["updated_at", "2014-09-19 20:13:06.859270"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_b53e82a7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis quidem aspernatur debitis nam culpa. Beatae ad et sunt similique alias vitae minima. Aut doloremque at praesentium nostrum sint quos. Sint voluptates eligendi quod rerum.\", \"Praesentium nobis aperiam ducimus dolores. Molestias labore ratione velit. Rem voluptatem quae officiis reprehenderit est tempore non. Rerum quasi et aliquid nobis cum.\"]"], ["created_at", "2014-09-19 20:13:06.875011"], ["name", "contract_b53e82a7"], ["title", "Eos impedit fugit nisi."], ["updated_at", "2014-09-19 20:13:06.875011"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b53e82a7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_b53e82a7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:13:06.879734"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.885522"], ["updated_at", "2014-09-19 20:13:06.885522"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.895979"], ["updated_at", "2014-09-19 20:13:06.895979"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.897658"], ["updated_at", "2014-09-19 20:13:06.897658"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.912953"], ["updated_at", "2014-09-19 20:13:06.912953"]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.915259"], ["updated_at", "2014-09-19 20:13:06.915259"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam quo consectetur nihil fuga quidem. Repellendus iste ratione modi. Vel inventore et et dolorum quam. Dolore quis quaerat. Commodi error sit aspernatur alias possimus dolorem.\", \"Voluptatem quo reiciendis eveniet. Vitae possimus repellendus aut cumque. Quidem optio iusto voluptatem sint dignissimos magni. Veritatis harum consequatur quas aut accusamus quibusdam.\"]"], ["created_at", "2014-09-19 20:13:06.924346"], ["name", "alpha"], ["title", "Et est dolor laborum adipisci."], ["updated_at", "2014-09-19 20:13:06.924346"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:13:06.928146"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos doloremque velit est natus. Et harum aperiam maxime. Quo libero ipsum. Eius et hic aperiam optio unde. Deserunt qui molestias dignissimos non.\", \"Rerum qui aut porro et amet ipsa qui. Quaerat aut minima excepturi. Dolores rerum dolores et rem non. Adipisci maxime alias totam. Officia quis debitis praesentium quia ut.\"]"], ["created_at", "2014-09-19 20:13:06.932307"], ["name", "beta"], ["title", "Omnis expedita rerum eum."], ["updated_at", "2014-09-19 20:13:06.932307"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:13:06.935490"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio voluptatem debitis quo doloremque. Et doloremque dolores sunt totam. Dolores eum eligendi totam voluptas fugiat distinctio.\", \"Sunt qui aperiam atque nesciunt. Veritatis laborum eveniet laboriosam ad repellendus et itaque. Facere sit et beatae fugiat omnis.\"]"], ["created_at", "2014-09-19 20:13:06.939609"], ["name", "alpha"], ["title", "Quia animi in quo consequatur et quis."], ["updated_at", "2014-09-19 20:13:06.939609"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:13:06.943354"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique aut aut earum sed sint. Sunt aut reiciendis ducimus aliquam. Nihil rerum aut aut id nihil sunt vero.\", \"Et sunt cupiditate repellendus. Est beatae necessitatibus iste et dicta dignissimos. Quis numquam iste consequatur doloremque amet. Optio modi eligendi nemo et voluptas. Minima libero perspiciatis vel.\"]"], ["created_at", "2014-09-19 20:13:06.947262"], ["name", "beta"], ["title", "Adipisci amet labore asperiores."], ["updated_at", "2014-09-19 20:13:06.947262"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:13:06.950257"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus illum ratione. Hic qui explicabo eos tenetur occaecati nobis. Qui ratione et nulla saepe recusandae eum sapiente. Maiores autem rerum ipsa occaecati unde ut.\", \"Rerum iusto perferendis. Molestiae laboriosam officiis ea. Eos quibusdam odio dolores non sit. Possimus id consequatur odit et earum nulla. A optio temporibus culpa sunt maiores fugiat dicta.\"]"], ["created_at", "2014-09-19 20:13:06.953985"], ["name", "alpha"], ["title", "Libero et veniam ipsum laudantium quisquam."], ["updated_at", "2014-09-19 20:13:06.953985"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:13:06.957495"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea reiciendis placeat porro et. Explicabo nobis ut atque numquam et nulla ad. Delectus sunt in voluptatem.\", \"Ut rerum nulla non illum. Sit dolorem fugiat ad dolores dolorum facere et. Non corrupti dolorem.\"]"], ["created_at", "2014-09-19 20:13:06.961673"], ["name", "beta"], ["title", "Blanditiis saepe ad expedita dolore animi."], ["updated_at", "2014-09-19 20:13:06.961673"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:13:06.965719"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.969159"], ["updated_at", "2014-09-19 20:13:06.969159"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.970765"], ["updated_at", "2014-09-19 20:13:06.970765"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_765039b0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur illo provident et. Non provident recusandae laudantium. Repellendus qui rerum consequatur. Porro id reiciendis. Nihil maxime non placeat iste.\", \"Placeat consequatur optio. Aspernatur consequuntur dolores maxime repudiandae in itaque. Quia qui ut rerum.\"]"], ["created_at", "2014-09-19 20:13:06.973935"], ["name", "contract_765039b0"], ["title", "Iste id qui optio."], ["updated_at", "2014-09-19 20:13:06.973935"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_765039b0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_765039b0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:13:06.977252"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.980164"], ["updated_at", "2014-09-19 20:13:06.980164"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:13:06.982319"], ["updated_at", "2014-09-19 20:13:06.982319"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.996558"], ["updated_at", "2014-09-19 20:13:06.996558"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:06.998307"], ["updated_at", "2014-09-19 20:13:06.998307"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1ca2e03f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi qui consectetur et corporis aliquid ad. Enim quae quis dolores maxime. Nobis sed delectus et fugiat ullam fugit. Architecto veniam odit.\", \"Molestiae saepe recusandae inventore non. Voluptate culpa veniam. At voluptas nisi. Et suscipit doloribus non laudantium.\"]"], ["created_at", "2014-09-19 20:13:07.001469"], ["name", "contract_1ca2e03f"], ["title", "Iusto quia numquam occaecati minima voluptatem nihil."], ["updated_at", "2014-09-19 20:13:07.001469"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1ca2e03f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_1ca2e03f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:13:07.004672"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.007123"], ["updated_at", "2014-09-19 20:13:07.007123"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:13:07.009328"], ["updated_at", "2014-09-19 20:13:07.009328"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.014922"], ["updated_at", "2014-09-19 20:13:07.014922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.016470"], ["updated_at", "2014-09-19 20:13:07.016470"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_306cd955') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam aut pariatur enim suscipit ut facilis quo. Ea omnis nobis. Voluptatem aliquam repellendus voluptatem laborum. Ullam harum est earum velit dolores deserunt aut.\", \"Occaecati sit qui sit vero sint. Doloremque harum repellat. Fuga iste facere. Nostrum ipsam magnam voluptatem itaque molestiae et aut.\"]"], ["created_at", "2014-09-19 20:13:07.019430"], ["name", "contract_306cd955"], ["title", "Sit deserunt sit molestias quia non architecto."], ["updated_at", "2014-09-19 20:13:07.019430"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_306cd955"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_306cd955') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:13:07.022737"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.025173"], ["updated_at", "2014-09-19 20:13:07.025173"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-19 20:13:07.027406"], ["updated_at", "2014-09-19 20:13:07.027406"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.033168"], ["updated_at", "2014-09-19 20:13:07.033168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.034725"], ["updated_at", "2014-09-19 20:13:07.034725"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_53936901') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui consequuntur rerum. Nisi expedita laborum voluptatem officia. Mollitia minus magnam molestiae et tenetur ullam saepe. Consequatur tempora cupiditate. Delectus mollitia ea non voluptatem consequatur architecto.\", \"Aut asperiores culpa voluptatem ipsum eos. Voluptatem voluptas debitis ullam tempore. Consectetur ad ipsum aut a velit aliquid officia.\"]"], ["created_at", "2014-09-19 20:13:07.037776"], ["name", "contract_53936901"], ["title", "Architecto nobis aut fugit culpa asperiores deserunt non."], ["updated_at", "2014-09-19 20:13:07.037776"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_53936901"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_53936901') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:13:07.040766"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.043185"], ["updated_at", "2014-09-19 20:13:07.043185"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-19 20:13:07.045297"], ["updated_at", "2014-09-19 20:13:07.045297"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_e7bb136a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et molestiae numquam earum id labore ut. Sed eligendi voluptate labore a dolorem modi quae. Fugiat fugit iure eos. Totam excepturi suscipit et.\", \"Sunt laudantium qui commodi fugiat. Laudantium architecto voluptate repudiandae. A accusamus in corporis asperiores quia itaque. Ipsum sed sit reprehenderit ad nemo eos fugit.\"]"], ["created_at", "2014-09-19 20:13:07.050671"], ["name", "contract_e7bb136a"], ["title", "Autem quidem sunt nemo dicta omnis quos et."], ["updated_at", "2014-09-19 20:13:07.050671"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e7bb136a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_e7bb136a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:13:07.054099"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e7bb136a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et molestiae numquam earum id labore ut. Sed eligendi voluptate labore a dolorem modi quae. Fugiat fugit iure eos. Totam excepturi suscipit et.\", \"Sunt laudantium qui commodi fugiat. Laudantium architecto voluptate repudiandae. A accusamus in corporis asperiores quia itaque. Ipsum sed sit reprehenderit ad nemo eos fugit.\"]"], ["created_at", "2014-09-19 20:13:07.057559"], ["name", "joe"], ["title", "Autem quidem sunt nemo dicta omnis quos et."], ["updated_at", "2014-09-19 20:13:07.057559"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:13:07.060393"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0875dcf1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem ipsam minus nemo aliquid possimus maxime. Sunt iure ipsam fugit. Ex id voluptatem eveniet. Velit eum asperiores. Id molestiae rem ad quisquam esse sint ducimus.\", \"Corporis esse qui nostrum. Sint error possimus omnis repudiandae non impedit. Debitis earum amet maiores et qui. Similique eos ipsam.\"]"], ["created_at", "2014-09-19 20:13:07.064095"], ["name", "contract_0875dcf1"], ["title", "Deleniti dolorem debitis."], ["updated_at", "2014-09-19 20:13:07.064095"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0875dcf1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_0875dcf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:13:07.067049"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.070523"], ["updated_at", "2014-09-19 20:13:07.070523"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 20:13:07.073035"], ["updated_at", "2014-09-19 20:13:07.073035"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_0875dcf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0875dcf1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_0875dcf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction 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_6cd3819a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non iure quis in sed dolor. Officiis suscipit omnis. Dolores facilis dolores dolor voluptas.\", \"Distinctio qui quaerat nam. Enim voluptatum quos occaecati quam deleniti et. Velit non fugit expedita omnis autem.\"]"], ["created_at", "2014-09-19 20:13:07.081970"], ["name", "contract_6cd3819a"], ["title", "Rerum ipsum voluptas sit repudiandae quia."], ["updated_at", "2014-09-19 20:13:07.081970"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6cd3819a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_6cd3819a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:13:07.084943"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6cd3819a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_6cd3819a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non iure quis in sed dolor. Officiis suscipit omnis. Dolores facilis dolores dolor voluptas.\", \"Distinctio qui quaerat nam. Enim voluptatum quos occaecati quam deleniti et. Velit non fugit expedita omnis autem.\"]"], ["created_at", "2014-09-19 20:13:07.088315"], ["name", "contract_6cd3819a"], ["title", "Rerum ipsum voluptas sit repudiandae quia."], ["updated_at", "2014-09-19 20:13:07.088315"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6cd3819a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_6cd3819a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:13:07.091243"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a12f3600') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas consectetur quidem et sit quo debitis. Ullam ducimus dolorem ut assumenda animi facere blanditiis. Velit et eos quisquam distinctio dolorem unde. Cum aut ut nostrum illum commodi recusandae aut. Rem nihil qui quod aut necessitatibus aliquid fugiat.\", \"Impedit repellendus sed. Omnis sed ducimus nisi possimus et non. Quia nobis quisquam molestias. Ratione ut quis.\"]"], ["created_at", "2014-09-19 20:13:07.095021"], ["name", "contract_a12f3600"], ["title", "Eum et alias nam voluptatum corporis."], ["updated_at", "2014-09-19 20:13:07.095021"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a12f3600"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_a12f3600') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:13:07.099151"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a12f3600"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a12f3600"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_a12f3600') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:13:07.103997"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.106874"], ["updated_at", "2014-09-19 20:13:07.106874"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.108355"], ["updated_at", "2014-09-19 20:13:07.108355"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9d7a1c7b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis quia sequi vero illum sed. Sunt nihil aliquam. Aut quidem aperiam est vel aut dolores laudantium. Aliquam illum dignissimos quaerat omnis.\", \"A cumque omnis voluptatem voluptate optio consequatur qui. Aut occaecati eos sit cupiditate sequi qui. Error voluptates libero ex.\"]"], ["created_at", "2014-09-19 20:13:07.110872"], ["name", "contract_9d7a1c7b"], ["title", "Voluptatem deserunt quod."], ["updated_at", "2014-09-19 20:13:07.110872"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d7a1c7b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_9d7a1c7b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:13:07.113890"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.119668"], ["updated_at", "2014-09-19 20:13:07.119668"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.121280"], ["updated_at", "2014-09-19 20:13:07.121280"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ad30d9af') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis repudiandae eos neque. Consequuntur distinctio dolor. Autem sint libero enim sed ut. Tenetur dolorem nihil.\", \"Excepturi consequatur fuga. Nemo et sunt quo saepe laborum. Nostrum est illum soluta est ullam et. Voluptates voluptatibus ex ut adipisci. Magnam nulla eveniet totam illo.\"]"], ["created_at", "2014-09-19 20:13:07.123937"], ["name", "contract_ad30d9af"], ["title", "Culpa cum consequatur ipsum ex."], ["updated_at", "2014-09-19 20:13:07.123937"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ad30d9af"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ad30d9af') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:13:07.126903"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ad30d9af' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.134219"], ["updated_at", "2014-09-19 20:13:07.134219"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.135899"], ["updated_at", "2014-09-19 20:13:07.135899"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6a6f7955') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit vero et sunt est quos. Aut est omnis enim. Consequuntur corrupti cum cupiditate. Illum tempore voluptatem consequatur quis. Consequuntur et odio molestiae qui eos iusto.\", \"Temporibus velit soluta delectus ex excepturi alias est. Omnis unde est exercitationem voluptas magni. Deleniti accusamus accusantium minima sed quo quas omnis. Sunt deleniti rem dolor. Libero occaecati sint quis.\"]"], ["created_at", "2014-09-19 20:13:07.138601"], ["name", "contract_6a6f7955"], ["title", "Dolor neque doloribus."], ["updated_at", "2014-09-19 20:13:07.138601"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6a6f7955"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_6a6f7955') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:13:07.141526"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.147172"], ["updated_at", "2014-09-19 20:13:07.147172"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.148662"], ["updated_at", "2014-09-19 20:13:07.148662"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0e5a667b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi voluptatem nesciunt qui corporis sunt. Velit assumenda maiores velit culpa. Iste magnam alias est ab saepe dignissimos animi.\", \"Est velit cum est ducimus. Quae eum et harum mollitia perspiciatis. A voluptates dolorum assumenda sunt maiores.\"]"], ["created_at", "2014-09-19 20:13:07.151203"], ["name", "contract_0e5a667b"], ["title", "Soluta expedita sint qui rerum error dicta quo."], ["updated_at", "2014-09-19 20:13:07.151203"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 5, 3, 8, 6, 4, 15, 22, 10, 11, 12, 21, 17, 16, 9, 1, 19, 18, 20, 2, 13, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.161004"], ["updated_at", "2014-09-19 20:13:07.161004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.162766"], ["updated_at", "2014-09-19 20:13:07.162766"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a7ee5088') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam consectetur ipsam omnis aut culpa. Hic maiores iste nesciunt. Iusto voluptatem tempore unde sed praesentium nisi consequatur. Et voluptatem nobis quaerat saepe.\", \"In laborum tempora non qui molestiae aspernatur. Labore fugiat fugit. Aliquam aut laudantium.\"]"], ["created_at", "2014-09-19 20:13:07.165470"], ["name", "contract_a7ee5088"], ["title", "Architecto molestiae dignissimos ex et possimus quisquam."], ["updated_at", "2014-09-19 20:13:07.165470"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.173071"], ["updated_at", "2014-09-19 20:13:07.173071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.174570"], ["updated_at", "2014-09-19 20:13:07.174570"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6158b95f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit qui quia ratione cumque. Voluptas repellendus dolor facere placeat molestias ut reprehenderit. Inventore est eos fugit. Sint quisquam earum quis temporibus velit sit eaque.\", \"Vel harum facilis debitis magnam provident enim ratione. Molestias est placeat ut iste quam. Minima autem molestias itaque quis voluptas libero quasi. Dolor ullam nam repellat dolor reprehenderit eos deleniti. Atque ut quo sed.\"]"], ["created_at", "2014-09-19 20:13:07.177176"], ["name", "contract_6158b95f"], ["title", "Neque earum repudiandae unde commodi molestiae hic qui."], ["updated_at", "2014-09-19 20:13:07.177176"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.181720"], ["updated_at", "2014-09-19 20:13:07.181720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.183187"], ["updated_at", "2014-09-19 20:13:07.183187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_62367090') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non natus ratione quidem et. Dolorem et vel culpa sed. Vel et consequuntur ad debitis sint sed sed. Minima officiis asperiores non in quod temporibus totam. Aut veritatis enim sit.\", \"Tempora cupiditate veritatis sed assumenda. Molestiae dolorem molestiae nisi quas. Aut sapiente vel voluptas debitis nesciunt labore. Aut architecto veniam inventore dolores commodi non ipsum. Voluptas est velit minima veniam quae commodi aut.\"]"], ["created_at", "2014-09-19 20:13:07.185691"], ["name", "contract_62367090"], ["title", "Quidem hic sed libero."], ["updated_at", "2014-09-19 20:13:07.185691"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.191334"], ["updated_at", "2014-09-19 20:13:07.191334"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.192805"], ["updated_at", "2014-09-19 20:13:07.192805"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_bb9d6c11') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In nemo officiis necessitatibus dolorem porro et deleniti. Inventore rem quo consequatur vitae ipsa soluta molestiae. Consequatur iste voluptates nihil deleniti. Ut molestiae perspiciatis vel voluptate. Eum officiis non.\", \"Est ipsam facere. Nobis numquam libero ut nisi fugit ut. Occaecati natus animi placeat. A facere consequatur qui fuga omnis consectetur. Et voluptates blanditiis.\"]"], ["created_at", "2014-09-19 20:13:07.195533"], ["name", "contract_bb9d6c11"], ["title", "Nostrum corrupti quidem qui sed."], ["updated_at", "2014-09-19 20:13:07.195533"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.200455"], ["updated_at", "2014-09-19 20:13:07.200455"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.201949"], ["updated_at", "2014-09-19 20:13:07.201949"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_9c73c89d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias soluta quas. Nulla et rerum. Fugiat nostrum velit quam praesentium unde quod cumque.\", \"Maxime et ut dolor molestiae ut aut ea. Aut exercitationem accusantium sint inventore consequatur natus. Sunt atque modi sint nemo nisi.\"]"], ["created_at", "2014-09-19 20:13:07.204475"], ["name", "contract_9c73c89d"], ["title", "Et explicabo vel."], ["updated_at", "2014-09-19 20:13:07.204475"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.208205"], ["updated_at", "2014-09-19 20:13:07.208205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.209683"], ["updated_at", "2014-09-19 20:13:07.209683"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c1ea9825') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem cupiditate ipsa. Temporibus voluptatibus accusantium similique ea natus. Quas laudantium maiores fugit consequatur sapiente illo.\", \"Autem ipsa qui numquam aut debitis magni. Porro molestias et eaque error aut. Occaecati odit dolores officiis quia voluptatem.\"]"], ["created_at", "2014-09-19 20:13:07.212259"], ["name", "contract_c1ea9825"], ["title", "Odit possimus qui voluptates beatae dolor."], ["updated_at", "2014-09-19 20:13:07.212259"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c1ea9825"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_c1ea9825') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:13:07.215248"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c1ea9825"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_c1ea9825') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:13:07.220583"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.224656"], ["updated_at", "2014-09-19 20:13:07.224656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.226159"], ["updated_at", "2014-09-19 20:13:07.226159"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_80a71ff1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus fuga non dolor magni placeat error. Nesciunt tempora omnis non ea dolore consequuntur et. Vel nulla repellat ullam sequi. Ipsam odio ut. Reprehenderit est quia numquam quos cum modi repudiandae.\", \"Ipsa illum sequi. Illo eum dolores molestiae. Et et dolores nihil reiciendis. Quidem natus mollitia. Modi accusantium tempora.\"]"], ["created_at", "2014-09-19 20:13:07.228843"], ["name", "contract_80a71ff1"], ["title", "Cum est dolorum vel modi blanditiis nam."], ["updated_at", "2014-09-19 20:13:07.228843"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_80a71ff1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_80a71ff1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:13:07.233407"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.237527"], ["updated_at", "2014-09-19 20:13:07.237527"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.239019"], ["updated_at", "2014-09-19 20:13:07.239019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_778134f0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed quia quod consequuntur aliquid necessitatibus. Iure non asperiores possimus. Ut ratione velit vel et distinctio.\", \"Tenetur est adipisci suscipit quia maxime sapiente. Commodi doloribus tenetur et. Praesentium qui odit facere. Maiores quibusdam consequatur eos aut quasi aliquid. Quia in facere quisquam cum ducimus.\"]"], ["created_at", "2014-09-19 20:13:07.241561"], ["name", "contract_778134f0"], ["title", "Nisi consequatur vero reprehenderit officia."], ["updated_at", "2014-09-19 20:13:07.241561"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.245406"], ["updated_at", "2014-09-19 20:13:07.245406"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.246949"], ["updated_at", "2014-09-19 20:13:07.246949"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_02ef7b03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus dolorem doloribus doloremque magni mollitia voluptatem. Dolores beatae ea. Nemo sit eius quam voluptatum perferendis ut. Quia occaecati qui eum non. Quod aut exercitationem accusantium in aliquam.\", \"Sit nisi possimus non est repellendus. Beatae exercitationem ut. Sint voluptas dolore harum sed ex possimus. Voluptatibus itaque voluptate enim. Deleniti iure ab libero.\"]"], ["created_at", "2014-09-19 20:13:07.249612"], ["name", "contract_02ef7b03"], ["title", "Odit culpa quo ut voluptatem."], ["updated_at", "2014-09-19 20:13:07.249612"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:13:07.252856"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:13:07.252856"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.260370"], ["updated_at", "2014-09-19 20:13:07.260370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.262050"], ["updated_at", "2014-09-19 20:13:07.262050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9bc69d7f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores qui aspernatur quia voluptas. Porro qui repellat voluptate. Eaque similique incidunt consequatur architecto qui ipsa vel.\", \"Eum veritatis debitis aut ut sint necessitatibus. Iusto qui accusamus inventore beatae dolorem earum. Amet nobis ex magnam. Ab neque quos vel consequuntur.\"]"], ["created_at", "2014-09-19 20:13:07.264676"], ["name", "contract_9bc69d7f"], ["title", "Dicta alias non at blanditiis."], ["updated_at", "2014-09-19 20:13:07.264676"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.268987"], ["updated_at", "2014-09-19 20:13:07.268987"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.270502"], ["updated_at", "2014-09-19 20:13:07.270502"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_15a12dde') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit sunt ut. Non et numquam voluptatem. Rerum doloremque ut error quia aperiam quasi temporibus. Vero dolorum ut.\", \"Quis occaecati officiis est assumenda in cum sit. Nobis aut ut expedita nostrum. Exercitationem est harum iure aut vel. Natus tenetur odio est rerum nulla.\"]"], ["created_at", "2014-09-19 20:13:07.273213"], ["name", "contract_15a12dde"], ["title", "Natus ut ipsa quas autem."], ["updated_at", "2014-09-19 20:13:07.273213"]]  (7.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.285884"], ["updated_at", "2014-09-19 20:13:07.285884"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.288416"], ["updated_at", "2014-09-19 20:13:07.288416"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_53a698e9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem tempore sit. Velit molestiae reprehenderit. Dolorum illum qui.\", \"Repellendus accusantium doloribus corrupti amet et. Pariatur eveniet ullam accusamus aperiam qui voluptatem debitis. Possimus debitis et ut ut qui adipisci. Quaerat omnis rerum dolorem blanditiis ratione ipsa.\"]"], ["created_at", "2014-09-19 20:13:07.291864"], ["name", "contract_53a698e9"], ["title", "Excepturi officiis enim."], ["updated_at", "2014-09-19 20:13:07.291864"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 35 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:13:07.296123"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.300640"], ["updated_at", "2014-09-19 20:13:07.300640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.302144"], ["updated_at", "2014-09-19 20:13:07.302144"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_37b2bc2f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore ut quam non quae hic. Qui pariatur consequatur sed alias fugiat. Rerum ex voluptates dolor tempora est occaecati.\", \"Laboriosam nesciunt nulla consequatur amet commodi. Placeat et optio. Minima nihil adipisci rerum dolor sint dolorem pariatur.\"]"], ["created_at", "2014-09-19 20:13:07.304643"], ["name", "contract_37b2bc2f"], ["title", "Velit autem pariatur."], ["updated_at", "2014-09-19 20:13:07.304643"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.309616"], ["updated_at", "2014-09-19 20:13:07.309616"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:07.311149"], ["updated_at", "2014-09-19 20:13:07.311149"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8a4e61fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus recusandae nobis libero occaecati suscipit cumque. Placeat pariatur sequi quasi sint molestias nihil. Quia et mollitia voluptatem. Totam quos ratione enim id aspernatur ut assumenda.\", \"Odio magni dolorum id quasi nihil et. Earum rerum quod. Molestias ut consequatur.\"]"], ["created_at", "2014-09-19 20:13:07.313642"], ["name", "contract_8a4e61fb"], ["title", "Voluptatum quia rerum velit saepe enim aut sunt."], ["updated_at", "2014-09-19 20:13:07.313642"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_23e0d6ba') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime quas nobis sit cumque labore et at. Placeat modi recusandae quas. Voluptates itaque omnis sed dolorum.\", \"Natus qui et dolor voluptatem accusamus. Velit expedita delectus non quia. Consectetur dignissimos occaecati dolores illo nihil maiores.\"]"], ["created_at", "2014-09-19 20:13:50.849180"], ["name", "contract_23e0d6ba"], ["title", "Voluptas ipsum voluptatem ullam facere quod officia."], ["updated_at", "2014-09-19 20:13:50.849180"]]  (2.1ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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_606f4cd4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus quia repudiandae ut modi dolor enim dolores. Autem sed adipisci veniam quia error qui. Dolor et illo occaecati quia perspiciatis velit. Voluptatem exercitationem eius iure quas et.\", \"Voluptas aut minima aspernatur sapiente et. Fugit laboriosam qui enim consequatur. Qui fugit et esse. Voluptatibus saepe unde quos aut corrupti aut minima.\"]"], ["created_at", "2014-09-19 20:13:50.865089"], ["name", "contract_606f4cd4"], ["title", "Hic consequuntur sunt harum."], ["updated_at", "2014-09-19 20:13:50.865089"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_606f4cd4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_606f4cd4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:13:50.869975"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.875859"], ["updated_at", "2014-09-19 20:13:50.875859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.888594"], ["updated_at", "2014-09-19 20:13:50.888594"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.890386"], ["updated_at", "2014-09-19 20:13:50.890386"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_23f43ef7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque et in repellat aliquam. Sit sint dolorem sed id dolores ullam autem. Quisquam eum delectus vel. Animi qui eum vitae cumque error.\", \"Tenetur alias recusandae quam quia qui nihil officia. Deleniti officiis mollitia voluptatem iste. Aperiam adipisci cumque qui. Consectetur commodi vel laudantium est libero quod dolore.\"]"], ["created_at", "2014-09-19 20:13:50.893327"], ["name", "contract_23f43ef7"], ["title", "Laudantium quo quis placeat aliquam."], ["updated_at", "2014-09-19 20:13:50.893327"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 3]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 3]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 3 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.906782"], ["updated_at", "2014-09-19 20:13:50.906782"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.908421"], ["updated_at", "2014-09-19 20:13:50.908421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bac1dda7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos maiores ex neque aut suscipit nisi. Sed sequi fuga voluptatem nihil. Autem dolorem corporis consectetur nisi error. Nobis sit sapiente repellat.\", \"Vel natus atque qui laboriosam et voluptas. Aspernatur voluptatum ut et. Nihil temporibus unde voluptatem.\"]"], ["created_at", "2014-09-19 20:13:50.911280"], ["name", "contract_bac1dda7"], ["title", "Odio est saepe numquam deserunt voluptatibus suscipit."], ["updated_at", "2014-09-19 20:13:50.911280"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.922311"], ["updated_at", "2014-09-19 20:13:50.922311"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.924038"], ["updated_at", "2014-09-19 20:13:50.924038"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_8f73c569') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas deleniti aut aliquam enim occaecati blanditiis quas. Voluptatibus vel ea sint et ipsa repudiandae. Occaecati mollitia aut ut dolores iure. Et nesciunt sequi. Id ratione voluptas odio qui non aut.\", \"Unde quae odio voluptas. Qui expedita repellendus. Rerum doloremque fugiat. Excepturi saepe et. Deserunt odit magnam recusandae et.\"]"], ["created_at", "2014-09-19 20:13:50.927910"], ["name", "contract_8f73c569"], ["title", "Dolor qui voluptas recusandae."], ["updated_at", "2014-09-19 20:13:50.927910"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.933581"], ["updated_at", "2014-09-19 20:13:50.933581"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.935143"], ["updated_at", "2014-09-19 20:13:50.935143"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_45260f21') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptatem et est. Voluptates eum rerum ipsum temporibus ipsa officiis. Voluptatem deleniti reiciendis debitis ut consequuntur. Nulla pariatur velit animi rerum et.\", \"A qui dolores enim incidunt exercitationem consectetur ut. Reprehenderit voluptatem vel ex voluptatem qui. Corrupti vel animi eligendi. Eligendi tenetur est nobis fuga. Velit et id in sunt.\"]"], ["created_at", "2014-09-19 20:13:50.938030"], ["name", "contract_45260f21"], ["title", "Delectus molestiae vel omnis dolorem."], ["updated_at", "2014-09-19 20:13:50.938030"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45260f21"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_45260f21') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:13:50.944166"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.949038"], ["updated_at", "2014-09-19 20:13:50.949038"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.950626"], ["updated_at", "2014-09-19 20:13:50.950626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d233b072') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In vitae quidem ducimus earum. Nihil incidunt recusandae. Vel minima facere voluptatem qui porro odio. Nostrum nobis reiciendis suscipit. Est nam voluptatem cum veniam.\", \"Atque similique soluta. Laborum mollitia distinctio iure molestiae. Quia repudiandae dolor.\"]"], ["created_at", "2014-09-19 20:13:50.953411"], ["name", "contract_d233b072"], ["title", "Et occaecati autem quam."], ["updated_at", "2014-09-19 20:13:50.953411"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.959127"], ["updated_at", "2014-09-19 20:13:50.959127"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.960946"], ["updated_at", "2014-09-19 20:13:50.960946"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dea8cbd3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint in saepe. Quod dolores at et in. Rerum voluptatem tempore doloremque excepturi rerum nulla. Et a placeat modi omnis odit. Eaque amet et tempora ut.\", \"Rerum et non aut. Nihil sed laborum aut ipsum nihil sint earum. Modi libero laudantium perferendis.\"]"], ["created_at", "2014-09-19 20:13:50.963878"], ["name", "contract_dea8cbd3"], ["title", "Reiciendis temporibus facilis."], ["updated_at", "2014-09-19 20:13:50.963878"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dea8cbd3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_dea8cbd3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:13:50.967167"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_dea8cbd3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.975189"], ["updated_at", "2014-09-19 20:13:50.975189"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.976908"], ["updated_at", "2014-09-19 20:13:50.976908"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32dad524') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam dicta non error reiciendis dolore. Reiciendis rem error eius eum corporis. Magnam impedit qui. Harum laudantium corporis atque.\", \"Est voluptatum voluptas laudantium qui. Dolor reiciendis adipisci officiis et. Vel et voluptatum eos quia. Non commodi a aut nobis dolorem.\"]"], ["created_at", "2014-09-19 20:13:50.979666"], ["name", "contract_32dad524"], ["title", "Totam cumque quam."], ["updated_at", "2014-09-19 20:13:50.979666"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 9, 6, 2, 5, 4, 7, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.989939"], ["updated_at", "2014-09-19 20:13:50.989939"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.991571"], ["updated_at", "2014-09-19 20:13:50.991571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a1ab1e55') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio similique sunt. Atque dolores velit earum natus aliquid corporis. Quisquam totam illo et optio iusto. Dolores facere est. Dignissimos est et natus deserunt quibusdam cupiditate.\", \"Neque voluptatem saepe. Possimus asperiores aspernatur sit expedita dolorem voluptatem. Dolores aut aut nostrum corporis omnis placeat. Qui quia sed eaque commodi et corporis. Fuga nostrum ea quisquam.\"]"], ["created_at", "2014-09-19 20:13:50.994518"], ["name", "contract_a1ab1e55"], ["title", "Officia adipisci corporis sit dignissimos."], ["updated_at", "2014-09-19 20:13:50.994518"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:50.999561"], ["updated_at", "2014-09-19 20:13:50.999561"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.001276"], ["updated_at", "2014-09-19 20:13:51.001276"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4cdfd7c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus neque assumenda. Non quaerat perferendis adipisci consequatur velit in. Ut fugit porro est animi omnis. Dignissimos illum qui reprehenderit eum sit. Consequatur eius ab dolores.\", \"Aut dolorem et ipsum est cum. Ratione suscipit maiores impedit tempora asperiores doloremque repellat. Qui enim nihil possimus. Totam et quia.\"]"], ["created_at", "2014-09-19 20:13:51.003992"], ["name", "contract_4cdfd7c0"], ["title", "Molestiae et praesentium vel aliquam voluptatem beatae."], ["updated_at", "2014-09-19 20:13:51.003992"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.008763"], ["updated_at", "2014-09-19 20:13:51.008763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.010248"], ["updated_at", "2014-09-19 20:13:51.010248"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_dccffc04') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aspernatur facere autem. Neque ut qui omnis veniam optio id cum. Ut non suscipit. Modi voluptatem asperiores molestias autem ipsa velit dolor. Fuga in id.\", \"Libero expedita nihil at cupiditate. Eveniet commodi itaque dignissimos est nisi corrupti at. Est aut recusandae quia et a in. Vel sed occaecati asperiores sit expedita.\"]"], ["created_at", "2014-09-19 20:13:51.013043"], ["name", "contract_dccffc04"], ["title", "Laborum ullam harum reprehenderit dolor aperiam."], ["updated_at", "2014-09-19 20:13:51.013043"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.016987"], ["updated_at", "2014-09-19 20:13:51.016987"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.018463"], ["updated_at", "2014-09-19 20:13:51.018463"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_24528acf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident laudantium vitae officia sunt. Magnam sint voluptate ipsum enim blanditiis ut. Culpa libero eveniet recusandae at vel quia. Mollitia eius eveniet.\", \"Et quis vitae omnis libero nisi voluptatem quasi. Reprehenderit laborum ab modi laboriosam. Voluptatum quaerat nostrum at sapiente odio velit. Et beatae quis rerum ut sapiente quas. Sequi quibusdam iure.\"]"], ["created_at", "2014-09-19 20:13:51.021041"], ["name", "contract_24528acf"], ["title", "Laudantium consequuntur id eos molestiae qui."], ["updated_at", "2014-09-19 20:13:51.021041"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.025654"], ["updated_at", "2014-09-19 20:13:51.025654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.027390"], ["updated_at", "2014-09-19 20:13:51.027390"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_184c09f9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse nihil aut perferendis totam unde a. Nulla et libero corrupti. Ut dolorem autem animi et aspernatur nihil. Laudantium et enim qui voluptatibus eligendi. Sint ullam occaecati quia ipsam accusamus iste.\", \"Qui voluptatibus et laudantium quis praesentium repellat nisi. Qui iste quis natus nostrum eligendi. Itaque velit et doloremque omnis. Saepe iusto aut error vel non. Quaerat nihil rerum sapiente non nam.\"]"], ["created_at", "2014-09-19 20:13:51.029975"], ["name", "contract_184c09f9"], ["title", "Ut expedita perferendis."], ["updated_at", "2014-09-19 20:13:51.029975"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:13:51.033939"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.039261"], ["updated_at", "2014-09-19 20:13:51.039261"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.041285"], ["updated_at", "2014-09-19 20:13:51.041285"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_59a6851e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et rerum numquam. Qui dolores aliquid. Hic totam culpa atque ut architecto. Omnis dolores cum.\", \"Ducimus maxime eum. Quibusdam sit dolores. Quo facilis fuga qui excepturi reprehenderit corporis. Odit occaecati corporis fuga voluptatum repellendus itaque.\"]"], ["created_at", "2014-09-19 20:13:51.044173"], ["name", "contract_59a6851e"], ["title", "Consectetur saepe qui exercitationem tempore."], ["updated_at", "2014-09-19 20:13:51.044173"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.049780"], ["updated_at", "2014-09-19 20:13:51.049780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.051383"], ["updated_at", "2014-09-19 20:13:51.051383"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_7985d4d3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa velit quaerat odio in. Voluptate temporibus ut quo accusantium. Ut doloribus quibusdam neque.\", \"Repudiandae veritatis sunt dolore aspernatur dolores. Voluptate voluptatibus consequatur sit quis. Eveniet aut dolorem quae nihil qui voluptatem.\"]"], ["created_at", "2014-09-19 20:13:51.053894"], ["name", "contract_7985d4d3"], ["title", "Laudantium eius harum tenetur ullam corrupti odit beatae."], ["updated_at", "2014-09-19 20:13:51.053894"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7985d4d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_7985d4d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:13:51.056857"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.062803"], ["updated_at", "2014-09-19 20:13:51.062803"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.064351"], ["updated_at", "2014-09-19 20:13:51.064351"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ecadd614') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt itaque voluptas. Quas et voluptatem doloribus eum qui in omnis. Ut at eaque iusto mollitia libero. Rerum ducimus sunt.\", \"Doloribus sunt necessitatibus laudantium. Quam voluptatem doloribus. Accusamus officiis velit adipisci ut. Vitae reiciendis earum quia.\"]"], ["created_at", "2014-09-19 20:13:51.066904"], ["name", "contract_ecadd614"], ["title", "Et et quia nostrum consequuntur minima rem neque."], ["updated_at", "2014-09-19 20:13:51.066904"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.071751"], ["updated_at", "2014-09-19 20:13:51.071751"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.073136"], ["updated_at", "2014-09-19 20:13:51.073136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47c7ed58') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit corrupti est vel veniam tenetur. Nulla aut ut. Velit voluptas iste.\", \"Veniam voluptatem animi consectetur corrupti nesciunt. Sunt dignissimos et ea. Excepturi velit id ut vel recusandae dolor. Reprehenderit pariatur fuga magnam occaecati quia. Alias debitis unde qui saepe.\"]"], ["created_at", "2014-09-19 20:13:51.076026"], ["name", "contract_47c7ed58"], ["title", "At praesentium aut perferendis."], ["updated_at", "2014-09-19 20:13:51.076026"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47c7ed58"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_47c7ed58') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:13:51.079349"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.086005"], ["updated_at", "2014-09-19 20:13:51.086005"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.088238"], ["updated_at", "2014-09-19 20:13:51.088238"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_61245d4e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam ut possimus nesciunt magnam. Quos veritatis quas ea maiores aperiam repellat officiis. Possimus libero illo distinctio earum quaerat voluptas at. Occaecati sed quia in molestiae sed. Voluptatem consectetur quas dolores officia doloremque.\", \"Inventore possimus qui. Aut illo hic id consequatur nemo. Dolores accusamus doloremque sint voluptas. Molestias veniam rem aut omnis enim vel.\"]"], ["created_at", "2014-09-19 20:13:51.091621"], ["name", "contract_61245d4e"], ["title", "Sunt et et."], ["updated_at", "2014-09-19 20:13:51.091621"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:13:51.095116"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:13:51.095116"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.098319"], ["updated_at", "2014-09-19 20:13:51.098319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.099771"], ["updated_at", "2014-09-19 20:13:51.099771"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_66e1020b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat necessitatibus sed porro. Debitis deserunt reiciendis ea animi quod earum. Reprehenderit aperiam molestiae. Dolorem fugiat voluptates ut qui et qui.\", \"Facilis consequuntur ipsam et ipsum quisquam. Labore quia sint tenetur voluptatum harum dolor. Impedit a ex eaque delectus deleniti dignissimos. Saepe deleniti illo quisquam esse.\"]"], ["created_at", "2014-09-19 20:13:51.102484"], ["name", "contract_66e1020b"], ["title", "Nisi et facilis maiores ab tenetur aut et."], ["updated_at", "2014-09-19 20:13:51.102484"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66e1020b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_66e1020b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:13:51.105662"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66e1020b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_66e1020b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:13:51.111199"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit est error. Fugiat ullam et et neque libero aut iste. Nobis neque labore quis. Aperiam sapiente excepturi.\", \"Quasi expedita sequi asperiores dolorem. Eligendi enim a eum. Inventore similique atque error quidem rerum.\"]"], ["created_at", "2014-09-19 20:13:51.116333"], ["name", "alpha"], ["title", "Quae id quos aut."], ["updated_at", "2014-09-19 20:13:51.116333"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:13:51.119469"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et harum quisquam debitis quod tempore odit omnis. Facere esse provident in veniam vero recusandae. Ea ipsam et.\", \"Eum officiis minima corporis qui. Tempore laborum repudiandae perferendis doloremque inventore. Eum soluta nulla eum similique culpa.\"]"], ["created_at", "2014-09-19 20:13:51.123061"], ["name", "beta"], ["title", "Mollitia tempora minus qui soluta nostrum ut consequatur."], ["updated_at", "2014-09-19 20:13:51.123061"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:13:51.126649"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident ex exercitationem omnis. Totam accusamus eum veritatis est sapiente ratione et. Aut consequatur qui voluptas praesentium. Autem tenetur officiis voluptas. Ipsa possimus magni enim sunt et.\", \"Dolorem aut vitae esse aut ab enim non. Atque quis odit repellendus odio quam vero. Excepturi ipsam assumenda distinctio. Aut velit saepe est amet perferendis. Inventore ea ut.\"]"], ["created_at", "2014-09-19 20:13:51.132692"], ["name", "alpha"], ["title", "Provident dolor odio magnam qui."], ["updated_at", "2014-09-19 20:13:51.132692"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:13:51.136907"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio quia voluptatem. Ipsam tempora quia quia quibusdam nam. Facilis voluptatem voluptate. Aliquid fugiat et rerum nihil. Qui sint sit et perferendis rerum.\", \"Hic enim debitis. Natus tenetur laborum quis et tempore non et. Quod voluptatem possimus.\"]"], ["created_at", "2014-09-19 20:13:51.141153"], ["name", "beta"], ["title", "Asperiores recusandae qui quia aut dolore quae."], ["updated_at", "2014-09-19 20:13:51.141153"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:13:51.144484"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae quod voluptate laboriosam necessitatibus labore et. Recusandae harum doloribus sit omnis ut et consectetur. Aliquid et nulla enim qui velit.\", \"Possimus et quae dolorem. Optio rerum nihil. Blanditiis et animi quia.\"]"], ["created_at", "2014-09-19 20:13:51.148304"], ["name", "alpha"], ["title", "Velit voluptatem alias perferendis architecto."], ["updated_at", "2014-09-19 20:13:51.148304"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:13:51.151297"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia repellendus aspernatur ipsum qui similique fugit. Voluptatem perferendis quas ducimus nulla dicta. Non vero omnis molestias.\", \"Deleniti et vel. Mollitia et ex aut repudiandae. Ullam sed officiis libero. Est inventore maxime occaecati sed quod officiis.\"]"], ["created_at", "2014-09-19 20:13:51.154671"], ["name", "beta"], ["title", "Fugiat cupiditate similique eum provident."], ["updated_at", "2014-09-19 20:13:51.154671"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:13:51.157594"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.160735"], ["updated_at", "2014-09-19 20:13:51.160735"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.162229"], ["updated_at", "2014-09-19 20:13:51.162229"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_03250473') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptas quibusdam quaerat commodi facere. Rerum et molestiae ducimus reiciendis enim iure. Odit ut velit ab harum qui dicta. Aliquid et et dicta.\", \"Culpa ullam ipsum saepe blanditiis non. Ut nobis velit. Ut officiis qui. Illum omnis est possimus tempore id. Rerum voluptates omnis delectus qui et.\"]"], ["created_at", "2014-09-19 20:13:51.165488"], ["name", "contract_03250473"], ["title", "Animi sit qui harum vitae praesentium quia eos."], ["updated_at", "2014-09-19 20:13:51.165488"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_03250473"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_03250473') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:13:51.169062"], ["version", 1]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.171286"], ["updated_at", "2014-09-19 20:13:51.171286"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-19 20:13:51.173438"], ["updated_at", "2014-09-19 20:13:51.173438"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.181260"], ["updated_at", "2014-09-19 20:13:51.181260"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.183009"], ["updated_at", "2014-09-19 20:13:51.183009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4021c57a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit nobis incidunt. Consequuntur minus nostrum temporibus vero alias vitae sunt. Velit at sit.\", \"Deserunt voluptatem quaerat soluta vero quia modi. Est repudiandae occaecati. Ut sed excepturi molestiae debitis expedita consequatur. Architecto aut eum rerum. Dicta excepturi voluptas est ea ut.\"]"], ["created_at", "2014-09-19 20:13:51.186305"], ["name", "contract_4021c57a"], ["title", "Dolorum aliquam maxime aut enim aut tempore."], ["updated_at", "2014-09-19 20:13:51.186305"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4021c57a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_4021c57a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:13:51.189605"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.192410"], ["updated_at", "2014-09-19 20:13:51.192410"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-19 20:13:51.194654"], ["updated_at", "2014-09-19 20:13:51.194654"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.198000"], ["updated_at", "2014-09-19 20:13:51.198000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.199445"], ["updated_at", "2014-09-19 20:13:51.199445"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2f7f0b82') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus distinctio optio dolores sapiente. Occaecati quaerat quis. Sit veritatis sit aut est sed. Cupiditate voluptatem aut.\", \"Ullam expedita rem molestias est quis officia nesciunt. Voluptatem temporibus consequatur necessitatibus omnis. Quis ex aliquam quae eum enim et. Molestiae dolorem vel laborum nisi.\"]"], ["created_at", "2014-09-19 20:13:51.202421"], ["name", "contract_2f7f0b82"], ["title", "Tempora consectetur nihil."], ["updated_at", "2014-09-19 20:13:51.202421"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2f7f0b82"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_2f7f0b82') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:13:51.205541"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.208147"], ["updated_at", "2014-09-19 20:13:51.208147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-19 20:13:51.210373"], ["updated_at", "2014-09-19 20:13:51.210373"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.212675"], ["updated_at", "2014-09-19 20:13:51.212675"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.214195"], ["updated_at", "2014-09-19 20:13:51.214195"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2289d874') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores quas molestiae et doloribus consequatur saepe totam. Qui at necessitatibus nemo sunt quod et. Rerum in velit reiciendis.\", \"Repudiandae dolores et. Est sed voluptatem quis. Reprehenderit animi mollitia nostrum dolor voluptatum officiis et. Id at dignissimos aspernatur.\"]"], ["created_at", "2014-09-19 20:13:51.217340"], ["name", "contract_2289d874"], ["title", "Nostrum aut sed natus nesciunt vel est."], ["updated_at", "2014-09-19 20:13:51.217340"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2289d874"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_2289d874') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:13:51.220349"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.222837"], ["updated_at", "2014-09-19 20:13:51.222837"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-19 20:13:51.225607"], ["updated_at", "2014-09-19 20:13:51.225607"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_e4d4c536') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati voluptatem aut maxime aut earum tempora pariatur. Eos aut rerum. Iste eum itaque quasi cumque in. Et eveniet quasi distinctio ea quis illum.\", \"Occaecati quae tempora repellendus provident sunt dolorem iure. Repudiandae delectus ut cupiditate molestiae omnis. Non autem omnis odit ipsam blanditiis et sit.\"]"], ["created_at", "2014-09-19 20:13:51.232380"], ["name", "contract_e4d4c536"], ["title", "Voluptatem voluptas recusandae."], ["updated_at", "2014-09-19 20:13:51.232380"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e4d4c536"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e4d4c536') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:13:51.236814"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e4d4c536"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e4d4c536"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e4d4c536') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:13:51.242222"], ["version", nil]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_7c4f5c3a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum nihil doloribus est. Amet repudiandae enim at quae. Sed dolores voluptas aut.\", \"Esse soluta sed iste laborum aperiam. Illo cupiditate praesentium. Dignissimos possimus aliquid illum dolores dolorum recusandae velit. Adipisci minima sed sequi.\"]"], ["created_at", "2014-09-19 20:13:51.246586"], ["name", "contract_7c4f5c3a"], ["title", "Est molestiae maxime."], ["updated_at", "2014-09-19 20:13:51.246586"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7c4f5c3a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_7c4f5c3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:13:51.250145"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7c4f5c3a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_7c4f5c3a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum nihil doloribus est. Amet repudiandae enim at quae. Sed dolores voluptas aut.\", \"Esse soluta sed iste laborum aperiam. Illo cupiditate praesentium. Dignissimos possimus aliquid illum dolores dolorum recusandae velit. Adipisci minima sed sequi.\"]"], ["created_at", "2014-09-19 20:13:51.253714"], ["name", "contract_7c4f5c3a"], ["title", "Est molestiae maxime."], ["updated_at", "2014-09-19 20:13:51.253714"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7c4f5c3a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_7c4f5c3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:13:51.256671"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_10364d40') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatibus sit dicta. Distinctio a ea. Maiores nam voluptate minus doloribus. Eum aut voluptas quae molestias. Aut voluptates vel reprehenderit molestiae aut corrupti aut.\", \"Provident beatae voluptatem. Est voluptatem possimus dolorem amet qui unde. Consectetur voluptatem quia quod consequatur.\"]"], ["created_at", "2014-09-19 20:13:51.260382"], ["name", "contract_10364d40"], ["title", "Ducimus sed minima aut et autem."], ["updated_at", "2014-09-19 20:13:51.260382"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_10364d40"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_10364d40') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:13:51.263488"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_10364d40' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatibus sit dicta. Distinctio a ea. Maiores nam voluptate minus doloribus. Eum aut voluptas quae molestias. Aut voluptates vel reprehenderit molestiae aut corrupti aut.\", \"Provident beatae voluptatem. Est voluptatem possimus dolorem amet qui unde. Consectetur voluptatem quia quod consequatur.\"]"], ["created_at", "2014-09-19 20:13:51.267127"], ["name", "joe"], ["title", "Ducimus sed minima aut et autem."], ["updated_at", "2014-09-19 20:13:51.267127"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:13:51.270006"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction 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_7c8fb1fc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione quia enim qui odio fuga aliquid. Ex quae earum assumenda dicta ea. Ad dolore ipsum quia. Tempora a quaerat. Quas et eum.\", \"Sunt occaecati non sit iure rerum doloribus. Neque consequatur quia labore iste rerum. Veniam dicta sunt ratione quisquam.\"]"], ["created_at", "2014-09-19 20:13:51.274385"], ["name", "contract_7c8fb1fc"], ["title", "Dignissimos aspernatur culpa quas dolores sunt."], ["updated_at", "2014-09-19 20:13:51.274385"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7c8fb1fc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_7c8fb1fc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:13:51.277976"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.281791"], ["updated_at", "2014-09-19 20:13:51.281791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 20:13:51.283998"], ["updated_at", "2014-09-19 20:13:51.283998"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_7c8fb1fc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7c8fb1fc"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_7c8fb1fc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.292567"], ["updated_at", "2014-09-19 20:13:51.292567"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.294072"], ["updated_at", "2014-09-19 20:13:51.294072"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.301720"], ["updated_at", "2014-09-19 20:13:51.301720"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:13:51.303218"], ["updated_at", "2014-09-19 20:13:51.303218"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_f5851ead') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit ut ut quidem. Ad voluptas reiciendis omnis nostrum mollitia aliquam quam. Sit deserunt quis praesentium at eligendi minus repudiandae.\", \"Facilis qui neque quasi beatae consequatur voluptatem. Debitis sint libero rerum pariatur voluptatibus. Sequi veniam facere distinctio aperiam et nesciunt.\"]"], ["created_at", "2014-09-19 20:14:55.253394"], ["name", "contract_f5851ead"], ["title", "Repudiandae et veritatis ut."], ["updated_at", "2014-09-19 20:14:55.253394"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_3968b06d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut officia eligendi. Ut et dolor repellat sequi enim dolore possimus. Deserunt et cumque. Dolor temporibus quia neque impedit. Optio minima recusandae sint.\", \"Autem quia nostrum. Voluptas placeat est occaecati. Quos praesentium iure aperiam.\"]"], ["created_at", "2014-09-19 20:14:55.269319"], ["name", "contract_3968b06d"], ["title", "Error amet accusamus delectus inventore."], ["updated_at", "2014-09-19 20:14:55.269319"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3968b06d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3968b06d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:14:55.274350"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.280177"], ["updated_at", "2014-09-19 20:14:55.280177"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.288632"], ["updated_at", "2014-09-19 20:14:55.288632"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.290684"], ["updated_at", "2014-09-19 20:14:55.290684"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.304212"], ["updated_at", "2014-09-19 20:14:55.304212"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.306419"], ["updated_at", "2014-09-19 20:14:55.306419"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.316167"], ["updated_at", "2014-09-19 20:14:55.316167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.317868"], ["updated_at", "2014-09-19 20:14:55.317868"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_78d65da2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem facere minus autem. Rerum qui velit accusamus tempore sint expedita quaerat. Ea voluptas ullam optio doloremque et est atque. Distinctio sapiente quis delectus repudiandae libero. Quod omnis numquam nesciunt.\", \"Omnis et consequuntur sit ducimus. Iure quia et facere. Repellat et deserunt velit vel similique. Provident voluptas aut quam voluptatem rerum placeat et.\"]"], ["created_at", "2014-09-19 20:14:55.321023"], ["name", "contract_78d65da2"], ["title", "Consequatur velit quod et quaerat."], ["updated_at", "2014-09-19 20:14:55.321023"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.331492"], ["updated_at", "2014-09-19 20:14:55.331492"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.333193"], ["updated_at", "2014-09-19 20:14:55.333193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_10e0cc92') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut praesentium maxime sit omnis et magnam consequatur. Maiores molestiae accusamus iste nihil cumque eum amet. Id facere aperiam magnam. Magnam assumenda quasi totam nemo facere impedit adipisci.\", \"Similique ducimus recusandae ea. Deserunt odit quidem ut sit amet. Quia praesentium quasi quas ex consequatur. Et sit porro laboriosam quae nostrum temporibus.\"]"], ["created_at", "2014-09-19 20:14:55.336325"], ["name", "contract_10e0cc92"], ["title", "Aut iusto consequuntur numquam incidunt aspernatur ut."], ["updated_at", "2014-09-19 20:14:55.336325"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_10e0cc92"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_10e0cc92') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:14:55.341226"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.347324"], ["updated_at", "2014-09-19 20:14:55.347324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.348882"], ["updated_at", "2014-09-19 20:14:55.348882"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a0b5adba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem id deserunt mollitia unde eaque. Voluptas aliquam omnis numquam sequi. Ad in sit non. In omnis pariatur ut enim occaecati. Debitis et corrupti veritatis rem maxime.\", \"Voluptas voluptatem natus ipsum. Mollitia explicabo quia. Dolor adipisci dolor quia ipsum. In quia reprehenderit repudiandae.\"]"], ["created_at", "2014-09-19 20:14:55.351744"], ["name", "contract_a0b5adba"], ["title", "Et quia officiis eum."], ["updated_at", "2014-09-19 20:14:55.351744"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.363975"], ["updated_at", "2014-09-19 20:14:55.363975"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.365976"], ["updated_at", "2014-09-19 20:14:55.365976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2e902ca8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat id sequi aut. Ab consectetur ex sed dignissimos labore tenetur. Consequuntur molestiae ipsum repellat natus facilis. Possimus aut velit in occaecati sed ut. Tempore doloremque provident animi.\", \"Assumenda voluptatum excepturi. Deleniti est iste sint unde quae. Voluptatem vel assumenda iure et error et aut.\"]"], ["created_at", "2014-09-19 20:14:55.369023"], ["name", "contract_2e902ca8"], ["title", "A sit sunt molestiae enim sapiente dolor maiores."], ["updated_at", "2014-09-19 20:14:55.369023"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.373998"], ["updated_at", "2014-09-19 20:14:55.373998"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.376054"], ["updated_at", "2014-09-19 20:14:55.376054"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_907bf5e9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit qui error at minima sunt aperiam et. Et nesciunt quia aliquid dolorem quis necessitatibus sapiente. Ipsam molestiae dignissimos atque id quos vel consequatur. Quas ipsum harum et dolorem.\", \"Expedita dolor beatae optio maiores autem autem. Eveniet sit voluptatum. Debitis molestiae beatae amet dolor.\"]"], ["created_at", "2014-09-19 20:14:55.379145"], ["name", "contract_907bf5e9"], ["title", "Esse minima vel autem sed."], ["updated_at", "2014-09-19 20:14:55.379145"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 7 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:14:55.383334"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.389437"], ["updated_at", "2014-09-19 20:14:55.389437"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.390973"], ["updated_at", "2014-09-19 20:14:55.390973"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_eff93c8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non aut eaque voluptatem qui cupiditate temporibus. Ullam doloribus deleniti temporibus quam est. Pariatur reiciendis quam. Laboriosam et ab eos aut illo velit. Voluptates consequatur officiis voluptatem.\", \"Aut et voluptas vel aperiam nam odit sapiente. Suscipit illo quia officiis. Quasi facere rerum aut. Quisquam nostrum in repellat.\"]"], ["created_at", "2014-09-19 20:14:55.394205"], ["name", "contract_eff93c8c"], ["title", "Accusantium aut iure officia."], ["updated_at", "2014-09-19 20:14:55.394205"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 4, 6, 2, 3, 8, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.405084"], ["updated_at", "2014-09-19 20:14:55.405084"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.406861"], ["updated_at", "2014-09-19 20:14:55.406861"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a6af10e5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aut quod exercitationem itaque alias. Voluptatem laboriosam et quia neque qui enim recusandae. Nesciunt consequatur doloremque aut ipsum deserunt nostrum. Aut aspernatur consequatur vel ut dolore. Sit blanditiis sint ut cum debitis tempore quam.\", \"Rerum aliquam eaque unde. Expedita optio maiores et aliquam sunt laboriosam porro. Veritatis voluptatibus qui. Quaerat ut non a delectus similique. Dolorum ut et optio doloremque.\"]"], ["created_at", "2014-09-19 20:14:55.410310"], ["name", "contract_a6af10e5"], ["title", "Laborum atque ipsum est dolor libero voluptate voluptatibus."], ["updated_at", "2014-09-19 20:14:55.410310"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:14:55.413971"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:14:55.413971"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/10 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.417401"], ["updated_at", "2014-09-19 20:14:55.417401"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.418960"], ["updated_at", "2014-09-19 20:14:55.418960"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_06fc9390') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim est ipsam. Veritatis voluptatem ea est accusantium. Repellendus explicabo et.\", \"Ea eos porro dolor non. Cupiditate omnis magni est. Officia et fuga vero illum nam quis saepe. Nulla repudiandae nam iure qui ipsam minima. Et fugit corporis sed ut officia et.\"]"], ["created_at", "2014-09-19 20:14:55.421559"], ["name", "contract_06fc9390"], ["title", "Repudiandae placeat minima non praesentium voluptate ut."], ["updated_at", "2014-09-19 20:14:55.421559"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_06fc9390"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_06fc9390') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:14:55.424552"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_06fc9390' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.431785"], ["updated_at", "2014-09-19 20:14:55.431785"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.433414"], ["updated_at", "2014-09-19 20:14:55.433414"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a24a69f5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil repellendus vitae temporibus similique natus enim doloribus. Omnis a iste. Veniam eos aliquid.\", \"Temporibus quo ipsam ducimus. Harum fugit aut tempore neque est tempora. Officia id nulla est.\"]"], ["created_at", "2014-09-19 20:14:55.436020"], ["name", "contract_a24a69f5"], ["title", "Rerum cum excepturi."], ["updated_at", "2014-09-19 20:14:55.436020"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a24a69f5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_a24a69f5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:14:55.439000"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.444788"], ["updated_at", "2014-09-19 20:14:55.444788"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.446489"], ["updated_at", "2014-09-19 20:14:55.446489"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eeb3133c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam error non. Nulla distinctio magnam aut dolor. Ullam veritatis natus. Ea quo natus voluptatibus.\", \"Non eos voluptatem ut quia a vitae. Ullam exercitationem alias omnis blanditiis minima. Nostrum ab voluptatem.\"]"], ["created_at", "2014-09-19 20:14:55.449186"], ["name", "contract_eeb3133c"], ["title", "Iure mollitia occaecati et voluptatibus vel."], ["updated_at", "2014-09-19 20:14:55.449186"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eeb3133c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_eeb3133c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:14:55.452450"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eeb3133c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_eeb3133c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:14:55.457949"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.462639"], ["updated_at", "2014-09-19 20:14:55.462639"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.464265"], ["updated_at", "2014-09-19 20:14:55.464265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fd35c463') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti et dolorem exercitationem omnis. Aperiam aut adipisci velit. Iste ut maiores saepe et excepturi minus esse. Culpa ipsam nemo aliquam. Suscipit eaque dolor aut architecto repellat iste et.\", \"Delectus laboriosam omnis placeat tempore ipsum porro eveniet. Minima aut quod odio qui. Aut animi esse totam doloremque repellendus. Dolore veritatis sunt quasi.\"]"], ["created_at", "2014-09-19 20:14:55.466976"], ["name", "contract_fd35c463"], ["title", "Et nobis quisquam sit."], ["updated_at", "2014-09-19 20:14:55.466976"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.471008"], ["updated_at", "2014-09-19 20:14:55.471008"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.472509"], ["updated_at", "2014-09-19 20:14:55.472509"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_25f11595') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius exercitationem nam. Modi molestiae dicta ex. Qui repellat rerum iure mollitia.\", \"Et sint labore. Magnam sequi dolores voluptatibus. Quidem omnis et occaecati quo quia modi beatae. Ipsa voluptatem temporibus. Expedita quia ipsam praesentium enim impedit corporis sapiente.\"]"], ["created_at", "2014-09-19 20:14:55.475060"], ["name", "contract_25f11595"], ["title", "Vitae quibusdam eius unde quasi minus."], ["updated_at", "2014-09-19 20:14:55.475060"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.478962"], ["updated_at", "2014-09-19 20:14:55.478962"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.480430"], ["updated_at", "2014-09-19 20:14:55.480430"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8ccfbe86') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit et ut. Totam atque voluptate iusto earum dolor. Qui vitae dolorum nobis sit vero est. Consectetur id molestiae qui.\", \"Dolores enim totam amet eius nesciunt neque fugit. Iure corrupti facilis. Perspiciatis et asperiores eum totam tempore odio. Tempora ullam molestiae consequuntur.\"]"], ["created_at", "2014-09-19 20:14:55.483101"], ["name", "contract_8ccfbe86"], ["title", "Et excepturi quo et maxime nesciunt non mollitia."], ["updated_at", "2014-09-19 20:14:55.483101"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.487064"], ["updated_at", "2014-09-19 20:14:55.487064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.488548"], ["updated_at", "2014-09-19 20:14:55.488548"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6bd3f098') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe inventore repellat et ut. Laboriosam minima voluptatibus ipsam molestiae. Maiores eaque ea saepe reprehenderit. Similique ipsam at. Distinctio eos illo quis.\", \"Commodi voluptatum ab recusandae quo. Quod ullam iste non ex. Et voluptatum nulla.\"]"], ["created_at", "2014-09-19 20:14:55.491103"], ["name", "contract_6bd3f098"], ["title", "Consequatur distinctio eaque voluptatem quisquam ipsa."], ["updated_at", "2014-09-19 20:14:55.491103"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6bd3f098"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_6bd3f098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:14:55.495528"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.500103"], ["updated_at", "2014-09-19 20:14:55.500103"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.501823"], ["updated_at", "2014-09-19 20:14:55.501823"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2c0eb587') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit aspernatur ab. Reprehenderit rerum ipsam. Modi quis illo sit qui eum.\", \"Autem exercitationem sint impedit. Molestiae eius aut odit natus. Distinctio velit dicta dolor expedita aut quia quasi. Quis quod sit explicabo.\"]"], ["created_at", "2014-09-19 20:14:55.504516"], ["name", "contract_2c0eb587"], ["title", "Rerum porro cum nisi qui aut aut dicta."], ["updated_at", "2014-09-19 20:14:55.504516"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.509862"], ["updated_at", "2014-09-19 20:14:55.509862"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.511493"], ["updated_at", "2014-09-19 20:14:55.511493"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_84ae0645') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam pariatur in aliquam fugit aut similique. Et occaecati quo quasi. Maiores voluptas blanditiis reprehenderit.\", \"Doloremque quos debitis. Quae quidem qui quos odit. Maxime assumenda doloremque. Et error aut aperiam accusamus odit atque culpa. Tempore sunt eos cum cumque temporibus reprehenderit.\"]"], ["created_at", "2014-09-19 20:14:55.514375"], ["name", "contract_84ae0645"], ["title", "Saepe dolore libero soluta qui."], ["updated_at", "2014-09-19 20:14:55.514375"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.519718"], ["updated_at", "2014-09-19 20:14:55.519718"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.521230"], ["updated_at", "2014-09-19 20:14:55.521230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1760c42e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea deserunt omnis ut quia. Inventore reprehenderit et voluptas qui nihil eius. Omnis animi exercitationem porro. Minus omnis dolorem voluptate sint.\", \"Culpa quia amet aut. Deleniti est eius beatae non tenetur. Eveniet et distinctio occaecati non consequatur natus saepe.\"]"], ["created_at", "2014-09-19 20:14:55.523733"], ["name", "contract_1760c42e"], ["title", "Amet inventore pariatur sed quibusdam."], ["updated_at", "2014-09-19 20:14:55.523733"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.528309"], ["updated_at", "2014-09-19 20:14:55.528309"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.529799"], ["updated_at", "2014-09-19 20:14:55.529799"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f5d1d650') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis nulla sunt. Incidunt vero labore libero. In dolor ullam ratione numquam molestiae ab rem. Quia minus impedit aut sed sint exercitationem tempora. Quo magni placeat.\", \"Natus facere harum molestiae nostrum enim. Culpa a veniam aut aspernatur facilis aperiam cumque. Perferendis vero dolor aut. Quo dolores maxime aspernatur et. Quam voluptatem consectetur laudantium.\"]"], ["created_at", "2014-09-19 20:14:55.532557"], ["name", "contract_f5d1d650"], ["title", "Minus et voluptatum eveniet natus."], ["updated_at", "2014-09-19 20:14:55.532557"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.537835"], ["updated_at", "2014-09-19 20:14:55.537835"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.539546"], ["updated_at", "2014-09-19 20:14:55.539546"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5cd68caf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus dignissimos sit. In quis illum error molestiae. Vitae alias molestiae. Aperiam velit laborum dignissimos et asperiores. Suscipit tempora sit impedit similique.\", \"Inventore eveniet quis. Amet aut ex minus et aperiam. Nesciunt voluptates voluptatem enim soluta molestiae. Recusandae dolorum possimus aspernatur quibusdam voluptas.\"]"], ["created_at", "2014-09-19 20:14:55.542711"], ["name", "contract_5cd68caf"], ["title", "Enim et incidunt."], ["updated_at", "2014-09-19 20:14:55.542711"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5cd68caf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_5cd68caf') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:14:55.546555"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.549484"], ["updated_at", "2014-09-19 20:14:55.549484"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-19 20:14:55.551859"], ["updated_at", "2014-09-19 20:14:55.551859"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.560400"], ["updated_at", "2014-09-19 20:14:55.560400"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.561970"], ["updated_at", "2014-09-19 20:14:55.561970"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b0ddd520') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum et nostrum. Voluptate est atque qui maiores blanditiis voluptas. Corrupti saepe qui tempora eaque. Eaque non consequatur similique blanditiis nihil illo voluptas. Tenetur exercitationem dolorem id perferendis iste velit praesentium.\", \"Ratione accusantium eius fugit distinctio sunt provident quo. Ea sint itaque esse et sint. Reprehenderit optio voluptates excepturi porro fugit repellendus.\"]"], ["created_at", "2014-09-19 20:14:55.564912"], ["name", "contract_b0ddd520"], ["title", "Vero temporibus et minima aut a sed commodi."], ["updated_at", "2014-09-19 20:14:55.564912"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0ddd520"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_b0ddd520') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:14:55.568113"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.570567"], ["updated_at", "2014-09-19 20:14:55.570567"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-19 20:14:55.572867"], ["updated_at", "2014-09-19 20:14:55.572867"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.580062"], ["updated_at", "2014-09-19 20:14:55.580062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.581605"], ["updated_at", "2014-09-19 20:14:55.581605"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_39cdf5d5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et consequatur molestiae eaque officiis. Non exercitationem ut ut incidunt. Maxime sunt deleniti nemo suscipit autem. Voluptatem eaque earum omnis aliquam corrupti aut iure.\", \"Non quod id dolor est molestias quidem. Et doloremque sit aut cum culpa molestiae ut. Deserunt est beatae fuga. Harum minus culpa. Distinctio doloribus quia.\"]"], ["created_at", "2014-09-19 20:14:55.584693"], ["name", "contract_39cdf5d5"], ["title", "Libero culpa nesciunt quo et voluptatem."], ["updated_at", "2014-09-19 20:14:55.584693"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_39cdf5d5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_39cdf5d5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-19 20:14:55.587712"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.590190"], ["updated_at", "2014-09-19 20:14:55.590190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-19 20:14:55.592378"], ["updated_at", "2014-09-19 20:14:55.592378"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.596343"], ["updated_at", "2014-09-19 20:14:55.596343"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.597919"], ["updated_at", "2014-09-19 20:14:55.597919"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8ce9bf6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis totam doloribus et quas earum non praesentium. Fugit sequi quia aut dicta et. Illo ab cupiditate odit.\", \"Quo aut commodi ea qui delectus. Aliquid harum corrupti cupiditate asperiores nostrum quasi dolor. Corporis similique soluta explicabo id aliquam nisi recusandae. Aperiam sed quas eum et quis cumque odit. Et optio qui minima.\"]"], ["created_at", "2014-09-19 20:14:55.600853"], ["name", "contract_8ce9bf6d"], ["title", "Quos ipsam veritatis."], ["updated_at", "2014-09-19 20:14:55.600853"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8ce9bf6d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_8ce9bf6d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:14:55.603869"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.606299"], ["updated_at", "2014-09-19 20:14:55.606299"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-19 20:14:55.609085"], ["updated_at", "2014-09-19 20:14:55.609085"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore magnam odit voluptas nulla qui est. Fugiat et reprehenderit hic sit. Quia est delectus commodi. Error adipisci dolores velit ad possimus accusamus doloremque.\", \"Sint iure qui explicabo sed et itaque et. Commodi perspiciatis quidem quae adipisci aspernatur. Adipisci sapiente dolorum optio repellendus numquam aut saepe. Fuga ipsum eligendi rem voluptatum ut et. Facere architecto eveniet qui consectetur.\"]"], ["created_at", "2014-09-19 20:14:55.619326"], ["name", "alpha"], ["title", "Sunt nihil reprehenderit rem."], ["updated_at", "2014-09-19 20:14:55.619326"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-19 20:14:55.622606"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam debitis dolor dolores rerum et non. Velit modi enim odio. Quis temporibus quia.\", \"Asperiores officiis inventore aut est quae deserunt porro. Commodi id nostrum et suscipit labore consectetur. Quibusdam voluptas ut soluta.\"]"], ["created_at", "2014-09-19 20:14:55.626614"], ["name", "beta"], ["title", "Molestiae iste odio."], ["updated_at", "2014-09-19 20:14:55.626614"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:14:55.630563"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos qui ut mollitia corporis temporibus eveniet. Et labore quaerat id ducimus. Non ipsa et. Quibusdam ut animi itaque eum et.\", \"Tempora omnis eos numquam quisquam excepturi. Tenetur minus deleniti rerum itaque. Facilis iusto quo dignissimos. Ab vel aut quas vitae labore illum aut.\"]"], ["created_at", "2014-09-19 20:14:55.638476"], ["name", "alpha"], ["title", "Aut quo et quo suscipit nihil."], ["updated_at", "2014-09-19 20:14:55.638476"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-19 20:14:55.641801"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum aut non quia quod et. Consequatur sed illum. Eius ea voluptates dolore.\", \"Dolorem et nihil vero. Impedit in blanditiis aut fugiat est eum id. At hic voluptatum sed veritatis. Numquam quis sunt sint ducimus sapiente dolores qui. In molestiae earum iste aut aut voluptas porro.\"]"], ["created_at", "2014-09-19 20:14:55.645237"], ["name", "beta"], ["title", "Et dolor magni tempora eveniet aut ea."], ["updated_at", "2014-09-19 20:14:55.645237"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:14:55.648184"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum dolores accusantium ex fugit aut. Sunt odit aut in. Reiciendis ea esse. Eveniet voluptate non molestiae. Iusto tenetur sequi iure et dolor numquam.\", \"Rerum quia enim eum dolores. Dolore unde nobis repellendus dolores. Explicabo vitae sunt qui quaerat nulla velit sint. Vero repudiandae saepe.\"]"], ["created_at", "2014-09-19 20:14:55.652319"], ["name", "alpha"], ["title", "In veniam exercitationem culpa ipsam illum minus quas."], ["updated_at", "2014-09-19 20:14:55.652319"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:14:55.655471"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati rerum natus odio vel vero ad voluptatem. Quia iure quia tempora perspiciatis natus. Sit ipsa repellendus odio. Ut ex nostrum repudiandae nihil tenetur consequatur voluptatem.\", \"Iure delectus debitis nihil. Nesciunt voluptatem quas nemo quia. Est cupiditate sunt nihil.\"]"], ["created_at", "2014-09-19 20:14:55.658952"], ["name", "beta"], ["title", "Tempora qui optio."], ["updated_at", "2014-09-19 20:14:55.658952"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:14:55.662755"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b025da48') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis a laudantium ullam vero qui unde minus. Dolor at deleniti occaecati pariatur consectetur voluptatum. Aspernatur neque consequatur.\", \"Omnis et voluptas blanditiis ducimus animi modi. Temporibus voluptatem ad est et labore sunt. Voluptatum mollitia iusto dicta cupiditate.\"]"], ["created_at", "2014-09-19 20:14:55.666738"], ["name", "contract_b025da48"], ["title", "Enim commodi sapiente in ipsam."], ["updated_at", "2014-09-19 20:14:55.666738"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b025da48"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_b025da48') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:14:55.669633"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b025da48' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b025da48') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis a laudantium ullam vero qui unde minus. Dolor at deleniti occaecati pariatur consectetur voluptatum. Aspernatur neque consequatur.\", \"Omnis et voluptas blanditiis ducimus animi modi. Temporibus voluptatem ad est et labore sunt. Voluptatum mollitia iusto dicta cupiditate.\"]"], ["created_at", "2014-09-19 20:14:55.673082"], ["name", "contract_b025da48"], ["title", "Enim commodi sapiente in ipsam."], ["updated_at", "2014-09-19 20:14:55.673082"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b025da48"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_b025da48') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:14:55.676134"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21d14e30') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere est fuga minus omnis fugiat rerum facilis. A accusantium velit quas enim. Esse eius totam tempore alias eum ut inventore. Asperiores et qui non nobis sit fugit doloribus.\", \"Optio est odit nulla consequatur eveniet aliquam tenetur. Et deleniti neque. Dolorem officia est natus quod. Dicta at vero. Sunt quos pariatur sapiente esse est et ipsam.\"]"], ["created_at", "2014-09-19 20:14:55.679991"], ["name", "contract_21d14e30"], ["title", "Ut aut sit unde voluptatibus."], ["updated_at", "2014-09-19 20:14:55.679991"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21d14e30"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_21d14e30') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:14:55.683418"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_21d14e30' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere est fuga minus omnis fugiat rerum facilis. A accusantium velit quas enim. Esse eius totam tempore alias eum ut inventore. Asperiores et qui non nobis sit fugit doloribus.\", \"Optio est odit nulla consequatur eveniet aliquam tenetur. Et deleniti neque. Dolorem officia est natus quod. Dicta at vero. Sunt quos pariatur sapiente esse est et ipsam.\"]"], ["created_at", "2014-09-19 20:14:55.687071"], ["name", "joe"], ["title", "Ut aut sit unde voluptatibus."], ["updated_at", "2014-09-19 20:14:55.687071"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:14:55.690127"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_652387b7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam labore rerum. Dicta vel aliquam culpa repudiandae. Architecto repellendus sunt tenetur a facilis delectus. Ex totam assumenda est voluptas. Non consequatur impedit tenetur sunt incidunt.\", \"Optio sit sed odit voluptatem est. Corporis libero enim sit culpa nemo. Earum eum repellat doloribus accusamus debitis qui repellendus.\"]"], ["created_at", "2014-09-19 20:14:55.694597"], ["name", "contract_652387b7"], ["title", "Accusamus aut odio enim quo laborum."], ["updated_at", "2014-09-19 20:14:55.694597"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_652387b7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_652387b7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:14:55.699039"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_652387b7"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_652387b7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_652387b7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:14:55.704224"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c2a34878') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi et est vitae ipsam aliquid est minima. Nam et labore sapiente voluptatem. Voluptates ea harum cumque natus illum. Rerum recusandae voluptatem corporis voluptas nostrum. Ipsa voluptate ipsum accusantium qui aut animi quis.\", \"Adipisci mollitia similique aut voluptatem qui. In et delectus est. Velit voluptas vel et aut amet eligendi pariatur. Est aut sed distinctio aliquam occaecati velit aut.\"]"], ["created_at", "2014-09-19 20:14:55.707909"], ["name", "contract_c2a34878"], ["title", "Asperiores corporis iure."], ["updated_at", "2014-09-19 20:14:55.707909"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2a34878"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_c2a34878') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:14:55.711013"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:14:55.714586"], ["updated_at", "2014-09-19 20:14:55.714586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 20:14:55.716738"], ["updated_at", "2014-09-19 20:14:55.716738"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_c2a34878') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c2a34878"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_c2a34878') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (2.4ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi explicabo harum. Illum tempore ut tenetur delectus. Ex eum assumenda saepe. Reiciendis qui in ducimus.\", \"At eum recusandae aliquid et. Magnam iste quo aut reiciendis consequatur in. Blanditiis autem architecto in aut inventore. Fuga mollitia qui. Iste rerum ab itaque voluptas.\"]"], ["created_at", "2014-09-19 20:16:09.920618"], ["name", "alpha"], ["title", "Sequi id molestiae iusto."], ["updated_at", "2014-09-19 20:16:09.920618"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:16:09.934282"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam inventore aspernatur harum blanditiis sint. Et labore rerum illo consequuntur et necessitatibus. In ratione odit nulla. Sit ipsum sed ut iste.\", \"Exercitationem dolor odit non. Unde aut corporis maxime est quis qui eaque. Nemo tempore sunt eligendi incidunt. Molestias et et voluptatum exercitationem perspiciatis. Quaerat asperiores et.\"]"], ["created_at", "2014-09-19 20:16:09.940739"], ["name", "beta"], ["title", "Voluptatem illo ea consequatur."], ["updated_at", "2014-09-19 20:16:09.940739"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:16:09.944405"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:09.947595"], ["updated_at", "2014-09-19 20:16:09.947595"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:16:09.955005"], ["updated_at", "2014-09-19 20:16:09.955005"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 20:16:09.961118"], ["updated_at", "2014-09-19 20:16:09.961118"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:16:09.965346"], ["name", "alpha"], ["title", "Sequi id molestiae iusto."], ["updated_at", "2014-09-19 20:16:09.965346"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:16:09.968869"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe necessitatibus accusantium et voluptas incidunt. Voluptas id iure beatae quisquam. Incidunt omnis inventore vel dolore aspernatur voluptatum.\", \"Rerum fugit veritatis praesentium atque est eveniet architecto. Neque nulla facilis sit non. Reprehenderit numquam atque voluptatem placeat aliquam harum. Et qui quidem sequi quis rerum non. A modi fugit est accusantium.\"]"], ["created_at", "2014-09-19 20:16:09.976293"], ["name", "alpha"], ["title", "Vitae quos similique nulla quis molestias aut laborum."], ["updated_at", "2014-09-19 20:16:09.976293"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:16:09.980433"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et similique quos autem tempore ullam quia. Ducimus commodi unde saepe. Voluptate eligendi labore atque.\", \"Dolores labore est explicabo sint aut. Rerum debitis et a dolores. Quia repellendus omnis blanditiis alias sit error. Architecto molestiae ut amet id consectetur magni.\"]"], ["created_at", "2014-09-19 20:16:09.984165"], ["name", "beta"], ["title", "Est consequuntur error debitis accusantium vero nesciunt aliquam."], ["updated_at", "2014-09-19 20:16:09.984165"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:16:09.987600"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:09.989930"], ["updated_at", "2014-09-19 20:16:09.989930"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:16:09.992601"], ["updated_at", "2014-09-19 20:16:09.992601"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-19 20:16:09.995023"], ["updated_at", "2014-09-19 20:16:09.995023"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:16:09.997386"], ["name", "alpha"], ["title", "Vitae quos similique nulla quis molestias aut laborum."], ["updated_at", "2014-09-19 20:16:09.997386"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:16:10.000878"], ["version", 4]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa iusto qui ex molestiae quasi voluptatem quis. Sit voluptatem et magnam ratione. Et unde aut. Unde sunt voluptas autem error itaque atque et. Alias blanditiis voluptas sint dolores id aspernatur unde.\", \"Cum maiores ab odio. Enim sed fugiat dolor. Eaque deleniti aliquid quaerat voluptatibus voluptatem molestiae. Aspernatur repudiandae consequuntur. Ad adipisci est quis voluptas quaerat totam.\"]"], ["created_at", "2014-09-19 20:16:10.009294"], ["name", "alpha"], ["title", "Aut autem est tempore doloremque blanditiis laboriosam eius."], ["updated_at", "2014-09-19 20:16:10.009294"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:16:10.012826"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto quo assumenda enim tempore odit eius veniam. Quos temporibus dolor odit possimus fugiat eius inventore. Nemo et minus quasi. Numquam qui exercitationem.\", \"Tempore molestias rerum sed. Molestias totam qui quis aut. Itaque qui et dolor et quis suscipit.\"]"], ["created_at", "2014-09-19 20:16:10.016631"], ["name", "beta"], ["title", "Repellendus accusantium enim veritatis fuga at quia ut."], ["updated_at", "2014-09-19 20:16:10.016631"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:16:10.019818"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.022405"], ["updated_at", "2014-09-19 20:16:10.022405"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:16:10.026109"], ["updated_at", "2014-09-19 20:16:10.026109"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 20:16:10.028877"], ["updated_at", "2014-09-19 20:16:10.028877"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:16:10.031275"], ["name", "alpha"], ["title", "Aut autem est tempore doloremque blanditiis laboriosam eius."], ["updated_at", "2014-09-19 20:16:10.031275"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:16:10.034784"], ["version", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_87ae0658') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aut et et ipsam voluptatum qui. Maxime itaque ut sed libero voluptas. Incidunt aut et in. Molestiae ut porro et. Voluptatibus aut similique et.\", \"Molestiae voluptas aspernatur nobis voluptates consectetur. Eveniet id vero aliquid velit nulla. Vitae temporibus porro magni et.\"]"], ["created_at", "2014-09-19 20:16:10.039148"], ["name", "contract_87ae0658"], ["title", "Sit quidem iste doloribus est dolore molestias sunt."], ["updated_at", "2014-09-19 20:16:10.039148"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87ae0658"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_87ae0658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:16:10.042352"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_87ae0658' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_87ae0658') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aut et et ipsam voluptatum qui. Maxime itaque ut sed libero voluptas. Incidunt aut et in. Molestiae ut porro et. Voluptatibus aut similique et.\", \"Molestiae voluptas aspernatur nobis voluptates consectetur. Eveniet id vero aliquid velit nulla. Vitae temporibus porro magni et.\"]"], ["created_at", "2014-09-19 20:16:10.045960"], ["name", "contract_87ae0658"], ["title", "Sit quidem iste doloribus est dolore molestias sunt."], ["updated_at", "2014-09-19 20:16:10.045960"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87ae0658"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_87ae0658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:16:10.048978"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3ec4acef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ipsum repellendus voluptatibus autem deserunt itaque perferendis. Et quo natus voluptates quis ipsam hic. Qui similique maxime quisquam repudiandae nemo repellat. Sunt temporibus perspiciatis doloremque omnis eos.\", \"Blanditiis officia voluptatem sit deleniti qui qui nihil. Ut veritatis rem illum qui assumenda aut est. Qui debitis repellendus neque tenetur.\"]"], ["created_at", "2014-09-19 20:16:10.052708"], ["name", "contract_3ec4acef"], ["title", "Dignissimos voluptatum recusandae et delectus doloribus tenetur."], ["updated_at", "2014-09-19 20:16:10.052708"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3ec4acef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_3ec4acef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:16:10.055696"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3ec4acef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ipsum repellendus voluptatibus autem deserunt itaque perferendis. Et quo natus voluptates quis ipsam hic. Qui similique maxime quisquam repudiandae nemo repellat. Sunt temporibus perspiciatis doloremque omnis eos.\", \"Blanditiis officia voluptatem sit deleniti qui qui nihil. Ut veritatis rem illum qui assumenda aut est. Qui debitis repellendus neque tenetur.\"]"], ["created_at", "2014-09-19 20:16:10.059074"], ["name", "joe"], ["title", "Dignissimos voluptatum recusandae et delectus doloribus tenetur."], ["updated_at", "2014-09-19 20:16:10.059074"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:16:10.061999"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e45a7bd7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem eligendi autem. Et aut voluptates aliquid dolore assumenda deleniti. Voluptatem aliquid amet sit est exercitationem. Animi ut nihil sed velit. Doloribus vel voluptates nemo magni quia repellat.\", \"Iste iusto minima. Suscipit eaque fuga assumenda ut eum itaque. Itaque consequatur eum illum ea ipsa. Qui inventore facilis quae debitis voluptatem.\"]"], ["created_at", "2014-09-19 20:16:10.066528"], ["name", "contract_e45a7bd7"], ["title", "Optio illum voluptas."], ["updated_at", "2014-09-19 20:16:10.066528"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e45a7bd7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_e45a7bd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:16:10.072562"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e45a7bd7"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e45a7bd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_e45a7bd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:16:10.079080"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b87b9150') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur a praesentium explicabo magni eius qui quibusdam. Reiciendis fugiat sequi inventore quam qui assumenda. Corrupti ipsa voluptatem enim sequi id non culpa. Quo eligendi corporis sint et fugiat. Cumque beatae similique.\", \"Non provident ipsum et. Asperiores animi praesentium facere inventore fugiat quidem. Quasi nam illum rerum iusto nihil est. Sequi tempore molestiae perferendis ut labore.\"]"], ["created_at", "2014-09-19 20:16:10.082872"], ["name", "contract_b87b9150"], ["title", "Voluptas optio corrupti totam."], ["updated_at", "2014-09-19 20:16:10.082872"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b87b9150"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b87b9150') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:16:10.085849"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.090429"], ["updated_at", "2014-09-19 20:16:10.090429"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 20:16:10.092714"], ["updated_at", "2014-09-19 20:16:10.092714"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b87b9150') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b87b9150"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b87b9150') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.101406"], ["updated_at", "2014-09-19 20:16:10.101406"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.102779"], ["updated_at", "2014-09-19 20:16:10.102779"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_24467dd9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias quia est voluptatibus et ipsum sint dolorem. Aut autem reiciendis aut officiis rem laudantium nemo. Nemo eaque ullam voluptas ut molestiae.\", \"Sit qui vitae fugit dignissimos explicabo. Quaerat est laborum. Voluptates et quis. Nihil facilis et aut quibusdam ab.\"]"], ["created_at", "2014-09-19 20:16:10.105662"], ["name", "contract_24467dd9"], ["title", "Eos sequi autem praesentium voluptatem est deserunt molestiae."], ["updated_at", "2014-09-19 20:16:10.105662"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24467dd9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_24467dd9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:16:10.108649"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.111064"], ["updated_at", "2014-09-19 20:16:10.111064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 20:16:10.113160"], ["updated_at", "2014-09-19 20:16:10.113160"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.122804"], ["updated_at", "2014-09-19 20:16:10.122804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.124531"], ["updated_at", "2014-09-19 20:16:10.124531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b8caba66') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim officiis commodi nisi id alias dolores. Consequatur eveniet cumque necessitatibus ipsam iste. Ipsum enim vel rerum necessitatibus rem. Et impedit vel ea. Unde molestiae voluptas assumenda.\", \"Voluptatem in reiciendis autem et quae accusantium ipsam. Doloribus quis illum sed. Iure aperiam ab corporis ratione nam saepe quia. Est ut tenetur ea.\"]"], ["created_at", "2014-09-19 20:16:10.127671"], ["name", "contract_b8caba66"], ["title", "Impedit qui fugit commodi ullam ut molestiae et."], ["updated_at", "2014-09-19 20:16:10.127671"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b8caba66"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_b8caba66') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:16:10.130736"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.133112"], ["updated_at", "2014-09-19 20:16:10.133112"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-19 20:16:10.135355"], ["updated_at", "2014-09-19 20:16:10.135355"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 9]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 9 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.142040"], ["updated_at", "2014-09-19 20:16:10.142040"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.143516"], ["updated_at", "2014-09-19 20:16:10.143516"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_df26ec1e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia ex blanditiis iure nesciunt. Ad error soluta aliquid aut placeat. Labore animi laudantium. Itaque perferendis est voluptas minus molestiae. Vero dignissimos quia.\", \"Quos sed est. Ut sit rem voluptas voluptatem aut quae eveniet. Adipisci consequatur eveniet autem sint accusantium debitis possimus. Nihil eos adipisci accusantium.\"]"], ["created_at", "2014-09-19 20:16:10.146400"], ["name", "contract_df26ec1e"], ["title", "Et veniam qui totam libero nihil laudantium quia."], ["updated_at", "2014-09-19 20:16:10.146400"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_df26ec1e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_df26ec1e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:16:10.149553"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.151975"], ["updated_at", "2014-09-19 20:16:10.151975"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-19 20:16:10.154070"], ["updated_at", "2014-09-19 20:16:10.154070"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.158062"], ["updated_at", "2014-09-19 20:16:10.158062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.159640"], ["updated_at", "2014-09-19 20:16:10.159640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_36fde848') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto odit quia eos non accusantium. Molestiae dolorum placeat est. Autem itaque dolorem eaque eveniet. Atque officiis corporis voluptas natus quaerat.\", \"Repudiandae sunt culpa aspernatur earum vel voluptatem. Aut quos voluptate. Perferendis similique qui ut. Corporis doloremque dolore. Id enim consectetur pariatur ut cumque.\"]"], ["created_at", "2014-09-19 20:16:10.162773"], ["name", "contract_36fde848"], ["title", "Porro sit temporibus vel sapiente voluptas alias."], ["updated_at", "2014-09-19 20:16:10.162773"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_36fde848"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_36fde848') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-19 20:16:10.165772"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.168251"], ["updated_at", "2014-09-19 20:16:10.168251"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-19 20:16:10.170577"], ["updated_at", "2014-09-19 20:16:10.170577"], ["user_id", 16], ["user_type", "DummyUser"]]  (1.2ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_70b222d2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat assumenda repellat. Quam est nobis iusto mollitia earum quidem quia. Quibusdam fuga voluptas voluptatem excepturi pariatur quo.\", \"Iure inventore non aut eum accusantium quo harum. Alias repellat aut repellendus voluptatem dolor eligendi. Adipisci enim voluptas. Dolores aliquam et occaecati commodi.\"]"], ["created_at", "2014-09-19 20:16:10.181098"], ["name", "contract_70b222d2"], ["title", "Quidem cupiditate est."], ["updated_at", "2014-09-19 20:16:10.181098"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction 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_28f170f6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum nobis quis rerum quia. Soluta omnis est voluptates officia. Voluptatem non tempore. Delectus ut qui non rerum quibusdam aliquam minus.\", \"Quo asperiores libero doloremque. Porro dolorem enim dicta dolorum. Autem veritatis incidunt quia voluptatem corporis maiores qui.\"]"], ["created_at", "2014-09-19 20:16:10.185346"], ["name", "contract_28f170f6"], ["title", "Expedita adipisci est itaque ea porro."], ["updated_at", "2014-09-19 20:16:10.185346"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_28f170f6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_28f170f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-19 20:16:10.188476"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.190945"], ["updated_at", "2014-09-19 20:16:10.190945"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.200866"], ["updated_at", "2014-09-19 20:16:10.200866"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.202776"], ["updated_at", "2014-09-19 20:16:10.202776"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_bf78d12e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus laborum architecto et. Maiores ab eum voluptates. Sint reprehenderit natus. Eum quaerat maiores aut quia porro. Quam in sapiente dolor recusandae cupiditate.\", \"Est illum consequuntur quae voluptatem voluptas. Dolor quidem voluptatibus voluptas et. Qui numquam ducimus adipisci ipsum omnis corporis.\"]"], ["created_at", "2014-09-19 20:16:10.206828"], ["name", "contract_bf78d12e"], ["title", "Consequatur facere vitae magni."], ["updated_at", "2014-09-19 20:16:10.206828"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bf78d12e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_bf78d12e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:16:10.212976"], ["version", 1]]  (1.1ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.218016"], ["updated_at", "2014-09-19 20:16:10.218016"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.219603"], ["updated_at", "2014-09-19 20:16:10.219603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0065eebe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptas officiis omnis pariatur ut enim atque. Numquam omnis ab voluptates doloremque eos. Sed expedita culpa. Cumque perferendis dolores et sed officia debitis pariatur.\", \"Quo dolores quos. Minima qui laboriosam perferendis dolor et. Ratione est qui. Qui cum vitae repellendus fugiat nihil. Est explicabo magnam facilis autem.\"]"], ["created_at", "2014-09-19 20:16:10.222214"], ["name", "contract_0065eebe"], ["title", "Repellendus eligendi ducimus esse vitae voluptas totam."], ["updated_at", "2014-09-19 20:16:10.222214"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.230219"], ["updated_at", "2014-09-19 20:16:10.230219"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.231776"], ["updated_at", "2014-09-19 20:16:10.231776"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0204d3ee') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam quam suscipit rerum in. Voluptates sapiente voluptas. Reiciendis illo qui accusantium ut nihil enim. Aut et consequuntur qui repudiandae.\", \"Vel eos voluptas dolor ipsum amet. Quaerat earum sunt. Blanditiis incidunt qui sed. Asperiores cumque sapiente fuga distinctio. Tempore sunt consectetur ipsum quasi.\"]"], ["created_at", "2014-09-19 20:16:10.234640"], ["name", "contract_0204d3ee"], ["title", "Nostrum quas consequatur."], ["updated_at", "2014-09-19 20:16:10.234640"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.239365"], ["updated_at", "2014-09-19 20:16:10.239365"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.241186"], ["updated_at", "2014-09-19 20:16:10.241186"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e203fd46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus laborum et nostrum alias. Velit tenetur et eum maxime id. Aliquam quia ullam repellat maiores impedit. Dolor at et atque provident. Omnis in est eius consequatur.\", \"Voluptates cupiditate reprehenderit. Vel amet accusamus. Molestias debitis aut libero. Esse corporis fugit. In explicabo dicta ipsam rerum eveniet non consequuntur.\"]"], ["created_at", "2014-09-19 20:16:10.244007"], ["name", "contract_e203fd46"], ["title", "Quam vitae est temporibus maiores tempore."], ["updated_at", "2014-09-19 20:16:10.244007"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.247806"], ["updated_at", "2014-09-19 20:16:10.247806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.249355"], ["updated_at", "2014-09-19 20:16:10.249355"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1188a37b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero est velit omnis autem consectetur praesentium ad. Eaque autem dicta. In est blanditiis. Placeat sequi libero illum. Sit quo laborum et.\", \"Omnis accusamus nobis dolores perspiciatis quia. Tempora odio sed dolor ullam. Qui numquam iste quia odio molestias amet.\"]"], ["created_at", "2014-09-19 20:16:10.251860"], ["name", "contract_1188a37b"], ["title", "Accusantium modi occaecati ipsam voluptas."], ["updated_at", "2014-09-19 20:16:10.251860"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.258242"], ["updated_at", "2014-09-19 20:16:10.258242"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.259809"], ["updated_at", "2014-09-19 20:16:10.259809"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_be251635') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet numquam voluptatem unde ut. Dolores inventore sunt eaque debitis. Eum voluptatum iusto sequi suscipit. Asperiores provident eum vero soluta.\", \"Fuga fugit est aut itaque nam. Repellat iusto sint minima. Facilis aperiam nisi praesentium culpa. Rem minima sunt possimus labore dolore.\"]"], ["created_at", "2014-09-19 20:16:10.262404"], ["name", "contract_be251635"], ["title", "Neque odit minima dolor rerum."], ["updated_at", "2014-09-19 20:16:10.262404"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.267110"], ["updated_at", "2014-09-19 20:16:10.267110"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.268562"], ["updated_at", "2014-09-19 20:16:10.268562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_55d9d142') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi qui omnis numquam. Illo eaque consequatur aut. Ut veritatis assumenda quisquam ut placeat est. Nemo nam voluptas fugiat omnis quia odio est. Culpa sint incidunt et ex modi.\", \"Et cupiditate ullam maiores porro tempora quo. Eum et consequatur eius at nesciunt adipisci iste. Eveniet earum necessitatibus qui laboriosam. Quasi cumque mollitia unde provident libero.\"]"], ["created_at", "2014-09-19 20:16:10.271115"], ["name", "contract_55d9d142"], ["title", "Id necessitatibus fugiat eius."], ["updated_at", "2014-09-19 20:16:10.271115"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.276424"], ["updated_at", "2014-09-19 20:16:10.276424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.277948"], ["updated_at", "2014-09-19 20:16:10.277948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_be2ee10a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse excepturi veniam autem quas. Totam libero a soluta quia provident. Beatae tempora eaque enim aliquam. Qui odit ipsum numquam at. Quasi nihil adipisci temporibus eum facilis quae dolor.\", \"Ab enim omnis quis commodi est. Expedita quo nihil necessitatibus est rerum fugiat. Molestias voluptatem est cumque magni hic voluptas et. Id enim in et. Cupiditate tenetur saepe porro animi error et.\"]"], ["created_at", "2014-09-19 20:16:10.280603"], ["name", "contract_be2ee10a"], ["title", "Reprehenderit id qui voluptatem."], ["updated_at", "2014-09-19 20:16:10.280603"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be2ee10a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_be2ee10a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:16:10.283535"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be2ee10a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_be2ee10a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:16:10.289572"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.295344"], ["updated_at", "2014-09-19 20:16:10.295344"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.297608"], ["updated_at", "2014-09-19 20:16:10.297608"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e45f9ab8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis ut voluptas. Distinctio voluptatem non consequatur explicabo ex impedit. Quo provident expedita omnis aliquid. Qui quibusdam itaque.\", \"Quo nihil voluptates iure asperiores cupiditate occaecati. Omnis ea eos et nihil. Aut sapiente ut et qui sed quam. Et iusto necessitatibus animi. Eos sit dolor officiis.\"]"], ["created_at", "2014-09-19 20:16:10.301850"], ["name", "contract_e45f9ab8"], ["title", "Molestiae sit nostrum dolores."], ["updated_at", "2014-09-19 20:16:10.301850"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e45f9ab8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_e45f9ab8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:16:10.306050"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.312860"], ["updated_at", "2014-09-19 20:16:10.312860"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.314664"], ["updated_at", "2014-09-19 20:16:10.314664"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_ecfd8436') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non recusandae quo. Id deserunt nobis doloribus vel alias. Quia rem similique iusto quod tenetur eius. Dolorem vero dolorum inventore.\", \"Temporibus molestiae officia distinctio. Cupiditate et rem ipsam autem quis maxime sapiente. Reiciendis corporis nihil consequatur voluptatem est delectus.\"]"], ["created_at", "2014-09-19 20:16:10.318203"], ["name", "contract_ecfd8436"], ["title", "Asperiores nemo tempora mollitia sit labore."], ["updated_at", "2014-09-19 20:16:10.318203"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1, 8, 5, 2, 24, 26, 16, 21, 19, 12, 28, 20, 11, 10, 15, 17, 27, 29, 22, 18, 25, 14, 30, 31, 13) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.330009"], ["updated_at", "2014-09-19 20:16:10.330009"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.331628"], ["updated_at", "2014-09-19 20:16:10.331628"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_124e8cf0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam ut unde nisi. Incidunt quam cumque. Debitis repudiandae molestiae consequatur dolor quis. Officiis sunt error ut eos. Facilis ducimus eius.\", \"Et qui at ea autem odio aut voluptas. Aperiam corrupti cumque. Et est suscipit molestiae ut. Et sunt exercitationem dignissimos cum.\"]"], ["created_at", "2014-09-19 20:16:10.334397"], ["name", "contract_124e8cf0"], ["title", "Ad minima voluptatum ipsam quod omnis quis est."], ["updated_at", "2014-09-19 20:16:10.334397"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.340595"], ["updated_at", "2014-09-19 20:16:10.340595"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.342632"], ["updated_at", "2014-09-19 20:16:10.342632"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_914ccadc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam facilis quod ea. Omnis esse aliquid et tempore. Eos officia consequuntur qui. Voluptatem amet voluptas labore pariatur culpa.\", \"Voluptas eaque molestias. Nesciunt excepturi placeat eveniet. Modi nostrum ipsam dolores. Quae ad sequi quia.\"]"], ["created_at", "2014-09-19 20:16:10.346344"], ["name", "contract_914ccadc"], ["title", "Distinctio voluptates ipsum deserunt ea qui doloribus autem."], ["updated_at", "2014-09-19 20:16:10.346344"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:16:10.350563"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:16:10.350563"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/34 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.355924"], ["updated_at", "2014-09-19 20:16:10.355924"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.358174"], ["updated_at", "2014-09-19 20:16:10.358174"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_6ead228e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur quaerat autem repudiandae. Cum sed qui minima. Voluptatem possimus dignissimos sed fugit exercitationem et quo. Est est totam illum est atque odit.\", \"Nostrum quod eos. Qui sed quisquam officiis. Consequatur et dicta error illo.\"]"], ["created_at", "2014-09-19 20:16:10.361713"], ["name", "contract_6ead228e"], ["title", "Vitae asperiores molestiae."], ["updated_at", "2014-09-19 20:16:10.361713"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.366065"], ["updated_at", "2014-09-19 20:16:10.366065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.367520"], ["updated_at", "2014-09-19 20:16:10.367520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1ec701e1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit quis et sed nostrum corporis odit. Et qui voluptas repudiandae tempore voluptatibus dolorem. Odio consequatur ducimus excepturi. Ea voluptatem a qui reprehenderit dolorem quos. Alias id veritatis.\", \"Odit facilis non debitis non accusamus. Placeat error pariatur aperiam et dolore. Id alias autem et ut iste. Iste odit delectus nihil quia et.\"]"], ["created_at", "2014-09-19 20:16:10.370167"], ["name", "contract_1ec701e1"], ["title", "Illum vero quo."], ["updated_at", "2014-09-19 20:16:10.370167"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.373961"], ["updated_at", "2014-09-19 20:16:10.373961"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.375485"], ["updated_at", "2014-09-19 20:16:10.375485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_62c3db6b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores ullam ipsa nulla aspernatur tempora molestiae deserunt. Modi deleniti vitae. Quisquam harum eveniet. Maiores ab similique quo consequatur.\", \"Exercitationem mollitia dolorem cum ea cupiditate temporibus nihil. Ipsum provident perferendis blanditiis voluptatum accusamus. Est explicabo sed. Aliquam ipsa asperiores. Error quia suscipit consectetur nesciunt voluptate iusto.\"]"], ["created_at", "2014-09-19 20:16:10.378121"], ["name", "contract_62c3db6b"], ["title", "Quis id ratione."], ["updated_at", "2014-09-19 20:16:10.378121"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:16:10.381888"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.386455"], ["updated_at", "2014-09-19 20:16:10.386455"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.387943"], ["updated_at", "2014-09-19 20:16:10.387943"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_b9719c74') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit quo occaecati quidem dicta. Harum aut quia quod quasi soluta non ullam. Expedita est nam inventore aliquam architecto. Ipsam quas aut reiciendis recusandae sed.\", \"Libero quod eveniet. Quidem nesciunt porro rem dignissimos. Cum consequatur ducimus omnis. Ullam ea est est libero et. Eius quis veniam voluptas consectetur et in quaerat.\"]"], ["created_at", "2014-09-19 20:16:10.391051"], ["name", "contract_b9719c74"], ["title", "Voluptates perferendis repellat deleniti id incidunt est et."], ["updated_at", "2014-09-19 20:16:10.391051"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.396292"], ["updated_at", "2014-09-19 20:16:10.396292"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.397786"], ["updated_at", "2014-09-19 20:16:10.397786"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5352f785') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil voluptas voluptas. Pariatur aspernatur omnis modi molestiae. Sed ea qui. Molestiae eveniet omnis beatae cumque veritatis.\", \"Qui voluptates rerum. A et velit asperiores sapiente consectetur. Aut suscipit dolor doloribus. Sit et incidunt est consequatur dolorem voluptas. Sed itaque blanditiis consectetur fugit quis molestiae.\"]"], ["created_at", "2014-09-19 20:16:10.400447"], ["name", "contract_5352f785"], ["title", "Ut consequuntur ab."], ["updated_at", "2014-09-19 20:16:10.400447"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5352f785"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_5352f785') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-19 20:16:10.403487"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.409325"], ["updated_at", "2014-09-19 20:16:10.409325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.410936"], ["updated_at", "2014-09-19 20:16:10.410936"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_49c69529') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt ea reiciendis est iure et fugiat est. In natus debitis molestiae est. Pariatur omnis et.\", \"Officia accusantium error neque quae eos. Eaque assumenda eum dicta voluptatem nobis. Aperiam sint repellendus occaecati enim est hic.\"]"], ["created_at", "2014-09-19 20:16:10.413591"], ["name", "contract_49c69529"], ["title", "Ipsam amet quo doloribus."], ["updated_at", "2014-09-19 20:16:10.413591"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49c69529"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_49c69529') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-19 20:16:10.416639"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_49c69529' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.423538"], ["updated_at", "2014-09-19 20:16:10.423538"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.425162"], ["updated_at", "2014-09-19 20:16:10.425162"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.432499"], ["updated_at", "2014-09-19 20:16:10.432499"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:16:10.433993"], ["updated_at", "2014-09-19 20:16:10.433993"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_7dc00f87') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum rerum nisi aspernatur est labore voluptas blanditiis. Eum eius culpa qui et voluptas rerum voluptatem. Laboriosam voluptates et delectus dicta aspernatur perspiciatis.\", \"Veritatis corrupti numquam placeat perspiciatis. Expedita ea asperiores deserunt molestiae in qui. Sequi ullam dolorem autem consequatur error voluptatem aut. Aspernatur nisi sapiente eum iste veritatis. Sit quia temporibus porro blanditiis et architecto saepe.\"]"], ["created_at", "2014-09-19 20:17:02.972092"], ["name", "contract_7dc00f87"], ["title", "Incidunt unde neque quibusdam."], ["updated_at", "2014-09-19 20:17:02.972092"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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_b83adf1a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae repudiandae sunt dolorem ut. Accusantium quia consequatur. Vel rerum minus voluptatem deserunt sit id. Quod et inventore tempora est ut. Consectetur sint consequatur fugiat et facere in.\", \"Omnis perspiciatis et totam doloribus voluptatum. Non amet aut qui alias. Praesentium id illo eligendi. Fugiat necessitatibus ipsum dicta accusamus aut consequatur eum.\"]"], ["created_at", "2014-09-19 20:17:02.988500"], ["name", "contract_b83adf1a"], ["title", "Vel praesentium ex numquam neque magnam."], ["updated_at", "2014-09-19 20:17:02.988500"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b83adf1a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_b83adf1a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:17:02.993735"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:02.999801"], ["updated_at", "2014-09-19 20:17:02.999801"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.008313"], ["updated_at", "2014-09-19 20:17:03.008313"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.010696"], ["updated_at", "2014-09-19 20:17:03.010696"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_952276c5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente natus dolores. A necessitatibus dolores molestiae. Fugit nemo similique est dolore cupiditate rerum. Corrupti doloribus quidem pariatur laborum earum nobis sed.\", \"Ea voluptatibus omnis laboriosam assumenda minus. Qui et eos totam voluptas dolores nobis. Voluptatibus maxime autem eaque. Nostrum ut excepturi a aliquam aut.\"]"], ["created_at", "2014-09-19 20:17:03.014096"], ["name", "contract_952276c5"], ["title", "Accusantium dolores est incidunt labore unde reprehenderit."], ["updated_at", "2014-09-19 20:17:03.014096"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_952276c5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_952276c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:17:03.017489"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.020091"], ["updated_at", "2014-09-19 20:17:03.020091"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:17:03.022442"], ["updated_at", "2014-09-19 20:17:03.022442"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.034360"], ["updated_at", "2014-09-19 20:17:03.034360"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.036045"], ["updated_at", "2014-09-19 20:17:03.036045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f60e6315') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique ut fugit error labore. Fugiat quisquam quia sapiente esse tempora veniam voluptatem. Maxime totam quaerat voluptates aut ducimus ut est. Iusto debitis recusandae ab qui. Mollitia maxime eum et at ea.\", \"Quia quia rerum culpa. Expedita dicta possimus maxime voluptates. In soluta ratione fugit aperiam deserunt nihil. Veritatis sed mollitia et. Consequatur autem non.\"]"], ["created_at", "2014-09-19 20:17:03.039484"], ["name", "contract_f60e6315"], ["title", "Fugit quod doloribus."], ["updated_at", "2014-09-19 20:17:03.039484"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f60e6315"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_f60e6315') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:17:03.043526"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.046315"], ["updated_at", "2014-09-19 20:17:03.046315"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:17:03.049130"], ["updated_at", "2014-09-19 20:17:03.049130"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.058417"], ["updated_at", "2014-09-19 20:17:03.058417"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.060154"], ["updated_at", "2014-09-19 20:17:03.060154"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f721f49d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias itaque eligendi sapiente. Voluptas aut molestiae aut non distinctio aliquam exercitationem. Consequatur et nobis rem eaque id culpa consequatur. Fugit dolorem similique eum quod.\", \"Autem id facere cupiditate accusamus explicabo nihil sit. Laudantium atque et sed debitis eum iste. Officiis accusantium est omnis vel.\"]"], ["created_at", "2014-09-19 20:17:03.063604"], ["name", "contract_f721f49d"], ["title", "Ullam porro voluptatem voluptatibus."], ["updated_at", "2014-09-19 20:17:03.063604"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f721f49d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_f721f49d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:17:03.067879"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.070572"], ["updated_at", "2014-09-19 20:17:03.070572"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-19 20:17:03.072843"], ["updated_at", "2014-09-19 20:17:03.072843"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.077193"], ["updated_at", "2014-09-19 20:17:03.077193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.078802"], ["updated_at", "2014-09-19 20:17:03.078802"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0518106f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure eius magnam maxime deleniti. Voluptatum sit aut magnam voluptate dolor et libero. Quia recusandae velit qui quae.\", \"Occaecati assumenda quia et nostrum. Qui modi eligendi nisi cupiditate. Odit perspiciatis sit dicta at. Voluptas nisi qui. Occaecati voluptatum earum et dolor.\"]"], ["created_at", "2014-09-19 20:17:03.082260"], ["name", "contract_0518106f"], ["title", "Autem recusandae omnis est debitis."], ["updated_at", "2014-09-19 20:17:03.082260"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0518106f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_0518106f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:17:03.085797"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.088616"], ["updated_at", "2014-09-19 20:17:03.088616"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-19 20:17:03.090929"], ["updated_at", "2014-09-19 20:17:03.090929"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 4 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.104744"], ["updated_at", "2014-09-19 20:17:03.104744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.106377"], ["updated_at", "2014-09-19 20:17:03.106377"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.113678"], ["updated_at", "2014-09-19 20:17:03.113678"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.115205"], ["updated_at", "2014-09-19 20:17:03.115205"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_ef4814a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui autem nam dolorum eos cum. Tempore sed possimus. Et placeat aliquid omnis autem rem.\", \"Tenetur voluptatibus earum officia corrupti. Iste aperiam et quia laborum numquam a. Eius nostrum molestiae consequatur aut.\"]"], ["created_at", "2014-09-19 20:17:03.121065"], ["name", "contract_ef4814a5"], ["title", "Aut ut libero est in nisi sit dignissimos."], ["updated_at", "2014-09-19 20:17:03.121065"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef4814a5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_ef4814a5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:17:03.124281"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ef4814a5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_ef4814a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui autem nam dolorum eos cum. Tempore sed possimus. Et placeat aliquid omnis autem rem.\", \"Tenetur voluptatibus earum officia corrupti. Iste aperiam et quia laborum numquam a. Eius nostrum molestiae consequatur aut.\"]"], ["created_at", "2014-09-19 20:17:03.128001"], ["name", "contract_ef4814a5"], ["title", "Aut ut libero est in nisi sit dignissimos."], ["updated_at", "2014-09-19 20:17:03.128001"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef4814a5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_ef4814a5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:17:03.131070"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_21aa6976') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat non quia saepe voluptatibus corporis doloribus. Placeat numquam libero eius. Est quae voluptatem accusantium error eaque ut perferendis.\", \"Quae blanditiis et commodi consequatur aut aut. Cumque beatae et totam eligendi dolor pariatur. Voluptates et ut velit. Sit eaque voluptatem facere voluptates minima quas error.\"]"], ["created_at", "2014-09-19 20:17:03.134826"], ["name", "contract_21aa6976"], ["title", "Nulla cumque non distinctio."], ["updated_at", "2014-09-19 20:17:03.134826"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21aa6976"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_21aa6976') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:17:03.137998"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.141545"], ["updated_at", "2014-09-19 20:17:03.141545"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:17:03.143725"], ["updated_at", "2014-09-19 20:17:03.143725"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_21aa6976') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21aa6976"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_21aa6976') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction 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_f4baba39') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam numquam commodi eveniet sed. Illo quisquam illum sapiente nostrum necessitatibus sequi quas. Id qui sint autem eligendi at non. Doloremque repellat fuga assumenda et.\", \"Aut enim qui voluptatum. Odit explicabo fugit quaerat ut soluta voluptatem sapiente. Facilis tempore officia quia officiis.\"]"], ["created_at", "2014-09-19 20:17:03.153804"], ["name", "contract_f4baba39"], ["title", "Aut facilis repellat reiciendis id velit."], ["updated_at", "2014-09-19 20:17:03.153804"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4baba39"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_f4baba39') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:17:03.158197"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4baba39"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4baba39"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_f4baba39') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:17:03.165743"], ["version", nil]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_444cb572') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo quia culpa. Et illum perferendis provident soluta. Qui veritatis eum enim assumenda earum. Earum necessitatibus dolorem.\", \"Fugiat officiis voluptatibus pariatur voluptate. Natus eveniet sunt similique aut officiis repellat aut. Alias natus consequuntur. Esse ut fugit nisi maxime rerum quis.\"]"], ["created_at", "2014-09-19 20:17:03.171069"], ["name", "contract_444cb572"], ["title", "Enim ab mollitia molestias alias."], ["updated_at", "2014-09-19 20:17:03.171069"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_444cb572"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_444cb572') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:17:03.174987"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_444cb572' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo quia culpa. Et illum perferendis provident soluta. Qui veritatis eum enim assumenda earum. Earum necessitatibus dolorem.\", \"Fugiat officiis voluptatibus pariatur voluptate. Natus eveniet sunt similique aut officiis repellat aut. Alias natus consequuntur. Esse ut fugit nisi maxime rerum quis.\"]"], ["created_at", "2014-09-19 20:17:03.178984"], ["name", "joe"], ["title", "Enim ab mollitia molestias alias."], ["updated_at", "2014-09-19 20:17:03.178984"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:17:03.181931"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.185205"], ["updated_at", "2014-09-19 20:17:03.185205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.186801"], ["updated_at", "2014-09-19 20:17:03.186801"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_dc19ce58') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos officiis quod deserunt et quidem adipisci qui. Officiis eos perspiciatis. Consequatur doloremque facilis ad sint. Eaque minima eos dolorem. Libero et magnam sunt aliquid laudantium eos occaecati.\", \"Repellat ut cumque possimus aut iste. Aut veniam tempore dolores beatae nulla. Sequi vel magni. A aliquid quod temporibus aperiam qui expedita. Voluptates dolor aut est minima.\"]"], ["created_at", "2014-09-19 20:17:03.190092"], ["name", "contract_dc19ce58"], ["title", "Dolore velit ut saepe quo rerum necessitatibus."], ["updated_at", "2014-09-19 20:17:03.190092"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.196244"], ["updated_at", "2014-09-19 20:17:03.196244"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.198520"], ["updated_at", "2014-09-19 20:17:03.198520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6501bb24') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae ab omnis magnam enim consequuntur nisi nobis. Nesciunt consequuntur rerum dolorem eos non cum architecto. Consequatur iure eaque esse dolores quia in totam.\", \"Voluptatum iste recusandae autem error totam. Voluptatem eum error fuga enim nihil voluptas. Quasi consequatur temporibus. Perferendis nulla exercitationem sit. Autem placeat expedita enim est sunt omnis odio.\"]"], ["created_at", "2014-09-19 20:17:03.201313"], ["name", "contract_6501bb24"], ["title", "Aut soluta cupiditate laudantium."], ["updated_at", "2014-09-19 20:17:03.201313"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.206719"], ["updated_at", "2014-09-19 20:17:03.206719"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.208356"], ["updated_at", "2014-09-19 20:17:03.208356"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_52fa1529') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus sit eius natus fuga et. Repellat placeat ex sit enim. Quasi mollitia modi soluta fugit. Blanditiis repudiandae aut dolore qui velit.\", \"Commodi molestiae odit voluptatem. Nostrum officia consequuntur omnis nulla modi. Ut nulla et ut. Nam consequatur est possimus dolores dolorum soluta odit. Aut sit dicta est quis esse eos at.\"]"], ["created_at", "2014-09-19 20:17:03.211029"], ["name", "contract_52fa1529"], ["title", "Enim consectetur provident dolores commodi voluptatem voluptas."], ["updated_at", "2014-09-19 20:17:03.211029"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52fa1529"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_52fa1529') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:17:03.214100"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.219795"], ["updated_at", "2014-09-19 20:17:03.219795"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.221324"], ["updated_at", "2014-09-19 20:17:03.221324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_edfda8f5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium reiciendis nostrum sit. Facilis laboriosam ab architecto nulla soluta. Ea commodi est consectetur aut. Consectetur facilis voluptas laudantium aut qui accusantium dicta. A dolores corporis.\", \"Quae itaque quia excepturi nostrum ab mollitia. Praesentium sit impedit et pariatur perspiciatis qui. Totam explicabo similique error quia voluptatibus repellendus. Commodi vitae sit quasi sint consequatur officia libero. Sapiente sit qui eos natus est autem iusto.\"]"], ["created_at", "2014-09-19 20:17:03.223906"], ["name", "contract_edfda8f5"], ["title", "Nulla voluptas impedit explicabo pariatur ut animi officiis."], ["updated_at", "2014-09-19 20:17:03.223906"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.227804"], ["updated_at", "2014-09-19 20:17:03.227804"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.229397"], ["updated_at", "2014-09-19 20:17:03.229397"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_15573dbc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam dolorum aliquam deserunt amet id perspiciatis dolores. Et omnis nam eum et. Eligendi et eaque. Cumque quia enim atque nemo animi.\", \"Ut non voluptate in iure cum. Ex a molestiae error aperiam quisquam. Rerum et repellendus. Amet ipsum odio est doloremque consectetur nemo. Autem consequatur error.\"]"], ["created_at", "2014-09-19 20:17:03.232244"], ["name", "contract_15573dbc"], ["title", "Et quia rerum sunt."], ["updated_at", "2014-09-19 20:17:03.232244"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 17 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:17:03.237616"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.242996"], ["updated_at", "2014-09-19 20:17:03.242996"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.244429"], ["updated_at", "2014-09-19 20:17:03.244429"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9b66f066') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa tenetur inventore ad dolorum. Labore ipsum placeat. Perspiciatis quam quia labore dicta culpa error. Repellendus inventore saepe assumenda. Harum rerum porro.\", \"Dolor qui et. Sunt aut fugit et temporibus optio. Quo ut quae. Numquam totam voluptas iste optio.\"]"], ["created_at", "2014-09-19 20:17:03.247055"], ["name", "contract_9b66f066"], ["title", "Quis dolores et rem enim maiores."], ["updated_at", "2014-09-19 20:17:03.247055"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.250908"], ["updated_at", "2014-09-19 20:17:03.250908"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.252345"], ["updated_at", "2014-09-19 20:17:03.252345"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fc363799') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui illo cupiditate. Id vel et. Voluptatem quaerat consequatur dolorum sit officiis.\", \"Voluptate illo facilis. Dolores voluptatem ipsum. Soluta consequuntur in. Eligendi est modi. Ut modi inventore facere omnis iste.\"]"], ["created_at", "2014-09-19 20:17:03.254886"], ["name", "contract_fc363799"], ["title", "Voluptas sint occaecati aut earum non nisi quo."], ["updated_at", "2014-09-19 20:17:03.254886"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.260265"], ["updated_at", "2014-09-19 20:17:03.260265"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.261801"], ["updated_at", "2014-09-19 20:17:03.261801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ef079bca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum autem et. Et dignissimos debitis iusto temporibus vero. At rerum cupiditate eius quo est repellat consequatur. Nobis eligendi quo ut error dolorem.\", \"Quia aut ullam. Est esse laboriosam dolor qui alias et. Occaecati corporis explicabo. Placeat harum autem non ea voluptatibus. Repudiandae ipsam voluptatem modi.\"]"], ["created_at", "2014-09-19 20:17:03.264400"], ["name", "contract_ef079bca"], ["title", "Debitis fugit qui aliquid ut mollitia quam."], ["updated_at", "2014-09-19 20:17:03.264400"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef079bca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ef079bca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-19 20:17:03.267587"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.272299"], ["updated_at", "2014-09-19 20:17:03.272299"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.273840"], ["updated_at", "2014-09-19 20:17:03.273840"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ccae0359') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum consequuntur est. Reiciendis dolorem ullam atque et rerum. Minima aspernatur non tempora laudantium est dolores adipisci. Impedit velit necessitatibus quaerat. Ipsa et pariatur.\", \"Repellendus atque quisquam. Et voluptatibus assumenda. Recusandae sit ducimus consectetur officiis qui est. Asperiores fuga sit.\"]"], ["created_at", "2014-09-19 20:17:03.276455"], ["name", "contract_ccae0359"], ["title", "Ea velit molestiae in et."], ["updated_at", "2014-09-19 20:17:03.276455"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:17:03.280721"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:17:03.280721"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/22 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.284271"], ["updated_at", "2014-09-19 20:17:03.284271"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.285823"], ["updated_at", "2014-09-19 20:17:03.285823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_52afdc3d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque quos error minus harum in nulla omnis. Voluptas sequi eligendi at cum quia. Ullam sed quae laboriosam voluptas. Et voluptas aperiam earum.\", \"Et voluptatibus repellendus cum ut hic consectetur sed. Maiores voluptas sint suscipit nemo quo. Dicta quidem molestiae adipisci et odio et. Libero quibusdam sit.\"]"], ["created_at", "2014-09-19 20:17:03.288545"], ["name", "contract_52afdc3d"], ["title", "Aut quam nesciunt consequatur ab."], ["updated_at", "2014-09-19 20:17:03.288545"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52afdc3d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_52afdc3d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:17:03.291657"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52afdc3d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_52afdc3d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-19 20:17:03.297260"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.301375"], ["updated_at", "2014-09-19 20:17:03.301375"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.302894"], ["updated_at", "2014-09-19 20:17:03.302894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dab67c00') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis enim necessitatibus. Voluptas aut et et recusandae. Maxime officia aspernatur et mollitia debitis ab. Accusamus consectetur totam id accusantium hic non. Inventore exercitationem ut excepturi id mollitia eaque.\", \"Illum veniam iste aspernatur autem laudantium. Optio maiores quod. Temporibus vero nobis ipsa laboriosam possimus quas aut. Et tenetur sit necessitatibus.\"]"], ["created_at", "2014-09-19 20:17:03.305568"], ["name", "contract_dab67c00"], ["title", "Officiis culpa pariatur ut aliquid."], ["updated_at", "2014-09-19 20:17:03.305568"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 6, 9, 11, 23, 15, 14, 1, 3, 18, 2, 21, 24, 13, 16, 20, 8, 7, 10, 4, 5, 19, 12, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.315562"], ["updated_at", "2014-09-19 20:17:03.315562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.317254"], ["updated_at", "2014-09-19 20:17:03.317254"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_935ce066') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero cum aliquam pariatur et inventore vitae. Rerum eveniet autem dolor eos vel quasi dicta. Ut id sunt sed asperiores est consequatur. Deleniti accusantium omnis.\", \"Deserunt qui voluptatum rerum ipsa magni. Accusamus qui consequatur nemo. Quis ad voluptas ullam sit eaque dolore debitis. Illo porro dolorem aliquid.\"]"], ["created_at", "2014-09-19 20:17:03.320143"], ["name", "contract_935ce066"], ["title", "Autem earum odit incidunt vel pariatur inventore rerum."], ["updated_at", "2014-09-19 20:17:03.320143"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 25]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 25]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 25 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.327855"], ["updated_at", "2014-09-19 20:17:03.327855"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.329458"], ["updated_at", "2014-09-19 20:17:03.329458"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8f3d0f7f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id harum velit aliquid expedita autem sit amet. Quia ut est et sequi et accusamus. Eligendi dolores vel. Quia eum ipsa cumque praesentium tenetur minus. Veritatis dolorem eligendi expedita rerum sit harum nisi.\", \"Vel est ad quia. Ut dolorum quisquam est suscipit aliquam consequuntur enim. Sed nihil et ipsa. Qui nesciunt recusandae aut. Praesentium architecto adipisci voluptas.\"]"], ["created_at", "2014-09-19 20:17:03.332854"], ["name", "contract_8f3d0f7f"], ["title", "Atque dolores non est necessitatibus."], ["updated_at", "2014-09-19 20:17:03.332854"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.338230"], ["updated_at", "2014-09-19 20:17:03.338230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.339693"], ["updated_at", "2014-09-19 20:17:03.339693"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1ec5cfbf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla non id officiis et sint repellat. Qui debitis enim molestiae deserunt laborum. Dignissimos et laborum hic et. Illo voluptatibus rem unde eum pariatur sint. Aspernatur sint ut qui minima corporis quidem.\", \"Aspernatur rerum fugiat qui molestiae quos aperiam consectetur. Ut mollitia aut sequi earum qui. Non ullam aut dignissimos quia voluptatibus omnis. Temporibus dolor molestias earum.\"]"], ["created_at", "2014-09-19 20:17:03.342430"], ["name", "contract_1ec5cfbf"], ["title", "Laudantium tempora corrupti qui."], ["updated_at", "2014-09-19 20:17:03.342430"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1ec5cfbf"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_1ec5cfbf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-19 20:17:03.347013"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.351156"], ["updated_at", "2014-09-19 20:17:03.351156"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.352662"], ["updated_at", "2014-09-19 20:17:03.352662"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b4614534') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptatem molestiae aut dignissimos. Tempore et provident harum. Ipsa ex minima distinctio aut porro. Saepe officia aliquid.\", \"Qui et nam aspernatur voluptatum. Minus ea non esse ducimus. Culpa magni ut fugiat doloribus dicta quam.\"]"], ["created_at", "2014-09-19 20:17:03.355243"], ["name", "contract_b4614534"], ["title", "Autem alias totam aperiam omnis quasi."], ["updated_at", "2014-09-19 20:17:03.355243"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.359076"], ["updated_at", "2014-09-19 20:17:03.359076"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.360619"], ["updated_at", "2014-09-19 20:17:03.360619"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_64347235') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptatibus officiis dolor omnis enim. Distinctio non facilis. Eius non possimus ut aperiam quia. Sed minima reprehenderit.\", \"Accusantium dicta rerum quia. Mollitia ea et quae dicta repellendus. Ut aut explicabo quo aliquid cupiditate quos.\"]"], ["created_at", "2014-09-19 20:17:03.363411"], ["name", "contract_64347235"], ["title", "Molestiae a et."], ["updated_at", "2014-09-19 20:17:03.363411"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_64347235"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_64347235') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:17:03.367095"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_64347235' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.374339"], ["updated_at", "2014-09-19 20:17:03.374339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.376037"], ["updated_at", "2014-09-19 20:17:03.376037"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2cb1fe5f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti ab ut commodi earum. Veritatis repellat dolorem neque ipsa. Nostrum et vero at ullam. Ea velit consequatur et officia corporis. Qui sit porro fugit.\", \"Et nobis saepe. Labore aut architecto quis error sunt necessitatibus. Aut voluptas quia itaque error quam.\"]"], ["created_at", "2014-09-19 20:17:03.378721"], ["name", "contract_2cb1fe5f"], ["title", "Aliquid dolorum fuga laboriosam eveniet sed."], ["updated_at", "2014-09-19 20:17:03.378721"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.382724"], ["updated_at", "2014-09-19 20:17:03.382724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.384227"], ["updated_at", "2014-09-19 20:17:03.384227"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2f5f82cd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut error ea. Voluptatum temporibus voluptates et. Autem in mollitia occaecati aut officiis minima voluptatem. Accusantium nobis nihil consequatur beatae. Quia voluptatem exercitationem dolorum aperiam non nulla.\", \"Ea dolor ipsum neque odit magni deserunt et. Aliquam debitis ipsam veniam. Eum qui vel earum omnis.\"]"], ["created_at", "2014-09-19 20:17:03.387474"], ["name", "contract_2f5f82cd"], ["title", "Quia aut sed corrupti natus repudiandae dolores."], ["updated_at", "2014-09-19 20:17:03.387474"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum quas tempora perferendis harum nostrum. Suscipit optio maiores voluptatum vel cupiditate eum quae. Laborum nam hic odio quod perspiciatis.\", \"Ut tempora impedit. Rem ratione architecto doloribus quo neque. Vero veritatis dolores ipsum quod. Mollitia sit saepe ea inventore sed consectetur. Doloribus qui sunt ipsa ut unde.\"]"], ["created_at", "2014-09-19 20:17:03.394684"], ["name", "alpha"], ["title", "Et hic consequuntur qui."], ["updated_at", "2014-09-19 20:17:03.394684"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:17:03.398645"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem aperiam odio itaque. Iusto laborum sed hic aut. Ex fugit molestiae unde placeat. Excepturi quia officia aut mollitia magni cumque sit. Totam quod facilis ab praesentium.\", \"Optio velit molestiae voluptas distinctio qui. Culpa nobis et nam omnis nihil. Maxime distinctio voluptas unde voluptatem repudiandae sit.\"]"], ["created_at", "2014-09-19 20:17:03.402855"], ["name", "beta"], ["title", "Harum facilis omnis exercitationem."], ["updated_at", "2014-09-19 20:17:03.402855"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:17:03.405955"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.408282"], ["updated_at", "2014-09-19 20:17:03.408282"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-19 20:17:03.411038"], ["updated_at", "2014-09-19 20:17:03.411038"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-19 20:17:03.414116"], ["updated_at", "2014-09-19 20:17:03.414116"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:17:03.416572"], ["name", "alpha"], ["title", "Et hic consequuntur qui."], ["updated_at", "2014-09-19 20:17:03.416572"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:17:03.419711"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-19 20:17:03.434190"], ["updated_at", "2014-09-19 20:17:03.434190"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos sint ex. Quia possimus dignissimos quas voluptates fuga explicabo iusto. Libero nulla natus enim omnis soluta provident.\", \"Id unde itaque aspernatur et perspiciatis. Omnis temporibus voluptatem. Ducimus possimus eveniet quia placeat accusantium deserunt. Dolores sit iure eum.\"]"], ["created_at", "2014-09-19 20:17:03.448126"], ["name", "alpha"], ["title", "Quia temporibus consequatur quis non provident dolorem earum."], ["updated_at", "2014-09-19 20:17:03.448126"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:17:03.451499"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas corrupti at est veniam deserunt reprehenderit dolorum. Cupiditate voluptatum doloremque dolorem voluptas dolor repellendus. Amet sed minima soluta et.\", \"Distinctio voluptatem ipsam labore dolorem et fuga. Ut ducimus beatae nemo soluta quaerat quia voluptas. Dolorem sed qui. Est ex facere doloribus vel culpa aut. Quibusdam perferendis id voluptatem.\"]"], ["created_at", "2014-09-19 20:17:03.454918"], ["name", "beta"], ["title", "Et corrupti porro quo sit."], ["updated_at", "2014-09-19 20:17:03.454918"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:17:03.457938"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.460136"], ["updated_at", "2014-09-19 20:17:03.460136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-19 20:17:03.463117"], ["updated_at", "2014-09-19 20:17:03.463117"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-19 20:17:03.465570"], ["updated_at", "2014-09-19 20:17:03.465570"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:17:03.467804"], ["name", "alpha"], ["title", "Quia temporibus consequatur quis non provident dolorem earum."], ["updated_at", "2014-09-19 20:17:03.467804"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:17:03.471002"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 56 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et illo suscipit distinctio ex quasi sed. Consectetur maxime deserunt natus repellat. Et numquam ut dolorem velit ea. Totam ducimus ut expedita distinctio qui. Sed fugit ea.\", \"Amet soluta quasi dolorem in quas rerum. Voluptatum aut fugit. Et autem possimus nesciunt necessitatibus est eaque consequuntur.\"]"], ["created_at", "2014-09-19 20:17:03.477802"], ["name", "alpha"], ["title", "Consequatur nisi illum et nihil veniam autem."], ["updated_at", "2014-09-19 20:17:03.477802"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-19 20:17:03.480978"], ["version", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia sed delectus dolor. Ullam ut eum suscipit qui molestiae voluptas quo. Laboriosam at velit qui dolore voluptas repellat omnis. Laborum inventore iste architecto et.\", \"Eos adipisci voluptatem iusto eius. Incidunt molestiae omnis laboriosam. Est quo voluptas laborum eum nesciunt nam consequatur. Et quia veniam non neque qui suscipit. Error ullam illo ipsum rerum velit id.\"]"], ["created_at", "2014-09-19 20:17:03.484980"], ["name", "beta"], ["title", "Fuga facere autem rerum reprehenderit quis hic delectus."], ["updated_at", "2014-09-19 20:17:03.484980"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-19 20:17:03.488207"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:17:03.490493"], ["updated_at", "2014-09-19 20:17:03.490493"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-19 20:17:03.493075"], ["updated_at", "2014-09-19 20:17:03.493075"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-19 20:17:03.495596"], ["updated_at", "2014-09-19 20:17:03.495596"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:17:03.498793"], ["name", "alpha"], ["title", "Consequatur nisi illum et nihil veniam autem."], ["updated_at", "2014-09-19 20:17:03.498793"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-19 20:17:03.502157"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_42bc9619') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium porro eos nihil rerum rerum quod inventore. Dicta consequatur ut. Exercitationem ab sequi eaque.\", \"Et quas iusto aut. Et laboriosam ab sit asperiores in. Ut id non nemo placeat sint voluptatum. Aspernatur eos rerum commodi.\"]"], ["created_at", "2014-09-19 20:19:47.901869"], ["name", "contract_42bc9619"], ["title", "Autem in aut ea perspiciatis."], ["updated_at", "2014-09-19 20:19:47.901869"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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_54ef6f6c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi dolorem totam. Neque rerum repellat consequatur at error sit. Ipsam nobis id illo corrupti ea ipsa eius.\", \"Distinctio minima odit aperiam harum id qui. Harum eum aut aut architecto provident quidem velit. Aut officiis minus eos atque.\"]"], ["created_at", "2014-09-19 20:19:47.916354"], ["name", "contract_54ef6f6c"], ["title", "Optio cumque enim."], ["updated_at", "2014-09-19 20:19:47.916354"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_54ef6f6c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_54ef6f6c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:19:47.923223"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.931527"], ["updated_at", "2014-09-19 20:19:47.931527"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.941017"], ["updated_at", "2014-09-19 20:19:47.941017"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.942769"], ["updated_at", "2014-09-19 20:19:47.942769"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/home/index.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.958712"], ["updated_at", "2014-09-19 20:19:47.958712"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.960589"], ["updated_at", "2014-09-19 20:19:47.960589"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima et architecto molestiae cupiditate. Nam voluptate voluptas laborum dolor. Illo aut totam mollitia pariatur.\", \"Voluptatem aut ut quas officiis autem dolor et. Ipsum sint vero praesentium dolor. Perferendis consequatur rerum similique. Et aut eveniet laborum.\"]"], ["created_at", "2014-09-19 20:19:47.967065"], ["name", "alpha"], ["title", "Odit cupiditate ut."], ["updated_at", "2014-09-19 20:19:47.967065"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:19:47.970603"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem et cum. Ut facere cupiditate consequatur labore facilis debitis. Itaque voluptas ab beatae at sunt nisi. Est placeat maiores recusandae magnam dolorem ab.\", \"Velit adipisci ipsum sed doloremque ipsam dolorem magni. Maiores consequuntur qui. Dolore deserunt voluptatem. Alias vel eos et iste tenetur. Et suscipit iure quis aut nulla corporis vel.\"]"], ["created_at", "2014-09-19 20:19:47.974528"], ["name", "beta"], ["title", "Possimus quasi labore quia accusantium."], ["updated_at", "2014-09-19 20:19:47.974528"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:19:47.977902"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:47.980571"], ["updated_at", "2014-09-19 20:19:47.980571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-19 20:19:47.983709"], ["updated_at", "2014-09-19 20:19:47.983709"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:19:47.990268"], ["updated_at", "2014-09-19 20:19:47.990268"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:19:47.994614"], ["name", "alpha"], ["title", "Odit cupiditate ut."], ["updated_at", "2014-09-19 20:19:47.994614"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:19:47.998781"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit natus ea ducimus autem. Laborum eius pariatur velit voluptas voluptatem quia vel. Nesciunt consequatur iste. Dolore eum ut necessitatibus et saepe.\", \"Dicta repellat ratione et. Nemo nihil id ex magnam hic quia nesciunt. Eligendi voluptas est praesentium. Sunt quibusdam laborum.\"]"], ["created_at", "2014-09-19 20:19:48.007292"], ["name", "alpha"], ["title", "Ut id fugiat quis debitis assumenda mollitia."], ["updated_at", "2014-09-19 20:19:48.007292"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:19:48.010835"], ["version", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam reiciendis qui veniam illo rerum aliquid. Esse aliquam eum labore facere harum. In necessitatibus distinctio nemo excepturi provident tempora neque. Omnis quas quia sint accusantium eaque sed. Ut assumenda quia fugit sunt deserunt.\", \"Tempora dolor laboriosam. Soluta odio illum architecto voluptatem voluptas accusantium eum. Magnam autem quia sit. Nostrum id illum fugit quo non cupiditate.\"]"], ["created_at", "2014-09-19 20:19:48.015478"], ["name", "beta"], ["title", "Cupiditate cumque et."], ["updated_at", "2014-09-19 20:19:48.015478"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:19:48.019246"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.021705"], ["updated_at", "2014-09-19 20:19:48.021705"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-19 20:19:48.024441"], ["updated_at", "2014-09-19 20:19:48.024441"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:19:48.026974"], ["updated_at", "2014-09-19 20:19:48.026974"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:19:48.029402"], ["name", "alpha"], ["title", "Ut id fugiat quis debitis assumenda mollitia."], ["updated_at", "2014-09-19 20:19:48.029402"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:19:48.033060"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et velit occaecati facilis eos commodi quos. Magnam tenetur nihil impedit minus blanditiis id illum. Eaque libero modi corrupti quo velit eveniet aut. Minus ut illum et ipsum voluptates non sunt.\", \"Deserunt omnis hic dolor maxime non. Quae at non consequatur. Deleniti corporis eveniet aut. Eligendi non voluptatibus.\"]"], ["created_at", "2014-09-19 20:19:48.041248"], ["name", "alpha"], ["title", "Magnam incidunt nihil nemo quia odit consequatur."], ["updated_at", "2014-09-19 20:19:48.041248"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:19:48.044514"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere sunt aut quia possimus id. Rerum numquam sit dolorem ut voluptatem laudantium. Et culpa voluptas illum soluta aliquid.\", \"Excepturi molestiae dolor at quia expedita dicta. Asperiores modi iste et quis quibusdam hic. Magnam hic quia. Tenetur consequatur placeat quam quod. Id error quo animi maxime qui praesentium optio.\"]"], ["created_at", "2014-09-19 20:19:48.047850"], ["name", "beta"], ["title", "Nobis maiores aut aut officiis qui minus."], ["updated_at", "2014-09-19 20:19:48.047850"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:19:48.050676"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.053608"], ["updated_at", "2014-09-19 20:19:48.053608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:19:48.056381"], ["updated_at", "2014-09-19 20:19:48.056381"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:19:48.058818"], ["updated_at", "2014-09-19 20:19:48.058818"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:19:48.061111"], ["name", "alpha"], ["title", "Magnam incidunt nihil nemo quia odit consequatur."], ["updated_at", "2014-09-19 20:19:48.061111"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:19:48.064138"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (10, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-19 20:19:48.080673"], ["updated_at", "2014-09-19 20:19:48.080673"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (10, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.093310"], ["updated_at", "2014-09-19 20:19:48.093310"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.095100"], ["updated_at", "2014-09-19 20:19:48.095100"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_2ba29fde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum ipsum sapiente ut. Corporis veritatis blanditiis. Omnis saepe ut sit nostrum corporis. Et vero magni.\", \"Dolorem id est. Vel commodi ut quidem quas non. Hic doloremque voluptas placeat assumenda eos saepe. Quas reiciendis excepturi.\"]"], ["created_at", "2014-09-19 20:19:48.098779"], ["name", "contract_2ba29fde"], ["title", "Nulla ratione necessitatibus hic eveniet est et ex."], ["updated_at", "2014-09-19 20:19:48.098779"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.104725"], ["updated_at", "2014-09-19 20:19:48.104725"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.106297"], ["updated_at", "2014-09-19 20:19:48.106297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2eb4a6d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius non dolor distinctio nisi dolorem id. Sunt iure et maiores magni. At quos est illo harum repudiandae dolorum. Autem omnis quae voluptas et non blanditiis enim. Exercitationem quaerat recusandae impedit.\", \"Optio vel omnis necessitatibus eum qui. Qui quis iste iure at magni harum. Error soluta ut.\"]"], ["created_at", "2014-09-19 20:19:48.108931"], ["name", "contract_2eb4a6d6"], ["title", "Neque sit velit vitae."], ["updated_at", "2014-09-19 20:19:48.108931"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.112598"], ["updated_at", "2014-09-19 20:19:48.112598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.114056"], ["updated_at", "2014-09-19 20:19:48.114056"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_338f1ec9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus a ullam dolore minus. Inventore odio expedita consequatur. Et aut aut quod voluptatem.\", \"Molestiae ratione quis ab voluptatem consectetur quae a. Necessitatibus a corrupti est. Excepturi et illo rerum omnis. Et recusandae quia tempora odio.\"]"], ["created_at", "2014-09-19 20:19:48.116621"], ["name", "contract_338f1ec9"], ["title", "Provident qui nulla odit."], ["updated_at", "2014-09-19 20:19:48.116621"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.121836"], ["updated_at", "2014-09-19 20:19:48.121836"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.123306"], ["updated_at", "2014-09-19 20:19:48.123306"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0e516d43') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias aut laboriosam perferendis aperiam ea iusto. Voluptatibus asperiores omnis sed dicta voluptate aspernatur vitae. Est sit aut iste soluta ipsum placeat.\", \"Explicabo accusantium ut. Voluptas ea molestiae voluptas omnis repellat dolor. Est numquam explicabo in non iste.\"]"], ["created_at", "2014-09-19 20:19:48.125788"], ["name", "contract_0e516d43"], ["title", "Amet eligendi et sint mollitia veritatis assumenda."], ["updated_at", "2014-09-19 20:19:48.125788"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 15 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:19:48.129807"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.135577"], ["updated_at", "2014-09-19 20:19:48.135577"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.137426"], ["updated_at", "2014-09-19 20:19:48.137426"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d2c82273') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur ut omnis cumque. Assumenda quis omnis. Quo voluptas voluptates ab quam libero. Necessitatibus aperiam ut et. Neque a est libero enim quasi.\", \"Distinctio non quae non est dolorem esse labore. Ut repudiandae reiciendis aliquid repellendus amet odio natus. Ipsum quisquam nobis velit at occaecati. Suscipit aut inventore et quisquam.\"]"], ["created_at", "2014-09-19 20:19:48.140121"], ["name", "contract_d2c82273"], ["title", "Odit eum ab consequuntur autem vero."], ["updated_at", "2014-09-19 20:19:48.140121"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.145324"], ["updated_at", "2014-09-19 20:19:48.145324"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.147179"], ["updated_at", "2014-09-19 20:19:48.147179"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_5f2a5761') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium quo voluptatem iusto reiciendis quae harum occaecati. Tenetur et dolores at. Nemo fuga vel enim.\", \"Expedita blanditiis enim quia. Dolore enim voluptas in. Voluptatem ut eligendi vel ut nam ut. Sint ducimus magnam a.\"]"], ["created_at", "2014-09-19 20:19:48.150705"], ["name", "contract_5f2a5761"], ["title", "Libero dolorem maxime excepturi esse et voluptatem."], ["updated_at", "2014-09-19 20:19:48.150705"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5f2a5761"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_5f2a5761') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-19 20:19:48.154642"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.159754"], ["updated_at", "2014-09-19 20:19:48.159754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.161278"], ["updated_at", "2014-09-19 20:19:48.161278"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dc388241') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet iure non. Neque quae voluptatem eum quis. Et dolores quasi. Officia ut necessitatibus repudiandae saepe adipisci.\", \"Non rerum facilis consequatur. Sint quibusdam est quia sed neque aut unde. Consequatur velit magni voluptates odio est. Mollitia debitis ut maiores eos ipsa architecto sapiente. Possimus veritatis quis repudiandae.\"]"], ["created_at", "2014-09-19 20:19:48.163860"], ["name", "contract_dc388241"], ["title", "Aut alias veritatis quo ut."], ["updated_at", "2014-09-19 20:19:48.163860"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 9, 8, 6, 5, 3, 15, 10, 7, 4, 12, 13, 14, 1, 2, 17, 16, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.171039"], ["updated_at", "2014-09-19 20:19:48.171039"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.172632"], ["updated_at", "2014-09-19 20:19:48.172632"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_c8e4a38c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore cum fuga est. Laborum est dolor esse cupiditate maxime maiores aut. Qui eaque ipsa.\", \"Vero quo rerum. Aliquid similique maiores rerum consequatur assumenda ad enim. Ut rerum rem odit.\"]"], ["created_at", "2014-09-19 20:19:48.175811"], ["name", "contract_c8e4a38c"], ["title", "Dolorem quis eos harum totam et consequatur aliquam."], ["updated_at", "2014-09-19 20:19:48.175811"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.181600"], ["updated_at", "2014-09-19 20:19:48.181600"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.183155"], ["updated_at", "2014-09-19 20:19:48.183155"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_307be33b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique laboriosam aut. Magni labore temporibus dolorum sed expedita. Exercitationem ullam omnis qui sequi quo. Asperiores non ut voluptas. Qui ipsum autem suscipit veritatis aut.\", \"Ut et illo rerum impedit fuga sit doloremque. Voluptas eum quos id fugit quidem sunt. Illo assumenda qui. Aut soluta quae quidem ut laudantium placeat.\"]"], ["created_at", "2014-09-19 20:19:48.185681"], ["name", "contract_307be33b"], ["title", "Voluptas et quisquam consequatur consequuntur ipsa sapiente."], ["updated_at", "2014-09-19 20:19:48.185681"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 20]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 20]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 20 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.192962"], ["updated_at", "2014-09-19 20:19:48.192962"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.194518"], ["updated_at", "2014-09-19 20:19:48.194518"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f5f99545') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id culpa alias quia cumque sed. Vero modi sint cum non. Voluptas sequi libero accusamus nulla. Et ipsa libero quo error dolor.\", \"Ex repellendus repudiandae cumque ratione voluptatem. Perspiciatis eos tempore. Voluptatum eaque amet id.\"]"], ["created_at", "2014-09-19 20:19:48.197053"], ["name", "contract_f5f99545"], ["title", "Consequatur facere quia quaerat enim."], ["updated_at", "2014-09-19 20:19:48.197053"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.203395"], ["updated_at", "2014-09-19 20:19:48.203395"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.205107"], ["updated_at", "2014-09-19 20:19:48.205107"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_1861433d') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum autem omnis eligendi praesentium libero. At adipisci voluptate. Odit iure similique molestiae eum id. Vitae quisquam veniam qui.\", \"Necessitatibus tempora praesentium magnam iusto quo deleniti. Sequi dignissimos aut non. Corrupti labore soluta.\"]"], ["created_at", "2014-09-19 20:19:48.209240"], ["name", "contract_1861433d"], ["title", "Corrupti quod laborum quo et quia qui."], ["updated_at", "2014-09-19 20:19:48.209240"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1861433d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_1861433d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-19 20:19:48.215559"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.220199"], ["updated_at", "2014-09-19 20:19:48.220199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.221719"], ["updated_at", "2014-09-19 20:19:48.221719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35fa24b7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam blanditiis et expedita ad voluptatum quam recusandae. In ex dolor. Repellendus enim aut id similique rerum. Cumque velit fuga possimus. Ratione omnis rem possimus sunt minus itaque.\", \"Minus cupiditate ut nesciunt odit reiciendis voluptatem. Quidem at ea. Aut totam error nihil qui ut saepe aperiam.\"]"], ["created_at", "2014-09-19 20:19:48.224347"], ["name", "contract_35fa24b7"], ["title", "Aut quas alias eos laborum suscipit repellendus."], ["updated_at", "2014-09-19 20:19:48.224347"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.228317"], ["updated_at", "2014-09-19 20:19:48.228317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.229872"], ["updated_at", "2014-09-19 20:19:48.229872"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2fc9061c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas ut illum facere et eius voluptatem tenetur. Eius suscipit consectetur veritatis quas atque numquam. Sed doloremque iure est hic at sit. Dolorem fugiat qui ea error cupiditate asperiores.\", \"Voluptas ea voluptatum sint nihil ducimus repellat voluptatem. Blanditiis neque dolores sapiente expedita molestiae. Odio qui dolor ad non nisi enim. Facere non maiores distinctio enim. Numquam nesciunt fugiat tempore illo.\"]"], ["created_at", "2014-09-19 20:19:48.232541"], ["name", "contract_2fc9061c"], ["title", "Ipsam dolor assumenda."], ["updated_at", "2014-09-19 20:19:48.232541"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.237114"], ["updated_at", "2014-09-19 20:19:48.237114"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.238701"], ["updated_at", "2014-09-19 20:19:48.238701"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_703f3d7c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam magni veniam consequuntur. Nam autem earum. Rerum quidem optio non. Praesentium nisi impedit ab rerum placeat aut ipsam. Eum voluptatem consequatur nihil libero qui qui.\", \"Ut nemo beatae voluptatem ut excepturi qui et. Officiis qui officia blanditiis hic sit nisi. Itaque vero ea. Eius dolorum repellendus sint optio cumque ut. Quaerat quos modi est dolores.\"]"], ["created_at", "2014-09-19 20:19:48.241208"], ["name", "contract_703f3d7c"], ["title", "Iure accusamus laudantium facilis voluptatem."], ["updated_at", "2014-09-19 20:19:48.241208"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_703f3d7c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_703f3d7c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-19 20:19:48.244230"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.249842"], ["updated_at", "2014-09-19 20:19:48.249842"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.251272"], ["updated_at", "2014-09-19 20:19:48.251272"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_16085cf6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor voluptas quod sapiente doloremque exercitationem saepe quas. At dolorum ut quasi ut. Quasi iusto est aut. Quo repellat nihil.\", \"Voluptate illum sint eius deleniti quisquam. Ducimus nostrum consequatur deserunt suscipit et quis id. Possimus quaerat fugiat aut quisquam. Asperiores ut quia vero. Et eius cumque est.\"]"], ["created_at", "2014-09-19 20:19:48.253918"], ["name", "contract_16085cf6"], ["title", "In deleniti quibusdam provident natus ut perspiciatis odit."], ["updated_at", "2014-09-19 20:19:48.253918"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.258393"], ["updated_at", "2014-09-19 20:19:48.258393"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.260347"], ["updated_at", "2014-09-19 20:19:48.260347"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_ca56ce31') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus cumque et possimus ipsa libero occaecati tempora. Aperiam repellat in ut rerum aut ut. Nisi odio vel. Enim itaque autem amet. Culpa et et eum qui nulla.\", \"Cumque ducimus excepturi sint quaerat quia dolor maiores. Aut provident ratione quidem et dolores ut quis. Laudantium est eum.\"]"], ["created_at", "2014-09-19 20:19:48.263617"], ["name", "contract_ca56ce31"], ["title", "Distinctio ducimus maxime laboriosam qui illum quo."], ["updated_at", "2014-09-19 20:19:48.263617"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:19:48.267038"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:19:48.267038"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.270745"], ["updated_at", "2014-09-19 20:19:48.270745"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.272556"], ["updated_at", "2014-09-19 20:19:48.272556"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_ba7ba35e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit id harum mollitia. Distinctio asperiores fugiat repellat consequatur dolores est exercitationem. Quisquam exercitationem nemo. Doloremque quia quaerat. Enim nostrum magnam labore et.\", \"Excepturi in odio provident dolor possimus fugiat qui. Aut et sed maxime aut incidunt quae. Inventore incidunt accusantium et iste consequatur ratione provident.\"]"], ["created_at", "2014-09-19 20:19:48.275235"], ["name", "contract_ba7ba35e"], ["title", "Numquam fugit architecto facilis consequatur."], ["updated_at", "2014-09-19 20:19:48.275235"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ba7ba35e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_ba7ba35e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-19 20:19:48.278233"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ba7ba35e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.285099"], ["updated_at", "2014-09-19 20:19:48.285099"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.286600"], ["updated_at", "2014-09-19 20:19:48.286600"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_75eb4855') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero quos expedita. Corporis ut aut. Nesciunt labore deserunt itaque. Possimus voluptate qui qui sint. Itaque illum neque non officia vel temporibus.\", \"Quis vel eius repudiandae facere quae cupiditate. Praesentium qui nostrum rerum accusamus nobis quidem. Libero placeat minima ea.\"]"], ["created_at", "2014-09-19 20:19:48.289217"], ["name", "contract_75eb4855"], ["title", "Suscipit earum ut aut omnis corrupti et."], ["updated_at", "2014-09-19 20:19:48.289217"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75eb4855"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_75eb4855') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:19:48.292167"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75eb4855"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_75eb4855') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:19:48.297908"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction 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_7d6e37c5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi modi omnis vel eos. Error officiis porro et ut fuga deleniti. Dolorem qui accusamus est. In illo iure sunt beatae laboriosam. Vitae est repellat qui dolorum placeat.\", \"Dolor velit id non. Quo a voluptas commodi quia. Occaecati sint tempore cum soluta nihil nemo. Voluptates et reiciendis deleniti ab tempore rerum totam. Nostrum quis autem dicta aliquid unde facilis.\"]"], ["created_at", "2014-09-19 20:19:48.303440"], ["name", "contract_7d6e37c5"], ["title", "Iure voluptas exercitationem itaque dicta qui."], ["updated_at", "2014-09-19 20:19:48.303440"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7d6e37c5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_7d6e37c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:19:48.308035"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7d6e37c5"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7d6e37c5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_7d6e37c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-19 20:19:48.313046"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e0e4f0b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat maiores dolorem. Et voluptatem a consequuntur id tempore eius. Eum non sint voluptas eum porro. Cum dolorem illum repudiandae quae consequatur. Et molestiae inventore veniam voluptas.\", \"Aut cumque provident et. Et quasi delectus temporibus vitae omnis. Rem autem facilis nihil fuga non et. Odit distinctio impedit. Dicta voluptatum cum nihil fugit vel sint itaque.\"]"], ["created_at", "2014-09-19 20:19:48.316723"], ["name", "contract_e0e4f0b1"], ["title", "Recusandae consequuntur at inventore."], ["updated_at", "2014-09-19 20:19:48.316723"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e0e4f0b1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e0e4f0b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:19:48.319824"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.323714"], ["updated_at", "2014-09-19 20:19:48.323714"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-19 20:19:48.325913"], ["updated_at", "2014-09-19 20:19:48.325913"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e0e4f0b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e0e4f0b1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e0e4f0b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction 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_9ba0a865') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum non repudiandae veritatis. Quia eaque esse repudiandae iusto magni eius aliquam. Et et voluptatem suscipit non ut.\", \"Inventore rerum soluta error ut non. Itaque eligendi et laudantium rerum et. Voluptas maiores pariatur iure nihil labore.\"]"], ["created_at", "2014-09-19 20:19:48.335028"], ["name", "contract_9ba0a865"], ["title", "Et aut aut atque tenetur qui cumque similique."], ["updated_at", "2014-09-19 20:19:48.335028"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9ba0a865"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_9ba0a865') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-19 20:19:48.338328"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9ba0a865' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum non repudiandae veritatis. Quia eaque esse repudiandae iusto magni eius aliquam. Et et voluptatem suscipit non ut.\", \"Inventore rerum soluta error ut non. Itaque eligendi et laudantium rerum et. Voluptas maiores pariatur iure nihil labore.\"]"], ["created_at", "2014-09-19 20:19:48.342834"], ["name", "joe"], ["title", "Et aut aut atque tenetur qui cumque similique."], ["updated_at", "2014-09-19 20:19:48.342834"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-19 20:19:48.345979"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9c033f86') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat qui maxime sed non. Omnis dolorem quas doloremque. Porro quae ut incidunt. Distinctio ex voluptas earum voluptatum.\", \"Sit et aspernatur deleniti vel commodi. Deserunt ipsam velit non non accusantium. Praesentium dicta minima. Quaerat voluptates sed blanditiis recusandae occaecati id. Qui odio recusandae rem.\"]"], ["created_at", "2014-09-19 20:19:48.350149"], ["name", "contract_9c033f86"], ["title", "Totam possimus et non rerum voluptate doloribus."], ["updated_at", "2014-09-19 20:19:48.350149"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c033f86"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_9c033f86') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:19:48.353146"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9c033f86' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_9c033f86') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat qui maxime sed non. Omnis dolorem quas doloremque. Porro quae ut incidunt. Distinctio ex voluptas earum voluptatum.\", \"Sit et aspernatur deleniti vel commodi. Deserunt ipsam velit non non accusantium. Praesentium dicta minima. Quaerat voluptates sed blanditiis recusandae occaecati id. Qui odio recusandae rem.\"]"], ["created_at", "2014-09-19 20:19:48.356595"], ["name", "contract_9c033f86"], ["title", "Totam possimus et non rerum voluptate doloribus."], ["updated_at", "2014-09-19 20:19:48.356595"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c033f86"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_9c033f86') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:19:48.359594"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.362723"], ["updated_at", "2014-09-19 20:19:48.362723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.364162"], ["updated_at", "2014-09-19 20:19:48.364162"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8d315485') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit in cumque et qui error eos. Vitae fuga eaque placeat voluptatem assumenda nemo officiis. Autem sed rerum. Est omnis qui voluptates quia nulla. Facilis ab nulla ut inventore quo repellendus.\", \"Molestiae odio voluptatem maxime. Non provident repellat fuga. Non rerum laudantium. Alias veniam aut. Ut vel maiores quidem et id odio amet.\"]"], ["created_at", "2014-09-19 20:19:48.367055"], ["name", "contract_8d315485"], ["title", "Aspernatur temporibus iste."], ["updated_at", "2014-09-19 20:19:48.367055"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8d315485"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_8d315485') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:19:48.370819"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.374281"], ["updated_at", "2014-09-19 20:19:48.374281"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-19 20:19:48.377383"], ["updated_at", "2014-09-19 20:19:48.377383"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.383903"], ["updated_at", "2014-09-19 20:19:48.383903"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.386258"], ["updated_at", "2014-09-19 20:19:48.386258"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_adddb5ab') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos ipsa tenetur repellendus consectetur est sunt. Laborum aut autem id aliquam saepe. Ut id itaque libero nostrum facere. Voluptas minus voluptas at esse.\", \"Voluptatibus velit repellat vel sunt ut. Similique vel et. Consequatur adipisci inventore qui ex autem ab ea.\"]"], ["created_at", "2014-09-19 20:19:48.390561"], ["name", "contract_adddb5ab"], ["title", "Libero veniam et velit qui dignissimos quod."], ["updated_at", "2014-09-19 20:19:48.390561"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_adddb5ab"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_adddb5ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-19 20:19:48.394460"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.396979"], ["updated_at", "2014-09-19 20:19:48.396979"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-19 20:19:48.399162"], ["updated_at", "2014-09-19 20:19:48.399162"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.404448"], ["updated_at", "2014-09-19 20:19:48.404448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.405942"], ["updated_at", "2014-09-19 20:19:48.405942"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_1bcc8f99') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut et qui enim rerum veritatis at ipsum. Quis omnis tempora voluptatem et. Ea earum fuga facilis.\", \"Necessitatibus eum nesciunt quam possimus eos. Consequatur et aut. Fugiat esse ratione recusandae labore tempora.\"]"], ["created_at", "2014-09-19 20:19:48.409329"], ["name", "contract_1bcc8f99"], ["title", "Eaque ut ut eos vel eveniet est."], ["updated_at", "2014-09-19 20:19:48.409329"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1bcc8f99"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_1bcc8f99') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-19 20:19:48.412380"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.414816"], ["updated_at", "2014-09-19 20:19:48.414816"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-19 20:19:48.416973"], ["updated_at", "2014-09-19 20:19:48.416973"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 11 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.424359"], ["updated_at", "2014-09-19 20:19:48.424359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.425994"], ["updated_at", "2014-09-19 20:19:48.425994"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_969e7d0e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor non ipsa iusto sequi dignissimos. Dolores cumque corporis ut et ut ab. Sequi voluptatum consequatur in aliquam.\", \"Magnam cum vero commodi deleniti recusandae. Est facere expedita est excepturi qui. Id ratione tenetur sit vel vel autem velit.\"]"], ["created_at", "2014-09-19 20:19:48.429131"], ["name", "contract_969e7d0e"], ["title", "Placeat dicta quos qui."], ["updated_at", "2014-09-19 20:19:48.429131"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_969e7d0e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_969e7d0e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-19 20:19:48.432207"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:19:48.434575"], ["updated_at", "2014-09-19 20:19:48.434575"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-19 20:19:48.436736"], ["updated_at", "2014-09-19 20:19:48.436736"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur et voluptas omnis aut. Omnis officiis aut at voluptatem facilis harum. Minus ab aut enim qui architecto harum.\", \"Molestiae nisi dolor voluptas totam. Nihil eveniet vel alias aut dolore. Ad officia nesciunt ut voluptatem consequatur aut ut. Saepe dolor atque quidem quasi. Quia quae sed sunt et mollitia consequatur ad.\"]"], ["created_at", "2014-09-19 20:20:56.006632"], ["name", "alpha"], ["title", "Soluta officia unde eligendi voluptas error."], ["updated_at", "2014-09-19 20:20:56.006632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-19 20:20:56.016275"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae non iste aut sed sunt. Enim qui reiciendis omnis est. Animi et beatae laboriosam rerum. Est ut rerum quo. Hic maxime sunt.\", \"Quis repellat sed omnis rerum sunt. Et accusantium iusto in qui. Qui quis consectetur facere. Laudantium et minima ea odit laborum recusandae.\"]"], ["created_at", "2014-09-19 20:20:56.022468"], ["name", "beta"], ["title", "Et enim ut."], ["updated_at", "2014-09-19 20:20:56.022468"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-19 20:20:56.025976"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.029025"], ["updated_at", "2014-09-19 20:20:56.029025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-19 20:20:56.036018"], ["updated_at", "2014-09-19 20:20:56.036018"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-19 20:20:56.041626"], ["updated_at", "2014-09-19 20:20:56.041626"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:20:56.045757"], ["name", "alpha"], ["title", "Soluta officia unde eligendi voluptas error."], ["updated_at", "2014-09-19 20:20:56.045757"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-19 20:20:56.049332"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus et numquam similique aliquam. Ullam consequatur optio necessitatibus sequi laudantium sit. Magni ullam porro et ea minima dolore. Mollitia doloribus nisi aut inventore vel non ea.\", \"Qui ea illum et dolorem voluptatem magnam. Unde ratione et perspiciatis aliquid quaerat et consequatur. Quia neque ratione. Sunt voluptatibus non mollitia consequatur corporis modi aliquid. Rerum labore et illum inventore.\"]"], ["created_at", "2014-09-19 20:20:56.057087"], ["name", "alpha"], ["title", "Velit quia repudiandae excepturi quo nisi veniam."], ["updated_at", "2014-09-19 20:20:56.057087"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-19 20:20:56.060339"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim et et. Est dignissimos velit. Non adipisci labore minus tenetur et rem hic.\", \"Quaerat corporis id molestias a eum. Magni occaecati facilis cumque at qui aut. Et qui aut maiores optio et. Commodi ut ut dolores accusamus neque.\"]"], ["created_at", "2014-09-19 20:20:56.063930"], ["name", "beta"], ["title", "Enim nemo et sed."], ["updated_at", "2014-09-19 20:20:56.063930"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-19 20:20:56.067157"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.069285"], ["updated_at", "2014-09-19 20:20:56.069285"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-19 20:20:56.071853"], ["updated_at", "2014-09-19 20:20:56.071853"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-19 20:20:56.074192"], ["updated_at", "2014-09-19 20:20:56.074192"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:20:56.076555"], ["name", "alpha"], ["title", "Velit quia repudiandae excepturi quo nisi veniam."], ["updated_at", "2014-09-19 20:20:56.076555"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-19 20:20:56.080071"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ullam minus rerum velit possimus omnis. Illo eum ipsa fugiat esse repellendus dolorem id. Quo blanditiis totam perspiciatis rerum ea quibusdam quae.\", \"Vel minus cumque et eveniet aut. Et voluptas aut consequatur laboriosam ea corporis velit. Sit porro vero blanditiis assumenda possimus quos. Dolorem eaque est quis saepe rem. Quod dicta sunt iste neque.\"]"], ["created_at", "2014-09-19 20:20:56.088903"], ["name", "alpha"], ["title", "Iure dolor autem porro ullam."], ["updated_at", "2014-09-19 20:20:56.088903"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-19 20:20:56.092523"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates natus nobis. Tempora voluptatum aliquam totam quidem a. Quis et ad ut qui maiores accusantium. Laborum dolores eius.\", \"Temporibus accusantium nobis quam ducimus dolorem. In ad debitis. Facere quia ab et quasi maxime voluptatem. Enim deleniti libero iure quod sunt sunt omnis.\"]"], ["created_at", "2014-09-19 20:20:56.096177"], ["name", "beta"], ["title", "Voluptas cum non."], ["updated_at", "2014-09-19 20:20:56.096177"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-19 20:20:56.099377"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.101791"], ["updated_at", "2014-09-19 20:20:56.101791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-19 20:20:56.104743"], ["updated_at", "2014-09-19 20:20:56.104743"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-19 20:20:56.109295"], ["updated_at", "2014-09-19 20:20:56.109295"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:20:56.111948"], ["name", "alpha"], ["title", "Iure dolor autem porro ullam."], ["updated_at", "2014-09-19 20:20:56.111948"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-19 20:20:56.115369"], ["version", 6]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-19 20:20:56.132436"], ["updated_at", "2014-09-19 20:20:56.132436"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio vero reiciendis accusamus voluptates exercitationem facere non. Velit ipsa sed deserunt. Maxime doloribus aut.\", \"Quaerat quidem facere iusto eaque rerum voluptas culpa. Rerum excepturi adipisci sequi. Accusamus quis inventore illo perspiciatis facere aliquam.\"]"], ["created_at", "2014-09-19 20:20:56.145115"], ["name", "alpha"], ["title", "Iure corrupti consequatur dolore voluptas."], ["updated_at", "2014-09-19 20:20:56.145115"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-19 20:20:56.148178"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt labore qui perferendis aut magni cum dolores. Repellendus doloribus dicta fuga inventore reprehenderit cumque. Magni ut repellat autem quam. Culpa laborum voluptatum delectus perspiciatis. Impedit est corrupti.\", \"Itaque quisquam debitis aut vero voluptatem. Velit sed et dicta expedita vitae aut. Odit voluptas doloribus aut tenetur est architecto. Ducimus quia in. Sed perferendis excepturi aut.\"]"], ["created_at", "2014-09-19 20:20:56.151507"], ["name", "beta"], ["title", "Sint est sapiente quaerat."], ["updated_at", "2014-09-19 20:20:56.151507"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-19 20:20:56.154464"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.156633"], ["updated_at", "2014-09-19 20:20:56.156633"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-19 20:20:56.159184"], ["updated_at", "2014-09-19 20:20:56.159184"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-19 20:20:56.161603"], ["updated_at", "2014-09-19 20:20:56.161603"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-19 20:20:56.163810"], ["name", "alpha"], ["title", "Iure corrupti consequatur dolore voluptas."], ["updated_at", "2014-09-19 20:20:56.163810"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-19 20:20:56.166824"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.175226"], ["updated_at", "2014-09-19 20:20:56.175226"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.176897"], ["updated_at", "2014-09-19 20:20:56.176897"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4cbf5a29') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat voluptates et. Itaque earum numquam molestias quisquam. Non et laborum velit ut eos tenetur.\", \"Vero non eos qui in. Laboriosam perferendis dolores sit in. Laboriosam ea quia ab sunt et.\"]"], ["created_at", "2014-09-19 20:20:56.180127"], ["name", "contract_4cbf5a29"], ["title", "Error est ullam velit quos."], ["updated_at", "2014-09-19 20:20:56.180127"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4cbf5a29"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_4cbf5a29') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-19 20:20:56.183336"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.186583"], ["updated_at", "2014-09-19 20:20:56.186583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-19 20:20:56.188857"], ["updated_at", "2014-09-19 20:20:56.188857"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.195464"], ["updated_at", "2014-09-19 20:20:56.195464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.197034"], ["updated_at", "2014-09-19 20:20:56.197034"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5c2c12ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor architecto nihil est. Recusandae ipsum magni et aut et. Quam sint tempore pariatur modi laborum. In ipsa id consequatur velit laboriosam.\", \"Illo alias explicabo. Earum eos deleniti aut laborum quas magni. Qui ullam qui molestias aliquid necessitatibus.\"]"], ["created_at", "2014-09-19 20:20:56.200001"], ["name", "contract_5c2c12ec"], ["title", "Quidem in est dolor dignissimos nisi natus."], ["updated_at", "2014-09-19 20:20:56.200001"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5c2c12ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_5c2c12ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-19 20:20:56.203008"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.205410"], ["updated_at", "2014-09-19 20:20:56.205410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-19 20:20:56.207460"], ["updated_at", "2014-09-19 20:20:56.207460"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.212696"], ["updated_at", "2014-09-19 20:20:56.212696"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.214158"], ["updated_at", "2014-09-19 20:20:56.214158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e83f0adc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus modi omnis libero voluptatem. Atque qui cum. Culpa magni est. Sunt ullam suscipit et eaque. Quas dolor veniam nostrum voluptatem eveniet placeat.\", \"Minima excepturi ratione amet et illum. Et a quia culpa in. Impedit tempore nostrum facere quia.\"]"], ["created_at", "2014-09-19 20:20:56.217187"], ["name", "contract_e83f0adc"], ["title", "Debitis ipsa suscipit."], ["updated_at", "2014-09-19 20:20:56.217187"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e83f0adc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_e83f0adc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-19 20:20:56.220195"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.222744"], ["updated_at", "2014-09-19 20:20:56.222744"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-19 20:20:56.224895"], ["updated_at", "2014-09-19 20:20:56.224895"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/signatures Completed 302 Found in 2ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 12 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.231422"], ["updated_at", "2014-09-19 20:20:56.231422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.232952"], ["updated_at", "2014-09-19 20:20:56.232952"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_c01cdfcb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde nihil sequi consequatur molestias. Rem assumenda ea. Rerum cumque molestiae et ut sit repellendus sequi.\", \"At quasi deleniti placeat. Repudiandae qui assumenda unde impedit dolor laudantium velit. Architecto quia qui. Esse dicta et et sed qui non omnis.\"]"], ["created_at", "2014-09-19 20:20:56.237807"], ["name", "contract_c01cdfcb"], ["title", "Voluptate nesciunt dolore quis et."], ["updated_at", "2014-09-19 20:20:56.237807"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c01cdfcb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_c01cdfcb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-19 20:20:56.241813"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.244374"], ["updated_at", "2014-09-19 20:20:56.244374"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-19 20:20:56.246550"], ["updated_at", "2014-09-19 20:20:56.246550"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_390191eb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum id sed provident qui autem dolor incidunt. Nemo itaque odio. Ipsum ut consequatur non. Magnam quod modi error est incidunt voluptates.\", \"Perspiciatis autem dignissimos. Et omnis est quibusdam consequatur. Sequi nihil sunt. Reprehenderit perspiciatis ullam natus sit iure ab. Qui reiciendis placeat dolorem beatae.\"]"], ["created_at", "2014-09-19 20:20:56.256171"], ["name", "contract_390191eb"], ["title", "Labore necessitatibus mollitia deleniti corrupti illo qui."], ["updated_at", "2014-09-19 20:20:56.256171"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]]  (0.0ms) begin transaction 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_83b19cd7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut molestias debitis possimus repellendus sed voluptatem veniam. Iusto autem et dolore nihil et quae voluptates. Aut reprehenderit est ex eum dolores. Consectetur aliquam sit porro iure voluptas.\", \"Error autem accusantium inventore. Maxime sapiente itaque nobis quos alias. Repellendus ullam blanditiis esse earum ipsum omnis. Reiciendis quo voluptate illo dolore et.\"]"], ["created_at", "2014-09-19 20:20:56.260286"], ["name", "contract_83b19cd7"], ["title", "Accusantium aspernatur qui."], ["updated_at", "2014-09-19 20:20:56.260286"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83b19cd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_83b19cd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-19 20:20:56.263226"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.265686"], ["updated_at", "2014-09-19 20:20:56.265686"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.271220"], ["updated_at", "2014-09-19 20:20:56.271220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.272921"], ["updated_at", "2014-09-19 20:20:56.272921"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_9f95550e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut vero dolorem ut reprehenderit qui molestias laboriosam. Beatae fuga esse et facilis distinctio accusamus quisquam. Nulla nostrum sunt dolorem saepe. Eius dignissimos fugiat autem.\", \"Accusamus quo quis omnis sit laudantium ipsa accusantium. Maxime et officia dolor doloremque optio. Eos animi fuga quisquam ea officia facilis molestiae. Et quos odio iure.\"]"], ["created_at", "2014-09-19 20:20:56.275978"], ["name", "contract_9f95550e"], ["title", "Culpa labore in illo non enim dignissimos et."], ["updated_at", "2014-09-19 20:20:56.275978"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 11, 8, 5, 2, 17, 13, 14, 18, 19, 16, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.284551"], ["updated_at", "2014-09-19 20:20:56.284551"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.286193"], ["updated_at", "2014-09-19 20:20:56.286193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f415f2bc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem repudiandae et et omnis. Inventore consequatur totam illum. Nostrum quisquam deleniti error maiores et. Excepturi nemo impedit tempora.\", \"Et atque enim nobis. Rerum alias excepturi. Nesciunt neque voluptas nemo doloribus officia temporibus.\"]"], ["created_at", "2014-09-19 20:20:56.288888"], ["name", "contract_f415f2bc"], ["title", "Voluptatem architecto error asperiores pariatur voluptas."], ["updated_at", "2014-09-19 20:20:56.288888"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.293190"], ["updated_at", "2014-09-19 20:20:56.293190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.294654"], ["updated_at", "2014-09-19 20:20:56.294654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7801262d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore eos rerum dolores animi voluptatem sunt. Mollitia necessitatibus nihil recusandae. Omnis placeat tempora rerum. Excepturi optio voluptatum vitae ipsum.\", \"Optio asperiores dolores expedita atque ut. Quisquam provident necessitatibus commodi exercitationem dolorem est non. Eveniet qui adipisci.\"]"], ["created_at", "2014-09-19 20:20:56.297246"], ["name", "contract_7801262d"], ["title", "Inventore sed fugiat eum ut omnis iste quo."], ["updated_at", "2014-09-19 20:20:56.297246"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 21 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-19 20:20:56.301097"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/21 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.306390"], ["updated_at", "2014-09-19 20:20:56.306390"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.307997"], ["updated_at", "2014-09-19 20:20:56.307997"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_131e64c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit neque consequuntur eos odio. Asperiores aut ex nobis qui et. Id soluta dolor inventore pariatur quam. Voluptatibus error dolorem vel et enim eaque. Magni eligendi quo ut.\", \"Consequatur quae vel sed nostrum velit perferendis ab. Omnis pariatur fugit ducimus nobis. Quae accusantium ipsum.\"]"], ["created_at", "2014-09-19 20:20:56.311316"], ["name", "contract_131e64c6"], ["title", "Aut provident consequatur."], ["updated_at", "2014-09-19 20:20:56.311316"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.316446"], ["updated_at", "2014-09-19 20:20:56.316446"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.317929"], ["updated_at", "2014-09-19 20:20:56.317929"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1176cc28') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel voluptatibus aut laborum iusto vel ex quae. Repellat totam possimus recusandae et expedita quo. Quibusdam totam debitis qui. Quasi rerum iure corporis officiis.\", \"Sequi illo minima voluptatum nobis enim ipsa cumque. Voluptas ut aut sed. Omnis deleniti aut. Qui ipsa enim. Necessitatibus quis blanditiis aut in.\"]"], ["created_at", "2014-09-19 20:20:56.320596"], ["name", "contract_1176cc28"], ["title", "Explicabo eligendi dolores consequuntur."], ["updated_at", "2014-09-19 20:20:56.320596"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.328149"], ["updated_at", "2014-09-19 20:20:56.328149"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.329667"], ["updated_at", "2014-09-19 20:20:56.329667"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3c7b74ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores aut et atque tempore rem autem quisquam. Incidunt fuga alias voluptatem dolor reprehenderit quia excepturi. Aut excepturi quis dolor nam ut dolore. Facilis excepturi vero. Aut officiis neque illum.\", \"Sed voluptate ea qui. Repudiandae rerum voluptatem molestias vel. Omnis unde sequi quo reiciendis. Et veritatis sint ducimus eos. Autem molestiae velit rerum.\"]"], ["created_at", "2014-09-19 20:20:56.332338"], ["name", "contract_3c7b74ba"], ["title", "Tenetur quia et est quibusdam autem illum."], ["updated_at", "2014-09-19 20:20:56.332338"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.336880"], ["updated_at", "2014-09-19 20:20:56.336880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.338370"], ["updated_at", "2014-09-19 20:20:56.338370"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d90abb13') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis est provident est quaerat vel qui voluptatem. Inventore est repellat ut. Nihil fuga velit et blanditiis. Dicta vero quis non atque consectetur harum. Cumque consequatur et vel rerum.\", \"Perferendis quos exercitationem voluptas quam sunt. At et est. Ratione rerum vero nostrum dolor architecto nesciunt.\"]"], ["created_at", "2014-09-19 20:20:56.341577"], ["name", "contract_d90abb13"], ["title", "Ullam ipsa sit autem id sed est aperiam."], ["updated_at", "2014-09-19 20:20:56.341577"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.350412"], ["updated_at", "2014-09-19 20:20:56.350412"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.352566"], ["updated_at", "2014-09-19 20:20:56.352566"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ccb986aa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error est quas neque repellat nostrum. Ducimus et facere provident dolores. Exercitationem libero sint.\", \"Odio officiis illum quidem quos adipisci. Autem omnis neque doloremque minus eveniet. Voluptatem doloribus ipsa officiis aliquid nam necessitatibus. Et dolorem dicta odit assumenda eius dolorum.\"]"], ["created_at", "2014-09-19 20:20:56.355981"], ["name", "contract_ccb986aa"], ["title", "Nulla eaque ipsa ut cumque sed eius eveniet."], ["updated_at", "2014-09-19 20:20:56.355981"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.360353"], ["updated_at", "2014-09-19 20:20:56.360353"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.361831"], ["updated_at", "2014-09-19 20:20:56.361831"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f0d58165') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aliquid autem et ut. Aut soluta similique voluptatum rerum incidunt. Ex ut ad est eum. Quia ullam saepe ut atque nam sit. Dolorem debitis illo dolorem optio excepturi.\", \"Eos fugit sit atque aut nihil autem. Velit porro et est. Animi qui dolores. Voluptatem est et voluptatem nostrum sunt a. Tempora voluptate sequi sit minus culpa vitae inventore.\"]"], ["created_at", "2014-09-19 20:20:56.364439"], ["name", "contract_f0d58165"], ["title", "Natus rem voluptatem quam."], ["updated_at", "2014-09-19 20:20:56.364439"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.368172"], ["updated_at", "2014-09-19 20:20:56.368172"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.369577"], ["updated_at", "2014-09-19 20:20:56.369577"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_047a4413') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi ducimus velit non atque sint et voluptatibus. Reiciendis amet facere ut labore fuga sit doloribus. Dolores autem sint facilis eum. In et repudiandae deserunt deleniti labore. Quia quia dolorum numquam eos veniam esse ut.\", \"Voluptatem voluptas consequatur magni laudantium odio consequuntur deleniti. Sapiente id et dolorem eos quas quos. Iusto amet consequatur placeat corporis et.\"]"], ["created_at", "2014-09-19 20:20:56.372034"], ["name", "contract_047a4413"], ["title", "Et velit dolore ab."], ["updated_at", "2014-09-19 20:20:56.372034"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.376980"], ["updated_at", "2014-09-19 20:20:56.376980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.378463"], ["updated_at", "2014-09-19 20:20:56.378463"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dbc05834') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda distinctio sit id enim laboriosam fugiat. Quia enim sapiente eveniet rerum. Est sint eveniet. A expedita consequuntur molestiae.\", \"Sequi voluptate quasi explicabo accusamus aliquid. Dolores accusantium voluptatem temporibus aut. Quia libero harum voluptatem.\"]"], ["created_at", "2014-09-19 20:20:56.380942"], ["name", "contract_dbc05834"], ["title", "Facere sunt repudiandae."], ["updated_at", "2014-09-19 20:20:56.380942"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.384899"], ["updated_at", "2014-09-19 20:20:56.384899"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.386522"], ["updated_at", "2014-09-19 20:20:56.386522"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e7a226a0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita sequi iusto aut dolorem amet. Enim animi eius molestias. Quia qui repudiandae. Debitis velit aut deleniti dolor occaecati culpa tempora. At alias accusamus in vitae architecto.\", \"Fuga ea quis. Tempore officia hic quasi quas sed adipisci. Et ad aliquam expedita minus aut voluptatem voluptatem. Autem voluptatem enim ab ex animi et nulla. Tempora non perspiciatis eos neque animi.\"]"], ["created_at", "2014-09-19 20:20:56.389435"], ["name", "contract_e7a226a0"], ["title", "Pariatur non dolorem officiis numquam."], ["updated_at", "2014-09-19 20:20:56.389435"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e7a226a0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_e7a226a0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-19 20:20:56.395052"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.399951"], ["updated_at", "2014-09-19 20:20:56.399951"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.401539"], ["updated_at", "2014-09-19 20:20:56.401539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_df3f3b8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non iusto earum consectetur est quo autem qui. Reiciendis magni tenetur velit ad explicabo sunt voluptate. Voluptatibus officia qui.\", \"Tempora est assumenda autem quia quisquam et. Dolorum quo placeat nulla. Accusantium quibusdam fugit sint et ut. Saepe amet occaecati et. Nihil autem in.\"]"], ["created_at", "2014-09-19 20:20:56.404179"], ["name", "contract_df3f3b8c"], ["title", "Sed voluptatibus explicabo beatae enim."], ["updated_at", "2014-09-19 20:20:56.404179"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.409297"], ["updated_at", "2014-09-19 20:20:56.409297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.410747"], ["updated_at", "2014-09-19 20:20:56.410747"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_72b35b56') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus consequuntur error est soluta sed. Nihil harum accusamus minus. Tempora voluptatem quae placeat aut.\", \"Qui ut quisquam aut. Earum sed dolor eius incidunt distinctio. Non magnam sit ea. Earum et consequatur sit et laudantium necessitatibus. Quos rerum dignissimos.\"]"], ["created_at", "2014-09-19 20:20:56.414337"], ["name", "contract_72b35b56"], ["title", "Et quam placeat sed dicta libero eum debitis."], ["updated_at", "2014-09-19 20:20:56.414337"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72b35b56"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_72b35b56') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-19 20:20:56.418951"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.426448"], ["updated_at", "2014-09-19 20:20:56.426448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.428145"], ["updated_at", "2014-09-19 20:20:56.428145"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b5c363fd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore corporis libero. Dolores fugit ipsa sed eligendi. Et nam nostrum voluptatibus doloribus.\", \"Illo ut est blanditiis magni veritatis vitae cumque. Recusandae ea itaque. Ad et voluptatem voluptatum.\"]"], ["created_at", "2014-09-19 20:20:56.430897"], ["name", "contract_b5c363fd"], ["title", "Vel eveniet ut et."], ["updated_at", "2014-09-19 20:20:56.430897"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-19 20:20:56.434273"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-19 20:20:56.434273"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/34 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.437598"], ["updated_at", "2014-09-19 20:20:56.437598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.439099"], ["updated_at", "2014-09-19 20:20:56.439099"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_842147cb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus sit beatae aut. Ut consequatur veniam. Iste consectetur itaque cumque iusto odit. Et eos sapiente ut ipsa.\", \"Ad ea sint sit quaerat sapiente. Repellat repellendus ad quasi dolores. Iusto voluptatem officiis. Est minima natus. Aut aut sapiente molestias sequi ipsam et.\"]"], ["created_at", "2014-09-19 20:20:56.441768"], ["name", "contract_842147cb"], ["title", "Est id ad."], ["updated_at", "2014-09-19 20:20:56.441768"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_842147cb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_842147cb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-19 20:20:56.444831"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.449465"], ["updated_at", "2014-09-19 20:20:56.449465"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.451030"], ["updated_at", "2014-09-19 20:20:56.451030"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_999d04d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est odio asperiores sint sunt delectus quia in. Exercitationem ipsa ut. Sit aliquam iure aut perspiciatis. Nostrum officia nulla a aspernatur nam blanditiis ad. Enim amet error sunt ullam quia.\", \"Iure cumque voluptatem voluptatem temporibus. Et a explicabo nihil voluptatem et quod cupiditate. Et est voluptatem atque omnis corrupti tempore. Praesentium est doloribus inventore. Veniam enim repellendus facilis quod.\"]"], ["created_at", "2014-09-19 20:20:56.453621"], ["name", "contract_999d04d7"], ["title", "Fugit consequatur repudiandae qui quis dolorem modi adipisci."], ["updated_at", "2014-09-19 20:20:56.453621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_999d04d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_999d04d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:20:56.456594"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_999d04d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_999d04d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-19 20:20:56.462069"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.466318"], ["updated_at", "2014-09-19 20:20:56.466318"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.467791"], ["updated_at", "2014-09-19 20:20:56.467791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_73cd0bdc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et totam sunt. Molestias est voluptas dolor occaecati nihil. Est voluptate delectus laborum. Tempora odio adipisci sunt totam omnis voluptatem.\", \"Velit nihil voluptatem deserunt qui aut non. Reprehenderit aut ducimus ex ipsam eveniet fugit. Sint consequuntur quasi unde culpa. Molestiae explicabo ut eligendi accusantium aperiam sed consectetur.\"]"], ["created_at", "2014-09-19 20:20:56.471170"], ["name", "contract_73cd0bdc"], ["title", "Et quam ex ut libero amet deleniti voluptas."], ["updated_at", "2014-09-19 20:20:56.471170"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73cd0bdc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_73cd0bdc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-19 20:20:56.474737"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_73cd0bdc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction 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_04ec619f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et officiis magnam libero reiciendis repudiandae similique aut. Voluptatem et corporis quas. Nisi quam commodi explicabo.\", \"Ipsa molestias provident ut accusantium qui eum. Non alias est necessitatibus praesentium quia vitae maiores. Nulla consequatur et pariatur itaque eos autem nesciunt. Ipsum quasi sint expedita id deleniti aperiam.\"]"], ["created_at", "2014-09-19 20:20:56.482589"], ["name", "contract_04ec619f"], ["title", "Possimus modi id veniam esse est."], ["updated_at", "2014-09-19 20:20:56.482589"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04ec619f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_04ec619f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-19 20:20:56.486842"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04ec619f"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04ec619f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_04ec619f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-19 20:20:56.491935"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_90e702ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam eaque perspiciatis excepturi molestiae consectetur possimus ut. Officia vel ipsam sed eos omnis et. Molestias aut autem suscipit aut.\", \"Sequi non sed facere voluptatum. Vel sit beatae aut quia nisi dolor. Maiores consectetur et veritatis aut in cupiditate. Aspernatur nesciunt eum ut.\"]"], ["created_at", "2014-09-19 20:20:56.495401"], ["name", "contract_90e702ef"], ["title", "Quos facere quibusdam."], ["updated_at", "2014-09-19 20:20:56.495401"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_90e702ef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_90e702ef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-19 20:20:56.498310"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_90e702ef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_90e702ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam eaque perspiciatis excepturi molestiae consectetur possimus ut. Officia vel ipsam sed eos omnis et. Molestias aut autem suscipit aut.\", \"Sequi non sed facere voluptatum. Vel sit beatae aut quia nisi dolor. Maiores consectetur et veritatis aut in cupiditate. Aspernatur nesciunt eum ut.\"]"], ["created_at", "2014-09-19 20:20:56.502499"], ["name", "contract_90e702ef"], ["title", "Quos facere quibusdam."], ["updated_at", "2014-09-19 20:20:56.502499"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_90e702ef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_90e702ef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-19 20:20:56.505824"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e1f39a91') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel et ex ea tenetur hic et. Doloribus sint ea sunt. Sapiente eligendi suscipit asperiores reiciendis. Beatae sed debitis voluptatibus aspernatur aut nam aperiam. Aut praesentium atque nostrum ut qui corporis.\", \"Eveniet voluptas alias necessitatibus libero. Doloremque et tempora voluptas eveniet quia voluptate. Sed expedita provident ipsum ratione mollitia amet. Nobis iste quia.\"]"], ["created_at", "2014-09-19 20:20:56.509703"], ["name", "contract_e1f39a91"], ["title", "Iste iusto quasi deserunt."], ["updated_at", "2014-09-19 20:20:56.509703"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e1f39a91"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_e1f39a91') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-19 20:20:56.514079"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e1f39a91' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel et ex ea tenetur hic et. Doloribus sint ea sunt. Sapiente eligendi suscipit asperiores reiciendis. Beatae sed debitis voluptatibus aspernatur aut nam aperiam. Aut praesentium atque nostrum ut qui corporis.\", \"Eveniet voluptas alias necessitatibus libero. Doloremque et tempora voluptas eveniet quia voluptate. Sed expedita provident ipsum ratione mollitia amet. Nobis iste quia.\"]"], ["created_at", "2014-09-19 20:20:56.519684"], ["name", "joe"], ["title", "Iste iusto quasi deserunt."], ["updated_at", "2014-09-19 20:20:56.519684"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-19 20:20:56.523795"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_f45ad96b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et numquam quis unde id. Eum voluptate quia beatae deleniti aut. Officiis voluptas nam. Quas qui quia suscipit voluptate. Officia nisi eos fugiat voluptatum ut porro reprehenderit.\", \"Autem tempore perferendis aut ut tenetur maiores sunt. Quo ea dolorum dolores maiores repudiandae et voluptatem. Est et rerum laudantium qui. Nobis assumenda sint aut harum ut.\"]"], ["created_at", "2014-09-19 20:20:56.535665"], ["name", "contract_f45ad96b"], ["title", "Commodi aperiam perferendis cum porro inventore fugiat ducimus."], ["updated_at", "2014-09-19 20:20:56.535665"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f45ad96b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_f45ad96b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-19 20:20:56.539928"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.545671"], ["updated_at", "2014-09-19 20:20:56.545671"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-19 20:20:56.549969"], ["updated_at", "2014-09-19 20:20:56.549969"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_f45ad96b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f45ad96b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_f45ad96b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.566620"], ["updated_at", "2014-09-19 20:20:56.566620"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.568323"], ["updated_at", "2014-09-19 20:20:56.568323"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.576125"], ["updated_at", "2014-09-19 20:20:56.576125"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-19 20:20:56.577817"], ["updated_at", "2014-09-19 20:20:56.577817"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_de2f88a7') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In quibusdam inventore autem deserunt. Rem consequatur corrupti qui quaerat possimus nobis distinctio. Repellat ipsam quibusdam ut dicta natus laborum.\", \"Dolor voluptatem facilis sunt perferendis minus. Vel repudiandae placeat velit et alias officiis. Voluptatem voluptas eaque animi ad praesentium rerum quia.\"]"], ["created_at", "2014-09-22 16:24:54.898645"], ["name", "contract_de2f88a7"], ["title", "Est id nulla."], ["updated_at", "2014-09-22 16:24:54.898645"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de2f88a7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_de2f88a7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 16:24:54.914489"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_de2f88a7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_de2f88a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In quibusdam inventore autem deserunt. Rem consequatur corrupti qui quaerat possimus nobis distinctio. Repellat ipsam quibusdam ut dicta natus laborum.\", \"Dolor voluptatem facilis sunt perferendis minus. Vel repudiandae placeat velit et alias officiis. Voluptatem voluptas eaque animi ad praesentium rerum quia.\"]"], ["created_at", "2014-09-22 16:24:54.926191"], ["name", "contract_de2f88a7"], ["title", "Est id nulla."], ["updated_at", "2014-09-22 16:24:54.926191"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de2f88a7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_de2f88a7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 16:24:54.929527"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7e73ea27') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus cum fugit animi id. Nobis delectus sit vel natus assumenda voluptas. Magni aperiam mollitia numquam iusto est. Et quis nobis vel nesciunt commodi.\", \"Officiis esse et reprehenderit ex dolorum repellat odit. Iure velit explicabo aut esse fugit consequatur. Eveniet qui quia accusantium. Eum cum sit qui rem illum alias et.\"]"], ["created_at", "2014-09-22 16:24:54.933767"], ["name", "contract_7e73ea27"], ["title", "Quaerat at mollitia."], ["updated_at", "2014-09-22 16:24:54.933767"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e73ea27"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_7e73ea27') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 16:24:54.937039"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:54.945232"], ["updated_at", "2014-09-22 16:24:54.945232"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 16:24:54.950731"], ["updated_at", "2014-09-22 16:24:54.950731"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_7e73ea27') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e73ea27"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_7e73ea27') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_c5e5ed99') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos et hic nemo animi sed ut. At inventore sequi praesentium veniam nobis quam. Omnis at dolorum repellendus non rerum.\", \"Consequatur sequi magnam molestiae. Magnam alias qui. Aut animi eos a placeat cum quo.\"]"], ["created_at", "2014-09-22 16:24:54.963039"], ["name", "contract_c5e5ed99"], ["title", "Dolorem amet et odio aut et adipisci totam."], ["updated_at", "2014-09-22 16:24:54.963039"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c5e5ed99"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_c5e5ed99') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 16:24:54.966383"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c5e5ed99' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos et hic nemo animi sed ut. At inventore sequi praesentium veniam nobis quam. Omnis at dolorum repellendus non rerum.\", \"Consequatur sequi magnam molestiae. Magnam alias qui. Aut animi eos a placeat cum quo.\"]"], ["created_at", "2014-09-22 16:24:54.970554"], ["name", "joe"], ["title", "Dolorem amet et odio aut et adipisci totam."], ["updated_at", "2014-09-22 16:24:54.970554"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 16:24:54.973430"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b85a7f2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ut veritatis sint inventore. Beatae rerum eos et accusamus aut. Neque voluptatibus soluta nisi autem et quasi. Aut quia ipsam. Iure quod modi qui.\", \"Quia et nobis illo. Velit at nihil doloribus non ad. Sequi eum et suscipit.\"]"], ["created_at", "2014-09-22 16:24:54.977116"], ["name", "contract_0b85a7f2"], ["title", "Nesciunt et eos rerum sint voluptatem quas porro."], ["updated_at", "2014-09-22 16:24:54.977116"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b85a7f2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_0b85a7f2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:24:54.982187"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b85a7f2"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b85a7f2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_0b85a7f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:24:54.989433"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:54.996811"], ["updated_at", "2014-09-22 16:24:54.996811"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:54.998401"], ["updated_at", "2014-09-22 16:24:54.998401"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.003960"], ["updated_at", "2014-09-22 16:24:55.003960"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.005832"], ["updated_at", "2014-09-22 16:24:55.005832"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.012813"], ["updated_at", "2014-09-22 16:24:55.012813"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.015375"], ["updated_at", "2014-09-22 16:24:55.015375"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_399196e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque numquam est doloribus provident non esse dolorem. Recusandae esse voluptatem explicabo dolorem et. Qui provident dicta omnis qui consequatur accusantium unde. Culpa eos at. Laborum et voluptate sequi dicta.\", \"Ea laborum porro. Et optio impedit eius inventore vitae. Earum est repudiandae officiis id. Expedita hic aperiam atque non aut quia laborum.\"]"], ["created_at", "2014-09-22 16:24:55.019635"], ["name", "contract_399196e5"], ["title", "Sit rerum maiores rerum enim nemo aliquam modi."], ["updated_at", "2014-09-22 16:24:55.019635"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_399196e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_399196e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:24:55.023202"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.025931"], ["updated_at", "2014-09-22 16:24:55.025931"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 16:24:55.028322"], ["updated_at", "2014-09-22 16:24:55.028322"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.034252"], ["updated_at", "2014-09-22 16:24:55.034252"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.035826"], ["updated_at", "2014-09-22 16:24:55.035826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_75d4de88') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur repudiandae autem vel mollitia. Incidunt exercitationem dolorem dolorum consequatur placeat quia saepe. Quis tenetur et nihil fuga quasi.\", \"Voluptatem aliquid rem exercitationem aut. Eaque explicabo mollitia voluptatem consequuntur nulla autem. Tempore aut quo temporibus fugiat. Consequatur ipsa culpa natus quis enim vitae. Aut corporis voluptas aspernatur expedita ratione.\"]"], ["created_at", "2014-09-22 16:24:55.038813"], ["name", "contract_75d4de88"], ["title", "Soluta autem eum doloremque pariatur."], ["updated_at", "2014-09-22 16:24:55.038813"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75d4de88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_75d4de88') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 16:24:55.041764"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.044180"], ["updated_at", "2014-09-22 16:24:55.044180"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 16:24:55.046487"], ["updated_at", "2014-09-22 16:24:55.046487"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.049766"], ["updated_at", "2014-09-22 16:24:55.049766"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.051293"], ["updated_at", "2014-09-22 16:24:55.051293"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3bfef73a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente aspernatur vel dolorem temporibus ut possimus. Commodi minus et ex sed iure velit magni. Quos quis consequatur iure cum hic a. Vitae quod voluptatibus sed quaerat dolorem. Itaque sapiente voluptas repudiandae amet quo.\", \"Perspiciatis natus ipsum. Vel quibusdam fuga molestias voluptatem. Ea quia totam itaque vel iste quae. Sint quia animi temporibus. Ut labore consectetur sint quibusdam.\"]"], ["created_at", "2014-09-22 16:24:55.054344"], ["name", "contract_3bfef73a"], ["title", "Voluptatem qui quis aut est ab."], ["updated_at", "2014-09-22 16:24:55.054344"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3bfef73a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_3bfef73a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 16:24:55.057304"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.059948"], ["updated_at", "2014-09-22 16:24:55.059948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 16:24:55.062022"], ["updated_at", "2014-09-22 16:24:55.062022"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.065382"], ["updated_at", "2014-09-22 16:24:55.065382"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.066921"], ["updated_at", "2014-09-22 16:24:55.066921"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_019e5712') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere est at possimus quia animi qui tenetur. Cupiditate et corrupti ut aut labore dolorem consequuntur. Minus ut sapiente odit totam. Fugit harum fugiat culpa.\", \"Quas et voluptatem quos voluptatem impedit soluta. Velit ut et voluptates voluptas ab. Pariatur voluptas quia et impedit ducimus fugiat. Omnis adipisci facilis quod omnis.\"]"], ["created_at", "2014-09-22 16:24:55.070264"], ["name", "contract_019e5712"], ["title", "Est voluptas quisquam nemo dolores provident."], ["updated_at", "2014-09-22 16:24:55.070264"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_019e5712"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_019e5712') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 16:24:55.073388"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.075836"], ["updated_at", "2014-09-22 16:24:55.075836"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 16:24:55.077869"], ["updated_at", "2014-09-22 16:24:55.077869"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos est cumque. Suscipit harum autem. Aspernatur quo facere nihil rem numquam eius sed. Totam omnis eum ratione id hic et.\", \"Minima quo iusto. Et voluptas ab autem consequatur omnis quibusdam. Aliquid tenetur eum praesentium alias.\"]"], ["created_at", "2014-09-22 16:24:55.081749"], ["name", "alpha"], ["title", "Commodi nulla autem et cupiditate."], ["updated_at", "2014-09-22 16:24:55.081749"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 16:24:55.085018"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia distinctio vel est vero nobis voluptas minus. Et debitis eos est id quia ipsa quia. Occaecati repellendus sint et eum. Accusamus maxime tempore. Reprehenderit distinctio et.\", \"Veritatis accusantium quae voluptatum enim ea inventore. Sint ducimus tempora. Molestiae molestiae voluptatem. Asperiores atque quia totam commodi ad doloribus quis.\"]"], ["created_at", "2014-09-22 16:24:55.088374"], ["name", "beta"], ["title", "Libero culpa fuga rem non."], ["updated_at", "2014-09-22 16:24:55.088374"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 16:24:55.091215"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.093437"], ["updated_at", "2014-09-22 16:24:55.093437"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 16:24:55.095908"], ["updated_at", "2014-09-22 16:24:55.095908"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 16:24:55.098955"], ["updated_at", "2014-09-22 16:24:55.098955"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:24:55.101281"], ["name", "alpha"], ["title", "Commodi nulla autem et cupiditate."], ["updated_at", "2014-09-22 16:24:55.101281"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 16:24:55.104333"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae similique nesciunt aspernatur magnam. Molestiae sed est et ut amet aut sunt. Omnis vel cum nemo molestias aut molestiae. Voluptatem qui molestiae.\", \"Porro asperiores nobis in et sit aliquid. Sed voluptatem fugiat necessitatibus voluptatem est. Voluptates ipsum ratione aut aut aut non hic. Explicabo doloribus sint.\"]"], ["created_at", "2014-09-22 16:24:55.111943"], ["name", "alpha"], ["title", "Voluptates doloremque possimus soluta aut nemo consequatur est."], ["updated_at", "2014-09-22 16:24:55.111943"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 16:24:55.114953"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae aut rem placeat repudiandae. Voluptatum inventore ullam iusto in. Iste ut id. Nobis et recusandae tenetur voluptate esse est. Id neque qui mollitia omnis libero voluptatem.\", \"Quod voluptatem architecto aut in est. Tenetur quae ut odit ducimus laudantium adipisci aut. Accusantium deleniti velit et consequatur.\"]"], ["created_at", "2014-09-22 16:24:55.118212"], ["name", "beta"], ["title", "Eligendi reprehenderit cupiditate."], ["updated_at", "2014-09-22 16:24:55.118212"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:24:55.121072"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.123248"], ["updated_at", "2014-09-22 16:24:55.123248"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 16:24:55.125707"], ["updated_at", "2014-09-22 16:24:55.125707"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 16:24:55.128115"], ["updated_at", "2014-09-22 16:24:55.128115"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:24:55.130352"], ["name", "alpha"], ["title", "Voluptates doloremque possimus soluta aut nemo consequatur est."], ["updated_at", "2014-09-22 16:24:55.130352"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 16:24:55.133340"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo est consequatur. Quae consequatur error inventore nemo odio consequuntur repellendus. Aut in deleniti porro. Similique qui doloremque iure eum. Et nisi nostrum quas quos.\", \"Non dolores aut ut modi. Expedita similique rerum ullam ut. Eligendi harum accusamus necessitatibus officiis dolores.\"]"], ["created_at", "2014-09-22 16:24:55.138560"], ["name", "alpha"], ["title", "Ex quod voluptatem corporis eum voluptas doloribus."], ["updated_at", "2014-09-22 16:24:55.138560"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:24:55.141492"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae dignissimos assumenda. Repellendus et omnis quae autem. Voluptatem expedita odit dolore natus officia. Cum fuga enim qui harum error.\", \"Rerum omnis modi. Ducimus nam et quia consectetur impedit sed. Soluta nulla eum nisi dolores corporis. Suscipit officia aliquam cum sit. Rem dolor qui possimus recusandae.\"]"], ["created_at", "2014-09-22 16:24:55.144654"], ["name", "beta"], ["title", "Quas dolore minus est sed voluptas optio."], ["updated_at", "2014-09-22 16:24:55.144654"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 16:24:55.148262"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.150630"], ["updated_at", "2014-09-22 16:24:55.150630"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 16:24:55.153194"], ["updated_at", "2014-09-22 16:24:55.153194"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 16:24:55.155632"], ["updated_at", "2014-09-22 16:24:55.155632"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:24:55.157795"], ["name", "alpha"], ["title", "Ex quod voluptatem corporis eum voluptas doloribus."], ["updated_at", "2014-09-22 16:24:55.157795"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 16:24:55.160868"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 15, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor et quae et laboriosam ipsum deleniti. Voluptas sed est harum. Illum et molestiae rerum. Dolores libero qui voluptatem et vitae dignissimos. Beatae perferendis omnis amet.\", \"Totam non ut. Et ut exercitationem magnam qui. Rem et qui ut consectetur ipsa.\"]"], ["created_at", "2014-09-22 16:24:55.180115"], ["name", "alpha"], ["title", "Accusantium corrupti fugiat."], ["updated_at", "2014-09-22 16:24:55.180115"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:24:55.183227"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed voluptate quam. Deleniti aut doloribus corporis ut. Nulla quidem consequuntur iusto. Corporis voluptas quaerat in nemo voluptatibus.\", \"Accusantium consequatur quod. Quisquam repudiandae id sit doloribus est qui harum. Sapiente culpa et ducimus ipsum. Consequatur optio saepe et. Tenetur officiis et voluptas.\"]"], ["created_at", "2014-09-22 16:24:55.186500"], ["name", "beta"], ["title", "Tempora veniam magni consequatur facilis."], ["updated_at", "2014-09-22 16:24:55.186500"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 16:24:55.189342"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.191461"], ["updated_at", "2014-09-22 16:24:55.191461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 16:24:55.193922"], ["updated_at", "2014-09-22 16:24:55.193922"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 16:24:55.196266"], ["updated_at", "2014-09-22 16:24:55.196266"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:24:55.198593"], ["name", "alpha"], ["title", "Accusantium corrupti fugiat."], ["updated_at", "2014-09-22 16:24:55.198593"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 16:24:55.201727"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_0251419f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum saepe sunt dicta. Nobis optio qui. Dolores voluptates repudiandae. Consequuntur nisi dignissimos ea sed sapiente occaecati.\", \"Voluptatibus voluptas aliquam. Ut quae est illo sit soluta. Quis quae totam nobis reprehenderit velit quia. Omnis quia unde. Impedit ex omnis.\"]"], ["created_at", "2014-09-22 16:24:55.208269"], ["name", "contract_0251419f"], ["title", "Ut cum et."], ["updated_at", "2014-09-22 16:24:55.208269"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction 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_21ed0c19') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione quia tempora dignissimos exercitationem. Quia ea inventore dolor in. Vel sint ad voluptas reiciendis quam tenetur repellat. Cupiditate maiores iure pariatur. Atque eveniet quia.\", \"Ipsa mollitia id consequuntur est in. Omnis et a impedit quia ullam. Et consequuntur tenetur. Aut quis illo veniam quis soluta aliquid.\"]"], ["created_at", "2014-09-22 16:24:55.212236"], ["name", "contract_21ed0c19"], ["title", "Quas illum maiores."], ["updated_at", "2014-09-22 16:24:55.212236"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21ed0c19"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_21ed0c19') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 16:24:55.215941"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.218744"], ["updated_at", "2014-09-22 16:24:55.218744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.223656"], ["updated_at", "2014-09-22 16:24:55.223656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.225097"], ["updated_at", "2014-09-22 16:24:55.225097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a93fa97a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam qui ullam aspernatur est. A doloremque nobis ut autem porro magni sed. Et atque iste impedit repellat dolor voluptatem. Voluptas consequuntur aut culpa laborum hic autem. Rerum tempore sint possimus omnis rem.\", \"Aut expedita rerum est nulla earum modi. Ut neque itaque consequatur. Et hic non autem sunt quia et. Officia expedita vitae voluptatem rerum laudantium ut.\"]"], ["created_at", "2014-09-22 16:24:55.227795"], ["name", "contract_a93fa97a"], ["title", "Nulla rem blanditiis beatae voluptates magni."], ["updated_at", "2014-09-22 16:24:55.227795"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a93fa97a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_a93fa97a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 16:24:55.230711"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"25"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.236558"], ["updated_at", "2014-09-22 16:24:55.236558"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.238108"], ["updated_at", "2014-09-22 16:24:55.238108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_20e4d30e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum dolor illum debitis doloremque magnam dicta. Animi ut a laborum quae. Architecto adipisci voluptatibus et et velit. Quis tempora sunt.\", \"Totam perspiciatis sit iusto soluta quidem dignissimos facilis. Maiores exercitationem porro consequatur amet. Ipsum et in exercitationem laudantium quia. Placeat numquam fuga temporibus similique labore esse.\"]"], ["created_at", "2014-09-22 16:24:55.240792"], ["name", "contract_20e4d30e"], ["title", "Aut esse ea."], ["updated_at", "2014-09-22 16:24:55.240792"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.245104"], ["updated_at", "2014-09-22 16:24:55.245104"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.246494"], ["updated_at", "2014-09-22 16:24:55.246494"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_05b8e62b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur saepe eligendi. Corporis omnis dolore veritatis quaerat quasi perferendis. Praesentium ea dicta itaque. Recusandae adipisci impedit ex fuga ut illum.\", \"Sit aperiam ut. Debitis rem minima aspernatur. Non itaque laudantium reiciendis sint voluptas veniam. Magni pariatur et non aut.\"]"], ["created_at", "2014-09-22 16:24:55.249125"], ["name", "contract_05b8e62b"], ["title", "Sunt repellat ratione assumenda aliquid quaerat."], ["updated_at", "2014-09-22 16:24:55.249125"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.253827"], ["updated_at", "2014-09-22 16:24:55.253827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.255290"], ["updated_at", "2014-09-22 16:24:55.255290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b814dfa5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo officiis asperiores expedita fugit dolor voluptatibus ut. Impedit voluptates unde ipsam mollitia saepe et. Maxime sapiente nesciunt quo sunt cupiditate.\", \"Eius commodi excepturi sunt est. Dolores sunt delectus eius. Aspernatur sed et eius veniam.\"]"], ["created_at", "2014-09-22 16:24:55.258095"], ["name", "contract_b814dfa5"], ["title", "Quo praesentium odio optio impedit facere veritatis."], ["updated_at", "2014-09-22 16:24:55.258095"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"28"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.262724"], ["updated_at", "2014-09-22 16:24:55.262724"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.264848"], ["updated_at", "2014-09-22 16:24:55.264848"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4028839c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut qui sapiente voluptatibus qui amet. Officia libero consequatur facilis natus asperiores at architecto. Numquam qui ab. Reiciendis non id et iusto quis.\", \"Dolorem consequatur et maxime quod sed labore placeat. At omnis cum repudiandae iure rerum vero natus. Minima sunt omnis. Aut voluptatem officiis. Rem sequi ut alias sit accusantium.\"]"], ["created_at", "2014-09-22 16:24:55.267726"], ["name", "contract_4028839c"], ["title", "Itaque consequatur sequi quam eos."], ["updated_at", "2014-09-22 16:24:55.267726"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.271050"], ["updated_at", "2014-09-22 16:24:55.271050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.272480"], ["updated_at", "2014-09-22 16:24:55.272480"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2e3e3959') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim eos non provident veniam. Nesciunt deleniti laboriosam. Consequatur error sequi.\", \"Omnis unde nam. Quod quisquam molestiae molestias omnis sint. Rem dolores debitis modi sunt eum.\"]"], ["created_at", "2014-09-22 16:24:55.275022"], ["name", "contract_2e3e3959"], ["title", "In dolor quaerat quia explicabo."], ["updated_at", "2014-09-22 16:24:55.275022"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.279688"], ["updated_at", "2014-09-22 16:24:55.279688"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.281153"], ["updated_at", "2014-09-22 16:24:55.281153"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3fcee129') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore unde distinctio amet voluptas. Dolore consequatur dolorem vel eum. Dolorum sed quia.\", \"Expedita ea aut quia ducimus est. Autem quis alias. Quisquam et soluta labore laudantium ut exercitationem. Laborum rerum non corrupti dolores maxime assumenda eum. Suscipit quo ex iure deserunt sunt.\"]"], ["created_at", "2014-09-22 16:24:55.283782"], ["name", "contract_3fcee129"], ["title", "Voluptatibus autem ut non dolorum."], ["updated_at", "2014-09-22 16:24:55.283782"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.287175"], ["updated_at", "2014-09-22 16:24:55.287175"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.288652"], ["updated_at", "2014-09-22 16:24:55.288652"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fb1178e0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui omnis repellat fugit. Ratione omnis et autem voluptas sapiente quis numquam. Pariatur numquam quia nemo hic quo officia ut. Rerum voluptatibus et inventore quam doloribus. Sit quo dolor dolor repellat pariatur.\", \"Dolores ipsa non et dolorem. Nesciunt dolorum totam reiciendis fugiat hic. Sit recusandae quaerat deleniti quo quidem est et. Commodi quis nesciunt.\"]"], ["created_at", "2014-09-22 16:24:55.291228"], ["name", "contract_fb1178e0"], ["title", "Iusto inventore ratione ipsum rerum assumenda."], ["updated_at", "2014-09-22 16:24:55.291228"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.294562"], ["updated_at", "2014-09-22 16:24:55.294562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.295965"], ["updated_at", "2014-09-22 16:24:55.295965"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_31af5293') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa fugit dolor dolores. Temporibus et omnis aspernatur consectetur unde quae. Omnis vero autem iste.\", \"Ea ipsa fugit labore sequi in aut. Iure corrupti eos inventore dolores. Dolores sed facilis minima vel qui fuga. Dignissimos laudantium quo qui molestiae modi at reprehenderit.\"]"], ["created_at", "2014-09-22 16:24:55.299581"], ["name", "contract_31af5293"], ["title", "Est dolor aspernatur voluptas fuga."], ["updated_at", "2014-09-22 16:24:55.299581"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.305072"], ["updated_at", "2014-09-22 16:24:55.305072"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.306564"], ["updated_at", "2014-09-22 16:24:55.306564"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4bc4c3e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum dolorem enim voluptatibus doloremque non. Nisi beatae commodi distinctio est est eum. Esse deserunt omnis. Eos rerum consequatur optio dolores rem nulla aut. Non voluptas consequatur sunt voluptates ut alias.\", \"Aut molestias qui ab voluptate sunt aspernatur. Enim nobis placeat. Maiores omnis error vero dolorem voluptas. Excepturi fugiat voluptas saepe quidem laudantium nihil.\"]"], ["created_at", "2014-09-22 16:24:55.309160"], ["name", "contract_4bc4c3e2"], ["title", "Cupiditate explicabo maiores."], ["updated_at", "2014-09-22 16:24:55.309160"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.312210"], ["updated_at", "2014-09-22 16:24:55.312210"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.313779"], ["updated_at", "2014-09-22 16:24:55.313779"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5ffdced4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit cupiditate sunt. Sed corporis enim quas. Laudantium ducimus cumque quas et iure. Nihil perspiciatis possimus sint.\", \"Maxime est atque architecto. Aut non aut vitae qui amet. Iste earum nam voluptas eos porro. Consectetur consequatur ea rerum laudantium nesciunt libero repudiandae.\"]"], ["created_at", "2014-09-22 16:24:55.317019"], ["name", "contract_5ffdced4"], ["title", "Numquam quidem consequatur quam temporibus perspiciatis consectetur."], ["updated_at", "2014-09-22 16:24:55.317019"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.320349"], ["updated_at", "2014-09-22 16:24:55.320349"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.321791"], ["updated_at", "2014-09-22 16:24:55.321791"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_6a3ce11a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit vel ab sed molestias. Aut adipisci cupiditate amet. Voluptas excepturi velit voluptatibus quo fugiat consequatur. Natus dolorem impedit vitae.\", \"Totam quo excepturi nihil nemo non voluptatem eos. Molestiae veniam impedit aut beatae. Quam voluptatem veritatis soluta. Unde dolores est ut. Natus corporis laborum voluptatem saepe sunt.\"]"], ["created_at", "2014-09-22 16:24:55.324457"], ["name", "contract_6a3ce11a"], ["title", "Dicta totam autem omnis debitis corporis dolorem."], ["updated_at", "2014-09-22 16:24:55.324457"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.328944"], ["updated_at", "2014-09-22 16:24:55.328944"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.330421"], ["updated_at", "2014-09-22 16:24:55.330421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_52e85aed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut fuga pariatur. Et sit vel non atque debitis commodi sed. Voluptatibus quis tenetur nemo porro. Assumenda sed quod eligendi aut et debitis. Laborum eveniet itaque nihil velit.\", \"Aut et reprehenderit est iste veritatis modi officia. Provident et quia nisi. Sed molestiae debitis sapiente labore. Et est occaecati neque.\"]"], ["created_at", "2014-09-22 16:24:55.332983"], ["name", "contract_52e85aed"], ["title", "Dolore repudiandae praesentium atque fuga quia."], ["updated_at", "2014-09-22 16:24:55.332983"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.336343"], ["updated_at", "2014-09-22 16:24:55.336343"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.337800"], ["updated_at", "2014-09-22 16:24:55.337800"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_66817933') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor rerum ullam reiciendis. Voluptatem tenetur et perferendis qui. Recusandae illo nisi.\", \"Rerum enim ex et voluptas. Rem rerum omnis aut et. Eum consectetur facere. Sunt voluptates omnis ipsa sed aut. Recusandae atque explicabo perferendis labore voluptates sunt expedita.\"]"], ["created_at", "2014-09-22 16:24:55.340534"], ["name", "contract_66817933"], ["title", "Minima ipsa sunt vel dignissimos est quo quam."], ["updated_at", "2014-09-22 16:24:55.340534"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.343954"], ["updated_at", "2014-09-22 16:24:55.343954"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.345497"], ["updated_at", "2014-09-22 16:24:55.345497"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_beca035c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit consequuntur nobis. Dicta et architecto officiis repudiandae qui nihil. Laudantium mollitia autem. Sit perspiciatis nesciunt nostrum minima. Ratione nihil voluptatum.\", \"Quidem blanditiis voluptatem totam. Sint atque et eius. Cumque culpa voluptatum sint natus provident recusandae. Quasi sed quia cumque corporis quam voluptates.\"]"], ["created_at", "2014-09-22 16:24:55.348692"], ["name", "contract_beca035c"], ["title", "Aspernatur sit quo similique."], ["updated_at", "2014-09-22 16:24:55.348692"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_beca035c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_beca035c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:24:55.351914"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.357592"], ["updated_at", "2014-09-22 16:24:55.357592"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.359040"], ["updated_at", "2014-09-22 16:24:55.359040"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_36f9353c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint voluptas repellendus. Consectetur recusandae alias sint blanditiis magnam. Aut unde dolor cupiditate et vitae sit quam.\", \"Facilis corrupti quia suscipit dolorem eos deleniti vero. Hic eveniet sunt nihil repudiandae. Inventore excepturi aut omnis aliquam soluta recusandae. Voluptatem saepe qui eligendi cum id.\"]"], ["created_at", "2014-09-22 16:24:55.361631"], ["name", "contract_36f9353c"], ["title", "Occaecati doloribus est sequi ea."], ["updated_at", "2014-09-22 16:24:55.361631"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.366027"], ["updated_at", "2014-09-22 16:24:55.366027"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.367466"], ["updated_at", "2014-09-22 16:24:55.367466"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1454afc9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur reprehenderit fugiat sint. Et sint repudiandae omnis eos ut. Ut odit placeat ipsam et. Sint qui magnam rerum occaecati.\", \"Aliquid autem molestias deleniti quasi eius. Exercitationem suscipit ullam distinctio in perferendis omnis. In distinctio occaecati omnis dolore ut. Minima dolorem non excepturi. Minima voluptatem cum voluptas.\"]"], ["created_at", "2014-09-22 16:24:55.370034"], ["name", "contract_1454afc9"], ["title", "Excepturi saepe aut qui labore illum."], ["updated_at", "2014-09-22 16:24:55.370034"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1454afc9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_1454afc9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 16:24:55.373178"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"41"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.377143"], ["updated_at", "2014-09-22 16:24:55.377143"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:24:55.378658"], ["updated_at", "2014-09-22 16:24:55.378658"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b1dbe4d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo tenetur dignissimos ipsam eligendi quasi. Deleniti modi explicabo rerum. Voluptates inventore consectetur.\", \"Et dolor iusto non sunt id ut. Itaque necessitatibus sit recusandae fugit. Et facilis ea commodi. Odio quis eveniet similique natus dolorem vitae sunt.\"]"], ["created_at", "2014-09-22 16:24:55.381794"], ["name", "contract_1b1dbe4d"], ["title", "Excepturi quia fugiat."], ["updated_at", "2014-09-22 16:24:55.381794"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b1dbe4d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_1b1dbe4d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 16:24:55.384928"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} Completed 500 Internal Server Error in 0ms  (3.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (2.4ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_ecdfa2a3') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab veniam nihil qui. Impedit vel nihil necessitatibus quis quibusdam enim omnis. Explicabo et et laboriosam sequi aperiam eos. Non aspernatur saepe voluptatibus vero. Ut ad sint rerum earum velit provident sequi.\", \"Saepe omnis cumque. In id incidunt ratione odio repellat. In in aut possimus porro. Ipsam at nihil officiis ad dolorem excepturi tempora.\"]"], ["created_at", "2014-09-22 16:30:40.561431"], ["name", "contract_ecdfa2a3"], ["title", "Sequi architecto maiores accusantium voluptate possimus dolor."], ["updated_at", "2014-09-22 16:30:40.561431"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecdfa2a3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_ecdfa2a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 16:30:40.578847"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecdfa2a3"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecdfa2a3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_ecdfa2a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 16:30:40.585440"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3c8ba72') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem eos qui quo. Aut asperiores dolor soluta numquam molestias. Deserunt aliquid occaecati exercitationem sit. Voluptas quia molestiae et voluptatem. Quisquam non ut quaerat consequatur vel sapiente sit.\", \"Qui qui corporis. In natus eos nulla porro et. Fuga nisi vero provident et velit voluptates omnis.\"]"], ["created_at", "2014-09-22 16:30:40.589484"], ["name", "contract_a3c8ba72"], ["title", "Ex incidunt consectetur possimus."], ["updated_at", "2014-09-22 16:30:40.589484"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3c8ba72"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_a3c8ba72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 16:30:40.592651"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.600479"], ["updated_at", "2014-09-22 16:30:40.600479"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 16:30:40.606214"], ["updated_at", "2014-09-22 16:30:40.606214"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_a3c8ba72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3c8ba72"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_a3c8ba72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction 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_bbdac261') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam voluptas et similique vitae sapiente. Sunt deleniti unde quibusdam. Rem assumenda minima qui accusamus.\", \"Consequatur est veniam. At dolores optio quia omnis. Nemo odio placeat dolor et architecto porro perspiciatis.\"]"], ["created_at", "2014-09-22 16:30:40.618844"], ["name", "contract_bbdac261"], ["title", "Illum reiciendis quod et reprehenderit labore ab."], ["updated_at", "2014-09-22 16:30:40.618844"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbdac261"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_bbdac261') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 16:30:40.622666"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_bbdac261' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_bbdac261') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam voluptas et similique vitae sapiente. Sunt deleniti unde quibusdam. Rem assumenda minima qui accusamus.\", \"Consequatur est veniam. At dolores optio quia omnis. Nemo odio placeat dolor et architecto porro perspiciatis.\"]"], ["created_at", "2014-09-22 16:30:40.629407"], ["name", "contract_bbdac261"], ["title", "Illum reiciendis quod et reprehenderit labore ab."], ["updated_at", "2014-09-22 16:30:40.629407"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbdac261"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_bbdac261') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 16:30:40.633237"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7f1e6146') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia placeat voluptatibus numquam facere. Repellendus quam et dolor adipisci. Ut est consectetur minima ut sit. Minus illo nobis qui dicta non.\", \"Quia non hic officia laborum. Voluptatem velit sit consectetur omnis officia nam. Architecto et iure facere quaerat ut eum. Sint non aut consequatur odit aut et amet. Dicta nihil commodi iusto quibusdam dolores.\"]"], ["created_at", "2014-09-22 16:30:40.637069"], ["name", "contract_7f1e6146"], ["title", "Est hic voluptatem cumque."], ["updated_at", "2014-09-22 16:30:40.637069"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7f1e6146"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_7f1e6146') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 16:30:40.640322"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7f1e6146' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia placeat voluptatibus numquam facere. Repellendus quam et dolor adipisci. Ut est consectetur minima ut sit. Minus illo nobis qui dicta non.\", \"Quia non hic officia laborum. Voluptatem velit sit consectetur omnis officia nam. Architecto et iure facere quaerat ut eum. Sint non aut consequatur odit aut et amet. Dicta nihil commodi iusto quibusdam dolores.\"]"], ["created_at", "2014-09-22 16:30:40.644179"], ["name", "joe"], ["title", "Est hic voluptatem cumque."], ["updated_at", "2014-09-22 16:30:40.644179"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:30:40.648568"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi dolores nostrum placeat quod. Dolor aut vero voluptatem unde ut qui quaerat. Eos ut nisi. Odio placeat officiis facilis. Reprehenderit accusamus reiciendis.\", \"Animi nam delectus similique praesentium in tenetur. Nulla fuga eos error minima qui doloremque. Sed sunt et reprehenderit minus harum ab consectetur. Quasi soluta ab et a explicabo asperiores.\"]"], ["created_at", "2014-09-22 16:30:40.652980"], ["name", "alpha"], ["title", "Laboriosam non laudantium id eaque possimus omnis animi."], ["updated_at", "2014-09-22 16:30:40.652980"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:30:40.656212"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis voluptas iusto dolores ut quia. Vel odio et in hic provident dolorem nihil. Ut iure harum in. Et pariatur at repudiandae. Doloremque aut ducimus magnam sapiente non ut.\", \"Ad culpa quis. Enim ea ut. Sunt laboriosam occaecati aut tempora unde nihil id.\"]"], ["created_at", "2014-09-22 16:30:40.659814"], ["name", "beta"], ["title", "Ut vero non qui dolor in explicabo."], ["updated_at", "2014-09-22 16:30:40.659814"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 16:30:40.663517"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.666003"], ["updated_at", "2014-09-22 16:30:40.666003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 16:30:40.668766"], ["updated_at", "2014-09-22 16:30:40.668766"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 16:30:40.672343"], ["updated_at", "2014-09-22 16:30:40.672343"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:30:40.676112"], ["name", "alpha"], ["title", "Laboriosam non laudantium id eaque possimus omnis animi."], ["updated_at", "2014-09-22 16:30:40.676112"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 16:30:40.681472"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem in similique qui nemo non fuga. Laudantium ipsam tempore doloremque ut minus. Minima quos veniam quaerat a. Corporis necessitatibus ipsa odio itaque neque. Ducimus veritatis aperiam voluptatem aliquid.\", \"Delectus voluptas quas deleniti ut sed voluptatem omnis. Eius ex officiis aliquam. Quia nisi dolores esse. Aliquam odio ipsam est nihil quae voluptas. A possimus voluptatibus officiis.\"]"], ["created_at", "2014-09-22 16:30:40.688932"], ["name", "alpha"], ["title", "Nostrum cupiditate enim perferendis quis excepturi."], ["updated_at", "2014-09-22 16:30:40.688932"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 16:30:40.691930"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt rerum maxime sed. Enim ut voluptatem non. Delectus quia aut tempora dolorem rem est. Dolores tenetur esse. Iure consequatur nisi non molestias.\", \"Saepe molestiae ut iure. Quis quibusdam ut aut iure ut consequatur. Alias dolorum beatae inventore sunt architecto. Commodi nostrum et quo aliquid placeat. Perferendis non fuga.\"]"], ["created_at", "2014-09-22 16:30:40.695264"], ["name", "beta"], ["title", "Sapiente animi libero cum aliquam."], ["updated_at", "2014-09-22 16:30:40.695264"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 16:30:40.698212"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.700344"], ["updated_at", "2014-09-22 16:30:40.700344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 16:30:40.702896"], ["updated_at", "2014-09-22 16:30:40.702896"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 16:30:40.705276"], ["updated_at", "2014-09-22 16:30:40.705276"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:30:40.707345"], ["name", "alpha"], ["title", "Nostrum cupiditate enim perferendis quis excepturi."], ["updated_at", "2014-09-22 16:30:40.707345"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 16:30:40.710249"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non incidunt animi. Possimus delectus qui ullam quis repudiandae et a. Odio eligendi commodi aut id fugit veritatis illum. Laudantium exercitationem laborum.\", \"Est harum sunt dolor aperiam eum cum omnis. Voluptate aspernatur dolor. Tempora qui occaecati consectetur nesciunt. Fugiat ut porro ea.\"]"], ["created_at", "2014-09-22 16:30:40.717581"], ["name", "alpha"], ["title", "Voluptatem aut aut aperiam neque et voluptate sed."], ["updated_at", "2014-09-22 16:30:40.717581"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 16:30:40.720593"], ["version", 5]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae quidem dolor id est totam. Ullam delectus consequatur hic. Et nostrum vero eligendi et numquam aut et. Ipsam vel veniam voluptatum adipisci dolores expedita deserunt. Dolor molestiae voluptatem rerum placeat dolorem eum.\", \"Pariatur quas sed omnis. Et fugiat voluptatem. Voluptas quia maxime rem ea. Repellat ad neque delectus reiciendis.\"]"], ["created_at", "2014-09-22 16:30:40.724115"], ["name", "beta"], ["title", "Occaecati ipsam maiores voluptate quo."], ["updated_at", "2014-09-22 16:30:40.724115"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 16:30:40.727208"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.730031"], ["updated_at", "2014-09-22 16:30:40.730031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 16:30:40.732688"], ["updated_at", "2014-09-22 16:30:40.732688"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 16:30:40.735134"], ["updated_at", "2014-09-22 16:30:40.735134"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:30:40.737378"], ["name", "alpha"], ["title", "Voluptatem aut aut aperiam neque et voluptate sed."], ["updated_at", "2014-09-22 16:30:40.737378"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:30:40.740382"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam consequuntur esse explicabo sunt blanditiis. Illum inventore fuga. A pariatur autem repellat.\", \"Voluptas dolorum libero et consequatur occaecati. Doloremque amet voluptatem quam assumenda eum. Aut omnis molestiae in iste repellat sit voluptas.\"]"], ["created_at", "2014-09-22 16:30:40.746008"], ["name", "alpha"], ["title", "Nam optio placeat."], ["updated_at", "2014-09-22 16:30:40.746008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 16:30:40.748893"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis ut sint nostrum et. Nam in est. Qui adipisci facere modi ipsum et odio voluptates. Et fuga aut nobis ut id debitis. Praesentium rem similique.\", \"Laudantium eos alias nulla voluptas fugiat voluptatem autem. Rem dolores recusandae omnis. Suscipit numquam nisi labore cumque ratione optio.\"]"], ["created_at", "2014-09-22 16:30:40.752134"], ["name", "beta"], ["title", "Sit assumenda odit amet."], ["updated_at", "2014-09-22 16:30:40.752134"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:30:40.754964"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.757071"], ["updated_at", "2014-09-22 16:30:40.757071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 16:30:40.759768"], ["updated_at", "2014-09-22 16:30:40.759768"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 16:30:40.762170"], ["updated_at", "2014-09-22 16:30:40.762170"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:30:40.764369"], ["name", "alpha"], ["title", "Nam optio placeat."], ["updated_at", "2014-09-22 16:30:40.764369"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 16:30:40.767523"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 16, 15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 16, 15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 14, 11, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.785290"], ["updated_at", "2014-09-22 16:30:40.785290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.786898"], ["updated_at", "2014-09-22 16:30:40.786898"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_52478cd8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat cum quo ut incidunt. Temporibus rem dolor hic sunt quos corrupti. Repudiandae est autem sapiente expedita aut. Assumenda quo quia. Ipsum iure occaecati voluptatem.\", \"Sed voluptate dolor. Similique necessitatibus enim iusto dolores cumque hic placeat. Dolor at officiis numquam labore sit commodi. Nihil aspernatur consequatur non aut rerum autem eos. Enim quis veniam incidunt unde ab.\"]"], ["created_at", "2014-09-22 16:30:40.789811"], ["name", "contract_52478cd8"], ["title", "Doloremque non quod."], ["updated_at", "2014-09-22 16:30:40.789811"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 19 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 16:30:40.797294"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/19 Completed 302 Found in 7ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.804464"], ["updated_at", "2014-09-22 16:30:40.804464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.806222"], ["updated_at", "2014-09-22 16:30:40.806222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32865b57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum reiciendis reprehenderit. Neque cumque sit blanditiis. Occaecati laborum et vel explicabo. Error id provident sapiente blanditiis velit. Repellendus quaerat ratione.\", \"Ut sit nam architecto voluptatibus aliquam facilis odio. Sed recusandae repudiandae aut. Natus magnam est quia ut labore. Voluptates fuga facere repellendus natus.\"]"], ["created_at", "2014-09-22 16:30:40.809297"], ["name", "contract_32865b57"], ["title", "Quas consequuntur similique voluptas ducimus harum ipsa qui."], ["updated_at", "2014-09-22 16:30:40.809297"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32865b57"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_32865b57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:30:40.812535"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.818832"], ["updated_at", "2014-09-22 16:30:40.818832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.820529"], ["updated_at", "2014-09-22 16:30:40.820529"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9e3ed44b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi repellat molestiae velit enim sed perspiciatis. Sit asperiores debitis modi quam. Dolor maxime dolorem amet facere. Dolores necessitatibus nam.\", \"Voluptatem enim incidunt. Repellat et dolorem ut et molestiae sint. Inventore non commodi. Consequatur non vel enim atque.\"]"], ["created_at", "2014-09-22 16:30:40.823423"], ["name", "contract_9e3ed44b"], ["title", "Sit aut autem ab quia distinctio doloremque possimus."], ["updated_at", "2014-09-22 16:30:40.823423"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.828750"], ["updated_at", "2014-09-22 16:30:40.828750"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.830368"], ["updated_at", "2014-09-22 16:30:40.830368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_63fa3fb6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam rem quo enim quibusdam vitae. Voluptatem sit numquam aut quisquam non. Sed nihil quasi.\", \"Eius hic illum ratione ex quia. Ut et enim possimus voluptatibus. Qui rerum quia quae eaque nostrum.\"]"], ["created_at", "2014-09-22 16:30:40.833004"], ["name", "contract_63fa3fb6"], ["title", "Rerum enim debitis perferendis qui nemo."], ["updated_at", "2014-09-22 16:30:40.833004"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.837826"], ["updated_at", "2014-09-22 16:30:40.837826"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.839634"], ["updated_at", "2014-09-22 16:30:40.839634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e6ab5ef2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel consectetur tempora ut. Recusandae odit deleniti sed nesciunt. Tenetur pariatur est quo. Fuga omnis cum magni ut ipsam assumenda.\", \"Eveniet nihil quam temporibus dolores nobis aut. Laborum reiciendis inventore eveniet sequi modi. Ut maxime fugit facere dicta magni et aut. Earum dicta laboriosam eum dolorem quis. Nemo ratione excepturi dolorem quo qui occaecati suscipit.\"]"], ["created_at", "2014-09-22 16:30:40.842201"], ["name", "contract_e6ab5ef2"], ["title", "Consequuntur culpa ut laboriosam et."], ["updated_at", "2014-09-22 16:30:40.842201"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e6ab5ef2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_e6ab5ef2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 16:30:40.846888"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.851108"], ["updated_at", "2014-09-22 16:30:40.851108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.852549"], ["updated_at", "2014-09-22 16:30:40.852549"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d7f28d46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil quidem sapiente magni saepe veritatis magnam. Occaecati aperiam blanditiis rem voluptatem et repellendus sit. Omnis eos tenetur harum ut et odio.\", \"Perspiciatis non enim eligendi corporis minus occaecati. Voluptatem impedit omnis modi veritatis pariatur unde. Dolorem consequatur enim numquam dolor quis nulla recusandae.\"]"], ["created_at", "2014-09-22 16:30:40.855043"], ["name", "contract_d7f28d46"], ["title", "Tempore nihil voluptatem quia error quas cupiditate est."], ["updated_at", "2014-09-22 16:30:40.855043"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.859459"], ["updated_at", "2014-09-22 16:30:40.859459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.860885"], ["updated_at", "2014-09-22 16:30:40.860885"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f6762e34') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem aspernatur consequatur qui qui voluptas accusantium neque. Ea voluptatem repudiandae ut culpa quia molestias. Necessitatibus voluptas expedita officiis odio aspernatur. Aut ipsum quia corporis. Porro voluptas dignissimos ea.\", \"Harum quis perferendis expedita sunt sed fugit. Illo dicta temporibus recusandae et ipsam. Sed a qui. Ratione autem numquam qui dolores.\"]"], ["created_at", "2014-09-22 16:30:40.863660"], ["name", "contract_f6762e34"], ["title", "Suscipit enim quia unde."], ["updated_at", "2014-09-22 16:30:40.863660"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.877498"], ["updated_at", "2014-09-22 16:30:40.877498"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.879257"], ["updated_at", "2014-09-22 16:30:40.879257"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9c9cfb3e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus aut voluptatem fugit ut quia dolorem earum. Distinctio voluptas amet. Sed quis facere ut fugit.\", \"Fuga repellat consequatur eaque. Ea enim animi voluptatem ea. Magnam veritatis consequatur. Et temporibus non cumque soluta possimus. Possimus laborum alias repellat eveniet quis odit suscipit.\"]"], ["created_at", "2014-09-22 16:30:40.882061"], ["name", "contract_9c9cfb3e"], ["title", "Et incidunt quas nesciunt laborum debitis nobis."], ["updated_at", "2014-09-22 16:30:40.882061"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c9cfb3e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_9c9cfb3e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 16:30:40.885589"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9c9cfb3e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.892982"], ["updated_at", "2014-09-22 16:30:40.892982"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.894750"], ["updated_at", "2014-09-22 16:30:40.894750"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_b00c6123') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis voluptas delectus dolorem quibusdam neque quia libero. Fugiat sed odio a explicabo doloremque quam ut. Molestiae distinctio assumenda aspernatur recusandae sunt voluptatem ut.\", \"Iste dignissimos in quae. Asperiores quo eos doloremque. Sequi ea excepturi. Aut sint id quis sed. Sunt sequi ut omnis quia iste repudiandae.\"]"], ["created_at", "2014-09-22 16:30:40.897524"], ["name", "contract_b00c6123"], ["title", "Non praesentium voluptates facilis et esse."], ["updated_at", "2014-09-22 16:30:40.897524"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b00c6123"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_b00c6123') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 16:30:40.900716"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b00c6123"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_b00c6123') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 16:30:40.907425"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.912092"], ["updated_at", "2014-09-22 16:30:40.912092"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.913621"], ["updated_at", "2014-09-22 16:30:40.913621"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_15b80a39') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur provident occaecati numquam modi. Qui qui quisquam adipisci eum reprehenderit ut. Esse recusandae nisi. Voluptas non autem temporibus at. Enim quia cupiditate animi eum.\", \"Ipsa est distinctio vitae numquam velit facere cumque. Et atque assumenda quia temporibus. Consequatur animi sed molestias odit sed qui. Possimus harum ullam. Quia eligendi atque beatae qui neque fugiat.\"]"], ["created_at", "2014-09-22 16:30:40.916748"], ["name", "contract_15b80a39"], ["title", "Quae repellendus assumenda voluptatem pariatur aut quod ut."], ["updated_at", "2014-09-22 16:30:40.916748"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 16, 15, 13, 12, 10, 9, 7, 19, 17, 14, 11, 8, 28, 20, 22, 5, 26, 21, 2, 27, 4, 3, 24, 23, 1, 25, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.924454"], ["updated_at", "2014-09-22 16:30:40.924454"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.925961"], ["updated_at", "2014-09-22 16:30:40.925961"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d7b3e867') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea libero dolor velit autem. Soluta consectetur sed labore praesentium eaque. Ut corporis perferendis sit culpa eum.\", \"Et officiis id voluptatem ipsum voluptatem sunt sit. Quam vel quia quis enim impedit cumque. Neque ut voluptatem non consequatur dignissimos quae alias. Quia itaque laudantium ut fugit laboriosam.\"]"], ["created_at", "2014-09-22 16:30:40.928637"], ["name", "contract_d7b3e867"], ["title", "Voluptatum veniam molestiae et non voluptatibus."], ["updated_at", "2014-09-22 16:30:40.928637"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.933130"], ["updated_at", "2014-09-22 16:30:40.933130"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.934583"], ["updated_at", "2014-09-22 16:30:40.934583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_62b13a69') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure necessitatibus impedit sunt placeat aut atque. Ipsum reprehenderit sit animi nisi voluptatem. Sit autem esse est.\", \"Quia et nisi labore animi sed. Aspernatur rerum debitis. Dicta eius et. Autem ut dolorem.\"]"], ["created_at", "2014-09-22 16:30:40.937004"], ["name", "contract_62b13a69"], ["title", "Minima laborum non possimus."], ["updated_at", "2014-09-22 16:30:40.937004"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.941462"], ["updated_at", "2014-09-22 16:30:40.941462"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.942926"], ["updated_at", "2014-09-22 16:30:40.942926"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a40e07cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum ut molestias velit odit nihil est. Magnam molestiae iusto enim non in sed natus. Molestiae exercitationem optio error et quis provident est. Id ut molestias est voluptas ipsum laudantium magnam.\", \"Minus dolores rerum neque praesentium eos reprehenderit soluta. Alias fugit libero quia similique. Ut dolorem dignissimos.\"]"], ["created_at", "2014-09-22 16:30:40.945438"], ["name", "contract_a40e07cc"], ["title", "Enim enim velit vero voluptate."], ["updated_at", "2014-09-22 16:30:40.945438"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.950806"], ["updated_at", "2014-09-22 16:30:40.950806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.952466"], ["updated_at", "2014-09-22 16:30:40.952466"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e6dced90') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit dolore quo et cupiditate mollitia. Quisquam officia cupiditate aspernatur nobis labore. Qui et aliquid sequi ut laborum sint.\", \"Ut natus laborum sint fugit debitis aliquid maxime. Labore qui autem libero et blanditiis repudiandae et. Ex molestiae nihil exercitationem esse ad autem velit.\"]"], ["created_at", "2014-09-22 16:30:40.955159"], ["name", "contract_e6dced90"], ["title", "Non nihil ducimus omnis."], ["updated_at", "2014-09-22 16:30:40.955159"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e6dced90"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e6dced90') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 16:30:40.958222"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.963681"], ["updated_at", "2014-09-22 16:30:40.963681"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.965121"], ["updated_at", "2014-09-22 16:30:40.965121"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d9720890') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum molestiae ipsam vitae iste sit. Sint praesentium eius voluptas nihil soluta. Aut aperiam qui voluptas voluptatem. Asperiores unde vel doloribus odio nobis eum eaque.\", \"Quae voluptatem dolorem. Occaecati officia et. Et sit et aspernatur eligendi.\"]"], ["created_at", "2014-09-22 16:30:40.968031"], ["name", "contract_d9720890"], ["title", "Omnis sit quibusdam quia magnam autem aut."], ["updated_at", "2014-09-22 16:30:40.968031"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.973689"], ["updated_at", "2014-09-22 16:30:40.973689"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.975284"], ["updated_at", "2014-09-22 16:30:40.975284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9ee65207') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo quis quasi corrupti voluptate harum. Quia nam a aspernatur. Debitis necessitatibus qui incidunt architecto quasi fuga aut. Nobis atque qui.\", \"Eum voluptas eaque qui facere architecto sed. Aliquid dolor praesentium voluptatibus et rem aspernatur aut. Voluptatem et dignissimos porro ipsam aut et.\"]"], ["created_at", "2014-09-22 16:30:40.977894"], ["name", "contract_9ee65207"], ["title", "Quis sed nihil provident corrupti."], ["updated_at", "2014-09-22 16:30:40.977894"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.982365"], ["updated_at", "2014-09-22 16:30:40.982365"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.983800"], ["updated_at", "2014-09-22 16:30:40.983800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fb0814ad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At consectetur esse veritatis maxime. Ut dolores quae sit at ratione. Aliquam consequatur et qui hic. Earum rem nemo ut voluptatem dignissimos.\", \"Unde eos rem laudantium quo velit sed. Modi voluptate voluptatibus sed quam. Qui corporis quas velit. Dolore eos sed voluptatem adipisci ut iusto. Sapiente aut delectus rerum.\"]"], ["created_at", "2014-09-22 16:30:40.986468"], ["name", "contract_fb0814ad"], ["title", "Aut amet sapiente omnis."], ["updated_at", "2014-09-22 16:30:40.986468"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 16:30:40.989748"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 16:30:40.989748"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/36 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.992992"], ["updated_at", "2014-09-22 16:30:40.992992"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:40.994502"], ["updated_at", "2014-09-22 16:30:40.994502"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9dc9ada6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam sit id quisquam. Inventore eveniet sint. Vero molestiae tenetur. Quasi qui optio quidem beatae natus est.\", \"Tempora autem rerum possimus animi aperiam qui. Ipsa quos et et doloribus quisquam tempora officia. Sed ut nisi odit facilis commodi.\"]"], ["created_at", "2014-09-22 16:30:40.997390"], ["name", "contract_9dc9ada6"], ["title", "Ut aut sunt voluptas saepe magnam voluptas."], ["updated_at", "2014-09-22 16:30:40.997390"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 37]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 37]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 37 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.005160"], ["updated_at", "2014-09-22 16:30:41.005160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.006635"], ["updated_at", "2014-09-22 16:30:41.006635"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.011410"], ["updated_at", "2014-09-22 16:30:41.011410"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.012777"], ["updated_at", "2014-09-22 16:30:41.012777"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_238ceff3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam et eligendi blanditiis quasi architecto minus. Optio eum cupiditate distinctio ea. Et omnis iure commodi eum perspiciatis.\", \"Earum fugit quis accusamus quia tenetur. Architecto ut iste id voluptates numquam. Iusto quia provident. Velit consequatur aut cumque.\"]"], ["created_at", "2014-09-22 16:30:41.016921"], ["name", "contract_238ceff3"], ["title", "Libero quas atque et consequuntur nihil."], ["updated_at", "2014-09-22 16:30:41.016921"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction 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_02f09eda') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates enim error deserunt excepturi ullam consequatur. Repudiandae et recusandae earum corporis. Modi deserunt fugiat sint beatae. Totam in quia aut.\", \"Veniam ratione amet vel. Cum consectetur vitae quidem suscipit dolores excepturi. Voluptas qui ipsam nihil magnam velit tempora.\"]"], ["created_at", "2014-09-22 16:30:41.020890"], ["name", "contract_02f09eda"], ["title", "Magni quo est maxime veritatis rerum inventore ratione."], ["updated_at", "2014-09-22 16:30:41.020890"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_02f09eda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_02f09eda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:30:41.023874"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.026392"], ["updated_at", "2014-09-22 16:30:41.026392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.031209"], ["updated_at", "2014-09-22 16:30:41.031209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.032601"], ["updated_at", "2014-09-22 16:30:41.032601"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_463d2ba0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi quisquam nisi. Soluta harum et ut eum eveniet et. Neque aut recusandae ullam soluta. Quisquam voluptatem totam et qui inventore laborum et.\", \"Aut quia est quibusdam. Et modi occaecati voluptatibus. Vel dignissimos numquam. Voluptatem eius perferendis. Dolorem excepturi dolorem et esse voluptatem ut dolor.\"]"], ["created_at", "2014-09-22 16:30:41.036210"], ["name", "contract_463d2ba0"], ["title", "Veritatis pariatur quos nesciunt sit."], ["updated_at", "2014-09-22 16:30:41.036210"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_463d2ba0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_463d2ba0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 16:30:41.039364"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.042142"], ["updated_at", "2014-09-22 16:30:41.042142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 16:30:41.044302"], ["updated_at", "2014-09-22 16:30:41.044302"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.047497"], ["updated_at", "2014-09-22 16:30:41.047497"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.049002"], ["updated_at", "2014-09-22 16:30:41.049002"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_57dc9659') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut fugiat voluptatem in excepturi quasi itaque. Consequatur recusandae eveniet quam rerum accusamus. Quasi officia aut sit. Ut aspernatur modi. Et sunt est fugit sit animi illum.\", \"Tenetur aliquam deserunt ea eos qui. A optio aspernatur quas aliquam unde quod. Nostrum voluptas beatae ullam sit nisi. Odio harum eius voluptatem veniam blanditiis.\"]"], ["created_at", "2014-09-22 16:30:41.051868"], ["name", "contract_57dc9659"], ["title", "Et quo incidunt eum minus eos nobis."], ["updated_at", "2014-09-22 16:30:41.051868"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_57dc9659"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_57dc9659') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 16:30:41.054873"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.057225"], ["updated_at", "2014-09-22 16:30:41.057225"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 16:30:41.060110"], ["updated_at", "2014-09-22 16:30:41.060110"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.063153"], ["updated_at", "2014-09-22 16:30:41.063153"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.064613"], ["updated_at", "2014-09-22 16:30:41.064613"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d97c9ef4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sunt earum sit est. Quis vel aut enim perspiciatis. Non saepe ut rerum aspernatur. Iste nostrum et nihil consequatur sit.\", \"Veritatis nulla quisquam eius consequuntur aut quod. Dolor enim amet. Impedit atque eos corrupti maxime aperiam voluptatibus. Sunt sequi omnis. Id maxime placeat dolore porro ipsam praesentium est.\"]"], ["created_at", "2014-09-22 16:30:41.068653"], ["name", "contract_d97c9ef4"], ["title", "Aut aut aut enim minus."], ["updated_at", "2014-09-22 16:30:41.068653"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d97c9ef4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_d97c9ef4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 16:30:41.072128"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.074565"], ["updated_at", "2014-09-22 16:30:41.074565"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 16:30:41.076693"], ["updated_at", "2014-09-22 16:30:41.076693"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.082444"], ["updated_at", "2014-09-22 16:30:41.082444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.084032"], ["updated_at", "2014-09-22 16:30:41.084032"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_656ef044') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est numquam cum odit culpa eum. Maiores velit totam deserunt quae tempora. Dignissimos ea sed fugiat et expedita qui. Voluptatum voluptates temporibus. Magni accusamus id omnis unde.\", \"Necessitatibus sed sunt qui libero. Modi sit blanditiis aperiam. Cum dolores exercitationem ea quis nam. Et molestias nihil in.\"]"], ["created_at", "2014-09-22 16:30:41.093971"], ["name", "contract_656ef044"], ["title", "Explicabo veritatis nihil eum consequatur."], ["updated_at", "2014-09-22 16:30:41.093971"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_656ef044"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_656ef044') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 16:30:41.097744"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:30:41.100712"], ["updated_at", "2014-09-22 16:30:41.100712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 16:30:41.103535"], ["updated_at", "2014-09-22 16:30:41.103535"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.4ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 13]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 4ms  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_f98c371b') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In exercitationem unde qui nam ex. Distinctio vitae repudiandae. Laudantium vel distinctio atque harum. Consectetur nulla laborum est magni esse. Minus sint exercitationem.\", \"Ullam nihil asperiores dolorem. Soluta saepe adipisci nemo expedita voluptatum debitis. Qui at eos. Doloribus quasi et impedit officia.\"]"], ["created_at", "2014-09-22 16:31:48.160961"], ["name", "contract_f98c371b"], ["title", "Sint magni consequatur nostrum maiores velit delectus id."], ["updated_at", "2014-09-22 16:31:48.160961"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_1ea0a355') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error aut repellendus quaerat in et. Aspernatur ipsam sunt magni. Officiis quis adipisci dolore vel. Quo eum debitis.\", \"Fuga maiores quae. Aut accusamus expedita ab consectetur. Tempora saepe enim quia error aut sunt. Accusamus ut unde voluptas necessitatibus voluptas ipsum.\"]"], ["created_at", "2014-09-22 16:31:48.174582"], ["name", "contract_1ea0a355"], ["title", "In cupiditate consequuntur quam."], ["updated_at", "2014-09-22 16:31:48.174582"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1ea0a355"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_1ea0a355') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 16:31:48.180539"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.186693"], ["updated_at", "2014-09-22 16:31:48.186693"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.194920"], ["updated_at", "2014-09-22 16:31:48.194920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.197311"], ["updated_at", "2014-09-22 16:31:48.197311"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_decf24ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus beatae cupiditate asperiores. Aut et dignissimos dolorem sed. Occaecati laudantium voluptatum quo sequi omnis libero voluptates. Consequatur aperiam voluptatem eveniet voluptatem. Provident assumenda dolores.\", \"Impedit consequuntur eum aut vero repellendus facere. Error modi dignissimos nostrum. Est autem omnis est.\"]"], ["created_at", "2014-09-22 16:31:48.200677"], ["name", "contract_decf24ba"], ["title", "Rerum impedit in."], ["updated_at", "2014-09-22 16:31:48.200677"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_decf24ba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_decf24ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 16:31:48.204095"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.206860"], ["updated_at", "2014-09-22 16:31:48.206860"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 16:31:48.209185"], ["updated_at", "2014-09-22 16:31:48.209185"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.221969"], ["updated_at", "2014-09-22 16:31:48.221969"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.223609"], ["updated_at", "2014-09-22 16:31:48.223609"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_03dd64de') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis occaecati ipsa expedita doloribus id. Officiis nemo eos laudantium tenetur et velit ipsam. Dolor quidem iure excepturi ullam odit quibusdam. Sint iusto ipsum quia qui consequuntur assumenda.\", \"Reiciendis expedita eum facere nemo dolore inventore. Hic ea nostrum libero veritatis. Suscipit et aliquam aut et voluptate sed. Repellat officiis ullam. Autem aut quis dolores totam vero.\"]"], ["created_at", "2014-09-22 16:31:48.227516"], ["name", "contract_03dd64de"], ["title", "Repellendus nobis et ipsum harum tempore."], ["updated_at", "2014-09-22 16:31:48.227516"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_03dd64de"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_03dd64de') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 16:31:48.231143"], ["version", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.236095"], ["updated_at", "2014-09-22 16:31:48.236095"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 16:31:48.238700"], ["updated_at", "2014-09-22 16:31:48.238700"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.246315"], ["updated_at", "2014-09-22 16:31:48.246315"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.248165"], ["updated_at", "2014-09-22 16:31:48.248165"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_78ac3d8c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum velit magnam dicta porro. Possimus qui quia. Corporis mollitia quo.\", \"Libero et nihil quia excepturi qui est odit. Explicabo nihil quas voluptatem officiis laboriosam molestias quis. Dignissimos placeat est iusto officiis. Laudantium fugit quam. Tenetur deserunt praesentium ratione.\"]"], ["created_at", "2014-09-22 16:31:48.252589"], ["name", "contract_78ac3d8c"], ["title", "Est nisi cum at quis."], ["updated_at", "2014-09-22 16:31:48.252589"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78ac3d8c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_78ac3d8c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 16:31:48.257059"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.259918"], ["updated_at", "2014-09-22 16:31:48.259918"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 16:31:48.262193"], ["updated_at", "2014-09-22 16:31:48.262193"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.264936"], ["updated_at", "2014-09-22 16:31:48.264936"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.266902"], ["updated_at", "2014-09-22 16:31:48.266902"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d0897490') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia magni ea dignissimos. Dignissimos porro et doloremque in a. Iure officia autem rerum et. Debitis quas autem. Officia cum ut deserunt distinctio consequatur ut.\", \"Maiores quos sit similique et nesciunt quasi. Molestias nemo magnam debitis est veritatis quod tenetur. Sed voluptatibus ducimus adipisci nesciunt cum vel. Ut expedita qui quae rerum iure minus. Numquam quia aut quaerat occaecati accusantium facere maiores.\"]"], ["created_at", "2014-09-22 16:31:48.270205"], ["name", "contract_d0897490"], ["title", "In architecto accusamus consequatur et excepturi id."], ["updated_at", "2014-09-22 16:31:48.270205"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d0897490"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_d0897490') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:31:48.273708"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.276350"], ["updated_at", "2014-09-22 16:31:48.276350"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 16:31:48.278979"], ["updated_at", "2014-09-22 16:31:48.278979"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.283217"], ["updated_at", "2014-09-22 16:31:48.283217"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.284888"], ["updated_at", "2014-09-22 16:31:48.284888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_87bce5fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem sunt eum provident eos qui in. Odit eius sed animi. Molestias voluptatem nemo tenetur. Mollitia laudantium ipsam dolor consequatur commodi molestiae error.\", \"Iste omnis est velit alias. Enim rerum est ipsam voluptatum aspernatur. Accusantium dolorum corrupti facilis vitae praesentium similique sint. Velit impedit tempore voluptas eos reiciendis. Qui dolore vero consequatur.\"]"], ["created_at", "2014-09-22 16:31:48.288026"], ["name", "contract_87bce5fa"], ["title", "Aut facilis cumque."], ["updated_at", "2014-09-22 16:31:48.288026"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87bce5fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_87bce5fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:31:48.291411"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_87bce5fa' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.306021"], ["updated_at", "2014-09-22 16:31:48.306021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.307683"], ["updated_at", "2014-09-22 16:31:48.307683"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d8df3408') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem iusto consequatur nulla. Modi animi odio consectetur et voluptatibus ut. Id dolorum facilis. Eum omnis laboriosam.\", \"Et omnis debitis explicabo. Architecto perferendis non aut velit ut sint in. Tempore cumque sint ea.\"]"], ["created_at", "2014-09-22 16:31:48.310703"], ["name", "contract_d8df3408"], ["title", "Ut omnis commodi omnis voluptas sint id."], ["updated_at", "2014-09-22 16:31:48.310703"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8df3408"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_d8df3408') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 16:31:48.315121"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"8"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.323171"], ["updated_at", "2014-09-22 16:31:48.323171"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.324900"], ["updated_at", "2014-09-22 16:31:48.324900"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0c1d16b3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum ipsum corporis eum vero a cum. Culpa aliquam consectetur enim nulla. Tempore omnis ut soluta placeat quam quaerat.\", \"Fuga incidunt minima et dolorem occaecati excepturi. Nemo et non perspiciatis vero reprehenderit eligendi ut. Quidem nostrum exercitationem. Minus tempore soluta.\"]"], ["created_at", "2014-09-22 16:31:48.327985"], ["name", "contract_0c1d16b3"], ["title", "Sit asperiores eius."], ["updated_at", "2014-09-22 16:31:48.327985"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.336503"], ["updated_at", "2014-09-22 16:31:48.336503"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.338045"], ["updated_at", "2014-09-22 16:31:48.338045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f1c60d03') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem vel officia atque minus. Et eum pariatur. Ducimus rem nobis vel quos sint.\", \"Dolore placeat ut veritatis. Et odio maxime quia facilis eum eos. Eligendi facere molestiae quia ipsa.\"]"], ["created_at", "2014-09-22 16:31:48.340884"], ["name", "contract_f1c60d03"], ["title", "Suscipit odio voluptatum accusamus temporibus eveniet quis sit."], ["updated_at", "2014-09-22 16:31:48.340884"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 16:31:48.344362"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 16:31:48.344362"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.348105"], ["updated_at", "2014-09-22 16:31:48.348105"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.349587"], ["updated_at", "2014-09-22 16:31:48.349587"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e19469f7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur cupiditate commodi aliquam facere impedit dolorum. Maxime illo reiciendis quo fuga. Consequatur nam omnis tenetur ullam et omnis officiis. Ipsam sit ratione.\", \"Illum reprehenderit voluptatibus pariatur minus velit et. Consequuntur voluptatibus ipsam. Labore quos quidem repellendus est eius qui quae. Velit adipisci nemo quisquam. Et vel modi.\"]"], ["created_at", "2014-09-22 16:31:48.352163"], ["name", "contract_e19469f7"], ["title", "Ratione earum et a dolore."], ["updated_at", "2014-09-22 16:31:48.352163"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.356598"], ["updated_at", "2014-09-22 16:31:48.356598"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.358145"], ["updated_at", "2014-09-22 16:31:48.358145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f7e4188') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ducimus perferendis asperiores alias architecto. Praesentium vel ea quo. Accusantium id reiciendis beatae laboriosam assumenda laudantium. Sequi voluptatum quia aperiam quis molestiae.\", \"Error eveniet aliquam et voluptatibus nulla accusantium excepturi. Repellendus ipsam aliquid. Quia provident aliquid nesciunt laborum in.\"]"], ["created_at", "2014-09-22 16:31:48.361220"], ["name", "contract_9f7e4188"], ["title", "Amet neque in quia delectus qui nemo aut."], ["updated_at", "2014-09-22 16:31:48.361220"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.366324"], ["updated_at", "2014-09-22 16:31:48.366324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.367869"], ["updated_at", "2014-09-22 16:31:48.367869"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6093e496') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio rerum libero corrupti ut. Nostrum sed fugit aut accusantium atque. Quo repellat dolorem magnam suscipit culpa non eum. Magnam laborum expedita corporis animi.\", \"Nisi at eos voluptate et. Veniam praesentium aut ipsa eos. Sunt architecto enim ducimus optio rerum mollitia. Rerum sunt odio qui vitae. Aut laboriosam fugiat nobis nostrum.\"]"], ["created_at", "2014-09-22 16:31:48.370597"], ["name", "contract_6093e496"], ["title", "Quas placeat ut officiis ipsa soluta illo consequatur."], ["updated_at", "2014-09-22 16:31:48.370597"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 16:31:48.374748"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.379503"], ["updated_at", "2014-09-22 16:31:48.379503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.380977"], ["updated_at", "2014-09-22 16:31:48.380977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ab63856c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi et quia numquam. Non minus recusandae dolorem et esse. Nesciunt autem explicabo et. Distinctio eum mollitia modi aperiam sunt neque.\", \"Qui doloremque accusantium consequatur et neque animi. Et repellat beatae eum iure. Magnam est placeat beatae.\"]"], ["created_at", "2014-09-22 16:31:48.383538"], ["name", "contract_ab63856c"], ["title", "Sit nihil modi tempore."], ["updated_at", "2014-09-22 16:31:48.383538"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.390069"], ["updated_at", "2014-09-22 16:31:48.390069"]]  (9.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.400485"], ["updated_at", "2014-09-22 16:31:48.400485"]]  (1.0ms) commit transaction  (0.1ms) begin transaction 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_a2ac60ee') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis aut beatae. Iste assumenda aliquid praesentium non itaque error vel. Nesciunt eligendi impedit. Est exercitationem aut et provident.\", \"Et minima facere quisquam sed ut. Beatae eligendi dolor ipsam. Dolorem esse voluptatem. Repellat qui est praesentium dicta quasi nihil dolor. Libero repudiandae eius.\"]"], ["created_at", "2014-09-22 16:31:48.404626"], ["name", "contract_a2ac60ee"], ["title", "Autem libero et laborum aut quo ducimus."], ["updated_at", "2014-09-22 16:31:48.404626"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.410964"], ["updated_at", "2014-09-22 16:31:48.410964"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.412647"], ["updated_at", "2014-09-22 16:31:48.412647"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4d563c50') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores qui dolorum vero libero atque aut inventore. Veritatis unde aliquam. Velit eaque perferendis ea modi esse.\", \"Quasi illum blanditiis consequatur fuga iusto vero quo. Distinctio sint non. Cumque fugit quos quod aut voluptatem quo rem. Cum illum eaque.\"]"], ["created_at", "2014-09-22 16:31:48.415572"], ["name", "contract_4d563c50"], ["title", "Ut hic aspernatur quia."], ["updated_at", "2014-09-22 16:31:48.415572"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4d563c50"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_4d563c50') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:31:48.418769"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4d563c50"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_4d563c50') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:31:48.424445"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.429068"], ["updated_at", "2014-09-22 16:31:48.429068"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.430530"], ["updated_at", "2014-09-22 16:31:48.430530"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d84674d7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab et voluptas omnis porro quis. Minima ut aut non aut saepe dolorum. Modi nihil consequatur eius consequatur delectus. Delectus nihil ut. Ab aspernatur dolores sunt adipisci.\", \"Architecto vero occaecati magni qui placeat. Quisquam eveniet sit non corporis. Qui voluptas dolores. Molestiae vel exercitationem adipisci accusantium ut et mollitia. Quis accusantium possimus quas illo illum aut.\"]"], ["created_at", "2014-09-22 16:31:48.433567"], ["name", "contract_d84674d7"], ["title", "Totam mollitia et id."], ["updated_at", "2014-09-22 16:31:48.433567"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d84674d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_d84674d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 16:31:48.438524"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.443200"], ["updated_at", "2014-09-22 16:31:48.443200"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.444734"], ["updated_at", "2014-09-22 16:31:48.444734"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a7d487e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis modi amet corporis iusto ut possimus autem. Consequatur qui eaque fugiat placeat et dolorem. Nemo ipsam numquam. Sapiente quibusdam asperiores facilis pariatur quos ipsam.\", \"Asperiores fugiat explicabo ut vel nobis pariatur. Libero molestias sint repellat. Minima quaerat quas.\"]"], ["created_at", "2014-09-22 16:31:48.447355"], ["name", "contract_a7d487e2"], ["title", "Porro occaecati harum saepe dolor."], ["updated_at", "2014-09-22 16:31:48.447355"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.452631"], ["updated_at", "2014-09-22 16:31:48.452631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.454317"], ["updated_at", "2014-09-22 16:31:48.454317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c8850a6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur aut tempore. Adipisci ut dolorem. Voluptatem reiciendis molestias fugit.\", \"Eaque reprehenderit a labore. Non qui ut. Id at excepturi eum maiores et et. Dignissimos repellendus maxime ipsam vel nesciunt eligendi distinctio.\"]"], ["created_at", "2014-09-22 16:31:48.457152"], ["name", "contract_c8850a6d"], ["title", "Cumque quibusdam qui aspernatur est perferendis voluptatem."], ["updated_at", "2014-09-22 16:31:48.457152"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c8850a6d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_c8850a6d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:31:48.460408"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.466028"], ["updated_at", "2014-09-22 16:31:48.466028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.467476"], ["updated_at", "2014-09-22 16:31:48.467476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bf076ada') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eius et dolorem hic sapiente natus error. Consequatur consequatur unde veniam rerum. Ut rerum et repudiandae. Odio et eos pariatur.\", \"Quia recusandae id dignissimos. Tempora beatae id voluptatum in. Vel consequatur quas repudiandae sit reprehenderit cum ut. Molestias et qui.\"]"], ["created_at", "2014-09-22 16:31:48.470044"], ["name", "contract_bf076ada"], ["title", "Earum et excepturi rerum animi."], ["updated_at", "2014-09-22 16:31:48.470044"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.474508"], ["updated_at", "2014-09-22 16:31:48.474508"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.475947"], ["updated_at", "2014-09-22 16:31:48.475947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_77d19286') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos quia qui aliquid consequatur. Voluptatem magni enim harum architecto commodi. Necessitatibus nisi ea quaerat.\", \"Fuga ullam nihil aut et magni culpa et. Est nisi aut rerum. Adipisci optio commodi est fuga voluptatem. Error adipisci et repudiandae nulla eum qui.\"]"], ["created_at", "2014-09-22 16:31:48.478355"], ["name", "contract_77d19286"], ["title", "Quia atque porro."], ["updated_at", "2014-09-22 16:31:48.478355"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.482976"], ["updated_at", "2014-09-22 16:31:48.482976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.484381"], ["updated_at", "2014-09-22 16:31:48.484381"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d1e23cf9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam eum quia nam. Id quia qui. Ut eaque aspernatur sapiente consequatur. Voluptatum ab delectus eos dolorum ex autem.\", \"Nesciunt qui officia rerum necessitatibus. Voluptates id id sapiente inventore. Ut quis quis dolorum. Ut non error recusandae consequatur sunt repellat.\"]"], ["created_at", "2014-09-22 16:31:48.487160"], ["name", "contract_d1e23cf9"], ["title", "Hic quae architecto id consequuntur autem doloribus debitis."], ["updated_at", "2014-09-22 16:31:48.487160"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 4, 2, 17, 22, 5, 7, 13, 16, 19, 15, 21, 20, 6, 23, 18, 8, 3, 12, 10, 1, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.497664"], ["updated_at", "2014-09-22 16:31:48.497664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.499386"], ["updated_at", "2014-09-22 16:31:48.499386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fe39fd9a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit molestiae consequatur aut velit veniam eaque aut. Omnis sit architecto et aspernatur ratione. Culpa eum molestiae sunt. Harum qui excepturi autem velit quas et. Omnis ipsum cupiditate exercitationem voluptatem.\", \"Sed et eum dignissimos temporibus illum accusantium. Dolorem unde esse officia aliquid quisquam consectetur. Enim cupiditate occaecati est. Sint qui omnis nobis nisi.\"]"], ["created_at", "2014-09-22 16:31:48.502353"], ["name", "contract_fe39fd9a"], ["title", "Qui distinctio maiores dolorum eum consequatur eum et."], ["updated_at", "2014-09-22 16:31:48.502353"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.507375"], ["updated_at", "2014-09-22 16:31:48.507375"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.508858"], ["updated_at", "2014-09-22 16:31:48.508858"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_217eea8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem omnis qui optio maxime ut labore eius. Cumque ad fugiat necessitatibus qui sit. Sunt molestiae possimus ipsam et est. Possimus earum fugiat. Rerum non rem porro sunt temporibus laboriosam.\", \"Provident repellat ab. Alias voluptas nemo inventore placeat blanditiis. Facere omnis sed quo voluptas rem. Qui minima numquam suscipit quisquam veritatis. Id voluptatum ipsam ipsa cupiditate eveniet a.\"]"], ["created_at", "2014-09-22 16:31:48.511584"], ["name", "contract_217eea8c"], ["title", "Praesentium dolores ut."], ["updated_at", "2014-09-22 16:31:48.511584"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction 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_09904e85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui reprehenderit consequatur. Odio ut ipsum nesciunt cum sed quas. Ipsa ut voluptates. Amet voluptate quo quis. Est commodi debitis quia exercitationem delectus non consectetur.\", \"Eos repellendus magni debitis enim consectetur. Vitae incidunt commodi eius ea est totam. Quis non quaerat rerum officia sit enim quam. Sunt quo blanditiis sunt.\"]"], ["created_at", "2014-09-22 16:31:48.517209"], ["name", "contract_09904e85"], ["title", "Unde eos et aut mollitia accusantium."], ["updated_at", "2014-09-22 16:31:48.517209"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09904e85"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_09904e85') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 16:31:48.520287"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_09904e85' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui reprehenderit consequatur. Odio ut ipsum nesciunt cum sed quas. Ipsa ut voluptates. Amet voluptate quo quis. Est commodi debitis quia exercitationem delectus non consectetur.\", \"Eos repellendus magni debitis enim consectetur. Vitae incidunt commodi eius ea est totam. Quis non quaerat rerum officia sit enim quam. Sunt quo blanditiis sunt.\"]"], ["created_at", "2014-09-22 16:31:48.523903"], ["name", "joe"], ["title", "Unde eos et aut mollitia accusantium."], ["updated_at", "2014-09-22 16:31:48.523903"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 16:31:48.526810"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b74ddbb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis saepe quia labore sequi sunt. Nihil rerum officia laborum impedit. Aut incidunt ea laboriosam. Iure earum quia harum.\", \"Labore voluptatem aut qui accusantium officiis. Voluptas et tempora nemo ex nisi. Quod ratione nihil ut nesciunt et ut. Quae similique perspiciatis.\"]"], ["created_at", "2014-09-22 16:31:48.530484"], ["name", "contract_1b74ddbb"], ["title", "Voluptas aut eum magnam dolor repudiandae."], ["updated_at", "2014-09-22 16:31:48.530484"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b74ddbb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_1b74ddbb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 16:31:48.533700"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1b74ddbb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_1b74ddbb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis saepe quia labore sequi sunt. Nihil rerum officia laborum impedit. Aut incidunt ea laboriosam. Iure earum quia harum.\", \"Labore voluptatem aut qui accusantium officiis. Voluptas et tempora nemo ex nisi. Quod ratione nihil ut nesciunt et ut. Quae similique perspiciatis.\"]"], ["created_at", "2014-09-22 16:31:48.537238"], ["name", "contract_1b74ddbb"], ["title", "Voluptas aut eum magnam dolor repudiandae."], ["updated_at", "2014-09-22 16:31:48.537238"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b74ddbb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_1b74ddbb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 16:31:48.540222"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5d129296') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id ut reprehenderit dolore. Ut nihil adipisci occaecati. Sit aperiam voluptatem officia. Quibusdam impedit vel. At culpa possimus sint ut.\", \"Quo est asperiores et iure. Fuga quod dolorem totam. Vero ipsa ad. Suscipit voluptates ut. Blanditiis iusto quia nihil provident.\"]"], ["created_at", "2014-09-22 16:31:48.544816"], ["name", "contract_5d129296"], ["title", "Excepturi inventore et."], ["updated_at", "2014-09-22 16:31:48.544816"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d129296"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_5d129296') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 16:31:48.548164"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.551864"], ["updated_at", "2014-09-22 16:31:48.551864"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 16:31:48.554143"], ["updated_at", "2014-09-22 16:31:48.554143"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_5d129296') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d129296"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_5d129296') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction 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_8572b092') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas architecto ea iste non id. Repellat magnam provident est. Consequatur dolorem sit. Blanditiis ut sed enim tempore.\", \"Vel voluptas quasi est at vitae ab. Ab veniam corrupti. Enim aut dicta sit similique quaerat nobis.\"]"], ["created_at", "2014-09-22 16:31:48.563502"], ["name", "contract_8572b092"], ["title", "Voluptatem qui in velit ipsam qui et aut."], ["updated_at", "2014-09-22 16:31:48.563502"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8572b092"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_8572b092') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 16:31:48.567716"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8572b092"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8572b092"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_8572b092') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 16:31:48.572643"], ["version", nil]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.575717"], ["updated_at", "2014-09-22 16:31:48.575717"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.577115"], ["updated_at", "2014-09-22 16:31:48.577115"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.581367"], ["updated_at", "2014-09-22 16:31:48.581367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.583105"], ["updated_at", "2014-09-22 16:31:48.583105"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit non maxime eligendi distinctio laborum autem perspiciatis. Officiis aut sapiente consequatur. Quos mollitia consequuntur consequatur dolor. Est aperiam sed veniam a.\", \"Quis qui doloremque. Eos aut quam nihil architecto ut velit omnis. Adipisci ipsum voluptatem inventore. Vel quod hic libero qui magni molestiae eum. Asperiores deleniti aliquam libero eveniet et commodi.\"]"], ["created_at", "2014-09-22 16:31:48.592679"], ["name", "alpha"], ["title", "Sed dolores ut qui et est incidunt."], ["updated_at", "2014-09-22 16:31:48.592679"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 16:31:48.596134"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint excepturi in architecto molestias voluptatem. Illo saepe facere excepturi. Ipsam perspiciatis non.\", \"Necessitatibus sed voluptas ut vitae. Autem quos sequi. Enim sed fugiat ea rerum. Voluptatibus explicabo reprehenderit rerum.\"]"], ["created_at", "2014-09-22 16:31:48.599622"], ["name", "beta"], ["title", "Consequatur iusto sed ipsa."], ["updated_at", "2014-09-22 16:31:48.599622"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 16:31:48.602630"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.604937"], ["updated_at", "2014-09-22 16:31:48.604937"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 16:31:48.607612"], ["updated_at", "2014-09-22 16:31:48.607612"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 16:31:48.609997"], ["updated_at", "2014-09-22 16:31:48.609997"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:31:48.612231"], ["name", "alpha"], ["title", "Sed dolores ut qui et est incidunt."], ["updated_at", "2014-09-22 16:31:48.612231"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 16:31:48.615648"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic culpa in sit. Exercitationem voluptas architecto aspernatur. Laudantium molestiae quia rerum.\", \"Sapiente fuga unde hic aliquid. Et enim quas nisi libero dolorem. Voluptatem odit ut ratione minus. Occaecati laudantium hic amet dicta modi dolorem in.\"]"], ["created_at", "2014-09-22 16:31:48.631450"], ["name", "alpha"], ["title", "Porro esse id dignissimos."], ["updated_at", "2014-09-22 16:31:48.631450"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 16:31:48.634782"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id delectus maiores non pariatur. Fuga enim doloribus. Deleniti et sapiente eum. Ipsum adipisci consequatur natus dolore aspernatur.\", \"Aut saepe quis ut voluptate voluptas. Numquam rem deleniti vero rerum. Voluptas vel et quo sequi commodi nemo labore.\"]"], ["created_at", "2014-09-22 16:31:48.638246"], ["name", "beta"], ["title", "Ad repellat assumenda aliquid aut est."], ["updated_at", "2014-09-22 16:31:48.638246"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 16:31:48.641295"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.643469"], ["updated_at", "2014-09-22 16:31:48.643469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 16:31:48.646060"], ["updated_at", "2014-09-22 16:31:48.646060"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 16:31:48.648540"], ["updated_at", "2014-09-22 16:31:48.648540"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:31:48.650901"], ["name", "alpha"], ["title", "Porro esse id dignissimos."], ["updated_at", "2014-09-22 16:31:48.650901"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 16:31:48.653979"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 56 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus reiciendis asperiores voluptatum nulla. Qui dolor id blanditiis asperiores. Eligendi ex rem consequatur. Sapiente ullam voluptatem et est molestias adipisci quidem.\", \"Vero cum voluptatibus vel quas. Modi repellendus doloremque sunt. Sed et nulla numquam nobis temporibus. Eius cupiditate qui consequuntur facere maxime est.\"]"], ["created_at", "2014-09-22 16:31:48.661321"], ["name", "alpha"], ["title", "Possimus nesciunt veritatis mollitia labore laudantium ut ut."], ["updated_at", "2014-09-22 16:31:48.661321"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 16:31:48.664378"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non magnam quibusdam amet sint quia dicta. Cupiditate eaque ipsum ab voluptatibus aspernatur. Impedit fuga quos quia aut. Quidem ullam necessitatibus vitae tenetur recusandae ipsa id. Consequatur voluptate sunt ullam exercitationem qui voluptatibus.\", \"Et odio ea sunt. Consequatur blanditiis dicta et et doloribus. Dolores consectetur illum distinctio.\"]"], ["created_at", "2014-09-22 16:31:48.668053"], ["name", "beta"], ["title", "Enim id ab excepturi."], ["updated_at", "2014-09-22 16:31:48.668053"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:31:48.671210"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.673497"], ["updated_at", "2014-09-22 16:31:48.673497"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 16:31:48.676120"], ["updated_at", "2014-09-22 16:31:48.676120"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 16:31:48.679213"], ["updated_at", "2014-09-22 16:31:48.679213"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:31:48.681611"], ["name", "alpha"], ["title", "Possimus nesciunt veritatis mollitia labore laudantium ut ut."], ["updated_at", "2014-09-22 16:31:48.681611"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 16:31:48.684831"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta dolorem tempore et. Et aut autem sunt. Dolore laboriosam aut.\", \"Expedita eos est beatae atque vero et. Voluptatum iste consequatur quaerat consequatur minima. Qui est iusto aperiam. Autem asperiores iure.\"]"], ["created_at", "2014-09-22 16:31:48.690605"], ["name", "alpha"], ["title", "Minima aut sunt veniam quas ipsa."], ["updated_at", "2014-09-22 16:31:48.690605"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 16:31:48.693692"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis inventore ullam dolorem placeat rem. Qui ut quae vitae velit voluptatem cum. Voluptatem omnis quisquam minima dignissimos tenetur.\", \"Dolores et quis aut est nam error. Tempore eius quis perspiciatis voluptatum qui. Quibusdam voluptas delectus iste molestiae. Minima dicta officia provident repudiandae consectetur. Veniam voluptas sunt nesciunt nihil reprehenderit saepe dolorum.\"]"], ["created_at", "2014-09-22 16:31:48.697129"], ["name", "beta"], ["title", "Odio fuga rerum."], ["updated_at", "2014-09-22 16:31:48.697129"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 16:31:48.700109"], ["version", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:31:48.702261"], ["updated_at", "2014-09-22 16:31:48.702261"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 16:31:48.711759"], ["updated_at", "2014-09-22 16:31:48.711759"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 16:31:48.714327"], ["updated_at", "2014-09-22 16:31:48.714327"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:31:48.716763"], ["name", "alpha"], ["title", "Minima aut sunt veniam quas ipsa."], ["updated_at", "2014-09-22 16:31:48.716763"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 16:31:48.719844"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:28.776370"], ["updated_at", "2014-09-22 16:33:28.776370"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:28.783544"], ["updated_at", "2014-09-22 16:33:28.783544"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_a8b9f8d0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ab natus. Magni eligendi dolorem. Quo eius ut qui veritatis odio vel. Earum omnis beatae sed molestias ab eveniet eum. Et ducimus ipsa quia.\", \"Nostrum fugit impedit voluptatem. Illo reiciendis quis accusantium asperiores quo nisi aut. Distinctio pariatur aspernatur eligendi perspiciatis qui. Aut voluptas rerum voluptatem et consequatur dolorem.\"]"], ["created_at", "2014-09-22 16:33:29.012464"], ["name", "contract_a8b9f8d0"], ["title", "Quisquam doloremque excepturi molestias sit hic."], ["updated_at", "2014-09-22 16:33:29.012464"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a8b9f8d0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_a8b9f8d0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 16:33:29.023821"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.030310"], ["updated_at", "2014-09-22 16:33:29.030310"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 16:33:29.033439"], ["updated_at", "2014-09-22 16:33:29.033439"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.046777"], ["updated_at", "2014-09-22 16:33:29.046777"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.048703"], ["updated_at", "2014-09-22 16:33:29.048703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_22910c62') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate inventore molestiae eius. Aliquam aliquid et et illum eligendi deleniti. Et necessitatibus nobis dolores.\", \"Voluptatem et suscipit fuga aliquam quidem. Quasi quas voluptatem. Quisquam et libero molestias non id molestiae.\"]"], ["created_at", "2014-09-22 16:33:29.052028"], ["name", "contract_22910c62"], ["title", "Cupiditate aut alias voluptatum."], ["updated_at", "2014-09-22 16:33:29.052028"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_22910c62"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_22910c62') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 16:33:29.055301"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.057952"], ["updated_at", "2014-09-22 16:33:29.057952"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 16:33:29.060119"], ["updated_at", "2014-09-22 16:33:29.060119"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.063817"], ["updated_at", "2014-09-22 16:33:29.063817"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.065349"], ["updated_at", "2014-09-22 16:33:29.065349"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bfe663df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis alias incidunt quasi molestiae. Voluptatum quo quia id consequuntur. Quia odio totam.\", \"Sit dolores laudantium non aut. Sint illum sunt necessitatibus. Consequatur consequatur cupiditate asperiores dolores voluptas.\"]"], ["created_at", "2014-09-22 16:33:29.068351"], ["name", "contract_bfe663df"], ["title", "Illum repellat neque."], ["updated_at", "2014-09-22 16:33:29.068351"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bfe663df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_bfe663df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 16:33:29.071743"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.074367"], ["updated_at", "2014-09-22 16:33:29.074367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 16:33:29.076517"], ["updated_at", "2014-09-22 16:33:29.076517"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.079116"], ["updated_at", "2014-09-22 16:33:29.079116"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.080448"], ["updated_at", "2014-09-22 16:33:29.080448"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e131437f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem delectus officiis. Ea fuga et error qui voluptates. Voluptas totam nulla. Maxime suscipit fugit. Dolor minima iure natus iste cupiditate voluptas sapiente.\", \"Ratione quasi adipisci et rerum. Sapiente itaque dolor consequatur repellendus est officia sunt. Nihil pariatur reprehenderit libero. Atque maiores adipisci nihil.\"]"], ["created_at", "2014-09-22 16:33:29.083681"], ["name", "contract_e131437f"], ["title", "Officia ea corporis dicta voluptas eveniet."], ["updated_at", "2014-09-22 16:33:29.083681"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e131437f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_e131437f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 16:33:29.086865"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.089603"], ["updated_at", "2014-09-22 16:33:29.089603"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 16:33:29.091703"], ["updated_at", "2014-09-22 16:33:29.091703"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 5ms  (0.0ms) begin transaction 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_5b2cc9dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis vel voluptas quia fugit asperiores. Impedit quis distinctio perspiciatis reprehenderit nisi. Voluptates maxime esse tempore sit et. Aut nisi similique voluptatem. Maiores exercitationem id est.\", \"Suscipit excepturi repudiandae. Excepturi enim quo totam dicta non esse dignissimos. Qui iure itaque nobis provident aliquam aliquid qui.\"]"], ["created_at", "2014-09-22 16:33:29.101372"], ["name", "contract_5b2cc9dc"], ["title", "Perspiciatis tempore necessitatibus eum culpa molestiae et iste."], ["updated_at", "2014-09-22 16:33:29.101372"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b2cc9dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_5b2cc9dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 16:33:29.104518"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5b2cc9dc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_5b2cc9dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis vel voluptas quia fugit asperiores. Impedit quis distinctio perspiciatis reprehenderit nisi. Voluptates maxime esse tempore sit et. Aut nisi similique voluptatem. Maiores exercitationem id est.\", \"Suscipit excepturi repudiandae. Excepturi enim quo totam dicta non esse dignissimos. Qui iure itaque nobis provident aliquam aliquid qui.\"]"], ["created_at", "2014-09-22 16:33:29.110579"], ["name", "contract_5b2cc9dc"], ["title", "Perspiciatis tempore necessitatibus eum culpa molestiae et iste."], ["updated_at", "2014-09-22 16:33:29.110579"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b2cc9dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_5b2cc9dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:33:29.114095"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_900cbdd6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id earum id sunt rerum labore nihil. Molestiae ea sequi aut sit. Ad molestiae vel.\", \"Quas minima nisi iste iusto eos dicta perspiciatis. Similique aut soluta aut provident minus. Deleniti laudantium illum quae. Ut ipsum architecto nisi commodi.\"]"], ["created_at", "2014-09-22 16:33:29.118980"], ["name", "contract_900cbdd6"], ["title", "Eos debitis magnam sunt qui alias adipisci."], ["updated_at", "2014-09-22 16:33:29.118980"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_900cbdd6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_900cbdd6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:33:29.123582"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_900cbdd6"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_900cbdd6"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_900cbdd6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:33:29.128950"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dcea25ca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta omnis sapiente quia officiis. Dolores quasi nam laboriosam qui aut. Nemo aut laboriosam est saepe.\", \"Molestias blanditiis ut qui. Aperiam alias fuga molestiae. Labore saepe repudiandae sit sapiente quia omnis officia. Libero labore ipsam est non.\"]"], ["created_at", "2014-09-22 16:33:29.132639"], ["name", "contract_dcea25ca"], ["title", "Sed sint omnis quo dolores ex labore."], ["updated_at", "2014-09-22 16:33:29.132639"]]  (2.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dcea25ca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_dcea25ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 16:33:29.137463"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.141630"], ["updated_at", "2014-09-22 16:33:29.141630"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 16:33:29.145256"], ["updated_at", "2014-09-22 16:33:29.145256"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_dcea25ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dcea25ca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_dcea25ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction 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_71e826ff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem illum et aut officiis. Incidunt quam quidem dolore tenetur ut. Qui esse architecto ex accusamus. Voluptate pariatur nam voluptas ratione facilis.\", \"Quasi voluptates aliquam. Beatae magni consequuntur voluptatibus ut qui delectus ducimus. Qui expedita deserunt a.\"]"], ["created_at", "2014-09-22 16:33:29.155205"], ["name", "contract_71e826ff"], ["title", "Nostrum animi labore repudiandae soluta."], ["updated_at", "2014-09-22 16:33:29.155205"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71e826ff"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_71e826ff') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 16:33:29.158083"], ["version", 1]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_71e826ff' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem illum et aut officiis. Incidunt quam quidem dolore tenetur ut. Qui esse architecto ex accusamus. Voluptate pariatur nam voluptas ratione facilis.\", \"Quasi voluptates aliquam. Beatae magni consequuntur voluptatibus ut qui delectus ducimus. Qui expedita deserunt a.\"]"], ["created_at", "2014-09-22 16:33:29.164258"], ["name", "joe"], ["title", "Nostrum animi labore repudiandae soluta."], ["updated_at", "2014-09-22 16:33:29.164258"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 16:33:29.167203"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non dolores quis vel nihil deserunt aperiam nihil. Nisi nihil officiis ut enim placeat quam. Ea atque magni sit vel. Asperiores ratione doloremque aut qui temporibus nesciunt consequuntur. Reiciendis nam facilis doloremque.\", \"Magni ad nesciunt quia molestiae beatae dolores. Eum delectus dignissimos odit perferendis et suscipit vel. Autem soluta laborum quia qui ullam dolorum. Minus et recusandae.\"]"], ["created_at", "2014-09-22 16:33:29.171027"], ["name", "alpha"], ["title", "Eius ut dolores ea harum officiis."], ["updated_at", "2014-09-22 16:33:29.171027"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 16:33:29.173931"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus ut iste. Corporis eum quisquam et. Ut animi voluptas occaecati. Sed aspernatur a quibusdam.\", \"Delectus illo cumque quod. Ab accusamus dolor velit totam libero nobis et. Vero velit fuga.\"]"], ["created_at", "2014-09-22 16:33:29.177129"], ["name", "beta"], ["title", "Molestias cum enim nam recusandae unde quia."], ["updated_at", "2014-09-22 16:33:29.177129"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 16:33:29.180004"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.182204"], ["updated_at", "2014-09-22 16:33:29.182204"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 16:33:29.184692"], ["updated_at", "2014-09-22 16:33:29.184692"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 16:33:29.187073"], ["updated_at", "2014-09-22 16:33:29.187073"], ["user_id", 14], ["user_type", "DummyUser"]]  (1.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:33:29.190584"], ["name", "alpha"], ["title", "Eius ut dolores ea harum officiis."], ["updated_at", "2014-09-22 16:33:29.190584"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 16:33:29.197323"], ["version", 2]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae ipsam aut culpa et doloremque. Ratione voluptatem aut optio maiores dolore. Non eum a. Ut est deserunt.\", \"Voluptates corrupti libero debitis vel quaerat. Molestiae ullam odit. Est ducimus necessitatibus optio rerum autem velit assumenda. Aut nesciunt atque consequuntur impedit et exercitationem sapiente. Voluptatem pariatur nostrum dolorum laudantium odio earum quia.\"]"], ["created_at", "2014-09-22 16:33:29.205214"], ["name", "alpha"], ["title", "Rerum consequatur saepe in est natus sed."], ["updated_at", "2014-09-22 16:33:29.205214"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 16:33:29.208348"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet ea enim. Quas esse quidem. Iste necessitatibus hic commodi et quia.\", \"Odit ipsa rerum et qui culpa. Tempore ipsam molestias aut ab error cum eveniet. Expedita ex deleniti vel in nihil officia.\"]"], ["created_at", "2014-09-22 16:33:29.211666"], ["name", "beta"], ["title", "Distinctio quo atque qui et minima."], ["updated_at", "2014-09-22 16:33:29.211666"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:33:29.217199"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.219508"], ["updated_at", "2014-09-22 16:33:29.219508"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 16:33:29.222125"], ["updated_at", "2014-09-22 16:33:29.222125"], ["user_id", 15], ["user_type", "DummyUser"]]  (3.1ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 16:33:29.227035"], ["updated_at", "2014-09-22 16:33:29.227035"], ["user_id", 15], ["user_type", "DummyUser"]]  (3.3ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:33:29.231880"], ["name", "alpha"], ["title", "Rerum consequatur saepe in est natus sed."], ["updated_at", "2014-09-22 16:33:29.231880"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 16:33:29.237865"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est repellendus unde eum. Et voluptates magnam atque ad esse. Velit eligendi et voluptatum et non aut. Natus quaerat doloremque id illo est.\", \"Iusto aut est autem earum assumenda et qui. Quam non aspernatur quisquam. Rerum aut et sunt praesentium blanditiis.\"]"], ["created_at", "2014-09-22 16:33:29.245386"], ["name", "alpha"], ["title", "Excepturi reiciendis dolores."], ["updated_at", "2014-09-22 16:33:29.245386"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:33:29.248501"], ["version", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum et voluptates molestias animi autem voluptas. Enim ut itaque. Ut repudiandae voluptatibus dolor neque perspiciatis non. Enim atque recusandae veniam et est asperiores.\", \"Illum qui sapiente aliquid sequi nemo reprehenderit voluptate. Voluptatem eos distinctio. Sed earum quo et. Qui sint commodi dignissimos ea distinctio consequatur illo. Consequatur nesciunt quasi mollitia at alias.\"]"], ["created_at", "2014-09-22 16:33:29.251961"], ["name", "beta"], ["title", "Quaerat eligendi distinctio ipsam porro autem."], ["updated_at", "2014-09-22 16:33:29.251961"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 16:33:29.257600"], ["version", 3]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.261139"], ["updated_at", "2014-09-22 16:33:29.261139"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 16:33:29.263682"], ["updated_at", "2014-09-22 16:33:29.263682"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 16:33:29.266008"], ["updated_at", "2014-09-22 16:33:29.266008"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:33:29.268189"], ["name", "alpha"], ["title", "Excepturi reiciendis dolores."], ["updated_at", "2014-09-22 16:33:29.268189"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 16:33:29.271142"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet ipsam saepe. Debitis temporibus corrupti praesentium dolorem eos fugiat deleniti. Ut ratione magni. Unde aut non non. Maiores autem voluptatibus autem quia perspiciatis unde.\", \"Et qui eveniet. Et deserunt ducimus dolorum mollitia facere dolore voluptatem. Quos et atque facilis accusamus. Quidem ipsa quos debitis ipsam.\"]"], ["created_at", "2014-09-22 16:33:29.276388"], ["name", "alpha"], ["title", "Impedit quia nostrum nobis culpa rerum sequi."], ["updated_at", "2014-09-22 16:33:29.276388"]]  (5.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:33:29.284368"], ["version", 7]]  (17.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt consequatur doloremque fugiat quos cumque possimus tenetur. Repellat cum ab itaque suscipit nam. Porro libero et. Illo ratione accusantium. Veritatis molestiae rerum occaecati.\", \"Harum sit laudantium velit id voluptatibus. Quibusdam voluptatum eum quia dolorum numquam soluta neque. Eum ratione cupiditate eos repellat quia voluptas maiores.\"]"], ["created_at", "2014-09-22 16:33:29.304918"], ["name", "beta"], ["title", "Quidem voluptatem aspernatur laboriosam fugit."], ["updated_at", "2014-09-22 16:33:29.304918"]]  (10.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 16:33:29.318123"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.320337"], ["updated_at", "2014-09-22 16:33:29.320337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 16:33:29.322882"], ["updated_at", "2014-09-22 16:33:29.322882"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 16:33:29.325274"], ["updated_at", "2014-09-22 16:33:29.325274"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:33:29.328248"], ["name", "alpha"], ["title", "Impedit quia nostrum nobis culpa rerum sequi."], ["updated_at", "2014-09-22 16:33:29.328248"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 16:33:29.331771"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 18, 15, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 16:33:29.348281"], ["updated_at", "2014-09-22 16:33:29.348281"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17, 16, 14, 13, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 18, 15, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.361835"], ["updated_at", "2014-09-22 16:33:29.361835"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.363405"], ["updated_at", "2014-09-22 16:33:29.363405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aee50e9c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptas iusto veritatis voluptatem ut dolor assumenda. Qui enim harum repellendus mollitia fugit placeat. Rem et voluptatem repudiandae omnis qui eum. Labore optio occaecati fuga possimus.\", \"Sunt est ea voluptatibus non quia sapiente nihil. Ea autem laboriosam et expedita deserunt. Aliquam eveniet aut eaque molestiae magnam tempora vel. Hic repellendus tempore molestiae culpa qui id.\"]"], ["created_at", "2014-09-22 16:33:29.366074"], ["name", "contract_aee50e9c"], ["title", "At dignissimos asperiores."], ["updated_at", "2014-09-22 16:33:29.366074"]]  (1.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 16:33:29.371311"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 16:33:29.371311"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.377035"], ["updated_at", "2014-09-22 16:33:29.377035"]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.381050"], ["updated_at", "2014-09-22 16:33:29.381050"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_6891b2d4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti perferendis corporis ut architecto minima nostrum et. Porro eveniet est. Dolorum autem magni qui nobis.\", \"Fugit deserunt perspiciatis quisquam natus ad sed nobis. Qui veritatis tempora aperiam sed. Fugiat alias nostrum ipsa incidunt eum deleniti ut.\"]"], ["created_at", "2014-09-22 16:33:29.384750"], ["name", "contract_6891b2d4"], ["title", "Ad et nihil esse odit."], ["updated_at", "2014-09-22 16:33:29.384750"]]  (35.4ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.426708"], ["updated_at", "2014-09-22 16:33:29.426708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.428764"], ["updated_at", "2014-09-22 16:33:29.428764"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e641735b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio facilis ipsa ex consequatur blanditiis. Ad perferendis corrupti in optio. Debitis cupiditate vel enim.\", \"Praesentium ab ut pariatur sed corrupti aperiam voluptatum. Labore cupiditate quia consequatur. Temporibus reprehenderit culpa inventore.\"]"], ["created_at", "2014-09-22 16:33:29.431765"], ["name", "contract_e641735b"], ["title", "Omnis nobis atque nihil temporibus dolor quidem."], ["updated_at", "2014-09-22 16:33:29.431765"]]  (5.2ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.440957"], ["updated_at", "2014-09-22 16:33:29.440957"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.442687"], ["updated_at", "2014-09-22 16:33:29.442687"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e215dc27') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae soluta rem temporibus ut et. Adipisci necessitatibus aut ipsam cumque. Minima recusandae voluptas ea vitae sint.\", \"Voluptatem architecto quidem dolor culpa dolores. Temporibus consequatur et animi. Recusandae qui at inventore ut dolore enim numquam. Eum neque sit.\"]"], ["created_at", "2014-09-22 16:33:29.445822"], ["name", "contract_e215dc27"], ["title", "Voluptatibus molestias illum vitae est quia aliquam natus."], ["updated_at", "2014-09-22 16:33:29.445822"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.450800"], ["updated_at", "2014-09-22 16:33:29.450800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.452277"], ["updated_at", "2014-09-22 16:33:29.452277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8ab03b32') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus aperiam sunt quidem impedit. Voluptas voluptatem voluptate sunt quibusdam. Neque et molestias sed modi quisquam.\", \"Quaerat perferendis repudiandae accusantium consequatur voluptas. Sit omnis quidem sed numquam beatae ipsum facere. Libero ut earum perspiciatis ut beatae non est. Possimus fuga aperiam et qui explicabo quae.\"]"], ["created_at", "2014-09-22 16:33:29.455002"], ["name", "contract_8ab03b32"], ["title", "Qui perspiciatis occaecati voluptatum laudantium."], ["updated_at", "2014-09-22 16:33:29.455002"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8ab03b32"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_8ab03b32') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 16:33:29.459616"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.464218"], ["updated_at", "2014-09-22 16:33:29.464218"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.466213"], ["updated_at", "2014-09-22 16:33:29.466213"]]  (1.2ms) commit transaction  (0.0ms) begin transaction 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_8810b8c3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta omnis esse. Qui blanditiis nobis in culpa commodi molestiae. Porro nulla fugiat. Deserunt quo voluptas rerum voluptatem quos porro doloremque. Culpa et tempore.\", \"Ullam et in facilis aut occaecati. Esse impedit eos. Nulla quia tempore aut quas amet.\"]"], ["created_at", "2014-09-22 16:33:29.469638"], ["name", "contract_8810b8c3"], ["title", "A sed vel tempora maxime ut velit."], ["updated_at", "2014-09-22 16:33:29.469638"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.474363"], ["updated_at", "2014-09-22 16:33:29.474363"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.476104"], ["updated_at", "2014-09-22 16:33:29.476104"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_39dbed7b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit dolorem sunt cupiditate cumque. Quam ex maxime est animi molestias commodi quaerat. Est odit occaecati. Est delectus omnis similique esse odit doloribus blanditiis. Eum nobis non sunt.\", \"Commodi tenetur ab iste nemo qui illo delectus. Ut perferendis atque similique et aspernatur fugit vero. Non et sed.\"]"], ["created_at", "2014-09-22 16:33:29.478741"], ["name", "contract_39dbed7b"], ["title", "Quisquam ipsa veniam qui."], ["updated_at", "2014-09-22 16:33:29.478741"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_39dbed7b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_39dbed7b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 16:33:29.481763"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_39dbed7b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.492077"], ["updated_at", "2014-09-22 16:33:29.492077"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.493686"], ["updated_at", "2014-09-22 16:33:29.493686"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f1d624cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui omnis aut officia nostrum. Illum animi voluptatem porro ullam ducimus. Voluptas libero autem magni placeat sed.\", \"Aut nesciunt reiciendis. Culpa optio ratione rerum. Qui ipsa aliquam voluptates. Molestias assumenda ullam perferendis.\"]"], ["created_at", "2014-09-22 16:33:29.496317"], ["name", "contract_f1d624cf"], ["title", "Reprehenderit et sit incidunt magni."], ["updated_at", "2014-09-22 16:33:29.496317"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f1d624cf"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_f1d624cf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 16:33:29.499674"], ["version", 1]]  (8.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.513004"], ["updated_at", "2014-09-22 16:33:29.513004"]]  (4.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.518438"], ["updated_at", "2014-09-22 16:33:29.518438"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_6d6f4c94') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro laudantium veritatis provident. Tempora expedita qui eius cum amet. Doloremque dicta qui et. Ab qui consequatur. Delectus unde officia molestiae fuga iste.\", \"Optio rerum minus ut officiis sequi et. Voluptas accusantium nobis facilis aut blanditiis. Totam iure ea necessitatibus. Ipsum enim et asperiores nihil.\"]"], ["created_at", "2014-09-22 16:33:29.521989"], ["name", "contract_6d6f4c94"], ["title", "Soluta unde vero quos praesentium beatae necessitatibus."], ["updated_at", "2014-09-22 16:33:29.521989"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6d6f4c94"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_6d6f4c94') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 16:33:29.526039"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.531984"], ["updated_at", "2014-09-22 16:33:29.531984"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.533485"], ["updated_at", "2014-09-22 16:33:29.533485"]]  (1.4ms) commit transaction  (0.0ms) begin transaction 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_9b7459e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis numquam sed quasi. Dignissimos est iste amet quos. Aut sit sit sequi et ab. Cumque magnam aut delectus a voluptatem. Autem aut ab aut.\", \"Voluptatem excepturi vel ex aliquid ut. Ipsam reiciendis velit. Omnis nesciunt fugit esse tempore atque. Dolore minima repellat ea dicta temporibus qui reprehenderit. Ab delectus quos voluptates ratione.\"]"], ["created_at", "2014-09-22 16:33:29.536833"], ["name", "contract_9b7459e3"], ["title", "Sit debitis ab sunt sed."], ["updated_at", "2014-09-22 16:33:29.536833"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.541252"], ["updated_at", "2014-09-22 16:33:29.541252"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.543169"], ["updated_at", "2014-09-22 16:33:29.543169"]]  (2.8ms) commit transaction  (0.0ms) begin transaction 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_e9343ea1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim rerum aut. Culpa omnis nihil et vel eos possimus. Rem voluptate inventore voluptatem.\", \"Corrupti omnis magni qui nulla fugiat autem. Sunt nemo eveniet. Modi dolorem quas velit veniam. Nobis sunt sed perspiciatis consequatur beatae voluptas. Et cumque aut rerum vel quis.\"]"], ["created_at", "2014-09-22 16:33:29.548155"], ["name", "contract_e9343ea1"], ["title", "Sit quas voluptatem."], ["updated_at", "2014-09-22 16:33:29.548155"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.554454"], ["updated_at", "2014-09-22 16:33:29.554454"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.556254"], ["updated_at", "2014-09-22 16:33:29.556254"]]  (6.1ms) commit transaction  (0.0ms) begin transaction 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_b08cf92a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus omnis quisquam quam iusto. Eum placeat veritatis et praesentium. Animi tempore enim sed.\", \"Sequi aut sit quisquam ipsa. Deleniti et vel. Aut voluptas molestiae sapiente. Aut atque aut qui omnis fuga. Et repellat quisquam rerum.\"]"], ["created_at", "2014-09-22 16:33:29.564725"], ["name", "contract_b08cf92a"], ["title", "Voluptatum qui quae eligendi id nam distinctio voluptates."], ["updated_at", "2014-09-22 16:33:29.564725"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b08cf92a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_b08cf92a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 16:33:29.568017"], ["version", 1]]  (5.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b08cf92a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_b08cf92a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 16:33:29.578532"], ["version", nil]]  (5.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 6.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.587890"], ["updated_at", "2014-09-22 16:33:29.587890"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.589444"], ["updated_at", "2014-09-22 16:33:29.589444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0068c95c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus maiores qui dolores cumque aperiam. Facere nam tempore dolores autem. Magni eos et esse consequatur aspernatur quis libero. Blanditiis possimus et expedita.\", \"Et voluptatibus exercitationem rerum cum consequuntur. Et et nihil praesentium repellat. Sed in asperiores. Repellendus sit voluptatibus ea nisi est.\"]"], ["created_at", "2014-09-22 16:33:29.592696"], ["name", "contract_0068c95c"], ["title", "Deserunt vel nihil iusto doloremque corrupti."], ["updated_at", "2014-09-22 16:33:29.592696"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.598075"], ["updated_at", "2014-09-22 16:33:29.598075"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.599619"], ["updated_at", "2014-09-22 16:33:29.599619"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f7f4893') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam repellat qui quibusdam saepe repellendus sed nam. Possimus provident repudiandae qui. Unde odio eum laboriosam. Praesentium voluptas quidem et aut ad. A porro et et delectus quisquam.\", \"Rem eos sed. Rerum sunt adipisci qui voluptas. Fugit qui optio et ut. Atque voluptatem aspernatur ex inventore et. Aliquam enim explicabo illo voluptatibus.\"]"], ["created_at", "2014-09-22 16:33:29.602390"], ["name", "contract_6f7f4893"], ["title", "Laudantium ut ut enim ipsam."], ["updated_at", "2014-09-22 16:33:29.602390"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 16:33:29.606200"]]  (5.0ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 8ms (ActiveRecord: 5.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.615136"], ["updated_at", "2014-09-22 16:33:29.615136"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.616660"], ["updated_at", "2014-09-22 16:33:29.616660"]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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_f461bdf3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio dolores et enim voluptas maiores nihil aut. Harum libero dolores inventore doloremque. Aliquid voluptatum excepturi explicabo. Voluptas quis quasi. Fuga omnis maxime dolores natus.\", \"Voluptatem nemo et. Corrupti et eveniet et. Ut atque excepturi consectetur quaerat aperiam nisi.\"]"], ["created_at", "2014-09-22 16:33:29.624531"], ["name", "contract_f461bdf3"], ["title", "Natus nihil sint quia."], ["updated_at", "2014-09-22 16:33:29.624531"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.628938"], ["updated_at", "2014-09-22 16:33:29.628938"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.635874"], ["updated_at", "2014-09-22 16:33:29.635874"]]  (45.5ms) commit transaction  (0.0ms) begin transaction 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_8033eb17') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni distinctio quas. Dolorem velit ut unde numquam reiciendis. Perspiciatis nihil sed. Nihil modi necessitatibus eligendi.\", \"Nisi reprehenderit dolore beatae facere sapiente. Odit ipsa molestiae nemo voluptas atque laboriosam. Omnis unde consequatur ipsa. Possimus sunt qui velit. Dignissimos nostrum dolorum qui ea cupiditate.\"]"], ["created_at", "2014-09-22 16:33:29.683717"], ["name", "contract_8033eb17"], ["title", "Harum qui eius ut."], ["updated_at", "2014-09-22 16:33:29.683717"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17, 16, 14, 13, 11, 37, 21, 18, 15, 12, 36, 2, 30, 6, 5, 25, 32, 9, 39, 29, 28, 7, 33, 1, 23, 35, 3, 8, 4, 27, 26, 34, 31, 38, 10, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.691474"], ["updated_at", "2014-09-22 16:33:29.691474"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.692950"], ["updated_at", "2014-09-22 16:33:29.692950"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b3e39749') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quibusdam quis culpa et ad aliquid. Nulla velit quia placeat nesciunt error deserunt. Mollitia et inventore tempora ducimus. Unde suscipit autem cupiditate id voluptatem adipisci ipsam. Omnis facere recusandae iusto distinctio libero maiores.\", \"Eius dolores placeat atque aut. Cumque autem et aut non. Sed sapiente aut consequatur sed itaque distinctio non. Enim possimus sit voluptatem id vero. Soluta et cupiditate maiores est.\"]"], ["created_at", "2014-09-22 16:33:29.695587"], ["name", "contract_b3e39749"], ["title", "Aut saepe quia quas quia."], ["updated_at", "2014-09-22 16:33:29.695587"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 40]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 40]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 40 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.702898"], ["updated_at", "2014-09-22 16:33:29.702898"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.704281"], ["updated_at", "2014-09-22 16:33:29.704281"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ed25343b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nam aut. Sed exercitationem tenetur aut. Cumque ex recusandae nesciunt qui. Incidunt velit et qui ipsum. Reiciendis officiis earum aperiam ut eius at.\", \"Unde earum est id in excepturi velit. Voluptatem molestias voluptate dolores. Id natus unde eaque dolor ut id.\"]"], ["created_at", "2014-09-22 16:33:29.706866"], ["name", "contract_ed25343b"], ["title", "Eligendi fuga eveniet quidem quasi non aut."], ["updated_at", "2014-09-22 16:33:29.706866"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.711608"], ["updated_at", "2014-09-22 16:33:29.711608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.713134"], ["updated_at", "2014-09-22 16:33:29.713134"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.718757"], ["updated_at", "2014-09-22 16:33:29.718757"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.720786"], ["updated_at", "2014-09-22 16:33:29.720786"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_c7708cac') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos alias et nihil occaecati aspernatur. Est perferendis at qui assumenda. Quo doloremque et ab velit. Voluptas consectetur tempore enim qui qui eius.\", \"Culpa et id maiores. Aut molestias accusamus minus quos. Rem laboriosam ut qui omnis aut.\"]"], ["created_at", "2014-09-22 16:33:29.733411"], ["name", "contract_c7708cac"], ["title", "Sapiente illum rerum rem ad sequi."], ["updated_at", "2014-09-22 16:33:29.733411"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.0ms) begin transaction 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_e9a82fb8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit architecto enim quos ipsa velit. Veniam ut quo iusto eligendi laboriosam. Quis et officia quo hic quibusdam beatae dolores. A ipsum rem iusto deserunt. Voluptatem molestiae amet alias et placeat doloremque.\", \"Tenetur et consequuntur veniam eaque expedita qui. Eveniet fugiat consectetur. Minima asperiores vitae sequi exercitationem.\"]"], ["created_at", "2014-09-22 16:33:29.738482"], ["name", "contract_e9a82fb8"], ["title", "Cum voluptas quos eum quas."], ["updated_at", "2014-09-22 16:33:29.738482"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e9a82fb8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_e9a82fb8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 16:33:29.743403"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:33:29.747596"], ["updated_at", "2014-09-22 16:33:29.747596"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:12.856860"], ["updated_at", "2014-09-22 16:34:12.856860"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:12.863856"], ["updated_at", "2014-09-22 16:34:12.863856"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_06b9fd3f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut est asperiores similique. Aperiam rerum earum nostrum. Cum laudantium saepe possimus rem et. Voluptatibus accusamus vel sint odio soluta. Consequatur ut cupiditate modi natus sint aliquid.\", \"Quas omnis voluptas. Velit et libero incidunt cupiditate iusto a id. Minima et cumque. Quia similique explicabo fugit blanditiis. Corporis dicta commodi.\"]"], ["created_at", "2014-09-22 16:34:13.099055"], ["name", "contract_06b9fd3f"], ["title", "Nesciunt sed saepe impedit eius."], ["updated_at", "2014-09-22 16:34:13.099055"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_06b9fd3f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_06b9fd3f') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 16:34:13.112354"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_06b9fd3f' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.132322"], ["updated_at", "2014-09-22 16:34:13.132322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.134224"], ["updated_at", "2014-09-22 16:34:13.134224"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_22ee77a1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit placeat deserunt non quod quia qui. Voluptatem labore velit aliquam architecto aperiam. Necessitatibus et dolorum fugiat omnis saepe facere. Porro nisi ad earum animi quod. Itaque ratione optio.\", \"Nobis omnis blanditiis iusto. Voluptatem rerum est. Aut aut nam voluptatibus molestiae deleniti ipsam. Velit iusto necessitatibus et sapiente sunt dolor maxime.\"]"], ["created_at", "2014-09-22 16:34:13.137558"], ["name", "contract_22ee77a1"], ["title", "In reprehenderit hic quo libero omnis voluptate."], ["updated_at", "2014-09-22 16:34:13.137558"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.144544"], ["updated_at", "2014-09-22 16:34:13.144544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.146227"], ["updated_at", "2014-09-22 16:34:13.146227"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1863c0e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sint similique minus tempore illo. Assumenda quo dolores aspernatur quam repudiandae. Dolorem incidunt et voluptas adipisci excepturi nulla aut. Reprehenderit et qui architecto pariatur recusandae et accusantium. Quas et mollitia.\", \"Nam non id numquam est quos quaerat. Ex beatae qui. Corporis ipsam provident dolores ipsum aspernatur aut.\"]"], ["created_at", "2014-09-22 16:34:13.149194"], ["name", "contract_1863c0e5"], ["title", "Maiores enim sed ut aliquam laboriosam iusto."], ["updated_at", "2014-09-22 16:34:13.149194"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.155133"], ["updated_at", "2014-09-22 16:34:13.155133"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.156999"], ["updated_at", "2014-09-22 16:34:13.156999"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_a7ed83fb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet quaerat omnis recusandae at ut aut. Omnis recusandae non hic magni ut. Ipsum sed non iusto sed consequatur.\", \"Quia dolores dolor aliquid. Sunt est non delectus. Iure non dolores qui pariatur. Rem dolores asperiores sit modi necessitatibus cum. Repellat ullam id.\"]"], ["created_at", "2014-09-22 16:34:13.159694"], ["name", "contract_a7ed83fb"], ["title", "Necessitatibus enim sit eius voluptas consequatur atque."], ["updated_at", "2014-09-22 16:34:13.159694"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.164475"], ["updated_at", "2014-09-22 16:34:13.164475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.166083"], ["updated_at", "2014-09-22 16:34:13.166083"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_16633d6e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo magni nobis autem. Autem eius assumenda rerum quo. Ut quidem at.\", \"Pariatur sed et recusandae ut voluptate aut nisi. Aut vel quas rem quis et. Id fuga itaque harum suscipit veritatis optio voluptatem. Dignissimos fugit sit inventore quam.\"]"], ["created_at", "2014-09-22 16:34:13.168854"], ["name", "contract_16633d6e"], ["title", "Temporibus debitis fugiat totam ea aperiam dignissimos quasi."], ["updated_at", "2014-09-22 16:34:13.168854"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.174002"], ["updated_at", "2014-09-22 16:34:13.174002"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.175566"], ["updated_at", "2014-09-22 16:34:13.175566"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_2b6eae65') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi autem consectetur error voluptate accusamus non. Nemo tempora ipsam assumenda aspernatur quas voluptatum. Repellat corrupti nobis nemo.\", \"Et est rem possimus aut voluptate. Aliquam error enim. Et occaecati voluptatem ut et minima. Explicabo incidunt ducimus. Sequi quia qui.\"]"], ["created_at", "2014-09-22 16:34:13.178421"], ["name", "contract_2b6eae65"], ["title", "Rerum est quia ad molestiae pariatur nulla mollitia."], ["updated_at", "2014-09-22 16:34:13.178421"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 5, 3, 2, 6, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.190391"], ["updated_at", "2014-09-22 16:34:13.190391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.192082"], ["updated_at", "2014-09-22 16:34:13.192082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4dbedd64') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam eos itaque voluptas. Et quos excepturi reiciendis qui et labore. Mollitia rerum doloribus rerum quis.\", \"Sint eum sed similique exercitationem quo. Qui necessitatibus nihil quo earum repellat distinctio laborum. Quia expedita laborum consectetur. Expedita labore et ut aliquam voluptatem. Quidem nam hic sed totam perferendis.\"]"], ["created_at", "2014-09-22 16:34:13.194820"], ["name", "contract_4dbedd64"], ["title", "Velit ipsam nihil non fugit enim id."], ["updated_at", "2014-09-22 16:34:13.194820"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4dbedd64"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_4dbedd64') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:34:13.198047"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 500 Internal Server Error in 0ms  (1.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.205471"], ["updated_at", "2014-09-22 16:34:13.205471"]]  (0.6ms) commit transaction  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.207462"], ["updated_at", "2014-09-22 16:34:13.207462"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c00a46e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non nobis libero porro mollitia. Consequatur iste delectus unde. Architecto sed quia repellat. Nemo unde nulla est error totam commodi quod. Quaerat iure nesciunt.\", \"Provident illum molestiae porro unde voluptates qui. Corporis magnam aut aspernatur beatae aliquid. Eligendi blanditiis consequatur voluptatem facilis aut culpa. Pariatur tenetur aut modi quam deserunt harum. Quis dolor dolores voluptatibus.\"]"], ["created_at", "2014-09-22 16:34:13.210571"], ["name", "contract_c00a46e4"], ["title", "Dolor fuga voluptatem perspiciatis."], ["updated_at", "2014-09-22 16:34:13.210571"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"8"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.216764"], ["updated_at", "2014-09-22 16:34:13.216764"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.218574"], ["updated_at", "2014-09-22 16:34:13.218574"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_265223be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In nesciunt a consectetur architecto. Deleniti architecto rerum saepe quam minus. Id autem qui velit omnis ea quia animi. Vitae facere earum commodi ea. Est eveniet dignissimos est voluptate harum ullam.\", \"Odio necessitatibus qui vitae et ipsam. Quod dolorum voluptas. Modi adipisci consequuntur.\"]"], ["created_at", "2014-09-22 16:34:13.221479"], ["name", "contract_265223be"], ["title", "Explicabo minima itaque iste et inventore odio provident."], ["updated_at", "2014-09-22 16:34:13.221479"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.229485"], ["updated_at", "2014-09-22 16:34:13.229485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.230961"], ["updated_at", "2014-09-22 16:34:13.230961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_809c6557') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut expedita maiores voluptas possimus. Veniam repellat dolor. Aut distinctio eos eos cum impedit. Ipsum perspiciatis et beatae dicta. Quis sit eveniet accusantium fugit molestias maxime.\", \"Vitae omnis sequi quod dolorem illum architecto. Laudantium non repudiandae odit facilis quia nostrum autem. Quibusdam itaque et.\"]"], ["created_at", "2014-09-22 16:34:13.234019"], ["name", "contract_809c6557"], ["title", "Voluptates qui earum modi repellat iste esse temporibus."], ["updated_at", "2014-09-22 16:34:13.234019"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_809c6557"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_809c6557') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 16:34:13.239158"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.244328"], ["updated_at", "2014-09-22 16:34:13.244328"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.245783"], ["updated_at", "2014-09-22 16:34:13.245783"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_0bb5ee4e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis ab odit aut et. Impedit repellat sapiente. Unde reiciendis voluptates necessitatibus aut et fugiat.\", \"Sunt nam omnis dolores hic. Non dolorem possimus at id fugiat nam. Cum vel odio aliquam non qui culpa qui. Voluptatem ut magni quis sed nulla. Fugiat explicabo nobis quo possimus molestiae minus.\"]"], ["created_at", "2014-09-22 16:34:13.248565"], ["name", "contract_0bb5ee4e"], ["title", "Corporis accusantium velit."], ["updated_at", "2014-09-22 16:34:13.248565"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 16:34:13.252895"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 16:34:13.252895"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.258235"], ["updated_at", "2014-09-22 16:34:13.258235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.260134"], ["updated_at", "2014-09-22 16:34:13.260134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_698c6fe5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam et sit dolorem magnam labore. Tempore quos soluta pariatur eligendi enim. Laboriosam maxime expedita quo velit est consequuntur quo.\", \"Ut non sit ratione est animi. Asperiores ut enim veniam esse quia ut delectus. Voluptas illum odit.\"]"], ["created_at", "2014-09-22 16:34:13.263009"], ["name", "contract_698c6fe5"], ["title", "Autem aut quae consequatur non enim."], ["updated_at", "2014-09-22 16:34:13.263009"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.268165"], ["updated_at", "2014-09-22 16:34:13.268165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.269788"], ["updated_at", "2014-09-22 16:34:13.269788"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_975f0b1a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum illum ex. Quo maxime qui omnis. Sapiente quia est. Accusamus non iusto totam enim. Consequatur dolorem laudantium.\", \"Nesciunt ipsam provident ut nihil sunt. Quia eius et velit et alias veritatis aut. Qui culpa ullam similique est.\"]"], ["created_at", "2014-09-22 16:34:13.272390"], ["name", "contract_975f0b1a"], ["title", "Quam iste impedit omnis exercitationem debitis."], ["updated_at", "2014-09-22 16:34:13.272390"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.277222"], ["updated_at", "2014-09-22 16:34:13.277222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.278583"], ["updated_at", "2014-09-22 16:34:13.278583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b45825d8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore qui eius. Labore dignissimos in tempore aut deserunt ullam. Officia inventore in aliquid eius. Rerum sunt tempora officiis expedita eius. Reiciendis repudiandae repellat et assumenda itaque minus autem.\", \"Et suscipit libero ut voluptate. Ea ab quidem temporibus quis dolorem. Nam quibusdam iusto in facere blanditiis minus ea. Est architecto sequi porro.\"]"], ["created_at", "2014-09-22 16:34:13.281084"], ["name", "contract_b45825d8"], ["title", "Quia nihil aut."], ["updated_at", "2014-09-22 16:34:13.281084"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b45825d8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b45825d8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:34:13.284238"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b45825d8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_b45825d8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:34:13.289500"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.294371"], ["updated_at", "2014-09-22 16:34:13.294371"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.296041"], ["updated_at", "2014-09-22 16:34:13.296041"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_c326b0dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est vitae molestias ut provident eligendi soluta. Iure qui qui quia. Provident et possimus est laudantium. Et doloribus ut ratione.\", \"Quam ut suscipit ipsum. Eaque nihil nisi odit tempora. Omnis maiores et minus esse. Rem facilis vel culpa et.\"]"], ["created_at", "2014-09-22 16:34:13.299263"], ["name", "contract_c326b0dc"], ["title", "Iste distinctio quis inventore."], ["updated_at", "2014-09-22 16:34:13.299263"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.305551"], ["updated_at", "2014-09-22 16:34:13.305551"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.307022"], ["updated_at", "2014-09-22 16:34:13.307022"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4f96c4c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non et asperiores dolorum atque minima. Ex illum cupiditate non. Dolores vel amet. Adipisci repellendus autem dicta at quidem repudiandae sit. Quo rerum totam iste mollitia aut.\", \"Laboriosam iusto nesciunt sequi fuga est qui. Est suscipit occaecati et inventore. Ipsa magnam sequi quam. Nemo impedit cumque facilis tenetur veritatis rerum. Ratione occaecati illo nobis qui nam.\"]"], ["created_at", "2014-09-22 16:34:13.309666"], ["name", "contract_4f96c4c6"], ["title", "Eaque ad non quisquam laboriosam."], ["updated_at", "2014-09-22 16:34:13.309666"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.314050"], ["updated_at", "2014-09-22 16:34:13.314050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.315490"], ["updated_at", "2014-09-22 16:34:13.315490"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_89f9d577') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem id ducimus quae aut ratione. Voluptatem et numquam quidem et. Molestiae consequatur veniam quos. Nam voluptas ab earum quo dolores. Doloribus tempora fugit sed.\", \"Accusantium dolorum laudantium ea. Quidem quia praesentium aut. Sunt dolor quia aut aut. Nesciunt eaque voluptatem et laboriosam.\"]"], ["created_at", "2014-09-22 16:34:13.317931"], ["name", "contract_89f9d577"], ["title", "Suscipit laborum eum."], ["updated_at", "2014-09-22 16:34:13.317931"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 18 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 16:34:13.321572"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.325904"], ["updated_at", "2014-09-22 16:34:13.325904"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.327279"], ["updated_at", "2014-09-22 16:34:13.327279"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_ba4182e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi assumenda reiciendis error laborum sint voluptas quod. Eos aut et est officiis odio. Suscipit voluptatum fuga. Earum beatae autem dolorem ullam.\", \"Nam illum voluptatum in. Delectus harum sit necessitatibus dolorem corporis commodi. Et qui qui sapiente sed iste quia quia.\"]"], ["created_at", "2014-09-22 16:34:13.330195"], ["name", "contract_ba4182e2"], ["title", "Eius omnis eum voluptatem."], ["updated_at", "2014-09-22 16:34:13.330195"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ba4182e2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_ba4182e2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 16:34:13.333841"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction 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_2139cee3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex eligendi qui. Deleniti voluptas eum rerum nam sed totam omnis. Vel dolor voluptates itaque magnam omnis.\", \"Aspernatur saepe perferendis alias sunt eveniet mollitia. Sint quia necessitatibus. Quis aut velit doloribus amet quia.\"]"], ["created_at", "2014-09-22 16:34:13.340573"], ["name", "contract_2139cee3"], ["title", "Id dolorem illum eligendi debitis eos laudantium unde."], ["updated_at", "2014-09-22 16:34:13.340573"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2139cee3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_2139cee3') LIMIT 1 FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:34:13.343644"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2139cee3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex eligendi qui. Deleniti voluptas eum rerum nam sed totam omnis. Vel dolor voluptates itaque magnam omnis.\", \"Aspernatur saepe perferendis alias sunt eveniet mollitia. Sint quia necessitatibus. Quis aut velit doloribus amet quia.\"]"], ["created_at", "2014-09-22 16:34:13.347235"], ["name", "joe"], ["title", "Id dolorem illum eligendi debitis eos laudantium unde."], ["updated_at", "2014-09-22 16:34:13.347235"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 16:34:13.350015"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e959e864') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus et recusandae. Nesciunt non incidunt ut at. Quis enim quaerat atque consequatur sed ullam laborum. Eveniet neque aut consequuntur doloribus sit harum et. Facere nihil sequi repellendus.\", \"Ipsa tenetur error assumenda sapiente incidunt ad velit. Laborum non ipsum dolor optio. Expedita totam est ipsum id molestiae. Expedita aut doloremque delectus blanditiis ut.\"]"], ["created_at", "2014-09-22 16:34:13.353548"], ["name", "contract_e959e864"], ["title", "Numquam autem ut corrupti dolorem quaerat eveniet vitae."], ["updated_at", "2014-09-22 16:34:13.353548"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e959e864"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_e959e864') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 16:34:13.356382"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.361769"], ["updated_at", "2014-09-22 16:34:13.361769"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 16:34:13.365473"], ["updated_at", "2014-09-22 16:34:13.365473"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_e959e864') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e959e864"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_e959e864') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction 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_719affa6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium numquam enim. Odit quia pariatur. In enim quo veniam. Quam id praesentium magni quis quos.\", \"Inventore nobis aut itaque. Adipisci ipsum quis quaerat aliquid. Numquam ipsam harum at sunt quia sint. Maiores omnis nihil.\"]"], ["created_at", "2014-09-22 16:34:13.380454"], ["name", "contract_719affa6"], ["title", "Cumque assumenda dolorum autem blanditiis tempora."], ["updated_at", "2014-09-22 16:34:13.380454"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_719affa6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_719affa6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 16:34:13.384173"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_719affa6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_719affa6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium numquam enim. Odit quia pariatur. In enim quo veniam. Quam id praesentium magni quis quos.\", \"Inventore nobis aut itaque. Adipisci ipsum quis quaerat aliquid. Numquam ipsam harum at sunt quia sint. Maiores omnis nihil.\"]"], ["created_at", "2014-09-22 16:34:13.387694"], ["name", "contract_719affa6"], ["title", "Cumque assumenda dolorum autem blanditiis tempora."], ["updated_at", "2014-09-22 16:34:13.387694"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_719affa6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_719affa6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 16:34:13.390596"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_41379ec2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat eos illum dignissimos consequatur dolor minus. Dolorum sed praesentium alias odit. Et veniam iure earum. Numquam omnis molestiae voluptatem tenetur vitae culpa qui.\", \"Harum rerum pariatur quibusdam aut excepturi. Occaecati voluptas quia sed error sint et. Aspernatur voluptatem facere accusamus occaecati alias.\"]"], ["created_at", "2014-09-22 16:34:13.394322"], ["name", "contract_41379ec2"], ["title", "In ab soluta voluptatem amet est vel assumenda."], ["updated_at", "2014-09-22 16:34:13.394322"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41379ec2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_41379ec2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 16:34:13.398347"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41379ec2"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41379ec2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_41379ec2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 16:34:13.403020"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.405958"], ["updated_at", "2014-09-22 16:34:13.405958"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.407387"], ["updated_at", "2014-09-22 16:34:13.407387"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a499ea70') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae qui voluptate quia. Et sed sapiente facilis repellat amet non. Facere facilis est. Enim voluptatem et a ut. Porro eius omnis.\", \"Alias omnis quia nam delectus et enim. Placeat eius ex aut officiis est necessitatibus qui. Nam sit voluptatem.\"]"], ["created_at", "2014-09-22 16:34:13.410150"], ["name", "contract_a499ea70"], ["title", "Quo veritatis nostrum facilis dolore fuga et est."], ["updated_at", "2014-09-22 16:34:13.410150"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a499ea70"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_a499ea70') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 16:34:13.413042"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.415616"], ["updated_at", "2014-09-22 16:34:13.415616"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 16:34:13.418341"], ["updated_at", "2014-09-22 16:34:13.418341"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.427498"], ["updated_at", "2014-09-22 16:34:13.427498"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.429459"], ["updated_at", "2014-09-22 16:34:13.429459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f5374da6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi earum aut dicta quis ex non. Cumque voluptatibus labore omnis quia sed sunt. Magnam aut voluptas dolorem dolore hic sit nemo. Dolore beatae perferendis laboriosam non et porro. Dolore molestiae fugit veniam.\", \"Qui aperiam beatae voluptatem aut. Libero soluta consequatur minus tenetur qui quibusdam. Mollitia voluptatem dolore doloribus.\"]"], ["created_at", "2014-09-22 16:34:13.432760"], ["name", "contract_f5374da6"], ["title", "Corrupti excepturi aliquid fuga."], ["updated_at", "2014-09-22 16:34:13.432760"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5374da6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_f5374da6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 16:34:13.435726"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.438100"], ["updated_at", "2014-09-22 16:34:13.438100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 16:34:13.440172"], ["updated_at", "2014-09-22 16:34:13.440172"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.442671"], ["updated_at", "2014-09-22 16:34:13.442671"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.444105"], ["updated_at", "2014-09-22 16:34:13.444105"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cb4fabe7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ea ut inventore sed qui dolores ut. Soluta pariatur aut beatae qui ipsam. Facilis excepturi ullam eos maxime aliquam dolorem.\", \"Voluptas laudantium dolores. Perspiciatis consequuntur nisi nihil soluta ut dolores. Aperiam rerum cupiditate et. Nobis sunt assumenda tempora occaecati repellendus molestiae et. Laudantium suscipit magnam harum.\"]"], ["created_at", "2014-09-22 16:34:13.446872"], ["name", "contract_cb4fabe7"], ["title", "Saepe modi sunt."], ["updated_at", "2014-09-22 16:34:13.446872"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cb4fabe7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_cb4fabe7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 16:34:13.449771"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.452255"], ["updated_at", "2014-09-22 16:34:13.452255"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 16:34:13.454294"], ["updated_at", "2014-09-22 16:34:13.454294"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.458861"], ["updated_at", "2014-09-22 16:34:13.458861"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.460338"], ["updated_at", "2014-09-22 16:34:13.460338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58a7d4ac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi qui hic exercitationem iusto et. Nam suscipit mollitia sunt non. Dolores harum cumque.\", \"In sit reprehenderit ducimus aliquam. Reprehenderit maxime officia sequi optio. Quis nostrum corrupti nesciunt suscipit quaerat dolor accusantium. Maiores occaecati tenetur pariatur.\"]"], ["created_at", "2014-09-22 16:34:13.463336"], ["name", "contract_58a7d4ac"], ["title", "Rem officiis ea inventore quasi labore atque delectus."], ["updated_at", "2014-09-22 16:34:13.463336"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58a7d4ac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_58a7d4ac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 16:34:13.466998"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.469523"], ["updated_at", "2014-09-22 16:34:13.469523"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 16:34:13.471673"], ["updated_at", "2014-09-22 16:34:13.471673"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7a2c3392') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas et enim ea adipisci atque eaque. Corrupti sapiente dolor velit. Qui esse iste placeat asperiores eveniet illum nostrum. Voluptas quod voluptatem rerum optio. Est voluptatum facere a impedit voluptatem quasi fuga.\", \"Voluptates nihil cumque iusto qui delectus eveniet ratione. At sed nesciunt praesentium qui cum labore. Molestias quaerat non quia aperiam praesentium.\"]"], ["created_at", "2014-09-22 16:34:13.475899"], ["name", "contract_7a2c3392"], ["title", "Sequi dolore quas et et ullam sint."], ["updated_at", "2014-09-22 16:34:13.475899"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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_f0b16872') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam est esse fugit doloremque ut ut facilis. Officia error autem et consequatur. Vel deleniti distinctio est. Voluptatibus ut laudantium unde illo. Similique velit sint fuga nostrum est ut aut.\", \"In placeat ipsam quaerat quia. Eum quia quod iste. Sint dolor cupiditate hic est at autem.\"]"], ["created_at", "2014-09-22 16:34:13.479866"], ["name", "contract_f0b16872"], ["title", "Quia quia itaque quam deleniti."], ["updated_at", "2014-09-22 16:34:13.479866"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f0b16872"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_f0b16872') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 16:34:13.482746"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.485225"], ["updated_at", "2014-09-22 16:34:13.485225"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.492773"], ["updated_at", "2014-09-22 16:34:13.492773"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.494280"], ["updated_at", "2014-09-22 16:34:13.494280"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.497921"], ["updated_at", "2014-09-22 16:34:13.497921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.499324"], ["updated_at", "2014-09-22 16:34:13.499324"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt et sequi hic quia rerum dolores et. Pariatur illum sit quae eos enim omnis perspiciatis. Voluptates amet voluptas possimus perferendis delectus sequi autem.\", \"Soluta at aut. Enim corrupti et quia voluptatum iusto. Sint quia commodi.\"]"], ["created_at", "2014-09-22 16:34:13.504405"], ["name", "alpha"], ["title", "Voluptatum et ratione."], ["updated_at", "2014-09-22 16:34:13.504405"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 16:34:13.507388"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum magni amet. Nostrum tempore esse voluptas omnis maxime. Quis deserunt velit nihil ab accusamus.\", \"Occaecati quae qui deleniti deserunt corporis. Repellat non voluptate tempore qui quisquam aut eveniet. Harum maiores aspernatur repellat quo rem voluptate.\"]"], ["created_at", "2014-09-22 16:34:13.510944"], ["name", "beta"], ["title", "Molestiae doloribus magnam omnis iste optio fugit."], ["updated_at", "2014-09-22 16:34:13.510944"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 16:34:13.513944"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.516751"], ["updated_at", "2014-09-22 16:34:13.516751"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 16:34:13.519510"], ["updated_at", "2014-09-22 16:34:13.519510"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 16:34:13.521911"], ["updated_at", "2014-09-22 16:34:13.521911"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:34:13.524171"], ["name", "alpha"], ["title", "Voluptatum et ratione."], ["updated_at", "2014-09-22 16:34:13.524171"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 16:34:13.527456"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 16:34:13.541539"], ["updated_at", "2014-09-22 16:34:13.541539"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor blanditiis provident tempore libero tempora. Sit tempore voluptas modi quasi voluptatem non. Rem saepe deleniti reiciendis. Consequatur voluptatem in. Cum ad id aliquid.\", \"Fugit dolore molestias et delectus iusto molestiae. Reprehenderit debitis praesentium qui sit nemo et molestiae. Provident et eum sed corrupti beatae aliquam. Voluptatum laborum pariatur ipsam illo quos maiores. Similique maxime rerum sunt earum rem asperiores vel.\"]"], ["created_at", "2014-09-22 16:34:13.553984"], ["name", "alpha"], ["title", "Qui quis consequuntur."], ["updated_at", "2014-09-22 16:34:13.553984"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 16:34:13.557126"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint explicabo nam provident aspernatur. Est quam dolores qui. Et quo qui.\", \"A quo soluta. Odio omnis officia voluptatem odit quasi est ipsa. Unde inventore magni tempora libero. Eos animi delectus illum quia voluptatum debitis recusandae. Quibusdam veniam distinctio et ullam quos quam perferendis.\"]"], ["created_at", "2014-09-22 16:34:13.560434"], ["name", "beta"], ["title", "Repellat sed ipsam."], ["updated_at", "2014-09-22 16:34:13.560434"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 16:34:13.563297"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.565390"], ["updated_at", "2014-09-22 16:34:13.565390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 16:34:13.567951"], ["updated_at", "2014-09-22 16:34:13.567951"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 16:34:13.570314"], ["updated_at", "2014-09-22 16:34:13.570314"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:34:13.572514"], ["name", "alpha"], ["title", "Qui quis consequuntur."], ["updated_at", "2014-09-22 16:34:13.572514"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 16:34:13.575488"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 56 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil esse temporibus tempore. Quasi necessitatibus provident. Quia ea aut unde qui dolores. Sint magni dolor.\", \"Qui voluptatem vero sit tenetur quidem. Ullam qui nesciunt. Et molestias consequuntur magni tenetur. Autem sed aliquid ipsum non dolor quo et. Voluptatem minima quaerat veniam doloremque eum ut.\"]"], ["created_at", "2014-09-22 16:34:13.582219"], ["name", "alpha"], ["title", "Iste maxime odio in molestiae."], ["updated_at", "2014-09-22 16:34:13.582219"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 16:34:13.585274"], ["version", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti voluptatem et saepe voluptas ut. Iure omnis voluptate numquam doloribus. Repellat voluptatibus at vel qui porro officia necessitatibus.\", \"Dolores velit repellendus nemo. Ad possimus dolores reiciendis ut nisi. Dolore dolor sint possimus maiores quo. Sed non nostrum veritatis dolorum. Nulla fuga debitis sint repudiandae delectus.\"]"], ["created_at", "2014-09-22 16:34:13.588874"], ["name", "beta"], ["title", "Ad voluptatem dolor."], ["updated_at", "2014-09-22 16:34:13.588874"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:34:13.592249"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.594504"], ["updated_at", "2014-09-22 16:34:13.594504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 16:34:13.597061"], ["updated_at", "2014-09-22 16:34:13.597061"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 16:34:13.599974"], ["updated_at", "2014-09-22 16:34:13.599974"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:34:13.602584"], ["name", "alpha"], ["title", "Iste maxime odio in molestiae."], ["updated_at", "2014-09-22 16:34:13.602584"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 16:34:13.605702"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis provident sit. Ut possimus aliquam eligendi. Quia vel et eius voluptatem nulla voluptates. In nesciunt repudiandae ipsum.\", \"Molestias et alias molestiae occaecati ratione. Commodi ut fugiat natus consequatur velit suscipit fugit. Laudantium voluptates vitae ducimus nobis molestias.\"]"], ["created_at", "2014-09-22 16:34:13.611115"], ["name", "alpha"], ["title", "Impedit laudantium sequi."], ["updated_at", "2014-09-22 16:34:13.611115"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 16:34:13.614162"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit et mollitia quia hic dignissimos eos nulla. Nobis ipsam provident. Quae repellendus ab nisi dignissimos consequatur et ea.\", \"Deleniti cupiditate et accusantium laudantium libero at unde. Quia aut vitae officia labore perferendis. Nulla quae tenetur. Atque rerum temporibus ea.\"]"], ["created_at", "2014-09-22 16:34:13.617403"], ["name", "beta"], ["title", "Aliquid aut architecto odit ipsum ducimus praesentium."], ["updated_at", "2014-09-22 16:34:13.617403"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 16:34:13.620266"], ["version", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:34:13.622372"], ["updated_at", "2014-09-22 16:34:13.622372"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 16:34:13.631547"], ["updated_at", "2014-09-22 16:34:13.631547"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 16:34:13.634364"], ["updated_at", "2014-09-22 16:34:13.634364"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:34:13.636675"], ["name", "alpha"], ["title", "Impedit laudantium sequi."], ["updated_at", "2014-09-22 16:34:13.636675"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 16:34:13.639745"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_cdd26bb6') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptas sed id amet totam exercitationem rerum. Minus et laboriosam. Voluptas minus ut assumenda qui sit nihil ipsum. Quia iure rerum. Eius iure voluptatibus nemo dolorum voluptates rem eligendi.\", \"Sapiente aut reiciendis rerum quisquam. Dignissimos sed nesciunt accusamus consectetur. Laborum quisquam consequatur. Vitae earum et reprehenderit impedit hic fugit. Expedita quisquam est quibusdam.\"]"], ["created_at", "2014-09-22 16:37:53.984040"], ["name", "contract_cdd26bb6"], ["title", "Quaerat qui incidunt hic at."], ["updated_at", "2014-09-22 16:37:53.984040"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_9d967f9b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor reprehenderit voluptates dolorum. Impedit incidunt quos at autem. Nisi enim corrupti quasi incidunt pariatur perspiciatis.\", \"Perferendis commodi ducimus sed et et aliquam. Dolorem inventore est aut et quaerat similique expedita. Aut soluta nesciunt id ad. Eveniet officiis doloribus possimus eum accusantium. Amet occaecati veniam aperiam.\"]"], ["created_at", "2014-09-22 16:37:54.000295"], ["name", "contract_9d967f9b"], ["title", "Earum veritatis consequatur nostrum eum."], ["updated_at", "2014-09-22 16:37:54.000295"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d967f9b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_9d967f9b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 16:37:54.005419"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.011716"], ["updated_at", "2014-09-22 16:37:54.011716"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.020261"], ["updated_at", "2014-09-22 16:37:54.020261"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.022364"], ["updated_at", "2014-09-22 16:37:54.022364"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_0adee502') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid voluptatem illo sit. Veritatis reprehenderit enim eveniet rerum maiores molestiae aut. Ipsum et dolorem consequuntur sed. Minus velit est facilis maxime culpa quos eius.\", \"Eius deserunt totam consequatur at soluta. Praesentium ab ipsum. Esse odio omnis nostrum. Aut magnam accusantium quia non temporibus. Harum non nihil numquam ut est distinctio.\"]"], ["created_at", "2014-09-22 16:37:54.027420"], ["name", "contract_0adee502"], ["title", "Quo molestiae voluptas ut sint atque beatae."], ["updated_at", "2014-09-22 16:37:54.027420"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0adee502"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_0adee502') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 16:37:54.030703"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.033312"], ["updated_at", "2014-09-22 16:37:54.033312"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 16:37:54.035584"], ["updated_at", "2014-09-22 16:37:54.035584"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.7ms) commit transaction Completed 500 Internal Server Error in 5ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.048377"], ["updated_at", "2014-09-22 16:37:54.048377"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.049887"], ["updated_at", "2014-09-22 16:37:54.049887"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_00048e9d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad nihil laudantium. Quo cumque ipsam labore sed commodi est. Qui error enim mollitia et aperiam quia. Quidem aliquam sunt id enim reprehenderit facilis. Commodi maiores incidunt sit beatae et harum quidem.\", \"Omnis dolores quam aspernatur minima harum. Quod cupiditate repellat adipisci harum ullam. Explicabo labore quia qui est unde ut nam. Autem aut veritatis culpa ut.\"]"], ["created_at", "2014-09-22 16:37:54.053303"], ["name", "contract_00048e9d"], ["title", "Sed sapiente iusto quasi et minima."], ["updated_at", "2014-09-22 16:37:54.053303"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00048e9d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_00048e9d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 16:37:54.057337"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.060524"], ["updated_at", "2014-09-22 16:37:54.060524"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 16:37:54.063330"], ["updated_at", "2014-09-22 16:37:54.063330"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.070716"], ["updated_at", "2014-09-22 16:37:54.070716"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.072606"], ["updated_at", "2014-09-22 16:37:54.072606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8ac8c830') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore doloribus qui et voluptas praesentium debitis. Voluptas commodi nostrum cum. Repellat consectetur et quia similique nemo. Modi totam maiores voluptatibus.\", \"Est natus enim molestiae cum. Voluptate eius atque placeat. Ea amet sit qui. Quidem commodi pariatur aut quis. Quaerat molestias blanditiis.\"]"], ["created_at", "2014-09-22 16:37:54.076030"], ["name", "contract_8ac8c830"], ["title", "Sint provident placeat aut."], ["updated_at", "2014-09-22 16:37:54.076030"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8ac8c830"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_8ac8c830') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 16:37:54.080143"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.082881"], ["updated_at", "2014-09-22 16:37:54.082881"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 16:37:54.085171"], ["updated_at", "2014-09-22 16:37:54.085171"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.088146"], ["updated_at", "2014-09-22 16:37:54.088146"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.090089"], ["updated_at", "2014-09-22 16:37:54.090089"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_02a6c080') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum est eius sint iste porro et. Ut fugiat aut. Expedita fuga quaerat occaecati qui ipsa. Delectus et praesentium doloremque dolores deleniti.\", \"Accusamus voluptatibus accusantium. Quas iste voluptatem iure dolorem vitae. Et nulla nihil non sit minima perspiciatis occaecati.\"]"], ["created_at", "2014-09-22 16:37:54.093479"], ["name", "contract_02a6c080"], ["title", "Rem optio sunt ea eos repellendus."], ["updated_at", "2014-09-22 16:37:54.093479"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_02a6c080"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_02a6c080') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 16:37:54.099292"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.102801"], ["updated_at", "2014-09-22 16:37:54.102801"]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 16:37:54.105872"], ["updated_at", "2014-09-22 16:37:54.105872"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente placeat quia molestiae in sed adipisci. Pariatur vero repellendus incidunt sint eum adipisci officia. Sed neque molestiae.\", \"Rerum quia consequatur earum temporibus quibusdam tempore recusandae. Sint consectetur debitis amet sit id. Cupiditate expedita vel cumque voluptate enim magni. Fuga doloribus consequatur. Eos sit illum dolorem omnis reiciendis quia.\"]"], ["created_at", "2014-09-22 16:37:54.115674"], ["name", "alpha"], ["title", "Possimus est non dolorum provident quos."], ["updated_at", "2014-09-22 16:37:54.115674"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 16:37:54.119384"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo enim dolor ipsam eum. Dolorem eum deserunt ea. Fuga consequatur placeat reiciendis. Delectus aperiam voluptatum autem facilis. Sit dicta veritatis maiores.\", \"Eveniet harum maiores consequuntur molestiae. Dolorum dolore vel consequatur quod id. Ratione esse est nihil sapiente sed dolor et. Rerum officia nihil magni in corporis culpa dolores.\"]"], ["created_at", "2014-09-22 16:37:54.123428"], ["name", "beta"], ["title", "Consectetur ut in magni non sequi reiciendis."], ["updated_at", "2014-09-22 16:37:54.123428"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 16:37:54.126575"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.128943"], ["updated_at", "2014-09-22 16:37:54.128943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 16:37:54.131675"], ["updated_at", "2014-09-22 16:37:54.131675"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 16:37:54.134181"], ["updated_at", "2014-09-22 16:37:54.134181"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:37:54.138498"], ["name", "alpha"], ["title", "Possimus est non dolorum provident quos."], ["updated_at", "2014-09-22 16:37:54.138498"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 16:37:54.141950"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 16:37:54.160255"], ["updated_at", "2014-09-22 16:37:54.160255"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident sed quidem explicabo quas. Dolorem esse id quia recusandae. Veritatis et hic facilis cum sequi. Qui deleniti voluptatem ut vitae.\", \"Aut ut eveniet repellat. Quis est veniam autem aspernatur et. Quasi ipsum ut ullam.\"]"], ["created_at", "2014-09-22 16:37:54.172843"], ["name", "alpha"], ["title", "Molestiae officia dicta."], ["updated_at", "2014-09-22 16:37:54.172843"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 16:37:54.175936"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque ullam ut soluta impedit. Nihil magnam enim consequatur vero. Qui ipsam sunt.\", \"Aut reiciendis unde quia odio occaecati vel quisquam. Rerum dolorem provident quae. Sequi dolorem necessitatibus ut dicta quod aspernatur. Corrupti ipsa accusamus omnis voluptatum.\"]"], ["created_at", "2014-09-22 16:37:54.179224"], ["name", "beta"], ["title", "Aut quisquam qui."], ["updated_at", "2014-09-22 16:37:54.179224"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 16:37:54.182199"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.184469"], ["updated_at", "2014-09-22 16:37:54.184469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 16:37:54.187061"], ["updated_at", "2014-09-22 16:37:54.187061"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 16:37:54.189508"], ["updated_at", "2014-09-22 16:37:54.189508"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:37:54.191676"], ["name", "alpha"], ["title", "Molestiae officia dicta."], ["updated_at", "2014-09-22 16:37:54.191676"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 16:37:54.194649"], ["version", 4]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis distinctio minus maiores consequatur suscipit sed est. Odio rerum et. Quia qui at et sequi ut nobis odio. Eligendi fugiat qui ipsam quaerat. Recusandae enim expedita harum inventore eveniet.\", \"Non quas consequuntur odit ipsam. Reprehenderit illo nemo. Aut nihil consequatur omnis. Qui perferendis quia et assumenda modi non recusandae. Repellat at voluptatum eveniet commodi nesciunt dolorem.\"]"], ["created_at", "2014-09-22 16:37:54.202024"], ["name", "alpha"], ["title", "Non quia possimus eius eum quo."], ["updated_at", "2014-09-22 16:37:54.202024"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 16:37:54.205105"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis eos nostrum accusantium officia explicabo cumque sint. Facere non accusantium sed vel aut aut incidunt. Ea magnam officia voluptatem provident qui nisi vitae. Ut ex nisi officia eveniet. Et ea sit corporis.\", \"Voluptates saepe sit illo quo incidunt at. Qui quod distinctio debitis quidem. Et necessitatibus aperiam rerum esse.\"]"], ["created_at", "2014-09-22 16:37:54.208690"], ["name", "beta"], ["title", "Ea magnam rerum repudiandae aperiam aut."], ["updated_at", "2014-09-22 16:37:54.208690"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.5ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 16:37:54.211862"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.215015"], ["updated_at", "2014-09-22 16:37:54.215015"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 16:37:54.218495"], ["updated_at", "2014-09-22 16:37:54.218495"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 16:37:54.221096"], ["updated_at", "2014-09-22 16:37:54.221096"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:37:54.223424"], ["name", "alpha"], ["title", "Non quia possimus eius eum quo."], ["updated_at", "2014-09-22 16:37:54.223424"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 16:37:54.226691"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et delectus velit voluptas. Dolorem ullam et in vitae. Laboriosam sint ut eos. Qui praesentium ea inventore quia. Ab quia est assumenda fugiat et officiis ut.\", \"Illum minima perferendis. Tempore ratione autem vero est. Voluptatem mollitia vitae maxime non sunt. Architecto ab odio beatae distinctio et vero. Est eius dolorum qui.\"]"], ["created_at", "2014-09-22 16:37:54.232886"], ["name", "alpha"], ["title", "Deleniti facilis in veritatis ut."], ["updated_at", "2014-09-22 16:37:54.232886"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 16:37:54.236146"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptas similique quia natus laborum ducimus. Alias exercitationem et ut. Enim harum a. Ullam voluptas nostrum deleniti cum doloribus fugit delectus. Eum rerum magnam aut ducimus fugit.\", \"Exercitationem aliquam tempore dolorem provident cupiditate accusantium. Debitis non rerum corrupti. Libero consectetur et perferendis similique. Expedita voluptas repellat et. Iste quia et tempore itaque est aliquam.\"]"], ["created_at", "2014-09-22 16:37:54.239703"], ["name", "beta"], ["title", "Eius maiores repellendus."], ["updated_at", "2014-09-22 16:37:54.239703"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 16:37:54.242750"], ["version", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.244995"], ["updated_at", "2014-09-22 16:37:54.244995"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 16:37:54.247618"], ["updated_at", "2014-09-22 16:37:54.247618"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 16:37:54.250043"], ["updated_at", "2014-09-22 16:37:54.250043"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 16:37:54.252274"], ["name", "alpha"], ["title", "Deleniti facilis in veritatis ut."], ["updated_at", "2014-09-22 16:37:54.252274"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 16:37:54.255353"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.261440"], ["updated_at", "2014-09-22 16:37:54.261440"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.262922"], ["updated_at", "2014-09-22 16:37:54.262922"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.267400"], ["updated_at", "2014-09-22 16:37:54.267400"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.268976"], ["updated_at", "2014-09-22 16:37:54.268976"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_6338f131') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus atque placeat ea. Itaque earum iusto voluptatem molestias. Doloribus quas magni quo harum.\", \"Quas consectetur accusantium saepe incidunt mollitia aut sit. Qui consequatur omnis sequi ab distinctio voluptate impedit. Quia blanditiis consequatur omnis nisi dolore aperiam.\"]"], ["created_at", "2014-09-22 16:37:54.273763"], ["name", "contract_6338f131"], ["title", "Culpa reiciendis facere."], ["updated_at", "2014-09-22 16:37:54.273763"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6338f131"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_6338f131') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 16:37:54.276878"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6338f131' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus atque placeat ea. Itaque earum iusto voluptatem molestias. Doloribus quas magni quo harum.\", \"Quas consectetur accusantium saepe incidunt mollitia aut sit. Qui consequatur omnis sequi ab distinctio voluptate impedit. Quia blanditiis consequatur omnis nisi dolore aperiam.\"]"], ["created_at", "2014-09-22 16:37:54.281102"], ["name", "joe"], ["title", "Culpa reiciendis facere."], ["updated_at", "2014-09-22 16:37:54.281102"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 16:37:54.284261"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_66a4611e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo ut sunt et quia est. Dolorem dolor et sit in est quia et. Velit dicta nisi. Est et dolor reprehenderit repudiandae ex et. Et earum consequatur.\", \"Sit non pariatur necessitatibus consectetur. Voluptatem non odit. Reiciendis beatae ab.\"]"], ["created_at", "2014-09-22 16:37:54.288187"], ["name", "contract_66a4611e"], ["title", "Possimus repellat amet rerum ea nemo id."], ["updated_at", "2014-09-22 16:37:54.288187"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66a4611e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_66a4611e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 16:37:54.291181"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_66a4611e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_66a4611e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo ut sunt et quia est. Dolorem dolor et sit in est quia et. Velit dicta nisi. Est et dolor reprehenderit repudiandae ex et. Et earum consequatur.\", \"Sit non pariatur necessitatibus consectetur. Voluptatem non odit. Reiciendis beatae ab.\"]"], ["created_at", "2014-09-22 16:37:54.294642"], ["name", "contract_66a4611e"], ["title", "Possimus repellat amet rerum ea nemo id."], ["updated_at", "2014-09-22 16:37:54.294642"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66a4611e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_66a4611e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 16:37:54.297647"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ae09a615') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex repellat aut. Reprehenderit aut blanditiis pariatur. Similique est aut nostrum. Et eligendi enim. Incidunt accusamus ipsa.\", \"Ut et soluta quas. Quo nam voluptate dolores cum aliquid aut dolor. Ipsum sit sequi cupiditate dolor voluptatum veritatis. Dignissimos eum distinctio odio qui asperiores perferendis. Et optio est perferendis aut aspernatur.\"]"], ["created_at", "2014-09-22 16:37:54.301673"], ["name", "contract_ae09a615"], ["title", "Consequuntur porro qui asperiores suscipit dolor."], ["updated_at", "2014-09-22 16:37:54.301673"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ae09a615"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_ae09a615') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 16:37:54.304924"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.308603"], ["updated_at", "2014-09-22 16:37:54.308603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 16:37:54.310772"], ["updated_at", "2014-09-22 16:37:54.310772"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_ae09a615') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ae09a615"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_ae09a615') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction 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_482997e7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam sapiente quod nisi et nam. Corporis praesentium dignissimos dolorem ipsam explicabo et nulla. Nihil maxime dolore aut veniam provident suscipit aut.\", \"Quasi qui suscipit autem qui debitis vitae dolorum. Deserunt ex iure facilis. Quia facere esse non qui. Delectus autem sint.\"]"], ["created_at", "2014-09-22 16:37:54.321028"], ["name", "contract_482997e7"], ["title", "Dolorum delectus aliquid."], ["updated_at", "2014-09-22 16:37:54.321028"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_482997e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_482997e7') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 16:37:54.325312"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_482997e7"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_482997e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_482997e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 16:37:54.330392"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.333542"], ["updated_at", "2014-09-22 16:37:54.333542"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.335051"], ["updated_at", "2014-09-22 16:37:54.335051"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3088d3be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur praesentium numquam. Ea placeat odio. Et quaerat ipsam accusantium illum ullam consectetur. Praesentium iste itaque animi eveniet.\", \"Qui corrupti cumque quidem provident. Asperiores debitis et. Sed quas soluta dolore quos. Distinctio perferendis laboriosam id veniam.\"]"], ["created_at", "2014-09-22 16:37:54.337714"], ["name", "contract_3088d3be"], ["title", "Nulla odit praesentium velit."], ["updated_at", "2014-09-22 16:37:54.337714"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.344235"], ["updated_at", "2014-09-22 16:37:54.344235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.345743"], ["updated_at", "2014-09-22 16:37:54.345743"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4f7aff8a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis assumenda odit. Possimus officiis magnam dolores enim ex deserunt cumque. Eum sequi adipisci omnis voluptatum totam. Omnis possimus tempora dolorem incidunt voluptas sint. Repellendus earum qui voluptatem placeat.\", \"Et quo excepturi in. Est ratione porro sint. Dolorem sed placeat est qui distinctio. Odio rerum eligendi repellendus voluptatem vel quae sint. Officiis sint fugit et aut consequuntur autem non.\"]"], ["created_at", "2014-09-22 16:37:54.348344"], ["name", "contract_4f7aff8a"], ["title", "Vel dolores eum consequatur."], ["updated_at", "2014-09-22 16:37:54.348344"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.352352"], ["updated_at", "2014-09-22 16:37:54.352352"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.353855"], ["updated_at", "2014-09-22 16:37:54.353855"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3daf044b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores quidem quisquam officia et necessitatibus iste rerum. Ut rerum minus. Cupiditate aut minus dolor ut voluptate velit dicta.\", \"Repellat aut repellendus mollitia id voluptates. Quibusdam sit at consequatur qui quam sed. Odit corporis illum. Quos nisi soluta dolorem nostrum aut rerum voluptates. Ea atque veniam rem doloribus aut.\"]"], ["created_at", "2014-09-22 16:37:54.356418"], ["name", "contract_3daf044b"], ["title", "Tenetur fugiat corporis quas."], ["updated_at", "2014-09-22 16:37:54.356418"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.360338"], ["updated_at", "2014-09-22 16:37:54.360338"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.361755"], ["updated_at", "2014-09-22 16:37:54.361755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0a87ffaf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel et natus magnam repellat. Enim optio repellat. Dignissimos et quaerat veniam sed deserunt. Enim quidem magnam nisi et vel ipsum. Maiores quibusdam aut sed officiis esse quidem optio.\", \"Pariatur et sint ipsa ratione occaecati. Quas at velit sed sed praesentium sequi. Repellendus dolorum dolores et illo dignissimos porro explicabo.\"]"], ["created_at", "2014-09-22 16:37:54.364843"], ["name", "contract_0a87ffaf"], ["title", "Ipsa reiciendis aliquid."], ["updated_at", "2014-09-22 16:37:54.364843"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 28 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 16:37:54.369501"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.375332"], ["updated_at", "2014-09-22 16:37:54.375332"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.376942"], ["updated_at", "2014-09-22 16:37:54.376942"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_040e0105') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At tenetur repudiandae modi. Sit perspiciatis eligendi nobis. Consectetur ipsa debitis pariatur quidem vel aspernatur omnis. Minus asperiores voluptates illum omnis. Consequuntur corporis eos voluptatem autem soluta.\", \"Pariatur omnis et quo modi quidem non. Omnis iste cumque beatae voluptatem vel nostrum. Amet eos maiores.\"]"], ["created_at", "2014-09-22 16:37:54.379671"], ["name", "contract_040e0105"], ["title", "Cum dolore est occaecati ut ipsum optio quod."], ["updated_at", "2014-09-22 16:37:54.379671"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_040e0105"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_040e0105') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 16:37:54.382789"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_040e0105' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.393598"], ["updated_at", "2014-09-22 16:37:54.393598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.395254"], ["updated_at", "2014-09-22 16:37:54.395254"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0959caa8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed aspernatur eius laboriosam. Asperiores voluptatem ut. Vel nobis officia optio corporis sed. Ea dolore consequatur voluptate.\", \"Architecto et dolor consequatur dignissimos. Omnis ex maiores voluptate. Alias eligendi enim et. Eius aut iste sed.\"]"], ["created_at", "2014-09-22 16:37:54.398869"], ["name", "contract_0959caa8"], ["title", "Accusamus illo in."], ["updated_at", "2014-09-22 16:37:54.398869"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.405899"], ["updated_at", "2014-09-22 16:37:54.405899"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.407464"], ["updated_at", "2014-09-22 16:37:54.407464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_161d70dd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quae ut unde quibusdam odit et minus. Officia ipsum quia est et. Pariatur fugit enim earum temporibus ab. Recusandae laborum aspernatur animi similique ducimus praesentium.\", \"Numquam est blanditiis voluptas maiores. Veniam voluptatem mollitia. Sit ab quam rerum assumenda eos. Doloremque ut quia laudantium dolore.\"]"], ["created_at", "2014-09-22 16:37:54.410207"], ["name", "contract_161d70dd"], ["title", "Ut rerum tenetur quo voluptas quia ipsa veniam."], ["updated_at", "2014-09-22 16:37:54.410207"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.414327"], ["updated_at", "2014-09-22 16:37:54.414327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.415812"], ["updated_at", "2014-09-22 16:37:54.415812"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2a995f71') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint blanditiis officiis. Assumenda quis perferendis earum eveniet quo cumque voluptates. Quia assumenda totam dolorem.\", \"Suscipit et consequatur et iusto est. Nihil aliquam in et officiis. Provident voluptate accusantium sapiente blanditiis qui pariatur.\"]"], ["created_at", "2014-09-22 16:37:54.418561"], ["name", "contract_2a995f71"], ["title", "Maxime tenetur officiis voluptatibus sint."], ["updated_at", "2014-09-22 16:37:54.418561"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.422654"], ["updated_at", "2014-09-22 16:37:54.422654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.424134"], ["updated_at", "2014-09-22 16:37:54.424134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d3deee09') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum et a dolorem. Eos accusamus reiciendis officia provident sed molestiae excepturi. Alias dolores facilis sapiente libero. Aut saepe molestias nostrum sed sequi eius.\", \"Sed dolores est velit sequi est voluptas magnam. A ullam reprehenderit esse accusantium omnis nostrum. Sit dolores explicabo. A quo delectus officiis dolor esse rerum.\"]"], ["created_at", "2014-09-22 16:37:54.426728"], ["name", "contract_d3deee09"], ["title", "Quis beatae iste eligendi numquam nulla fuga."], ["updated_at", "2014-09-22 16:37:54.426728"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.431138"], ["updated_at", "2014-09-22 16:37:54.431138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.432594"], ["updated_at", "2014-09-22 16:37:54.432594"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f4d4063d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis molestiae aliquam fuga ullam. Impedit sit repellat. Doloribus tenetur qui consectetur maxime molestiae voluptas.\", \"Deleniti accusamus ea alias doloremque aut voluptas. Consequuntur maiores et voluptatum sunt. Similique ullam reprehenderit eos cumque voluptas fugit praesentium. Illum corrupti molestias beatae ex et tempore.\"]"], ["created_at", "2014-09-22 16:37:54.435185"], ["name", "contract_f4d4063d"], ["title", "Sit quia error."], ["updated_at", "2014-09-22 16:37:54.435185"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 16:37:54.438510"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 16:37:54.438510"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.441930"], ["updated_at", "2014-09-22 16:37:54.441930"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.443429"], ["updated_at", "2014-09-22 16:37:54.443429"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e014a359') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur impedit ullam est quam sed. Dolorem repellendus adipisci rerum. Molestiae eius ut. Natus officiis error sed omnis adipisci sunt. Nulla adipisci est quos eum.\", \"Accusamus qui enim. Velit nihil quo voluptas. Voluptas doloribus esse. Ut et placeat harum vel blanditiis.\"]"], ["created_at", "2014-09-22 16:37:54.446214"], ["name", "contract_e014a359"], ["title", "Aut in architecto rerum esse."], ["updated_at", "2014-09-22 16:37:54.446214"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.452310"], ["updated_at", "2014-09-22 16:37:54.452310"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.453831"], ["updated_at", "2014-09-22 16:37:54.453831"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bde773ca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi voluptas vel voluptatem doloribus incidunt nulla. Officiis ut corrupti magnam ut consequatur dolores omnis. Quas et et repellendus aspernatur libero nisi aut.\", \"Officiis nisi repudiandae modi. Id tenetur et ut quas magnam harum vero. Eaque cum esse. Repudiandae in eum ipsam voluptatum nemo saepe. Voluptas est quos voluptates in sapiente architecto soluta.\"]"], ["created_at", "2014-09-22 16:37:54.456536"], ["name", "contract_bde773ca"], ["title", "Qui eius nam odio iste pariatur."], ["updated_at", "2014-09-22 16:37:54.456536"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bde773ca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_bde773ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 16:37:54.459969"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.465993"], ["updated_at", "2014-09-22 16:37:54.465993"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.467475"], ["updated_at", "2014-09-22 16:37:54.467475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3c510de2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique recusandae rerum reiciendis voluptatem sit. Animi perferendis ut vel nam enim amet veritatis. Ab ducimus dolor sed tempora magni et quia. In quia excepturi sapiente minima eos et qui. Nam assumenda nostrum sequi aspernatur.\", \"Alias aliquid amet numquam. Sequi quas est molestias similique occaecati eligendi mollitia. Ipsam repudiandae est accusamus nulla saepe reiciendis qui. Ea consequuntur aliquam harum.\"]"], ["created_at", "2014-09-22 16:37:54.470086"], ["name", "contract_3c510de2"], ["title", "Voluptate earum architecto."], ["updated_at", "2014-09-22 16:37:54.470086"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.475335"], ["updated_at", "2014-09-22 16:37:54.475335"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.476842"], ["updated_at", "2014-09-22 16:37:54.476842"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e37bc72d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem suscipit qui sit. Id voluptatem eius. Ut recusandae tempora sit. Debitis deleniti placeat sit libero doloremque fugit ad. Necessitatibus amet explicabo et velit.\", \"Rem eum quas veniam cupiditate minima. Quia aliquam deleniti cum. Quaerat rerum vel. Rerum ea rem neque temporibus.\"]"], ["created_at", "2014-09-22 16:37:54.480084"], ["name", "contract_e37bc72d"], ["title", "Asperiores ad qui corporis et."], ["updated_at", "2014-09-22 16:37:54.480084"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e37bc72d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_e37bc72d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:37:54.483490"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e37bc72d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_e37bc72d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 16:37:54.489329"], ["version", nil]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.493974"], ["updated_at", "2014-09-22 16:37:54.493974"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.495530"], ["updated_at", "2014-09-22 16:37:54.495530"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bb88df53') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae recusandae quos optio. Reprehenderit earum ea est sit eum minima quia. Esse quaerat et accusantium voluptatem. Est ipsa veniam beatae omnis inventore optio provident.\", \"Sed tempore dolor. Ipsam dolor non quidem. Nihil praesentium accusamus. Voluptas quod odio reprehenderit accusantium fuga.\"]"], ["created_at", "2014-09-22 16:37:54.498198"], ["name", "contract_bb88df53"], ["title", "Reiciendis quas temporibus ratione quae non fuga laboriosam."], ["updated_at", "2014-09-22 16:37:54.498198"]]  (1.2ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 40]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 40]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 40 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.506533"], ["updated_at", "2014-09-22 16:37:54.506533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.508088"], ["updated_at", "2014-09-22 16:37:54.508088"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1cb7d2fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima ut facilis consectetur praesentium dolorem. Quibusdam ea possimus dolor. Aut labore repellendus enim.\", \"Perspiciatis et nostrum deserunt. Molestiae veniam nostrum laborum voluptatem earum unde ut. Et laudantium delectus mollitia fugit repudiandae. Cumque ab enim nihil. Dicta distinctio consequatur tempora ut vero.\"]"], ["created_at", "2014-09-22 16:37:54.510651"], ["name", "contract_1cb7d2fa"], ["title", "Molestias fuga sequi incidunt quia."], ["updated_at", "2014-09-22 16:37:54.510651"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1cb7d2fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_1cb7d2fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 16:37:54.515360"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.526226"], ["updated_at", "2014-09-22 16:37:54.526226"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.527731"], ["updated_at", "2014-09-22 16:37:54.527731"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_59d0d50e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt facere necessitatibus et omnis. Sed iusto et explicabo in voluptate placeat. Est quo dolorum non fugiat.\", \"Officia voluptates delectus quos error quis dolor quidem. Esse nulla ut omnis. Consectetur perferendis qui explicabo. Iure dolore ratione magnam. Quidem nemo magnam error molestiae.\"]"], ["created_at", "2014-09-22 16:37:54.531060"], ["name", "contract_59d0d50e"], ["title", "Eveniet quaerat corrupti unde."], ["updated_at", "2014-09-22 16:37:54.531060"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 16, 15, 13, 12, 10, 9, 7, 28, 17, 14, 11, 8, 4, 6, 29, 30, 3, 31, 41, 32, 25, 38, 27, 24, 26, 42, 19, 22, 21, 5, 2, 23, 37, 1, 33, 36, 39, 34, 20, 35) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.539619"], ["updated_at", "2014-09-22 16:37:54.539619"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 16:37:54.541296"], ["updated_at", "2014-09-22 16:37:54.541296"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_592b2f33') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet similique quibusdam esse et. Et dolore natus molestiae reiciendis. Doloribus fugiat ut et debitis quas. Et et exercitationem dolorem dolor ducimus eligendi. Laborum cum voluptas aut consequatur.\", \"Enim sit et rerum et. Suscipit ratione soluta consequuntur alias atque ipsa. Culpa doloremque laudantium at. Praesentium voluptatibus eaque possimus. Dolores eum sit.\"]"], ["created_at", "2014-09-22 16:37:54.545405"], ["name", "contract_592b2f33"], ["title", "Est numquam atque qui sunt."], ["updated_at", "2014-09-22 16:37:54.545405"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_592b2f33"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_592b2f33') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 16:37:54.550090"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.656768"], ["updated_at", "2014-09-22 17:44:33.656768"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.664231"], ["updated_at", "2014-09-22 17:44:33.664231"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_133de168') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique accusantium sapiente quaerat esse temporibus praesentium. Quidem voluptatem quia dolorum. Aliquam suscipit cupiditate et saepe dolores sed.\", \"Autem vero temporibus voluptas et optio. Maxime sed mollitia libero. Iusto enim sint. Eius ducimus quis. Voluptatem recusandae minus impedit vitae consectetur ipsam.\"]"], ["created_at", "2014-09-22 17:44:33.900172"], ["name", "contract_133de168"], ["title", "Minus maxime illo quibusdam sit."], ["updated_at", "2014-09-22 17:44:33.900172"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_133de168"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_133de168') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:44:33.911411"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.919167"], ["updated_at", "2014-09-22 17:44:33.919167"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 17:44:33.923747"], ["updated_at", "2014-09-22 17:44:33.923747"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.932657"], ["updated_at", "2014-09-22 17:44:33.932657"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.934477"], ["updated_at", "2014-09-22 17:44:33.934477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a9e89d27') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus voluptatibus corrupti quia nihil. Ut excepturi id consequatur enim. Laudantium non deleniti sequi vel hic cum animi. Qui sequi esse expedita dolores. Esse praesentium non impedit et voluptas odit dignissimos.\", \"Non quam voluptatum placeat facere beatae enim blanditiis. Eius natus autem numquam sed asperiores. Quia in facilis. Fuga maiores quia sed sequi architecto ratione. Et nam voluptatem dolorem dolorem nobis.\"]"], ["created_at", "2014-09-22 17:44:33.938325"], ["name", "contract_a9e89d27"], ["title", "Quo repellat corporis autem."], ["updated_at", "2014-09-22 17:44:33.938325"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a9e89d27"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_a9e89d27') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:44:33.941621"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.944155"], ["updated_at", "2014-09-22 17:44:33.944155"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 17:44:33.946593"], ["updated_at", "2014-09-22 17:44:33.946593"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.954486"], ["updated_at", "2014-09-22 17:44:33.954486"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.956072"], ["updated_at", "2014-09-22 17:44:33.956072"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d86def0b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut enim molestias ipsa dignissimos id atque. Corrupti voluptas odit nostrum. Ea molestias blanditiis suscipit quas consequatur numquam. Quis ea ducimus.\", \"Eos reprehenderit sit voluptatibus iure dolorem cum qui. Magnam ratione consequatur eveniet. Praesentium optio et omnis repellat.\"]"], ["created_at", "2014-09-22 17:44:33.959047"], ["name", "contract_d86def0b"], ["title", "Sint est eius quia eligendi."], ["updated_at", "2014-09-22 17:44:33.959047"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d86def0b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_d86def0b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:44:33.962163"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.964953"], ["updated_at", "2014-09-22 17:44:33.964953"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 17:44:33.967716"], ["updated_at", "2014-09-22 17:44:33.967716"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.970748"], ["updated_at", "2014-09-22 17:44:33.970748"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.972301"], ["updated_at", "2014-09-22 17:44:33.972301"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c4eae7ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut cum tempore. Omnis quibusdam quis aliquam odit labore beatae excepturi. Pariatur enim voluptatibus. Dolore optio suscipit autem veritatis totam et.\", \"Numquam eveniet incidunt necessitatibus dolores minima odit. Optio rerum ex. Quas eum sint minima exercitationem qui aliquid. Voluptatibus perspiciatis aut commodi optio hic.\"]"], ["created_at", "2014-09-22 17:44:33.975392"], ["name", "contract_c4eae7ab"], ["title", "Ipsum vero quis impedit dolorem."], ["updated_at", "2014-09-22 17:44:33.975392"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c4eae7ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_c4eae7ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:44:33.978511"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.980999"], ["updated_at", "2014-09-22 17:44:33.980999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 17:44:33.983177"], ["updated_at", "2014-09-22 17:44:33.983177"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 3ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.990106"], ["updated_at", "2014-09-22 17:44:33.990106"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:33.991627"], ["updated_at", "2014-09-22 17:44:33.991627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_881fabde') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit dolores omnis quo est inventore ea corrupti. Eos quos non. Sit laudantium consequatur est. Nostrum debitis vitae at quis ipsam voluptatum. Ut aut inventore amet est tenetur porro.\", \"Exercitationem rerum quis quia sunt. Et ut laudantium sunt doloribus doloremque. Quam occaecati omnis at quia doloremque dolores. Eos sit mollitia molestias.\"]"], ["created_at", "2014-09-22 17:44:33.994290"], ["name", "contract_881fabde"], ["title", "Quibusdam aspernatur minus nulla velit fugiat distinctio cum."], ["updated_at", "2014-09-22 17:44:33.994290"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 5 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:44:33.999113"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/5 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.005082"], ["updated_at", "2014-09-22 17:44:34.005082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.006803"], ["updated_at", "2014-09-22 17:44:34.006803"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2afcf158') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere odit quia placeat dolor officia harum nesciunt. Expedita dolores aut sed omnis. Sit rerum animi quo voluptas. Aspernatur dolore similique alias eligendi est laborum. Asperiores sint quia.\", \"Et quae adipisci et ut dolores dicta suscipit. Minus et et dolore doloribus. Tenetur nulla velit magni non velit.\"]"], ["created_at", "2014-09-22 17:44:34.010428"], ["name", "contract_2afcf158"], ["title", "Earum quia aut nam adipisci ratione qui."], ["updated_at", "2014-09-22 17:44:34.010428"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.014804"], ["updated_at", "2014-09-22 17:44:34.014804"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.016432"], ["updated_at", "2014-09-22 17:44:34.016432"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_340694db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur nisi sunt dolorem. Eum magni est voluptas fuga. Nobis velit ut sint provident occaecati assumenda quis. Facilis consectetur eum.\", \"Vel repellendus repellat aut animi deserunt molestiae sit. Aut saepe corporis. Qui quis rerum neque adipisci explicabo. Ullam vitae accusantium tempore maiores. Id magnam sunt totam nihil ut est.\"]"], ["created_at", "2014-09-22 17:44:34.019603"], ["name", "contract_340694db"], ["title", "Et a numquam ut ipsum voluptate enim tempore."], ["updated_at", "2014-09-22 17:44:34.019603"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 7]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 7]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 7 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.030068"], ["updated_at", "2014-09-22 17:44:34.030068"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.031720"], ["updated_at", "2014-09-22 17:44:34.031720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1ecd80aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui expedita nulla provident velit vero delectus. Corporis ipsa iure quam neque totam quas inventore. Qui voluptatem accusamus aut occaecati.\", \"Consectetur qui quia necessitatibus cupiditate velit officiis quod. Porro cupiditate voluptatem. Cupiditate quaerat voluptatem voluptatem enim et. Odit rem enim quibusdam. Aut rerum dolores laudantium.\"]"], ["created_at", "2014-09-22 17:44:34.034468"], ["name", "contract_1ecd80aa"], ["title", "Ducimus doloremque alias aperiam est non eius."], ["updated_at", "2014-09-22 17:44:34.034468"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.043657"], ["updated_at", "2014-09-22 17:44:34.043657"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.045380"], ["updated_at", "2014-09-22 17:44:34.045380"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_e16cb1b7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio ratione necessitatibus. Sunt doloribus repellat dolores et repellendus sed. Reiciendis aut eum magnam.\", \"Quisquam hic nihil aperiam sunt et beatae quia. Sit non illo aut. Assumenda voluptatem possimus sit voluptas et optio reprehenderit. Hic eos vel corrupti aut maiores.\"]"], ["created_at", "2014-09-22 17:44:34.048007"], ["name", "contract_e16cb1b7"], ["title", "Voluptatem qui consequuntur ipsum libero."], ["updated_at", "2014-09-22 17:44:34.048007"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.052569"], ["updated_at", "2014-09-22 17:44:34.052569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.054228"], ["updated_at", "2014-09-22 17:44:34.054228"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc5fd1c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam sint ipsam ut. Sapiente doloremque recusandae ut. Voluptatem tempore nostrum eveniet quo consequatur officia dolore. Quis facilis magnam molestiae magni aut id.\", \"Impedit labore similique. Molestiae dolore adipisci. Est maxime quae autem non amet tempore.\"]"], ["created_at", "2014-09-22 17:44:34.056826"], ["name", "contract_cc5fd1c4"], ["title", "Ducimus totam aspernatur dolorem pariatur."], ["updated_at", "2014-09-22 17:44:34.056826"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.061576"], ["updated_at", "2014-09-22 17:44:34.061576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.063030"], ["updated_at", "2014-09-22 17:44:34.063030"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_745b5de1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic consequatur quos est incidunt neque nihil cum. Ex voluptatem est ratione doloribus. Veritatis voluptatum similique assumenda nam sint. Ut dolor sed repudiandae cupiditate alias laudantium. Ad fugit quis.\", \"Esse amet nostrum est laudantium. Est nulla voluptatem cupiditate commodi vel. Non animi ut quia consectetur est iure tenetur.\"]"], ["created_at", "2014-09-22 17:44:34.065494"], ["name", "contract_745b5de1"], ["title", "Consequuntur sapiente sunt maiores voluptas recusandae."], ["updated_at", "2014-09-22 17:44:34.065494"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.070384"], ["updated_at", "2014-09-22 17:44:34.070384"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.071766"], ["updated_at", "2014-09-22 17:44:34.071766"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e1ca9adc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab nostrum consequatur. Quo doloremque et qui. Temporibus iusto ea. Hic distinctio aspernatur.\", \"Provident qui laboriosam voluptatem omnis harum voluptas. Aut ducimus rerum veniam. Vel pariatur dolorem aut sit. Numquam laborum voluptatibus dolore recusandae dignissimos.\"]"], ["created_at", "2014-09-22 17:44:34.074304"], ["name", "contract_e1ca9adc"], ["title", "Facilis maxime ut."], ["updated_at", "2014-09-22 17:44:34.074304"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.077879"], ["updated_at", "2014-09-22 17:44:34.077879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.079317"], ["updated_at", "2014-09-22 17:44:34.079317"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_7f3358a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente ut reiciendis aut. Sit tempore et quaerat ullam. Quo expedita reprehenderit possimus dolorem. Et eveniet nemo voluptatem adipisci non voluptas id. Asperiores odit esse autem.\", \"Nulla pariatur nam velit sit veritatis rerum. Sed est qui labore voluptatem. Aut officia error quis sed.\"]"], ["created_at", "2014-09-22 17:44:34.081811"], ["name", "contract_7f3358a6"], ["title", "Vero numquam deleniti."], ["updated_at", "2014-09-22 17:44:34.081811"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.085627"], ["updated_at", "2014-09-22 17:44:34.085627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.087073"], ["updated_at", "2014-09-22 17:44:34.087073"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_cc05e00d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti assumenda enim voluptatem numquam est ut sit. Fuga doloremque aut nisi. Sed aut aliquid voluptates occaecati quae architecto. Aperiam dolore dolorem sequi magnam.\", \"Ut quod omnis quam temporibus aliquam sit. Ab ullam est in iusto aut. Omnis sit dignissimos quasi corporis error id ab.\"]"], ["created_at", "2014-09-22 17:44:34.089746"], ["name", "contract_cc05e00d"], ["title", "Nam iste enim iure dolores qui expedita illum."], ["updated_at", "2014-09-22 17:44:34.089746"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.094667"], ["updated_at", "2014-09-22 17:44:34.094667"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.096129"], ["updated_at", "2014-09-22 17:44:34.096129"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a28f3b6a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa magnam voluptas voluptas. Sed distinctio libero mollitia quis eos sapiente. Odit aperiam aut enim porro dolor perferendis alias. Nostrum voluptas aut veniam quia. Dolor sint debitis id.\", \"Amet omnis cum ea magnam. Quia nihil fugiat nostrum dignissimos impedit. Quibusdam nemo error velit ut. Magni explicabo inventore libero est saepe earum. Et recusandae et autem labore nemo dolore.\"]"], ["created_at", "2014-09-22 17:44:34.098648"], ["name", "contract_a28f3b6a"], ["title", "Et harum sed aut aut earum."], ["updated_at", "2014-09-22 17:44:34.098648"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a28f3b6a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_a28f3b6a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:44:34.102328"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a28f3b6a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_a28f3b6a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:44:34.107944"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.112091"], ["updated_at", "2014-09-22 17:44:34.112091"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.113583"], ["updated_at", "2014-09-22 17:44:34.113583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fbff7401') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium illo atque. Aut quisquam quo et. Accusantium occaecati tempora.\", \"Aut similique est. Porro dolorum similique. Et voluptatem facere ea veniam.\"]"], ["created_at", "2014-09-22 17:44:34.116071"], ["name", "contract_fbff7401"], ["title", "Alias voluptate in consequatur mollitia quo molestias."], ["updated_at", "2014-09-22 17:44:34.116071"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fbff7401"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_fbff7401') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:44:34.118941"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.123866"], ["updated_at", "2014-09-22 17:44:34.123866"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.125345"], ["updated_at", "2014-09-22 17:44:34.125345"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aa2da388') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique quia ipsum ex nam et sapiente. Perferendis molestiae et molestias ut odit. Eligendi nemo architecto dignissimos sit quasi eos.\", \"Omnis aut fugit ex. Voluptate commodi omnis amet ab quo minima provident. Excepturi aliquid hic ipsam ut. Quas ipsa reprehenderit. Et rem error ipsum sit.\"]"], ["created_at", "2014-09-22 17:44:34.127821"], ["name", "contract_aa2da388"], ["title", "Esse et quos consectetur est et ipsam distinctio."], ["updated_at", "2014-09-22 17:44:34.127821"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa2da388"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_aa2da388') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 17:44:34.130970"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_aa2da388' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.138779"], ["updated_at", "2014-09-22 17:44:34.138779"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.140370"], ["updated_at", "2014-09-22 17:44:34.140370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_819dad99') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui eum voluptatibus est. Modi laborum quia consectetur. Et dolore sit error necessitatibus quia eum.\", \"Optio necessitatibus recusandae sunt. Dignissimos quis minima soluta. Delectus excepturi voluptatibus architecto.\"]"], ["created_at", "2014-09-22 17:44:34.142892"], ["name", "contract_819dad99"], ["title", "Consequatur praesentium impedit unde officia iure et."], ["updated_at", "2014-09-22 17:44:34.142892"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_819dad99"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_819dad99') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 17:44:34.147458"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.151478"], ["updated_at", "2014-09-22 17:44:34.151478"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.152969"], ["updated_at", "2014-09-22 17:44:34.152969"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e0c1f336') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt repellat sit. Repudiandae temporibus necessitatibus fugiat laborum rerum. Distinctio recusandae repudiandae porro. Est recusandae dolorum.\", \"Esse ut ipsam facilis provident aliquid. Amet blanditiis occaecati nobis nihil. Quo ad et quae. Molestiae in officiis voluptas id non quas. Est voluptas fugit.\"]"], ["created_at", "2014-09-22 17:44:34.155558"], ["name", "contract_e0c1f336"], ["title", "Dolores ut error nostrum sit."], ["updated_at", "2014-09-22 17:44:34.155558"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:44:34.158919"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:44:34.158919"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.161985"], ["updated_at", "2014-09-22 17:44:34.161985"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.163407"], ["updated_at", "2014-09-22 17:44:34.163407"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e9a5ce1d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates eos numquam. Sequi debitis consequatur. Consequatur in necessitatibus provident maiores animi.\", \"Nulla non consequatur in sint. Odio quod quos corrupti accusamus ipsum ullam sed. Corrupti ad repellat ut repudiandae dignissimos velit vero. Temporibus tempore sunt nemo numquam a enim.\"]"], ["created_at", "2014-09-22 17:44:34.165816"], ["name", "contract_e9a5ce1d"], ["title", "Eaque vitae totam rerum beatae quidem ex."], ["updated_at", "2014-09-22 17:44:34.165816"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e9a5ce1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_e9a5ce1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:44:34.168728"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.174472"], ["updated_at", "2014-09-22 17:44:34.174472"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.176007"], ["updated_at", "2014-09-22 17:44:34.176007"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_3f047a6f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint nulla vel a. Iusto et voluptatem. Voluptatem cumque praesentium provident dolorem veritatis. Repudiandae hic velit expedita.\", \"Iusto alias id perspiciatis ut voluptatem. Voluptatem laborum veniam sapiente. Veritatis asperiores consectetur quia quos iusto. Sunt sed rerum perspiciatis eveniet. Eum sequi excepturi ut.\"]"], ["created_at", "2014-09-22 17:44:34.178750"], ["name", "contract_3f047a6f"], ["title", "Delectus eveniet libero distinctio facere consequatur eos debitis."], ["updated_at", "2014-09-22 17:44:34.178750"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 1, 8, 6, 22, 11, 13, 18, 15, 2, 17, 4, 14, 10, 3, 19, 9, 12, 21, 16, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.189708"], ["updated_at", "2014-09-22 17:44:34.189708"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.191405"], ["updated_at", "2014-09-22 17:44:34.191405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1136f28a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis maxime ducimus et quia odio et aut. Libero vel rerum iusto. Debitis et autem nesciunt et. Sit dolores ipsa sequi dolor tempore et. Id est maxime laboriosam.\", \"Quo dolores consequatur voluptas vel non aliquam. Facilis eaque molestias et. Omnis ea alias.\"]"], ["created_at", "2014-09-22 17:44:34.194069"], ["name", "contract_1136f28a"], ["title", "Quia ut nihil qui."], ["updated_at", "2014-09-22 17:44:34.194069"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum architecto ab expedita officia consequuntur voluptatem corrupti. Ullam facere soluta. Dolore qui quidem doloribus non veritatis dolorem. Voluptates laboriosam distinctio autem non enim accusantium. Voluptas non temporibus est.\", \"Minus ratione velit quo. Magnam quo est ut quis voluptatem ipsa eum. Esse id nihil.\"]"], ["created_at", "2014-09-22 17:44:34.201126"], ["name", "alpha"], ["title", "Ea veniam laborum hic."], ["updated_at", "2014-09-22 17:44:34.201126"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:44:34.204157"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum temporibus laudantium dolor consequatur. Et non eos ut et sed consequuntur ad. Fugiat reiciendis blanditiis repellat.\", \"Ab sed itaque qui sit. Aspernatur aperiam qui quia inventore. Ut sint ea. Consequuntur quidem nihil.\"]"], ["created_at", "2014-09-22 17:44:34.207471"], ["name", "beta"], ["title", "Maxime beatae eaque tempore consequatur et velit sunt."], ["updated_at", "2014-09-22 17:44:34.207471"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:44:34.210603"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.212781"], ["updated_at", "2014-09-22 17:44:34.212781"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 17:44:34.215341"], ["updated_at", "2014-09-22 17:44:34.215341"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 17:44:34.218307"], ["updated_at", "2014-09-22 17:44:34.218307"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:44:34.220803"], ["name", "alpha"], ["title", "Ea veniam laborum hic."], ["updated_at", "2014-09-22 17:44:34.220803"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:44:34.223946"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut laborum aliquid molestiae voluptatum perferendis accusantium error. Nemo culpa consequatur eum. Laudantium sed officiis quibusdam omnis.\", \"Architecto expedita minima ut accusantium tempore et magnam. Et vitae distinctio officiis dolore maxime qui. Est ad et odit eum voluptate cum fugit. Magni voluptatem aspernatur aut a maxime.\"]"], ["created_at", "2014-09-22 17:44:34.230506"], ["name", "alpha"], ["title", "Nulla quo dolores aut assumenda delectus modi tenetur."], ["updated_at", "2014-09-22 17:44:34.230506"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:44:34.233462"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia natus id quia dolor. Quis consequuntur aut laudantium eos est numquam. Sit quibusdam corrupti dolores aut consequatur porro voluptate. Ad quidem voluptatem optio.\", \"Quas ipsa consequatur omnis aut quos error est. Necessitatibus quia et quos nesciunt id maiores. Iure dolorem praesentium qui in repellat voluptatem. Qui veritatis nesciunt temporibus iste omnis. Et maiores autem.\"]"], ["created_at", "2014-09-22 17:44:34.236990"], ["name", "beta"], ["title", "Sed hic officia eius est consequatur blanditiis."], ["updated_at", "2014-09-22 17:44:34.236990"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:44:34.239858"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.241972"], ["updated_at", "2014-09-22 17:44:34.241972"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:44:34.244497"], ["updated_at", "2014-09-22 17:44:34.244497"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 17:44:34.247052"], ["updated_at", "2014-09-22 17:44:34.247052"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:44:34.249250"], ["name", "alpha"], ["title", "Nulla quo dolores aut assumenda delectus modi tenetur."], ["updated_at", "2014-09-22 17:44:34.249250"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:44:34.252306"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nobis architecto. Modi mollitia illo. Sit asperiores ipsa consequatur sed est a. Maiores exercitationem et. Quod esse laboriosam id expedita dolore sint ut.\", \"Consequatur vitae deserunt modi aliquam molestiae. Qui eos qui praesentium laudantium dolore dignissimos. Odio quasi libero aut. Qui omnis magni eveniet nam tempora culpa. Praesentium voluptas blanditiis nulla.\"]"], ["created_at", "2014-09-22 17:44:34.259016"], ["name", "alpha"], ["title", "Dolor omnis et quia veniam qui quam."], ["updated_at", "2014-09-22 17:44:34.259016"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:44:34.262061"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur sequi quo dolorum nemo quam qui mollitia. Magni doloribus exercitationem iste et quia quo consequatur. Veritatis reprehenderit corrupti labore natus. Omnis ratione odio voluptatem necessitatibus architecto natus.\", \"Fugit est non magni. Dolor et deleniti qui quisquam sapiente qui voluptate. Excepturi doloribus saepe doloremque laboriosam autem. In omnis provident distinctio. Asperiores et a consequatur.\"]"], ["created_at", "2014-09-22 17:44:34.265611"], ["name", "beta"], ["title", "Perspiciatis et perferendis non velit facilis."], ["updated_at", "2014-09-22 17:44:34.265611"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:44:34.269422"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.271909"], ["updated_at", "2014-09-22 17:44:34.271909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:44:34.274520"], ["updated_at", "2014-09-22 17:44:34.274520"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 17:44:34.276978"], ["updated_at", "2014-09-22 17:44:34.276978"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:44:34.279254"], ["name", "alpha"], ["title", "Dolor omnis et quia veniam qui quam."], ["updated_at", "2014-09-22 17:44:34.279254"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:44:34.282326"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id in et vel et dolorum sunt. Nihil laborum aut sequi fugit iusto omnis libero. Sequi explicabo cupiditate vero et eveniet. Consequatur amet dolores maiores mollitia nihil id et. Qui ut assumenda aliquam ea.\", \"Neque sequi similique sit et quidem quasi. Qui quod vitae earum. Voluptas ut quibusdam minus laborum sunt. Nihil officia rem nemo alias.\"]"], ["created_at", "2014-09-22 17:44:34.287685"], ["name", "alpha"], ["title", "Nihil ipsam nostrum magni fuga et laboriosam."], ["updated_at", "2014-09-22 17:44:34.287685"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:44:34.290649"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto et et alias et autem. Quis magnam sunt rerum modi iusto. Ullam sed et. Voluptas reiciendis nihil sunt illo sed placeat.\", \"Modi ut est quo maxime. Accusantium sint deserunt quasi. Quibusdam ex aperiam nisi quia fugiat.\"]"], ["created_at", "2014-09-22 17:44:34.293926"], ["name", "beta"], ["title", "Rerum saepe et cumque delectus doloribus."], ["updated_at", "2014-09-22 17:44:34.293926"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:44:34.296852"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.299089"], ["updated_at", "2014-09-22 17:44:34.299089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 17:44:34.301568"], ["updated_at", "2014-09-22 17:44:34.301568"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 17:44:34.303995"], ["updated_at", "2014-09-22 17:44:34.303995"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:44:34.306221"], ["name", "alpha"], ["title", "Nihil ipsam nostrum magni fuga et laboriosam."], ["updated_at", "2014-09-22 17:44:34.306221"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:44:34.309193"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30, 29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30, 29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 31, 28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:44:34.324254"], ["updated_at", "2014-09-22 17:44:34.324254"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30, 29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30, 29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 31, 28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction 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_92ddb324') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum et beatae iste. Corporis assumenda dolore quod nam soluta et aut. Fuga ea adipisci corporis.\", \"Cumque eaque veniam. Error qui et. Iste et perspiciatis fugit. Voluptatem quia cupiditate unde asperiores repellat mollitia.\"]"], ["created_at", "2014-09-22 17:44:34.338384"], ["name", "contract_92ddb324"], ["title", "Quod harum sed explicabo accusamus reiciendis autem."], ["updated_at", "2014-09-22 17:44:34.338384"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_515fcda2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam amet aut cum reprehenderit. Eum enim possimus. Qui ex et. Asperiores aspernatur provident quae. Id beatae dignissimos qui ullam omnis.\", \"Rem aut aut ea eos doloribus voluptatibus. Iure aliquid consequuntur qui et natus velit et. Ea dicta aut qui. Harum consequuntur enim vero repellendus veniam magni molestiae. Fuga dolor quis quia voluptate architecto corporis.\"]"], ["created_at", "2014-09-22 17:44:34.342591"], ["name", "contract_515fcda2"], ["title", "Quo consequatur quam sit dicta."], ["updated_at", "2014-09-22 17:44:34.342591"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_515fcda2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_515fcda2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:44:34.345619"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.348001"], ["updated_at", "2014-09-22 17:44:34.348001"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.355041"], ["updated_at", "2014-09-22 17:44:34.355041"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.357103"], ["updated_at", "2014-09-22 17:44:34.357103"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.362613"], ["updated_at", "2014-09-22 17:44:34.362613"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.364136"], ["updated_at", "2014-09-22 17:44:34.364136"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_678c2a83') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam dolore velit ea animi in officiis mollitia. Sint sit est. Ipsum ut repudiandae et corporis animi. Aut quia exercitationem est qui explicabo hic.\", \"Qui architecto eum numquam dolorem fugiat commodi. Perferendis ipsum quia eius. Occaecati quam suscipit provident odit velit. Deserunt iste placeat ut reprehenderit vitae. Fuga nihil qui quas vel provident.\"]"], ["created_at", "2014-09-22 17:44:34.368389"], ["name", "contract_678c2a83"], ["title", "Accusantium sequi autem."], ["updated_at", "2014-09-22 17:44:34.368389"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_678c2a83"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_678c2a83') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:44:34.372966"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_678c2a83"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_678c2a83"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_678c2a83') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:44:34.377957"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ab609662') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae a repellendus expedita et consequuntur enim ipsam. A id similique quia molestiae et ut autem. Enim similique amet.\", \"Aperiam autem repudiandae excepturi placeat laudantium et. Molestiae saepe nobis molestias. Hic atque voluptas blanditiis exercitationem ut. Repudiandae culpa ut. Fuga et reiciendis ducimus.\"]"], ["created_at", "2014-09-22 17:44:34.381564"], ["name", "contract_ab609662"], ["title", "Vero tenetur eligendi quasi alias minus voluptatibus."], ["updated_at", "2014-09-22 17:44:34.381564"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ab609662"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_ab609662') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:44:34.384704"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ab609662' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_ab609662') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae a repellendus expedita et consequuntur enim ipsam. A id similique quia molestiae et ut autem. Enim similique amet.\", \"Aperiam autem repudiandae excepturi placeat laudantium et. Molestiae saepe nobis molestias. Hic atque voluptas blanditiis exercitationem ut. Repudiandae culpa ut. Fuga et reiciendis ducimus.\"]"], ["created_at", "2014-09-22 17:44:34.389825"], ["name", "contract_ab609662"], ["title", "Vero tenetur eligendi quasi alias minus voluptatibus."], ["updated_at", "2014-09-22 17:44:34.389825"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ab609662"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_ab609662') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:44:34.393158"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ffa0113c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum tempora ullam sed voluptas ad similique. Magni voluptatibus deleniti soluta rerum nihil non iusto. Debitis eius reprehenderit beatae enim porro.\", \"Itaque dolor enim. Aperiam quae iure et occaecati voluptatem aut. Sunt dolores consequuntur quia illum aut incidunt autem. Iure maiores explicabo et odit ipsam quidem. Dicta eius repellendus nobis illum.\"]"], ["created_at", "2014-09-22 17:44:34.396970"], ["name", "contract_ffa0113c"], ["title", "Vel tempora similique dolorum odio minus omnis blanditiis."], ["updated_at", "2014-09-22 17:44:34.396970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ffa0113c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_ffa0113c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:44:34.399960"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:44:34.403482"], ["updated_at", "2014-09-22 17:44:34.403482"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:44:34.405620"], ["updated_at", "2014-09-22 17:44:34.405620"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_ffa0113c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ffa0113c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_ffa0113c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]]  (0.0ms) begin transaction 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_5d5ee2d2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto rerum et sint adipisci eaque. Nam quam magnam et repellat consequuntur laboriosam. Ad at mollitia aut ea nihil omnis. Quas ullam ipsum itaque ex vel soluta. Cum repellendus harum enim quisquam deleniti rerum rerum.\", \"Molestiae odit natus reprehenderit. Vel quia ipsam velit sed. Illo quam eveniet aliquid ut.\"]"], ["created_at", "2014-09-22 17:44:34.414584"], ["name", "contract_5d5ee2d2"], ["title", "Illum sint velit ea dolorem."], ["updated_at", "2014-09-22 17:44:34.414584"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5d5ee2d2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_5d5ee2d2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 17:44:34.418543"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5d5ee2d2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto rerum et sint adipisci eaque. Nam quam magnam et repellat consequuntur laboriosam. Ad at mollitia aut ea nihil omnis. Quas ullam ipsum itaque ex vel soluta. Cum repellendus harum enim quisquam deleniti rerum rerum.\", \"Molestiae odit natus reprehenderit. Vel quia ipsam velit sed. Illo quam eveniet aliquid ut.\"]"], ["created_at", "2014-09-22 17:44:34.428961"], ["name", "joe"], ["title", "Illum sint velit ea dolorem."], ["updated_at", "2014-09-22 17:44:34.428961"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:44:34.432245"], ["version", 1]]  (0.5ms) commit transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:27.884535"], ["updated_at", "2014-09-22 17:46:27.884535"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:27.891868"], ["updated_at", "2014-09-22 17:46:27.891868"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:27.900633"], ["updated_at", "2014-09-22 17:46:27.900633"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:27.910075"], ["updated_at", "2014-09-22 17:46:27.910075"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_71fa2b76') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt delectus voluptatem omnis amet. Id corrupti voluptatem voluptas impedit. Aliquid eius voluptatem explicabo blanditiis officia quia. Omnis numquam dolorum eligendi dicta unde. Quo deserunt officia ratione dicta.\", \"Ea aut architecto. Optio itaque et commodi aut ducimus. Saepe laborum nisi minima unde. Repudiandae in dignissimos ex possimus.\"]"], ["created_at", "2014-09-22 17:46:28.159795"], ["name", "contract_71fa2b76"], ["title", "Officiis porro eaque et fugit sint."], ["updated_at", "2014-09-22 17:46:28.159795"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_4beb3cf2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni alias est. Qui quo saepe qui asperiores et. Eligendi ut quisquam sit et nostrum aut occaecati. Magni eos eveniet aut. Quisquam quos sint.\", \"Tempora eaque et molestias alias id consectetur officiis. Animi qui unde quaerat ipsum dolorem. Ipsa ut rerum earum aut eligendi aut. Nihil rerum amet eligendi non.\"]"], ["created_at", "2014-09-22 17:46:28.176267"], ["name", "contract_4beb3cf2"], ["title", "Debitis aut non explicabo fuga id."], ["updated_at", "2014-09-22 17:46:28.176267"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4beb3cf2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_4beb3cf2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:46:28.181099"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.186426"], ["updated_at", "2014-09-22 17:46:28.186426"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.193285"], ["updated_at", "2014-09-22 17:46:28.193285"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.195125"], ["updated_at", "2014-09-22 17:46:28.195125"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_16e8cd70') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores libero aliquid voluptatum assumenda. Qui modi ea. Dolores illo molestiae sit fuga harum voluptatem quod. Sint maxime qui.\", \"Impedit minus voluptas alias perspiciatis odit est. Soluta totam dolorem aut delectus exercitationem maiores et. Eaque aut sed.\"]"], ["created_at", "2014-09-22 17:46:28.198151"], ["name", "contract_16e8cd70"], ["title", "Soluta consequatur recusandae."], ["updated_at", "2014-09-22 17:46:28.198151"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.205930"], ["updated_at", "2014-09-22 17:46:28.205930"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.207575"], ["updated_at", "2014-09-22 17:46:28.207575"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_03d8d3a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At omnis corporis vitae. Veniam accusantium quibusdam et voluptas. Sed a nesciunt voluptatem. Voluptas et commodi quis voluptas voluptatum. Quos enim est a illo autem.\", \"Maiores voluptatibus illum sed. Cupiditate reiciendis accusantium ex. Est ipsam sed recusandae. Ullam rerum odit numquam architecto.\"]"], ["created_at", "2014-09-22 17:46:28.211212"], ["name", "contract_03d8d3a6"], ["title", "Sapiente et eius."], ["updated_at", "2014-09-22 17:46:28.211212"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_03d8d3a6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_03d8d3a6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:46:28.214984"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.220684"], ["updated_at", "2014-09-22 17:46:28.220684"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.222377"], ["updated_at", "2014-09-22 17:46:28.222377"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e14cb74e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis nulla possimus officia est repudiandae. Voluptatem consequatur laborum omnis iusto perferendis nostrum. Libero qui id enim qui eos dolores sint. In enim voluptatem assumenda. Minima consequatur accusantium.\", \"Qui et deleniti consequatur repellat recusandae placeat. Velit neque nemo dicta praesentium. Totam incidunt corporis.\"]"], ["created_at", "2014-09-22 17:46:28.225327"], ["name", "contract_e14cb74e"], ["title", "Corrupti iure voluptatibus consequatur quasi quam voluptas."], ["updated_at", "2014-09-22 17:46:28.225327"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e14cb74e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_e14cb74e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:46:28.228881"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.236881"], ["updated_at", "2014-09-22 17:46:28.236881"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.238653"], ["updated_at", "2014-09-22 17:46:28.238653"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_945d70c3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui inventore odio nobis. Ratione sed consequuntur. Officia tempora sunt tenetur blanditiis voluptates mollitia. Iste aut alias doloribus.\", \"Inventore et aut eaque delectus debitis et. Et voluptatem iure est beatae aut. Eum sunt ut delectus quia voluptatem iste.\"]"], ["created_at", "2014-09-22 17:46:28.241944"], ["name", "contract_945d70c3"], ["title", "Blanditiis laboriosam error odit voluptatem."], ["updated_at", "2014-09-22 17:46:28.241944"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:46:28.246210"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:46:28.246210"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.250132"], ["updated_at", "2014-09-22 17:46:28.250132"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.251697"], ["updated_at", "2014-09-22 17:46:28.251697"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_3c675081') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium sequi sint nihil cum labore distinctio. Totam sequi autem corrupti in consequuntur voluptatem est. Quisquam sunt quis. Totam eveniet quisquam aut omnis est. Soluta eum quo voluptas sapiente minima.\", \"Quae pariatur dolorem omnis quia ducimus voluptatem. Rerum aperiam molestiae. Earum ullam maiores labore fugit animi. Quod est reprehenderit sit amet numquam.\"]"], ["created_at", "2014-09-22 17:46:28.254456"], ["name", "contract_3c675081"], ["title", "Ut sint maxime mollitia vel error ea."], ["updated_at", "2014-09-22 17:46:28.254456"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.258464"], ["updated_at", "2014-09-22 17:46:28.258464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.260392"], ["updated_at", "2014-09-22 17:46:28.260392"]]  (3.8ms) commit transaction  (0.0ms) begin transaction 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_9b367005') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam id repellat esse illo ipsam sequi libero. Voluptatum occaecati consequatur adipisci ut autem quo. Nobis est voluptatem est voluptatem quis blanditiis quo.\", \"Odio sunt et et et sit. Aliquam dolores ratione id. Et iure ea illum aut nihil ducimus.\"]"], ["created_at", "2014-09-22 17:46:28.266577"], ["name", "contract_9b367005"], ["title", "Quod optio veniam magni dolor."], ["updated_at", "2014-09-22 17:46:28.266577"]]  (1.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.273302"], ["updated_at", "2014-09-22 17:46:28.273302"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.275150"], ["updated_at", "2014-09-22 17:46:28.275150"]]  (0.3ms) commit transaction  (0.1ms) begin transaction 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_1f318fb6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab eos libero voluptatem earum odio sequi aut. Nihil doloribus iusto ex quisquam omnis. Commodi sed error nesciunt magni ipsum. Voluptatem voluptatem blanditiis sit repellat pariatur unde. Nobis laudantium perferendis aperiam.\", \"Impedit nemo ipsa debitis ea possimus illum expedita. Possimus nobis amet fuga magni. Nihil explicabo rem cupiditate temporibus quibusdam. Sequi dolor suscipit voluptates.\"]"], ["created_at", "2014-09-22 17:46:28.279430"], ["name", "contract_1f318fb6"], ["title", "Itaque labore quisquam enim nemo quae aut fugiat."], ["updated_at", "2014-09-22 17:46:28.279430"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 10 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:46:28.284453"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/10 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.289668"], ["updated_at", "2014-09-22 17:46:28.289668"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.291221"], ["updated_at", "2014-09-22 17:46:28.291221"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2ad08f36') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet eligendi in rerum ad et quod. Qui praesentium quia occaecati harum rem vitae. Ad eos sit dolorem quos. Quo nesciunt et.\", \"Facere fugit sit id. Quibusdam qui quo perferendis reprehenderit. Natus quidem at facilis et. Doloremque alias rerum maxime rerum et. Tenetur est facere veniam nihil aspernatur.\"]"], ["created_at", "2014-09-22 17:46:28.294019"], ["name", "contract_2ad08f36"], ["title", "Nisi et odit ea."], ["updated_at", "2014-09-22 17:46:28.294019"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ad08f36"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_2ad08f36') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:46:28.297688"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2ad08f36' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.313090"], ["updated_at", "2014-09-22 17:46:28.313090"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.315136"], ["updated_at", "2014-09-22 17:46:28.315136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d51960d5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam esse animi perspiciatis eos veniam et. Earum nihil aliquid voluptatibus perspiciatis. Excepturi omnis perferendis voluptates error atque. Officia aut occaecati quia aut architecto. Eveniet et qui et rerum et sit.\", \"Sed sit ipsum blanditiis enim nostrum placeat. Exercitationem autem libero ut enim impedit nam. Quisquam velit adipisci esse.\"]"], ["created_at", "2014-09-22 17:46:28.318305"], ["name", "contract_d51960d5"], ["title", "Accusamus ipsam qui eveniet totam incidunt laboriosam rem."], ["updated_at", "2014-09-22 17:46:28.318305"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (10, 4, 3, 11, 8, 2, 1, 6, 9, 12, 5, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.328912"], ["updated_at", "2014-09-22 17:46:28.328912"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.330589"], ["updated_at", "2014-09-22 17:46:28.330589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_14f9dead') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident magni maxime quis quia praesentium. Amet dolorem quo ut voluptatem magnam qui. Nulla et repudiandae dicta odio et eaque. Ipsum rerum repellat ducimus voluptas.\", \"Error fugiat dolor mollitia. Odio asperiores ratione accusamus facere nihil quia. Inventore voluptatem nostrum.\"]"], ["created_at", "2014-09-22 17:46:28.333394"], ["name", "contract_14f9dead"], ["title", "Ut vero saepe earum sit facilis in."], ["updated_at", "2014-09-22 17:46:28.333394"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_14f9dead"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_14f9dead') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 17:46:28.338459"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.343078"], ["updated_at", "2014-09-22 17:46:28.343078"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.344731"], ["updated_at", "2014-09-22 17:46:28.344731"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_db09b0a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque similique ea perferendis aut quis quia. Nulla dolores dolorem aliquam soluta adipisci omnis ex. Veniam dolor sed est provident. Cum consequuntur sapiente enim quae aut.\", \"Repellendus voluptatibus id unde. Repellat necessitatibus enim nobis sit velit impedit. Pariatur sint et illo voluptatibus fugit officia quae. Deleniti molestias et autem. Deleniti nostrum dolor quasi.\"]"], ["created_at", "2014-09-22 17:46:28.347915"], ["name", "contract_db09b0a9"], ["title", "Magnam et perferendis doloribus quis et molestias incidunt."], ["updated_at", "2014-09-22 17:46:28.347915"]]  (1.4ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.357569"], ["updated_at", "2014-09-22 17:46:28.357569"]]  (5.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.364025"], ["updated_at", "2014-09-22 17:46:28.364025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9dfda9df') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo modi sint perferendis qui. Omnis voluptatum et. Nisi ut rerum consequatur hic perspiciatis rem ullam. Quibusdam harum perspiciatis sint dolorum tempore consequuntur. Nam odit earum vitae velit quia.\", \"Eius ipsam illo eos alias qui assumenda. Pariatur facere sunt architecto doloremque quia. Fugiat et occaecati modi nulla sit quasi delectus.\"]"], ["created_at", "2014-09-22 17:46:28.366926"], ["name", "contract_9dfda9df"], ["title", "Soluta cum ipsam consequatur aut."], ["updated_at", "2014-09-22 17:46:28.366926"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.372617"], ["updated_at", "2014-09-22 17:46:28.372617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.374138"], ["updated_at", "2014-09-22 17:46:28.374138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_261d7778') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia laborum voluptatibus dolorem voluptatem hic deleniti deserunt. Sit nesciunt aut voluptatibus dolor. Adipisci quis veniam commodi asperiores. Cupiditate nobis nam enim ut. Totam vitae ipsum alias eos dignissimos debitis.\", \"Doloribus cum natus placeat corporis. Quibusdam delectus omnis ipsum possimus. Molestiae provident commodi optio qui ab doloremque. Quia et provident minus a.\"]"], ["created_at", "2014-09-22 17:46:28.376855"], ["name", "contract_261d7778"], ["title", "Repudiandae neque eum atque dolore rerum temporibus."], ["updated_at", "2014-09-22 17:46:28.376855"]]  (2.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.385248"], ["updated_at", "2014-09-22 17:46:28.385248"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.386664"], ["updated_at", "2014-09-22 17:46:28.386664"]]  (7.3ms) commit transaction  (0.1ms) begin transaction 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_d5798937') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus quasi est sit repudiandae consectetur assumenda. Maiores omnis accusamus sunt. Rerum rerum odio eaque voluptas dolore. Est tempore et unde.\", \"Aut ipsa quia ipsam. Et et necessitatibus saepe illo. Minima occaecati sed ipsum et dolores qui autem. Vitae at nobis deserunt sint qui ut. Non autem in explicabo ullam.\"]"], ["created_at", "2014-09-22 17:46:28.396700"], ["name", "contract_d5798937"], ["title", "Consequatur pariatur odio voluptas sit tempora quam maiores."], ["updated_at", "2014-09-22 17:46:28.396700"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.401407"], ["updated_at", "2014-09-22 17:46:28.401407"]]  (5.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.407948"], ["updated_at", "2014-09-22 17:46:28.407948"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_4a282e8a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus praesentium autem fugit porro deleniti. Impedit et explicabo. Velit molestiae minus.\", \"Quidem eos saepe nulla omnis perferendis. Quis architecto temporibus et quibusdam. Autem pariatur aliquam voluptatem repudiandae non. Laboriosam explicabo consequuntur laborum dolores cupiditate. Nihil non doloribus ut nulla maxime.\"]"], ["created_at", "2014-09-22 17:46:28.410784"], ["name", "contract_4a282e8a"], ["title", "Laborum nihil deleniti sequi ut."], ["updated_at", "2014-09-22 17:46:28.410784"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.415080"], ["updated_at", "2014-09-22 17:46:28.415080"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.421729"], ["updated_at", "2014-09-22 17:46:28.421729"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_3f40a5a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea nulla adipisci eveniet consequuntur rerum omnis minima. Expedita perspiciatis beatae eaque voluptas quo. Excepturi porro optio sapiente nisi cupiditate consequatur dolores. Ab harum sint similique nemo accusantium. Quas doloribus aut.\", \"At libero sit est praesentium officia quod voluptatem. Et dolor ipsam iure a ut. Nesciunt voluptas quis deleniti natus iusto voluptas. Ducimus neque asperiores tempore magnam. Beatae ipsam quos.\"]"], ["created_at", "2014-09-22 17:46:28.424802"], ["name", "contract_3f40a5a9"], ["title", "Iusto exercitationem suscipit voluptatem corrupti consequatur ratione assumenda."], ["updated_at", "2014-09-22 17:46:28.424802"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.432543"], ["updated_at", "2014-09-22 17:46:28.432543"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.439442"], ["updated_at", "2014-09-22 17:46:28.439442"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_744b703a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati earum possimus soluta. Officia dolorem iusto alias minima vel. Odio nihil non possimus laborum recusandae voluptatibus. Autem consequuntur molestiae qui omnis soluta voluptas enim.\", \"Sapiente consequuntur odio quo dolorum alias rerum saepe. Non ad sunt quia a doloremque. Nesciunt a aut praesentium recusandae in est. Delectus blanditiis illum consequatur. Quia expedita ea sed quidem ut dolor.\"]"], ["created_at", "2014-09-22 17:46:28.442270"], ["name", "contract_744b703a"], ["title", "Amet cum perspiciatis adipisci eaque repudiandae ut et."], ["updated_at", "2014-09-22 17:46:28.442270"]]  (27.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_744b703a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_744b703a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:46:28.472821"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_744b703a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_744b703a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:46:28.479082"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.484640"], ["updated_at", "2014-09-22 17:46:28.484640"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.486883"], ["updated_at", "2014-09-22 17:46:28.486883"]]  (7.9ms) commit transaction  (0.0ms) begin transaction 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_e07694a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi id fuga ut. Quis debitis rerum. Blanditiis et eligendi alias quo. Quaerat est quidem delectus.\", \"Eos libero aliquid qui qui voluptatem et. Dolore accusamus quasi. Consequatur autem cumque. Sit et et. Eaque ab excepturi voluptatem blanditiis.\"]"], ["created_at", "2014-09-22 17:46:28.497281"], ["name", "contract_e07694a7"], ["title", "Sequi aliquam velit tempore quia quos placeat delectus."], ["updated_at", "2014-09-22 17:46:28.497281"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus odit explicabo eligendi sit voluptas. Vel corrupti aspernatur dolores maiores. Iusto est ipsam laudantium sed.\", \"Explicabo omnis sit laudantium. Repudiandae id reprehenderit itaque. Quos quae iusto nostrum aut explicabo.\"]"], ["created_at", "2014-09-22 17:46:28.503032"], ["name", "alpha"], ["title", "Voluptatem iusto consequatur suscipit."], ["updated_at", "2014-09-22 17:46:28.503032"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:46:28.506152"], ["version", 1]]  (1.9ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit culpa nobis impedit repellendus exercitationem sit. Facere aut ea. A quidem ad perspiciatis numquam accusamus esse labore. Aliquid aut placeat quia a in excepturi non.\", \"Minima consequatur ipsa quia quas amet et. Quis eos sequi aperiam voluptatem illum. Sunt reiciendis nam possimus amet rerum vel ipsum. Placeat unde quis tenetur et.\"]"], ["created_at", "2014-09-22 17:46:28.511133"], ["name", "beta"], ["title", "Quae laborum beatae consequatur ut est."], ["updated_at", "2014-09-22 17:46:28.511133"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:46:28.514326"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.516641"], ["updated_at", "2014-09-22 17:46:28.516641"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 17:46:28.519529"], ["updated_at", "2014-09-22 17:46:28.519529"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 17:46:28.525431"], ["updated_at", "2014-09-22 17:46:28.525431"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:46:28.528849"], ["name", "alpha"], ["title", "Voluptatem iusto consequatur suscipit."], ["updated_at", "2014-09-22 17:46:28.528849"]]  (2.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:46:28.533973"], ["version", 2]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque natus et. Animi non corrupti quaerat quis a provident reiciendis. Soluta vel illum sed. Iure sed dolores expedita quia eos eveniet ipsam. Ab ut perspiciatis accusantium non odio id.\", \"Recusandae deserunt ipsum dolores. Officiis nihil facilis reprehenderit fugiat dicta corrupti aut. Dignissimos nesciunt ex unde fugiat.\"]"], ["created_at", "2014-09-22 17:46:28.541826"], ["name", "alpha"], ["title", "Quia voluptatem eos aperiam labore voluptatibus."], ["updated_at", "2014-09-22 17:46:28.541826"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:46:28.545137"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur sed quae et quidem tempore reiciendis optio. Et alias eos atque dicta. Exercitationem quia et at corporis non delectus cumque. Ex omnis totam.\", \"Et similique dolores itaque voluptate quibusdam natus. Quae illo consequatur vel molestiae qui ratione. Voluptatem reiciendis ratione quia laboriosam natus eaque. Et et est quod vel at aut. Fuga in vitae.\"]"], ["created_at", "2014-09-22 17:46:28.548680"], ["name", "beta"], ["title", "Impedit suscipit modi ipsum ut et."], ["updated_at", "2014-09-22 17:46:28.548680"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:46:28.551816"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.554102"], ["updated_at", "2014-09-22 17:46:28.554102"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 17:46:28.556752"], ["updated_at", "2014-09-22 17:46:28.556752"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 17:46:28.559256"], ["updated_at", "2014-09-22 17:46:28.559256"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:46:28.561642"], ["name", "alpha"], ["title", "Quia voluptatem eos aperiam labore voluptatibus."], ["updated_at", "2014-09-22 17:46:28.561642"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:46:28.565054"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:46:28.581288"], ["updated_at", "2014-09-22 17:46:28.581288"], ["user_id", 43], ["user_type", "DummyUser"]]  (1.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto molestiae sunt rerum. Et autem officia eaque omnis eum. Dolor suscipit neque. Quibusdam non aut fugiat commodi eligendi unde veniam.\", \"Aliquid vel quia distinctio. Eaque et voluptatem voluptatem et nulla rerum quia. Sed delectus animi mollitia nihil assumenda ducimus consequuntur. Et tenetur soluta omnis. Autem possimus illum odit veritatis quae mollitia.\"]"], ["created_at", "2014-09-22 17:46:28.596203"], ["name", "alpha"], ["title", "Aut nesciunt natus excepturi sit ut placeat officia."], ["updated_at", "2014-09-22 17:46:28.596203"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:46:28.599602"], ["version", 5]]  (1.9ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident possimus omnis distinctio atque aut. Accusamus eos error et commodi iusto unde. Sit saepe ut enim a. Sit accusantium qui totam eos ex. Dolorum sint commodi.\", \"Eaque voluptatem illum aut delectus molestiae. Et necessitatibus similique molestias. Asperiores molestiae dignissimos magni neque sint et beatae.\"]"], ["created_at", "2014-09-22 17:46:28.604412"], ["name", "beta"], ["title", "Dolor quasi labore ipsa quod."], ["updated_at", "2014-09-22 17:46:28.604412"]]  (5.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:46:28.612759"], ["version", 3]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.616379"], ["updated_at", "2014-09-22 17:46:28.616379"]]  (6.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 17:46:28.624768"], ["updated_at", "2014-09-22 17:46:28.624768"], ["user_id", 44], ["user_type", "DummyUser"]]  (1.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:46:28.628410"], ["updated_at", "2014-09-22 17:46:28.628410"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:46:28.630875"], ["name", "alpha"], ["title", "Aut nesciunt natus excepturi sit ut placeat officia."], ["updated_at", "2014-09-22 17:46:28.630875"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:46:28.634144"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium eaque ea accusantium dicta exercitationem. Officiis consequatur quis aut voluptas voluptate dicta consectetur. Nulla rem minima et eos asperiores. Aliquid quia aut vero exercitationem qui eligendi.\", \"Quidem dolorum est sit iste officiis dolorem. Delectus rerum quia vel animi alias deleniti sed. Molestiae velit hic. Ab quia est quas consequatur. Ullam consequatur velit qui cum aut quae.\"]"], ["created_at", "2014-09-22 17:46:28.643081"], ["name", "alpha"], ["title", "Possimus distinctio rerum in dolores."], ["updated_at", "2014-09-22 17:46:28.643081"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:46:28.646550"], ["version", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed ducimus est sunt. Qui et cum nihil velit consequuntur. Tenetur et impedit asperiores voluptatibus enim adipisci. Omnis ut repudiandae dolorem aliquid assumenda voluptatem possimus. Vel eaque eos laborum incidunt dicta.\", \"Quo ut quidem. Debitis iusto ut temporibus earum. Odio ipsam qui. Suscipit accusamus impedit voluptatem eos quia.\"]"], ["created_at", "2014-09-22 17:46:28.650474"], ["name", "beta"], ["title", "Quis ducimus voluptate magni."], ["updated_at", "2014-09-22 17:46:28.650474"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:46:28.653619"], ["version", 4]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.656319"], ["updated_at", "2014-09-22 17:46:28.656319"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 17:46:28.659547"], ["updated_at", "2014-09-22 17:46:28.659547"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 17:46:28.662459"], ["updated_at", "2014-09-22 17:46:28.662459"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:46:28.664756"], ["name", "alpha"], ["title", "Possimus distinctio rerum in dolores."], ["updated_at", "2014-09-22 17:46:28.664756"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:46:28.668097"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.677866"], ["updated_at", "2014-09-22 17:46:28.677866"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.680020"], ["updated_at", "2014-09-22 17:46:28.680020"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_40f6dcdf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos voluptatum debitis. Ut dolorem est neque asperiores. Iusto velit ea deleniti aliquid minus occaecati totam. Magnam quis laboriosam saepe velit tempore. Ut neque deserunt odit laboriosam exercitationem voluptatem.\", \"Repellat aperiam labore vel aut sunt. Qui excepturi odit necessitatibus id. Itaque voluptatem molestiae. Mollitia in eaque sed.\"]"], ["created_at", "2014-09-22 17:46:28.684391"], ["name", "contract_40f6dcdf"], ["title", "Cupiditate recusandae sunt soluta dolorum quidem omnis."], ["updated_at", "2014-09-22 17:46:28.684391"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40f6dcdf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_40f6dcdf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:46:28.688208"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.691256"], ["updated_at", "2014-09-22 17:46:28.691256"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 17:46:28.694161"], ["updated_at", "2014-09-22 17:46:28.694161"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.697921"], ["updated_at", "2014-09-22 17:46:28.697921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.699529"], ["updated_at", "2014-09-22 17:46:28.699529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b236aa83') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut aut voluptate. Consequatur consectetur velit doloribus debitis consequatur. Quia architecto explicabo sed perspiciatis sed inventore. Sunt maxime fuga laborum officiis natus est.\", \"Magni aut possimus et. Enim nemo aut voluptatem iure ducimus. Ipsam neque at eius ut. Et veritatis qui dicta ad fugiat recusandae id. Non velit voluptatum mollitia.\"]"], ["created_at", "2014-09-22 17:46:28.702640"], ["name", "contract_b236aa83"], ["title", "Nulla illum laboriosam quis ut cumque."], ["updated_at", "2014-09-22 17:46:28.702640"]]  (10.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b236aa83"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_b236aa83') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:46:28.715374"], ["version", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.719861"], ["updated_at", "2014-09-22 17:46:28.719861"]]  (2.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:46:28.724528"], ["updated_at", "2014-09-22 17:46:28.724528"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (1.0ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.733923"], ["updated_at", "2014-09-22 17:46:28.733923"]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.737702"], ["updated_at", "2014-09-22 17:46:28.737702"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cb5aeb55') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad illo quidem sunt eius dignissimos eum. Ab maxime distinctio. Fuga voluptatum saepe eius dicta explicabo. Cumque molestias quod maiores ut sit dolorem.\", \"Voluptas ad reprehenderit ex corrupti itaque fugiat iure. Laborum vero aut numquam et dolorem sequi. Et placeat esse cumque iure ab.\"]"], ["created_at", "2014-09-22 17:46:28.740757"], ["name", "contract_cb5aeb55"], ["title", "Illum adipisci ea aliquid."], ["updated_at", "2014-09-22 17:46:28.740757"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cb5aeb55"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_cb5aeb55') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:46:28.743983"], ["version", 1]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.751839"], ["updated_at", "2014-09-22 17:46:28.751839"]]  (1.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 17:46:28.754373"], ["updated_at", "2014-09-22 17:46:28.754373"], ["user_id", 54], ["user_type", "DummyUser"]]  (3.1ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.762268"], ["updated_at", "2014-09-22 17:46:28.762268"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.769207"], ["updated_at", "2014-09-22 17:46:28.769207"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aed296d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil harum omnis placeat numquam. Nobis aperiam praesentium eum doloremque rerum. Perferendis eveniet earum facilis sit dolorum.\", \"Fuga est praesentium fugiat autem. Necessitatibus quisquam tempora laudantium laboriosam voluptas. Similique velit laudantium aut id beatae ipsam.\"]"], ["created_at", "2014-09-22 17:46:28.772304"], ["name", "contract_aed296d4"], ["title", "Eum in molestiae."], ["updated_at", "2014-09-22 17:46:28.772304"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aed296d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_aed296d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:46:28.775448"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.778247"], ["updated_at", "2014-09-22 17:46:28.778247"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 17:46:28.780788"], ["updated_at", "2014-09-22 17:46:28.780788"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_24829024') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam quibusdam et distinctio corrupti quod ad qui. Aut facilis voluptatem incidunt sint sed tempore. Nostrum facere ut omnis deleniti est voluptate.\", \"Ducimus quia aut repudiandae laudantium sit vero aut. Eius cumque ea qui adipisci non illum. Fugit minus ad et illum voluptatem.\"]"], ["created_at", "2014-09-22 17:46:28.784671"], ["name", "contract_24829024"], ["title", "Placeat voluptatem id."], ["updated_at", "2014-09-22 17:46:28.784671"]]  (2.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24829024"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_24829024') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:46:28.791208"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24829024"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24829024"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_24829024') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:46:28.796348"], ["version", nil]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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_1c037366') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eveniet qui. Distinctio labore ut perferendis suscipit repudiandae. Cum eius quod aut qui iure adipisci. Quasi aut molestiae aut et sit labore ut.\", \"Eius quaerat rem quasi debitis laudantium est iste. Velit non ad laudantium. Perferendis tenetur aut repellat excepturi sapiente illum.\"]"], ["created_at", "2014-09-22 17:46:28.805331"], ["name", "contract_1c037366"], ["title", "Aut modi enim eaque."], ["updated_at", "2014-09-22 17:46:28.805331"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1c037366"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_1c037366') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:46:28.808617"], ["version", 1]]  (5.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1c037366' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eveniet qui. Distinctio labore ut perferendis suscipit repudiandae. Cum eius quod aut qui iure adipisci. Quasi aut molestiae aut et sit labore ut.\", \"Eius quaerat rem quasi debitis laudantium est iste. Velit non ad laudantium. Perferendis tenetur aut repellat excepturi sapiente illum.\"]"], ["created_at", "2014-09-22 17:46:28.818113"], ["name", "joe"], ["title", "Aut modi enim eaque."], ["updated_at", "2014-09-22 17:46:28.818113"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:46:28.822083"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_19e83f56') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum repellendus voluptates quidem pariatur nobis. Vel ab assumenda debitis et ad. Voluptatem et quis. Rerum laboriosam eius atque dicta molestias aut. Non beatae architecto dignissimos vel et.\", \"Asperiores eos odio. Quibusdam modi aperiam molestias laudantium nemo deserunt eum. Sed et odit ea vel molestiae.\"]"], ["created_at", "2014-09-22 17:46:28.826185"], ["name", "contract_19e83f56"], ["title", "Adipisci omnis eaque voluptas nam autem et et."], ["updated_at", "2014-09-22 17:46:28.826185"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_19e83f56"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_19e83f56') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:46:28.829944"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_19e83f56' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_19e83f56') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum repellendus voluptates quidem pariatur nobis. Vel ab assumenda debitis et ad. Voluptatem et quis. Rerum laboriosam eius atque dicta molestias aut. Non beatae architecto dignissimos vel et.\", \"Asperiores eos odio. Quibusdam modi aperiam molestias laudantium nemo deserunt eum. Sed et odit ea vel molestiae.\"]"], ["created_at", "2014-09-22 17:46:28.833621"], ["name", "contract_19e83f56"], ["title", "Adipisci omnis eaque voluptas nam autem et et."], ["updated_at", "2014-09-22 17:46:28.833621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_19e83f56"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_19e83f56') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 17:46:28.836622"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_247d9890') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut dolorem vel qui. Autem illum harum. Sint fuga dicta cupiditate sit deleniti. Suscipit minima laborum error et id. Dolorem qui itaque.\", \"Quidem nam perferendis natus qui. Ea vel qui eius facilis fugiat. Dolores voluptatem quia quo voluptatibus consequatur. Mollitia veniam facere nisi. Maiores et quia.\"]"], ["created_at", "2014-09-22 17:46:28.840483"], ["name", "contract_247d9890"], ["title", "Deleniti quia est ducimus."], ["updated_at", "2014-09-22 17:46:28.840483"]]  (21.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_247d9890"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_247d9890') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:46:28.864954"], ["version", 1]]  (15.2ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:46:28.890235"], ["updated_at", "2014-09-22 17:46:28.890235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 17:46:28.892730"], ["updated_at", "2014-09-22 17:46:28.892730"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_247d9890') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_247d9890"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_247d9890') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur sed consequatur doloremque similique fugiat tempore. Sint laudantium repudiandae sit. Odio temporibus et tempore.\", \"Sed dolor eos odio asperiores. Hic numquam voluptates error. Molestias ut dignissimos esse minima alias corrupti.\"]"], ["created_at", "2014-09-22 17:48:48.975220"], ["name", "alpha"], ["title", "Sint recusandae laboriosam unde illum molestiae quis voluptatibus."], ["updated_at", "2014-09-22 17:48:48.975220"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:48:48.986515"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos perferendis dignissimos libero aut beatae tempore repudiandae. Ea voluptas aut fugit. Ipsam inventore hic ut quia dicta quis velit. Ducimus est ut quia sit nam.\", \"Necessitatibus iure quia velit culpa perspiciatis molestias libero. Amet sint expedita doloremque non cum nihil. Quis ut veritatis. Corrupti dolorem officia molestias et. Non est doloribus.\"]"], ["created_at", "2014-09-22 17:48:48.993156"], ["name", "beta"], ["title", "Et blanditiis fuga sunt eos odio et."], ["updated_at", "2014-09-22 17:48:48.993156"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:48:48.996773"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.000076"], ["updated_at", "2014-09-22 17:48:49.000076"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 17:48:49.007247"], ["updated_at", "2014-09-22 17:48:49.007247"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 17:48:49.013150"], ["updated_at", "2014-09-22 17:48:49.013150"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:48:49.017348"], ["name", "alpha"], ["title", "Sint recusandae laboriosam unde illum molestiae quis voluptatibus."], ["updated_at", "2014-09-22 17:48:49.017348"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:48:49.020759"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit maiores eos. Suscipit libero distinctio ad quo necessitatibus reprehenderit sed. Nihil nihil accusantium. Et et nobis. Est qui sed qui.\", \"Eum consequatur delectus. Consequatur placeat quis quod. Voluptas nesciunt at enim quis. Illo suscipit accusantium inventore earum.\"]"], ["created_at", "2014-09-22 17:48:49.028788"], ["name", "alpha"], ["title", "Deserunt eos id natus enim facilis consequatur et."], ["updated_at", "2014-09-22 17:48:49.028788"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:48:49.033001"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi dignissimos iste nihil. Voluptates temporibus cumque ducimus. Recusandae voluptatibus qui aliquam a dolores. Eum quia pariatur voluptas voluptates sint dolorem et.\", \"Reiciendis aperiam quas iure maiores. Odio et nostrum nemo alias sed consequatur est. Eos est voluptatibus aspernatur saepe.\"]"], ["created_at", "2014-09-22 17:48:49.036567"], ["name", "beta"], ["title", "Quod quis laudantium eum molestiae distinctio animi vel."], ["updated_at", "2014-09-22 17:48:49.036567"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:48:49.039939"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.042319"], ["updated_at", "2014-09-22 17:48:49.042319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 17:48:49.044881"], ["updated_at", "2014-09-22 17:48:49.044881"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 17:48:49.047451"], ["updated_at", "2014-09-22 17:48:49.047451"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:48:49.049970"], ["name", "alpha"], ["title", "Deserunt eos id natus enim facilis consequatur et."], ["updated_at", "2014-09-22 17:48:49.049970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:48:49.053433"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut culpa ipsam voluptas laborum qui non dignissimos. Quam adipisci ullam laudantium eveniet. Id eum sed. Et quia ab. Iste ipsam consectetur.\", \"Exercitationem recusandae saepe. Perspiciatis et earum alias voluptas omnis esse consequatur. A voluptatem sed dolores atque minus fugit praesentium. Quod repudiandae sunt deleniti.\"]"], ["created_at", "2014-09-22 17:48:49.062613"], ["name", "alpha"], ["title", "Molestiae illum unde."], ["updated_at", "2014-09-22 17:48:49.062613"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 17:48:49.066035"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum sit laborum asperiores distinctio. Expedita odio est sed eos voluptas exercitationem atque. Molestiae sit laudantium et. Ut qui assumenda deserunt alias.\", \"Quam occaecati delectus vitae. Mollitia ipsum laudantium deleniti molestias accusantium sequi cum. Ut et eveniet iusto occaecati. Nostrum voluptatum qui odit. Ipsa qui est molestiae veniam libero labore qui.\"]"], ["created_at", "2014-09-22 17:48:49.069726"], ["name", "beta"], ["title", "Placeat nobis et voluptatibus voluptas quaerat dignissimos a."], ["updated_at", "2014-09-22 17:48:49.069726"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 17:48:49.073002"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.075643"], ["updated_at", "2014-09-22 17:48:49.075643"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 17:48:49.079222"], ["updated_at", "2014-09-22 17:48:49.079222"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 17:48:49.081891"], ["updated_at", "2014-09-22 17:48:49.081891"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:48:49.084316"], ["name", "alpha"], ["title", "Molestiae illum unde."], ["updated_at", "2014-09-22 17:48:49.084316"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:48:49.087642"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 17:48:49.104678"], ["updated_at", "2014-09-22 17:48:49.104678"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic praesentium dignissimos eos. Ut harum qui occaecati consequuntur ea omnis autem. Doloremque ipsam in ut pariatur nemo.\", \"Esse nam sit qui laboriosam minus dolor. Recusandae asperiores nihil quae beatae. Dolorem magnam sed dolorem quas et voluptas. Possimus vitae error dicta.\"]"], ["created_at", "2014-09-22 17:48:49.117635"], ["name", "alpha"], ["title", "Sit rerum eaque esse asperiores et quas corrupti."], ["updated_at", "2014-09-22 17:48:49.117635"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 17:48:49.120737"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam nihil et est exercitationem sit. Quis itaque et ab. Neque eaque odit hic libero error cum doloremque.\", \"Nobis voluptas magnam cumque. Voluptatibus animi possimus minus sunt. Quam sequi tenetur voluptates in nihil.\"]"], ["created_at", "2014-09-22 17:48:49.124008"], ["name", "beta"], ["title", "Nostrum sunt ut rerum voluptatem in."], ["updated_at", "2014-09-22 17:48:49.124008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:48:49.126887"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.129030"], ["updated_at", "2014-09-22 17:48:49.129030"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 17:48:49.131584"], ["updated_at", "2014-09-22 17:48:49.131584"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 17:48:49.133984"], ["updated_at", "2014-09-22 17:48:49.133984"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:48:49.136160"], ["name", "alpha"], ["title", "Sit rerum eaque esse asperiores et quas corrupti."], ["updated_at", "2014-09-22 17:48:49.136160"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 17:48:49.139131"], ["version", 8]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.144469"], ["updated_at", "2014-09-22 17:48:49.144469"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.146039"], ["updated_at", "2014-09-22 17:48:49.146039"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_11cd35a2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut assumenda suscipit. Autem molestias sunt sit at non dicta dolorem. Laboriosam ab corporis. Qui recusandae culpa quia reprehenderit dolor.\", \"Et libero reiciendis magnam aut accusantium aliquid non. Aut sit voluptates iste esse. Ipsa nesciunt rerum asperiores ipsam odit sint. Voluptatum itaque quam in quasi. Nulla nemo id veniam facilis modi.\"]"], ["created_at", "2014-09-22 17:48:49.148906"], ["name", "contract_11cd35a2"], ["title", "Et voluptatum qui modi sit."], ["updated_at", "2014-09-22 17:48:49.148906"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_11cd35a2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_11cd35a2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 17:48:49.152122"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.154487"], ["updated_at", "2014-09-22 17:48:49.154487"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 17:48:49.157340"], ["updated_at", "2014-09-22 17:48:49.157340"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.162063"], ["updated_at", "2014-09-22 17:48:49.162063"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.163591"], ["updated_at", "2014-09-22 17:48:49.163591"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_1778208f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quam ex. Possimus quae cupiditate necessitatibus. Eaque accusantium est id assumenda fugiat rerum aut. Omnis dignissimos officiis aut consequatur ut.\", \"Tempora pariatur possimus. Aliquid molestias est. Asperiores blanditiis veniam est excepturi nesciunt qui fuga. Quo et est aut odio quasi voluptates. Qui ut neque quia.\"]"], ["created_at", "2014-09-22 17:48:49.166513"], ["name", "contract_1778208f"], ["title", "Sunt voluptatem et sunt sint quam inventore reprehenderit."], ["updated_at", "2014-09-22 17:48:49.166513"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1778208f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_1778208f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 17:48:49.169516"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.171917"], ["updated_at", "2014-09-22 17:48:49.171917"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 17:48:49.174066"], ["updated_at", "2014-09-22 17:48:49.174066"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.180062"], ["updated_at", "2014-09-22 17:48:49.180062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.181536"], ["updated_at", "2014-09-22 17:48:49.181536"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a5234151') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit nostrum pariatur odit ullam qui quo consequatur. Est occaecati sed et omnis quia quo. Dolorem et fugit unde. Excepturi labore veritatis officiis laudantium. Beatae sed vel amet voluptatibus quidem ex.\", \"Corporis consequatur voluptas rerum quibusdam maiores. Molestias ex aut numquam. Quis sit sed non sed omnis illo. Doloribus nesciunt vel explicabo adipisci autem.\"]"], ["created_at", "2014-09-22 17:48:49.184442"], ["name", "contract_a5234151"], ["title", "Nihil in et tempora enim qui."], ["updated_at", "2014-09-22 17:48:49.184442"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a5234151"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_a5234151') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:48:49.187346"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.189768"], ["updated_at", "2014-09-22 17:48:49.189768"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 17:48:49.191961"], ["updated_at", "2014-09-22 17:48:49.191961"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.7ms) commit transaction Completed 500 Internal Server Error in 3ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.198416"], ["updated_at", "2014-09-22 17:48:49.198416"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.199951"], ["updated_at", "2014-09-22 17:48:49.199951"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_98b0843c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio ut minus sit sunt aut dignissimos. Et aliquid quia perspiciatis veritatis optio harum. Itaque iusto et optio facilis dolorem. At nemo vel eos quasi nulla eius porro. Ut error quas est quod aut.\", \"Odio accusantium consequatur voluptas. Facere quis quia. Sint et exercitationem impedit.\"]"], ["created_at", "2014-09-22 17:48:49.203020"], ["name", "contract_98b0843c"], ["title", "Adipisci enim tempora repellat molestiae sed."], ["updated_at", "2014-09-22 17:48:49.203020"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98b0843c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_98b0843c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:48:49.206476"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.209158"], ["updated_at", "2014-09-22 17:48:49.209158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 17:48:49.211326"], ["updated_at", "2014-09-22 17:48:49.211326"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.214127"], ["updated_at", "2014-09-22 17:48:49.214127"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.215669"], ["updated_at", "2014-09-22 17:48:49.215669"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.220010"], ["updated_at", "2014-09-22 17:48:49.220010"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.221517"], ["updated_at", "2014-09-22 17:48:49.221517"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.224658"], ["updated_at", "2014-09-22 17:48:49.224658"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.226050"], ["updated_at", "2014-09-22 17:48:49.226050"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_59e2889e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga nihil id tempore atque. Dicta sequi et vitae sapiente in fuga nihil. Et repellat rerum enim voluptatem enim. Quisquam corporis harum cum consequatur aliquam. Ipsa voluptatem totam non.\", \"Eaque minus praesentium voluptas vitae. Sed facere pariatur esse nihil suscipit mollitia. Molestiae sit est. Placeat ipsam quia. Ea nisi accusamus velit et delectus.\"]"], ["created_at", "2014-09-22 17:48:49.228849"], ["name", "contract_59e2889e"], ["title", "Accusamus dolores non et ut autem."], ["updated_at", "2014-09-22 17:48:49.228849"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.235429"], ["updated_at", "2014-09-22 17:48:49.235429"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.237214"], ["updated_at", "2014-09-22 17:48:49.237214"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d0de13a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo ipsum eos perspiciatis. Voluptate in amet. Magni enim voluptate ut dolor velit explicabo neque. Ut voluptatem est et animi.\", \"Voluptas iste consequuntur provident qui nesciunt. Hic laudantium a ut occaecati temporibus dolores omnis. Vero eius porro rerum sunt qui suscipit eaque.\"]"], ["created_at", "2014-09-22 17:48:49.240468"], ["name", "contract_d0de13a6"], ["title", "Accusamus quia eos nobis omnis et eum consequatur."], ["updated_at", "2014-09-22 17:48:49.240468"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.245973"], ["updated_at", "2014-09-22 17:48:49.245973"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.247486"], ["updated_at", "2014-09-22 17:48:49.247486"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_92e8e36d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est est itaque voluptatem. Eaque laborum repudiandae est aperiam ullam officiis. Repellendus eos beatae non maiores.\", \"Est aut nesciunt. Magni repellat quo dolorem doloribus facere totam. Eius dolorem enim hic nobis id dicta. Qui harum ab aliquam fugit distinctio praesentium labore. Qui omnis earum eum ratione ut culpa.\"]"], ["created_at", "2014-09-22 17:48:49.250183"], ["name", "contract_92e8e36d"], ["title", "A dolores reiciendis et."], ["updated_at", "2014-09-22 17:48:49.250183"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.253907"], ["updated_at", "2014-09-22 17:48:49.253907"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.255395"], ["updated_at", "2014-09-22 17:48:49.255395"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eca4fa0b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam consequatur quam tenetur omnis. Delectus accusamus quam voluptatem non dolor quisquam. Aut iusto debitis deleniti. Aspernatur consequatur nihil possimus aliquid omnis. Sequi ducimus laborum veritatis perspiciatis soluta qui expedita.\", \"Delectus voluptatem vel voluptatum veritatis minima. Non doloribus harum ea. Veniam nobis qui assumenda ut dolores aut non. Possimus quis est cupiditate incidunt. Modi voluptates consequatur.\"]"], ["created_at", "2014-09-22 17:48:49.257953"], ["name", "contract_eca4fa0b"], ["title", "Voluptas assumenda debitis doloremque quia ratione dolorum."], ["updated_at", "2014-09-22 17:48:49.257953"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.263034"], ["updated_at", "2014-09-22 17:48:49.263034"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.264541"], ["updated_at", "2014-09-22 17:48:49.264541"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_011de867') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis maiores id consequuntur repellat vero vel. Aut sunt velit repellat. Illum sint voluptates et voluptatem.\", \"Sed saepe qui beatae. Dolorem voluptatem omnis non nulla ut quos distinctio. Rerum quasi sequi enim fuga.\"]"], ["created_at", "2014-09-22 17:48:49.267054"], ["name", "contract_011de867"], ["title", "Saepe nam mollitia enim sed architecto distinctio."], ["updated_at", "2014-09-22 17:48:49.267054"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.271286"], ["updated_at", "2014-09-22 17:48:49.271286"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.272986"], ["updated_at", "2014-09-22 17:48:49.272986"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ec58bc42') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae quisquam nihil sapiente inventore. Eum eos ut consequatur voluptatibus. Excepturi voluptates voluptas quae sed iure.\", \"Voluptatem accusantium sed dignissimos cum ab. Excepturi est et. Explicabo quisquam placeat. Enim quis similique ab hic et aut.\"]"], ["created_at", "2014-09-22 17:48:49.276217"], ["name", "contract_ec58bc42"], ["title", "Eveniet deserunt dolorem similique dolore repellat."], ["updated_at", "2014-09-22 17:48:49.276217"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 11, 8, 5, 2, 21, 13, 14, 17, 19, 16, 15, 18, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.287324"], ["updated_at", "2014-09-22 17:48:49.287324"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.289212"], ["updated_at", "2014-09-22 17:48:49.289212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8c416c6f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus sunt aut cumque ratione est deserunt. Voluptates ea beatae. Velit fuga voluptatum nemo maxime laudantium quia. Saepe ratione illum beatae expedita magnam.\", \"Reiciendis dolore in et et ut. Animi sit tempore voluptatem sunt voluptas. Expedita ullam qui fuga nam porro ut ducimus. Commodi velit atque.\"]"], ["created_at", "2014-09-22 17:48:49.291951"], ["name", "contract_8c416c6f"], ["title", "Sunt provident occaecati mollitia pariatur."], ["updated_at", "2014-09-22 17:48:49.291951"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8c416c6f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_8c416c6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:48:49.295153"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.300099"], ["updated_at", "2014-09-22 17:48:49.300099"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.301653"], ["updated_at", "2014-09-22 17:48:49.301653"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_0be74244') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In quaerat provident. Voluptatem voluptatibus perferendis optio expedita neque. Id qui suscipit sunt autem. Possimus consectetur totam consequatur dignissimos qui. Maxime voluptatum omnis labore.\", \"Modi consequatur molestias. Et quos voluptatem. Et est beatae ex sed.\"]"], ["created_at", "2014-09-22 17:48:49.305448"], ["name", "contract_0be74244"], ["title", "Modi cum atque eum."], ["updated_at", "2014-09-22 17:48:49.305448"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.312870"], ["updated_at", "2014-09-22 17:48:49.312870"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.314470"], ["updated_at", "2014-09-22 17:48:49.314470"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f31fe682') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolorum a. Et id rerum excepturi nihil corrupti nulla. Sed sint accusamus temporibus laboriosam necessitatibus id.\", \"Harum blanditiis reiciendis. Veniam enim esse quasi earum sit asperiores. Incidunt aut delectus.\"]"], ["created_at", "2014-09-22 17:48:49.317182"], ["name", "contract_f31fe682"], ["title", "Ducimus sunt adipisci nisi iste soluta officia necessitatibus."], ["updated_at", "2014-09-22 17:48:49.317182"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.321873"], ["updated_at", "2014-09-22 17:48:49.321873"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.323419"], ["updated_at", "2014-09-22 17:48:49.323419"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cfc9e683') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur a et autem. Maiores et hic enim quas ut harum animi. Et quidem sapiente.\", \"Est ea quo neque eveniet totam tenetur reprehenderit. Molestias quia qui. Porro reiciendis aliquam quis consequatur et eos. Ipsa voluptatem quas nisi est autem aliquam voluptas. Est vel quia reiciendis dolor a labore.\"]"], ["created_at", "2014-09-22 17:48:49.325941"], ["name", "contract_cfc9e683"], ["title", "Harum aliquam sint in."], ["updated_at", "2014-09-22 17:48:49.325941"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cfc9e683"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_cfc9e683') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:48:49.328920"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.334511"], ["updated_at", "2014-09-22 17:48:49.334511"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.335912"], ["updated_at", "2014-09-22 17:48:49.335912"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_81e5e3a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae non aut aut aperiam. Non perspiciatis et a. Illo ut hic. Sint tenetur tempora ad consequatur sed harum deserunt. Odit est quod.\", \"Quam facilis et laudantium ut. Fugit laborum consequatur doloribus est beatae fugiat consectetur. Id aliquam iusto optio tempore voluptatem.\"]"], ["created_at", "2014-09-22 17:48:49.338478"], ["name", "contract_81e5e3a7"], ["title", "Consectetur corrupti qui."], ["updated_at", "2014-09-22 17:48:49.338478"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.342128"], ["updated_at", "2014-09-22 17:48:49.342128"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.343619"], ["updated_at", "2014-09-22 17:48:49.343619"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2dc85074') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic aspernatur commodi animi perspiciatis qui. Harum minima qui. Est vero quae molestiae omnis dicta autem repellendus. Possimus repellat a iusto rerum explicabo rem aliquam.\", \"Aut laboriosam quia placeat aut nostrum laborum. Dolores et numquam. Odit quas omnis et excepturi. Velit perspiciatis quia id.\"]"], ["created_at", "2014-09-22 17:48:49.346134"], ["name", "contract_2dc85074"], ["title", "Sed consequatur excepturi consequatur odio expedita."], ["updated_at", "2014-09-22 17:48:49.346134"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 28 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:48:49.350236"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.356126"], ["updated_at", "2014-09-22 17:48:49.356126"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.357729"], ["updated_at", "2014-09-22 17:48:49.357729"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_30c0494e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere rerum aut magni eum impedit illum. Alias hic incidunt quos quia voluptatem quia. Voluptatem tempore suscipit aperiam veritatis aut. Fugiat in architecto magni provident molestiae. Ratione odio ut fuga eos.\", \"Voluptas doloribus quia error. Amet maxime aut. Mollitia facilis sed expedita eum omnis dolor.\"]"], ["created_at", "2014-09-22 17:48:49.360472"], ["name", "contract_30c0494e"], ["title", "Animi dicta excepturi amet similique maiores quis."], ["updated_at", "2014-09-22 17:48:49.360472"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.364675"], ["updated_at", "2014-09-22 17:48:49.364675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.366154"], ["updated_at", "2014-09-22 17:48:49.366154"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_32d8f890') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel repellat quis vitae. Quos molestias iusto eum. Ratione reiciendis et ut. Dolorum sapiente tempore. Aut sit impedit a.\", \"Ad maxime molestias necessitatibus odio voluptas tempora. Eaque omnis est. Adipisci aut qui voluptas aliquam itaque velit sit. Ut vel voluptates officiis tempore aut dolorum. Reprehenderit quidem harum quas.\"]"], ["created_at", "2014-09-22 17:48:49.368891"], ["name", "contract_32d8f890"], ["title", "Rem nulla qui accusantium et laborum voluptas."], ["updated_at", "2014-09-22 17:48:49.368891"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.376100"], ["updated_at", "2014-09-22 17:48:49.376100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.377591"], ["updated_at", "2014-09-22 17:48:49.377591"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ef20ee71') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem quia nostrum impedit expedita. At placeat aut. Nostrum iste deserunt praesentium possimus autem.\", \"Temporibus illo sit. Alias maiores consequatur qui eos. Reprehenderit libero dolores aperiam delectus autem. Quasi consequatur blanditiis illo earum ut laborum suscipit.\"]"], ["created_at", "2014-09-22 17:48:49.380051"], ["name", "contract_ef20ee71"], ["title", "Est possimus aspernatur."], ["updated_at", "2014-09-22 17:48:49.380051"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:48:49.383796"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:48:49.383796"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.386943"], ["updated_at", "2014-09-22 17:48:49.386943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.388399"], ["updated_at", "2014-09-22 17:48:49.388399"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_40229a76') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro incidunt rerum. Laboriosam iusto ut corrupti harum. Recusandae corporis voluptas. Culpa cupiditate soluta enim. Est culpa sint sed adipisci quis et optio.\", \"Debitis blanditiis ut voluptatem atque rerum eum. Quaerat autem sunt minus. Et sunt rerum ipsum asperiores. Ullam cupiditate perferendis voluptas. Sint nihil voluptas alias odio consequatur repellat.\"]"], ["created_at", "2014-09-22 17:48:49.391559"], ["name", "contract_40229a76"], ["title", "Aut quis maiores voluptas omnis et."], ["updated_at", "2014-09-22 17:48:49.391559"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40229a76"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_40229a76') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:48:49.394801"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40229a76"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_40229a76') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:48:49.400336"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.404519"], ["updated_at", "2014-09-22 17:48:49.404519"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.406023"], ["updated_at", "2014-09-22 17:48:49.406023"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e880a140') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti et sed quis explicabo. Pariatur nemo autem delectus dolores non debitis a. Voluptatibus dolorem et. Itaque quod consequatur non iste dolores reprehenderit ratione.\", \"Aspernatur quis at ad dicta. Rerum sed praesentium et molestiae quam aliquid id. Quia facere suscipit eveniet aut. Dolores reprehenderit itaque. Non ab fugit nulla et.\"]"], ["created_at", "2014-09-22 17:48:49.408662"], ["name", "contract_e880a140"], ["title", "Officiis doloribus quos."], ["updated_at", "2014-09-22 17:48:49.408662"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e880a140"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_e880a140') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:48:49.411593"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e880a140' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.418213"], ["updated_at", "2014-09-22 17:48:49.418213"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.419712"], ["updated_at", "2014-09-22 17:48:49.419712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35a33a8f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt rerum amet et. Et nostrum delectus voluptate veritatis nobis quis possimus. Ut voluptas sapiente fugit eius sit. Sit fugit incidunt repellendus. Accusamus veritatis quos sequi.\", \"Id ea magnam blanditiis dolor quis. Voluptatem ea ut corporis beatae. Voluptatibus explicabo modi.\"]"], ["created_at", "2014-09-22 17:48:49.422261"], ["name", "contract_35a33a8f"], ["title", "Sit molestias odio impedit placeat qui."], ["updated_at", "2014-09-22 17:48:49.422261"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35a33a8f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_35a33a8f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:48:49.426846"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction 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_b5bd3c24') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis tempora aut cumque. Consequatur est labore sit veritatis. Dolor nesciunt perferendis consequatur earum aut fugit.\", \"Distinctio nulla repellat dolor deserunt nihil. Ab rerum aut quam quia explicabo unde. Eveniet nisi est laboriosam incidunt exercitationem sint. Sed voluptatem beatae odit et ratione. Unde ea ipsum aut eum minima veniam.\"]"], ["created_at", "2014-09-22 17:48:49.431936"], ["name", "contract_b5bd3c24"], ["title", "Consequatur asperiores fugit."], ["updated_at", "2014-09-22 17:48:49.431936"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_5dc61330') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur et et molestiae voluptatem. Hic voluptatibus recusandae officia. Laboriosam ut perferendis fugit voluptatum quos.\", \"Est aspernatur ut maxime incidunt sapiente. Qui dolor facere omnis ad qui corrupti. Vel ipsum ea nihil voluptatum assumenda voluptas. Veniam distinctio atque.\"]"], ["created_at", "2014-09-22 17:48:49.435891"], ["name", "contract_5dc61330"], ["title", "Ut possimus quasi quia quia assumenda praesentium minus."], ["updated_at", "2014-09-22 17:48:49.435891"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5dc61330"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_5dc61330') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:48:49.438928"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.441607"], ["updated_at", "2014-09-22 17:48:49.441607"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]  (0.0ms) begin transaction 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_7f9ea553') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id rerum debitis quidem repellendus consequatur. Ad cum aut. Sint dicta adipisci illo consequatur quo occaecati.\", \"Sit quia necessitatibus sint nam eum. Ut ut sit modi. Fugit dicta accusantium eaque nesciunt. Libero eos tempore quia accusantium non aut nisi.\"]"], ["created_at", "2014-09-22 17:48:49.451730"], ["name", "contract_7f9ea553"], ["title", "Enim eos inventore iure."], ["updated_at", "2014-09-22 17:48:49.451730"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7f9ea553"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_7f9ea553') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:48:49.456854"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7f9ea553"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7f9ea553"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_7f9ea553') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:48:49.461808"], ["version", nil]]  (1.2ms) commit transaction  (0.1ms) begin transaction 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_813e8634') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur aut quo doloribus. Rerum velit accusamus veritatis. Non deserunt laboriosam necessitatibus cumque commodi labore. Magni tempora quasi. Ut et ea.\", \"Voluptates et quos recusandae dolor quas sit. Aliquid at aut ratione enim quae. Necessitatibus tenetur iusto aut harum voluptatum asperiores velit.\"]"], ["created_at", "2014-09-22 17:48:49.466055"], ["name", "contract_813e8634"], ["title", "Iusto omnis laboriosam et."], ["updated_at", "2014-09-22 17:48:49.466055"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_813e8634"]]  (0.4ms) begin transaction FinePrint::Contract Exists (0.5ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_813e8634') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:48:49.469872"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_813e8634' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_813e8634') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur aut quo doloribus. Rerum velit accusamus veritatis. Non deserunt laboriosam necessitatibus cumque commodi labore. Magni tempora quasi. Ut et ea.\", \"Voluptates et quos recusandae dolor quas sit. Aliquid at aut ratione enim quae. Necessitatibus tenetur iusto aut harum voluptatum asperiores velit.\"]"], ["created_at", "2014-09-22 17:48:49.473298"], ["name", "contract_813e8634"], ["title", "Iusto omnis laboriosam et."], ["updated_at", "2014-09-22 17:48:49.473298"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_813e8634"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_813e8634') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:48:49.476167"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_66a8709a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione facere similique suscipit et nam dolorem perspiciatis. Modi quos est voluptatum. Consequatur nemo tempore. Sit repudiandae similique eligendi aperiam provident et quo.\", \"Aut quia nihil aut sit aut. Similique sit eum natus ullam. Dolore nisi quia vero illo quia veniam. Facilis inventore eum facere qui.\"]"], ["created_at", "2014-09-22 17:48:49.479897"], ["name", "contract_66a8709a"], ["title", "Accusamus sapiente quo."], ["updated_at", "2014-09-22 17:48:49.479897"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66a8709a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_66a8709a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:48:49.484061"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_66a8709a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione facere similique suscipit et nam dolorem perspiciatis. Modi quos est voluptatum. Consequatur nemo tempore. Sit repudiandae similique eligendi aperiam provident et quo.\", \"Aut quia nihil aut sit aut. Similique sit eum natus ullam. Dolore nisi quia vero illo quia veniam. Facilis inventore eum facere qui.\"]"], ["created_at", "2014-09-22 17:48:49.489807"], ["name", "joe"], ["title", "Accusamus sapiente quo."], ["updated_at", "2014-09-22 17:48:49.489807"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 17:48:49.501261"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3d8c95fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo aspernatur et consequatur iure laboriosam necessitatibus dolorem. Quasi dolorem dolores vel vel. Ipsa quis voluptatibus molestiae quo est.\", \"Eius sit quis velit reprehenderit tempore commodi. Atque sint est tenetur mollitia esse et aut. Sit omnis et eveniet ut.\"]"], ["created_at", "2014-09-22 17:48:49.505534"], ["name", "contract_3d8c95fa"], ["title", "Blanditiis rem quia exercitationem aut alias similique."], ["updated_at", "2014-09-22 17:48:49.505534"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d8c95fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_3d8c95fa') LIMIT 1 FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:48:49.508510"], ["version", 1]]  (1.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:48:49.513208"], ["updated_at", "2014-09-22 17:48:49.513208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 17:48:49.515595"], ["updated_at", "2014-09-22 17:48:49.515595"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_3d8c95fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d8c95fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_3d8c95fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.261707"], ["updated_at", "2014-09-22 17:49:37.261707"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.268821"], ["updated_at", "2014-09-22 17:49:37.268821"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_cf4ec347') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem exercitationem explicabo. Ut accusantium corporis numquam similique deserunt error ut. Voluptate et esse autem repellat fuga suscipit.\", \"Ut dolorem voluptates tempora ut. Nihil aut voluptas autem eaque. Rem tenetur error debitis est incidunt cupiditate. Placeat repellat doloremque dolores iste. Aut deleniti atque sed occaecati quam sapiente.\"]"], ["created_at", "2014-09-22 17:49:37.502760"], ["name", "contract_cf4ec347"], ["title", "Voluptas amet veniam."], ["updated_at", "2014-09-22 17:49:37.502760"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf4ec347"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cf4ec347') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:49:37.514141"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.524688"], ["updated_at", "2014-09-22 17:49:37.524688"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.526443"], ["updated_at", "2014-09-22 17:49:37.526443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc163614') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est dolores magnam sed consequuntur repudiandae quibusdam. Eum voluptatem et. Molestiae distinctio sit voluptatem fugiat consequatur voluptatum et.\", \"Quam provident est vitae. Culpa ex neque et aut natus ullam quasi. Eos voluptatem esse a sed.\"]"], ["created_at", "2014-09-22 17:49:37.529334"], ["name", "contract_cc163614"], ["title", "Iste distinctio et iusto."], ["updated_at", "2014-09-22 17:49:37.529334"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:49:37.533496"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.539334"], ["updated_at", "2014-09-22 17:49:37.539334"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.540827"], ["updated_at", "2014-09-22 17:49:37.540827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4c81d61b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae quod possimus suscipit vero assumenda eveniet tempora. Optio vero sunt autem delectus quas blanditiis beatae. Explicabo voluptatibus provident modi quia ab magnam.\", \"Laborum occaecati suscipit quia. Aut nemo quasi qui aut possimus libero eos. Pariatur nobis est voluptas accusantium. Quia repellendus accusantium. Rem voluptatem asperiores est optio et minima.\"]"], ["created_at", "2014-09-22 17:49:37.543585"], ["name", "contract_4c81d61b"], ["title", "Fuga odio nihil quam."], ["updated_at", "2014-09-22 17:49:37.543585"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.555301"], ["updated_at", "2014-09-22 17:49:37.555301"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.556916"], ["updated_at", "2014-09-22 17:49:37.556916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f1ea0ec') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim harum et. Ut aut quam ad. Assumenda esse molestiae voluptatem. Itaque ut blanditiis repellat optio ut molestiae consequatur. Magnam cumque et et quaerat.\", \"Esse aut vero et. Ut voluptatum quis vel modi aut amet qui. Molestiae quibusdam reprehenderit vero accusamus. Nemo corporis blanditiis nisi. Ipsa ad maiores adipisci voluptatem ut.\"]"], ["created_at", "2014-09-22 17:49:37.560584"], ["name", "contract_6f1ea0ec"], ["title", "Et deserunt aliquid quas ex autem."], ["updated_at", "2014-09-22 17:49:37.560584"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (2, 3, 4, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.573994"], ["updated_at", "2014-09-22 17:49:37.573994"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.575649"], ["updated_at", "2014-09-22 17:49:37.575649"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d16db3be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt aut odit. Beatae id at rerum nihil. Eligendi molestias corrupti beatae enim ipsam alias voluptatem. Libero autem quidem quia laborum. Veniam aut modi quia provident aut.\", \"Est perspiciatis fugiat. Dolor consequuntur eveniet pariatur ea. Animi voluptas quod neque aut. Libero harum enim est est accusantium.\"]"], ["created_at", "2014-09-22 17:49:37.578473"], ["name", "contract_d16db3be"], ["title", "Autem blanditiis et velit."], ["updated_at", "2014-09-22 17:49:37.578473"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.582469"], ["updated_at", "2014-09-22 17:49:37.582469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.584015"], ["updated_at", "2014-09-22 17:49:37.584015"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_aa408d40') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias ea in est ullam ducimus ut maiores. Ullam aut id consequatur. Id ut temporibus aut sed. Vitae qui minus non repellat. Et ut temporibus.\", \"Impedit sequi voluptates vel. Sit natus earum est laboriosam. Quibusdam magni qui consectetur enim quam quia dolores. Doloremque non in inventore sed a.\"]"], ["created_at", "2014-09-22 17:49:37.586619"], ["name", "contract_aa408d40"], ["title", "Vel aut labore a ut beatae id eius."], ["updated_at", "2014-09-22 17:49:37.586619"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.591862"], ["updated_at", "2014-09-22 17:49:37.591862"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.593322"], ["updated_at", "2014-09-22 17:49:37.593322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3100dfe1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea veritatis quia culpa magni. Vel consequuntur non perspiciatis ducimus. Occaecati est harum voluptates. Cumque maiores soluta cupiditate assumenda.\", \"Consequatur repellendus ea ex aut. Qui a eos praesentium distinctio cupiditate. Sunt tempora non. Aliquid mollitia expedita hic.\"]"], ["created_at", "2014-09-22 17:49:37.595849"], ["name", "contract_3100dfe1"], ["title", "Nihil debitis delectus laborum vel velit voluptas."], ["updated_at", "2014-09-22 17:49:37.595849"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3100dfe1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_3100dfe1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 17:49:37.598926"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.605339"], ["updated_at", "2014-09-22 17:49:37.605339"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.607046"], ["updated_at", "2014-09-22 17:49:37.607046"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d56287c4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae et quos vitae ipsam similique rerum dolores. Tenetur qui voluptatem sit. Quo dolorum quis. Sequi laborum quia eum incidunt vitae quia qui.\", \"Doloremque est aut consequatur. Nihil placeat et assumenda optio magnam nostrum labore. Enim dolorem excepturi. Enim expedita autem.\"]"], ["created_at", "2014-09-22 17:49:37.610978"], ["name", "contract_d56287c4"], ["title", "Voluptas asperiores molestiae ab sint."], ["updated_at", "2014-09-22 17:49:37.610978"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.617972"], ["updated_at", "2014-09-22 17:49:37.617972"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.619941"], ["updated_at", "2014-09-22 17:49:37.619941"]]  (1.3ms) commit transaction  (0.0ms) begin transaction 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_6ade2184') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore cumque hic dignissimos voluptatum mollitia. Repellendus aliquam qui expedita. Tempore in quisquam architecto magnam officiis et iste. Ducimus nam fugit molestiae et. Eos consequatur explicabo consectetur commodi.\", \"Soluta laboriosam voluptas sunt quasi eius in aliquid. Rerum in laborum. Non sed voluptate omnis ea rerum atque. Aut non dolorem. Ab ea laudantium ipsa in et voluptatem.\"]"], ["created_at", "2014-09-22 17:49:37.623458"], ["name", "contract_6ade2184"], ["title", "Fugiat nam et porro explicabo repudiandae similique."], ["updated_at", "2014-09-22 17:49:37.623458"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.628799"], ["updated_at", "2014-09-22 17:49:37.628799"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.631213"], ["updated_at", "2014-09-22 17:49:37.631213"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f529cb30') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur eveniet magnam. Inventore id et. Fugit velit voluptatem.\", \"Numquam tempora qui incidunt deserunt officiis. Quis laboriosam vel nostrum voluptatem ut sunt odio. Et pariatur accusamus vel enim quas consequatur iste.\"]"], ["created_at", "2014-09-22 17:49:37.634273"], ["name", "contract_f529cb30"], ["title", "Sequi quasi et reprehenderit quos officia."], ["updated_at", "2014-09-22 17:49:37.634273"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.639858"], ["updated_at", "2014-09-22 17:49:37.639858"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.641382"], ["updated_at", "2014-09-22 17:49:37.641382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3fd5cc57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In aut repellat. Enim quis molestias quibusdam esse. Veniam illum et recusandae voluptatem nemo accusantium. Commodi voluptas aut dolorem. Voluptas quasi odio fugit pariatur tempore.\", \"Eveniet laborum qui aut iste et qui deleniti. Pariatur rerum fugiat. Quia commodi consequuntur officiis aut necessitatibus. Nostrum nisi iusto voluptates in voluptatem iure. Deleniti odio iure.\"]"], ["created_at", "2014-09-22 17:49:37.644376"], ["name", "contract_3fd5cc57"], ["title", "Dolores in quas sed."], ["updated_at", "2014-09-22 17:49:37.644376"]]  (1.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 11]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 11]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 11 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.655625"], ["updated_at", "2014-09-22 17:49:37.655625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.657355"], ["updated_at", "2014-09-22 17:49:37.657355"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_da7bb480') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut cum et occaecati aliquid maxime eum. Dolores id est sed. Omnis illum similique. Magni molestiae aut ipsam eum quaerat beatae.\", \"Quasi non voluptatem ut. Sit aut occaecati placeat. Esse doloribus velit quam aut omnis quia. Blanditiis necessitatibus cupiditate adipisci. Magni ut corporis voluptatibus tempore.\"]"], ["created_at", "2014-09-22 17:49:37.660313"], ["name", "contract_da7bb480"], ["title", "Odit quas minima blanditiis et veritatis consequatur."], ["updated_at", "2014-09-22 17:49:37.660313"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.665330"], ["updated_at", "2014-09-22 17:49:37.665330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.666948"], ["updated_at", "2014-09-22 17:49:37.666948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_42c991a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam voluptatibus quod quia rerum officiis quisquam. Porro nihil molestiae eum et temporibus ad quisquam. Fuga fugit quia ut ea optio sint dolorem.\", \"Placeat quae veritatis porro vel ullam sint voluptatibus. Quos debitis suscipit voluptatem occaecati doloremque laudantium. Nobis sit assumenda voluptatem minima illum commodi voluptas. Eaque modi temporibus sunt. Reiciendis molestiae sit veritatis cupiditate rerum aperiam.\"]"], ["created_at", "2014-09-22 17:49:37.669550"], ["name", "contract_42c991a9"], ["title", "Soluta repudiandae facere et temporibus quia fuga ut."], ["updated_at", "2014-09-22 17:49:37.669550"]]  (3.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.676320"], ["updated_at", "2014-09-22 17:49:37.676320"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.677720"], ["updated_at", "2014-09-22 17:49:37.677720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8c0e74e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet non ipsum. Accusantium temporibus enim dolores. Magni sed doloremque odio et.\", \"Eius deleniti maiores fugit at id temporibus non. Expedita optio tenetur laborum temporibus et provident. Impedit quisquam voluptatem ut qui in voluptas.\"]"], ["created_at", "2014-09-22 17:49:37.680185"], ["name", "contract_8c0e74e3"], ["title", "Id rerum incidunt quibusdam doloribus quas illum."], ["updated_at", "2014-09-22 17:49:37.680185"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8c0e74e3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_8c0e74e3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 17:49:37.683145"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8c0e74e3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.690188"], ["updated_at", "2014-09-22 17:49:37.690188"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.691760"], ["updated_at", "2014-09-22 17:49:37.691760"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9cf9c1e6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit suscipit et porro tempore. Id facilis voluptas ullam omnis pariatur. Ipsa iusto maiores modi. Illum et doloribus modi iste nihil quia.\", \"Non deleniti voluptatem. Quo repellat autem qui quisquam. Eum sed labore incidunt et ducimus. Unde est ipsam.\"]"], ["created_at", "2014-09-22 17:49:37.694343"], ["name", "contract_9cf9c1e6"], ["title", "Quo aperiam quasi doloremque aut consequuntur."], ["updated_at", "2014-09-22 17:49:37.694343"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9cf9c1e6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_9cf9c1e6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:49:37.699725"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.705480"], ["updated_at", "2014-09-22 17:49:37.705480"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.707372"], ["updated_at", "2014-09-22 17:49:37.707372"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_39aad73a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis voluptatem et qui. Voluptate laudantium error. Tempora molestiae dicta aut incidunt et.\", \"Enim reiciendis quibusdam. Quia voluptatem totam voluptas illum deserunt beatae dicta. Dolorem id veritatis aliquid.\"]"], ["created_at", "2014-09-22 17:49:37.710616"], ["name", "contract_39aad73a"], ["title", "Iure qui nulla."], ["updated_at", "2014-09-22 17:49:37.710616"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:49:37.714495"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:49:37.714495"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.717928"], ["updated_at", "2014-09-22 17:49:37.717928"]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.720824"], ["updated_at", "2014-09-22 17:49:37.720824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7cda72a0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui dolorum beatae. Enim aut aliquam sunt ipsum mollitia. Accusantium qui tempora rerum. Est voluptas quidem aut molestiae velit consequatur qui.\", \"Illum rerum minima ut. Sit aut dolores mollitia. Consequuntur minima dicta corrupti labore id similique est.\"]"], ["created_at", "2014-09-22 17:49:37.723285"], ["name", "contract_7cda72a0"], ["title", "Consequatur optio autem eos qui molestiae."], ["updated_at", "2014-09-22 17:49:37.723285"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.731301"], ["updated_at", "2014-09-22 17:49:37.731301"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.732969"], ["updated_at", "2014-09-22 17:49:37.732969"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f7dcbd4e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut aut qui voluptatem. Et blanditiis in consequatur sunt. Ab quo recusandae sed voluptatem facilis. Natus vel quia et. Est non a aliquam dolore officiis id ducimus.\", \"Earum autem molestias aut impedit. Debitis vel ut eaque dicta. Eius aperiam et et placeat.\"]"], ["created_at", "2014-09-22 17:49:37.735667"], ["name", "contract_f7dcbd4e"], ["title", "Quaerat et voluptatem placeat sit."], ["updated_at", "2014-09-22 17:49:37.735667"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7dcbd4e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_f7dcbd4e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:49:37.738733"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7dcbd4e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_f7dcbd4e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:49:37.744077"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.748229"], ["updated_at", "2014-09-22 17:49:37.748229"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.749712"], ["updated_at", "2014-09-22 17:49:37.749712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_284bab86') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam commodi asperiores suscipit aut quibusdam tempore labore. Non consequuntur in maxime dolores. Quaerat quibusdam et ipsum.\", \"Ut laborum minus et non atque eius aspernatur. Eius nam mollitia. Possimus eos totam. Quae voluptatibus harum est qui odit provident adipisci. Illum quam vero perferendis aspernatur.\"]"], ["created_at", "2014-09-22 17:49:37.753071"], ["name", "contract_284bab86"], ["title", "Atque ipsum quia sit omnis sunt quo."], ["updated_at", "2014-09-22 17:49:37.753071"]]  (14.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_284bab86"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_284bab86') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:49:37.770064"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.774068"], ["updated_at", "2014-09-22 17:49:37.774068"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 17:49:37.776931"], ["updated_at", "2014-09-22 17:49:37.776931"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.783978"], ["updated_at", "2014-09-22 17:49:37.783978"]]  (7.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.792245"], ["updated_at", "2014-09-22 17:49:37.792245"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_cfe0de96') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur expedita non dolor totam quis iure in. Reiciendis harum optio fugit sed eos minima. Magnam autem est vitae.\", \"Qui voluptatum dolorum explicabo cum. Perspiciatis repellat fugit est esse quibusdam. Quod occaecati rerum enim.\"]"], ["created_at", "2014-09-22 17:49:37.796217"], ["name", "contract_cfe0de96"], ["title", "Ducimus cumque sed."], ["updated_at", "2014-09-22 17:49:37.796217"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cfe0de96"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_cfe0de96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:49:37.802282"], ["version", 1]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.809941"], ["updated_at", "2014-09-22 17:49:37.809941"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 17:49:37.812028"], ["updated_at", "2014-09-22 17:49:37.812028"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.8ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.820803"], ["updated_at", "2014-09-22 17:49:37.820803"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.822791"], ["updated_at", "2014-09-22 17:49:37.822791"]]  (6.4ms) commit transaction  (0.1ms) begin transaction 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_9ecb0f7c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti sit doloribus. Temporibus inventore quia quo. Aspernatur pariatur quas. Rem assumenda et nihil. Nostrum commodi quia ea quas.\", \"Molestiae sequi quam labore. Aut quis excepturi sequi. Esse voluptatibus iste eaque.\"]"], ["created_at", "2014-09-22 17:49:37.832575"], ["name", "contract_9ecb0f7c"], ["title", "Quasi qui est asperiores et aperiam omnis eaque."], ["updated_at", "2014-09-22 17:49:37.832575"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9ecb0f7c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_9ecb0f7c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:49:37.837277"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.840890"], ["updated_at", "2014-09-22 17:49:37.840890"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 17:49:37.843531"], ["updated_at", "2014-09-22 17:49:37.843531"], ["user_id", 45], ["user_type", "DummyUser"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.847216"], ["updated_at", "2014-09-22 17:49:37.847216"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.848670"], ["updated_at", "2014-09-22 17:49:37.848670"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d624c59b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto itaque iure nostrum velit. Voluptas accusantium suscipit voluptatem et incidunt quia in. Est voluptate ut assumenda eaque incidunt. Ut qui magnam reprehenderit amet rerum. Maxime ut numquam quis possimus fugiat.\", \"Quisquam sunt sint. Reprehenderit qui veniam magni cumque. Fuga qui est totam aut nostrum. Sed consequuntur fuga quo. Iste consequuntur autem eius placeat.\"]"], ["created_at", "2014-09-22 17:49:37.851593"], ["name", "contract_d624c59b"], ["title", "Sit repellendus alias et laborum consectetur."], ["updated_at", "2014-09-22 17:49:37.851593"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d624c59b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_d624c59b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:49:37.854600"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.857483"], ["updated_at", "2014-09-22 17:49:37.857483"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 17:49:37.859644"], ["updated_at", "2014-09-22 17:49:37.859644"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem eos ut quidem. Voluptas hic sed corporis. Deleniti modi suscipit saepe tempora at.\", \"Sit ipsa quia sunt id ullam. Quis inventore nesciunt non. Qui optio ut et alias consequatur rerum. Rerum repellendus sint. Consequuntur veniam eligendi laboriosam ipsam.\"]"], ["created_at", "2014-09-22 17:49:37.866809"], ["name", "alpha"], ["title", "Illum magnam laboriosam architecto quisquam."], ["updated_at", "2014-09-22 17:49:37.866809"]]  (2.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:49:37.871284"], ["version", 1]]  (1.3ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptatibus voluptatem ea nostrum ipsum. Odio quos possimus sapiente harum in. Et nihil ut. Ipsa nobis repellat sit perspiciatis enim qui. At odit veritatis quia velit.\", \"Non autem quam sapiente. Animi et unde. Qui neque alias. Fugit soluta consequatur. At sapiente eius ut esse.\"]"], ["created_at", "2014-09-22 17:49:37.875343"], ["name", "beta"], ["title", "Omnis ut neque culpa repellendus."], ["updated_at", "2014-09-22 17:49:37.875343"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:49:37.878212"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.880647"], ["updated_at", "2014-09-22 17:49:37.880647"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 17:49:37.883144"], ["updated_at", "2014-09-22 17:49:37.883144"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 17:49:37.885533"], ["updated_at", "2014-09-22 17:49:37.885533"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:49:37.887721"], ["name", "alpha"], ["title", "Illum magnam laboriosam architecto quisquam."], ["updated_at", "2014-09-22 17:49:37.887721"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:49:37.890747"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam maiores perferendis distinctio expedita ipsam. Excepturi et esse aut vel sunt dolores voluptas. Deserunt aut dolores maxime. Qui maxime magni et. Sunt ab provident aut repellat.\", \"Et nemo consequatur et sit dolores temporibus adipisci. Voluptates sint accusamus nisi quia aspernatur qui. Perspiciatis totam amet ad. Saepe sunt occaecati et quidem ullam eos.\"]"], ["created_at", "2014-09-22 17:49:37.897047"], ["name", "alpha"], ["title", "Consectetur non sapiente praesentium fuga fugiat rerum facere."], ["updated_at", "2014-09-22 17:49:37.897047"]]  (27.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:49:37.926925"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor repudiandae molestias ut iste ipsam esse. Voluptatem dolorum totam sit esse est pariatur. Quae in repudiandae et quaerat ipsa aspernatur nesciunt. Itaque ut fugiat omnis harum quaerat. Earum ipsam consequuntur vero aut.\", \"Dolore consequatur molestiae consequatur facilis. Nobis minima dolores. Ipsa corrupti quis eos dolorum modi odit.\"]"], ["created_at", "2014-09-22 17:49:37.930657"], ["name", "beta"], ["title", "Est nostrum eum aliquam architecto hic illo tempora."], ["updated_at", "2014-09-22 17:49:37.930657"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:49:37.933677"], ["version", 2]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.938007"], ["updated_at", "2014-09-22 17:49:37.938007"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:49:37.940604"], ["updated_at", "2014-09-22 17:49:37.940604"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 17:49:37.943059"], ["updated_at", "2014-09-22 17:49:37.943059"], ["user_id", 50], ["user_type", "DummyUser"]]  (1.3ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:49:37.945900"], ["name", "alpha"], ["title", "Consectetur non sapiente praesentium fuga fugiat rerum facere."], ["updated_at", "2014-09-22 17:49:37.945900"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:49:37.948919"], ["version", 4]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:49:37.963918"], ["updated_at", "2014-09-22 17:49:37.963918"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 27, 26, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 50 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius nobis est sit autem doloremque laborum. Et qui quis suscipit est in. Omnis labore optio. Nam fuga in quam vero.\", \"Quibusdam quia dolores. Ex occaecati blanditiis hic est. Officiis aut ut voluptas quia laborum qui.\"]"], ["created_at", "2014-09-22 17:49:37.976576"], ["name", "alpha"], ["title", "Id rerum sequi."], ["updated_at", "2014-09-22 17:49:37.976576"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:49:37.979692"], ["version", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quo quia et sint. Occaecati suscipit et sit saepe accusantium. Magni modi cupiditate rem repellendus.\", \"Blanditiis alias et. A incidunt sed ad in sapiente. Pariatur ab magnam voluptate inventore. Error est provident.\"]"], ["created_at", "2014-09-22 17:49:37.983145"], ["name", "beta"], ["title", "Aut aut omnis deserunt voluptas non."], ["updated_at", "2014-09-22 17:49:37.983145"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:49:37.986123"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:37.988226"], ["updated_at", "2014-09-22 17:49:37.988226"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:49:37.990741"], ["updated_at", "2014-09-22 17:49:37.990741"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 17:49:37.993173"], ["updated_at", "2014-09-22 17:49:37.993173"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:49:37.995410"], ["name", "alpha"], ["title", "Id rerum sequi."], ["updated_at", "2014-09-22 17:49:37.995410"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:49:37.998646"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum non et est exercitationem. Quia labore saepe nisi maxime id. Corrupti velit placeat voluptatem repellat.\", \"Qui sed facilis neque velit mollitia porro. Dolores vel vel rem necessitatibus. Perspiciatis adipisci beatae dolorem itaque. Fugit quis consequatur corrupti nostrum et sapiente aspernatur. Dolores accusamus et quia et.\"]"], ["created_at", "2014-09-22 17:49:38.005242"], ["name", "alpha"], ["title", "Atque ut consectetur et id esse voluptate."], ["updated_at", "2014-09-22 17:49:38.005242"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:49:38.008467"], ["version", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel dicta et sapiente culpa qui quo. Id est laboriosam eum. Eius nihil et minus dolorem voluptatem sit. Quod debitis neque unde corrupti id et quae. Quisquam et porro atque corrupti id totam qui.\", \"Odit harum voluptatum et ratione esse. Recusandae aperiam excepturi assumenda suscipit. Eius assumenda placeat autem neque eum quisquam.\"]"], ["created_at", "2014-09-22 17:49:38.012004"], ["name", "beta"], ["title", "Inventore aut voluptatem voluptas culpa."], ["updated_at", "2014-09-22 17:49:38.012004"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:49:38.015705"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.018012"], ["updated_at", "2014-09-22 17:49:38.018012"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 17:49:38.020590"], ["updated_at", "2014-09-22 17:49:38.020590"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 17:49:38.023188"], ["updated_at", "2014-09-22 17:49:38.023188"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:49:38.025440"], ["name", "alpha"], ["title", "Atque ut consectetur et id esse voluptate."], ["updated_at", "2014-09-22 17:49:38.025440"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:49:38.028508"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_e758f0b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus eius saepe. Laborum omnis hic deserunt quam non dignissimos id. Error labore aut debitis temporibus. Labore animi iure.\", \"Ut aut quae a eos placeat. Et enim ea. Qui aut voluptatum non et nemo molestias. Iusto soluta incidunt non aut enim. Est sed autem deserunt recusandae aut inventore.\"]"], ["created_at", "2014-09-22 17:49:38.034098"], ["name", "contract_e758f0b8"], ["title", "Vitae doloribus veniam aut temporibus omnis delectus rerum."], ["updated_at", "2014-09-22 17:49:38.034098"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e758f0b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_e758f0b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:49:38.038232"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e758f0b8"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e758f0b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_e758f0b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:49:38.043118"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b2e3dee5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae quasi cumque illum totam consequatur nulla est. Architecto quia aut sunt magnam cumque dolores. Dolor quas eos est dolorem assumenda. Illum at animi provident facilis. Totam asperiores est.\", \"Consectetur dolore doloremque assumenda. Asperiores in ut deleniti. Rerum sunt pariatur quaerat sint sit sit suscipit.\"]"], ["created_at", "2014-09-22 17:49:38.046586"], ["name", "contract_b2e3dee5"], ["title", "Doloremque sit laudantium qui ut."], ["updated_at", "2014-09-22 17:49:38.046586"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b2e3dee5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_b2e3dee5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:49:38.050381"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b2e3dee5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae quasi cumque illum totam consequatur nulla est. Architecto quia aut sunt magnam cumque dolores. Dolor quas eos est dolorem assumenda. Illum at animi provident facilis. Totam asperiores est.\", \"Consectetur dolore doloremque assumenda. Asperiores in ut deleniti. Rerum sunt pariatur quaerat sint sit sit suscipit.\"]"], ["created_at", "2014-09-22 17:49:38.053862"], ["name", "joe"], ["title", "Doloremque sit laudantium qui ut."], ["updated_at", "2014-09-22 17:49:38.053862"]]  (7.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:49:38.064469"], ["version", 1]]  (6.9ms) commit transaction  (0.1ms) begin transaction 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_c5fee243') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem in et est eaque nulla rem. Beatae aperiam pariatur. Nesciunt dignissimos reprehenderit accusantium est et dolorum.\", \"Et inventore atque id qui ut. Ipsa sunt quos est officia beatae commodi molestias. Hic non iusto rerum. Quo molestias natus voluptatem non culpa quos.\"]"], ["created_at", "2014-09-22 17:49:38.076260"], ["name", "contract_c5fee243"], ["title", "Praesentium odit ratione voluptates fugiat adipisci laboriosam."], ["updated_at", "2014-09-22 17:49:38.076260"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c5fee243"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_c5fee243') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:49:38.080659"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.086015"], ["updated_at", "2014-09-22 17:49:38.086015"]]  (6.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:49:38.094595"], ["updated_at", "2014-09-22 17:49:38.094595"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_c5fee243') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c5fee243"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_c5fee243') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction 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_eeeb5b28') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia fuga voluptatem eius at rem. Sunt consequatur voluptatibus a distinctio molestiae. Veritatis voluptatem quia sequi distinctio.\", \"Tempora vel consequatur nisi quas. Deserunt in ut modi et. Rerum asperiores vero sint.\"]"], ["created_at", "2014-09-22 17:49:38.103978"], ["name", "contract_eeeb5b28"], ["title", "Itaque nesciunt repellendus."], ["updated_at", "2014-09-22 17:49:38.103978"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eeeb5b28"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_eeeb5b28') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:49:38.110669"], ["version", 1]]  (7.4ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_eeeb5b28' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_eeeb5b28') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia fuga voluptatem eius at rem. Sunt consequatur voluptatibus a distinctio molestiae. Veritatis voluptatem quia sequi distinctio.\", \"Tempora vel consequatur nisi quas. Deserunt in ut modi et. Rerum asperiores vero sint.\"]"], ["created_at", "2014-09-22 17:49:38.122453"], ["name", "contract_eeeb5b28"], ["title", "Itaque nesciunt repellendus."], ["updated_at", "2014-09-22 17:49:38.122453"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eeeb5b28"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_eeeb5b28') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:49:38.125686"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.132099"], ["updated_at", "2014-09-22 17:49:38.132099"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.133789"], ["updated_at", "2014-09-22 17:49:38.133789"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.137603"], ["updated_at", "2014-09-22 17:49:38.137603"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.139112"], ["updated_at", "2014-09-22 17:49:38.139112"]]  (5.0ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_74128895') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet laudantium non vero ducimus alias non provident. Ratione veniam eligendi. Molestiae quae aut quos veritatis repellat illo cumque. Autem cum est ducimus et et consequatur quo.\", \"Explicabo autem accusantium officia rerum. Harum aut rerum nostrum enim eveniet consequuntur. Nesciunt tempora quia et quod dolores. In dolor eligendi.\"]"], ["created_at", "2014-09-22 17:49:38.148050"], ["name", "contract_74128895"], ["title", "Et maxime quo consectetur."], ["updated_at", "2014-09-22 17:49:38.148050"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.0ms) begin transaction 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_f3771f5a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit et cupiditate. Minima tempora blanditiis eos ut voluptatem. Ut repellat velit molestiae maiores ut qui. Quia inventore voluptates. Est qui molestiae est.\", \"Accusamus non debitis autem. Porro occaecati perspiciatis quaerat. Est id dolore qui. Nisi libero cum et.\"]"], ["created_at", "2014-09-22 17:49:38.152131"], ["name", "contract_f3771f5a"], ["title", "Nam tempore beatae."], ["updated_at", "2014-09-22 17:49:38.152131"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3771f5a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_f3771f5a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:49:38.157595"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:49:38.167520"], ["updated_at", "2014-09-22 17:49:38.167520"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_7a41e78b') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis et non autem repellendus est eveniet quia. Cupiditate voluptatem molestiae neque ratione perspiciatis. Qui iure rem sit et voluptatem. Non quo assumenda debitis qui ut.\", \"Recusandae et explicabo aut. Eos ullam est. Incidunt non soluta aut perferendis quos voluptas est. Saepe explicabo sit pariatur itaque.\"]"], ["created_at", "2014-09-22 17:50:38.421961"], ["name", "contract_7a41e78b"], ["title", "Unde quia et ad iste."], ["updated_at", "2014-09-22 17:50:38.421961"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7a41e78b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_7a41e78b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:50:38.433658"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7a41e78b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_7a41e78b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis et non autem repellendus est eveniet quia. Cupiditate voluptatem molestiae neque ratione perspiciatis. Qui iure rem sit et voluptatem. Non quo assumenda debitis qui ut.\", \"Recusandae et explicabo aut. Eos ullam est. Incidunt non soluta aut perferendis quos voluptas est. Saepe explicabo sit pariatur itaque.\"]"], ["created_at", "2014-09-22 17:50:38.442607"], ["name", "contract_7a41e78b"], ["title", "Unde quia et ad iste."], ["updated_at", "2014-09-22 17:50:38.442607"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7a41e78b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_7a41e78b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:50:38.446199"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d6086a88') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates illo neque consequatur aut. Ut enim molestias et. Occaecati reiciendis dolore architecto nihil deserunt.\", \"Facilis enim esse dolor. Velit explicabo voluptas molestiae quos. Qui minus fuga perferendis et voluptas aut.\"]"], ["created_at", "2014-09-22 17:50:38.450566"], ["name", "contract_d6086a88"], ["title", "Praesentium consequatur quia saepe."], ["updated_at", "2014-09-22 17:50:38.450566"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6086a88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_d6086a88') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:50:38.455686"], ["version", 1]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6086a88"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6086a88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_d6086a88') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:50:38.462628"], ["version", nil]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_39b05bc8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate eum nihil illum reprehenderit. Et dolor deserunt nihil dolorum ut quia impedit. Et maiores animi libero. Ullam vero et sint harum. Tenetur facilis eligendi molestias veritatis.\", \"Laboriosam soluta aut voluptates aperiam rerum. Dolores id qui suscipit consequatur tenetur consectetur. Asperiores non repudiandae. Labore aut modi eaque quis qui. Dolor voluptatum rerum necessitatibus veniam.\"]"], ["created_at", "2014-09-22 17:50:38.467154"], ["name", "contract_39b05bc8"], ["title", "Vel minus placeat eos labore."], ["updated_at", "2014-09-22 17:50:38.467154"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_39b05bc8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_39b05bc8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:50:38.470370"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_39b05bc8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate eum nihil illum reprehenderit. Et dolor deserunt nihil dolorum ut quia impedit. Et maiores animi libero. Ullam vero et sint harum. Tenetur facilis eligendi molestias veritatis.\", \"Laboriosam soluta aut voluptates aperiam rerum. Dolores id qui suscipit consequatur tenetur consectetur. Asperiores non repudiandae. Labore aut modi eaque quis qui. Dolor voluptatum rerum necessitatibus veniam.\"]"], ["created_at", "2014-09-22 17:50:38.474132"], ["name", "joe"], ["title", "Vel minus placeat eos labore."], ["updated_at", "2014-09-22 17:50:38.474132"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:50:38.477815"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_54cb5502') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In enim inventore earum. Voluptatem et ducimus ipsam cumque. Quisquam repellendus repellat ea et. Numquam accusamus minima quia ratione minus. Animi voluptatem eos cumque.\", \"Ab qui vero. Aut assumenda vitae. Distinctio perspiciatis natus laboriosam inventore ipsa. Perferendis ut alias rerum.\"]"], ["created_at", "2014-09-22 17:50:38.483271"], ["name", "contract_54cb5502"], ["title", "Impedit in eaque dolores vel tempora aperiam."], ["updated_at", "2014-09-22 17:50:38.483271"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_54cb5502"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_54cb5502') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:50:38.486846"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.494152"], ["updated_at", "2014-09-22 17:50:38.494152"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 17:50:38.498786"], ["updated_at", "2014-09-22 17:50:38.498786"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_54cb5502') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_54cb5502"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_54cb5502') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.514679"], ["updated_at", "2014-09-22 17:50:38.514679"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.516245"], ["updated_at", "2014-09-22 17:50:38.516245"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b7ee7d23') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem iusto voluptatem harum. Nihil excepturi consequatur quam dolorum temporibus voluptate. Quia nisi odio omnis accusantium consectetur vitae. Similique consequuntur autem omnis atque.\", \"Sed sint ipsam. Esse dolores architecto amet eum et distinctio. Sit est voluptatem temporibus odit cum fuga. Sunt iusto voluptas excepturi deserunt est iure. Ea consequatur quia.\"]"], ["created_at", "2014-09-22 17:50:38.519314"], ["name", "contract_b7ee7d23"], ["title", "Eum et deserunt eaque."], ["updated_at", "2014-09-22 17:50:38.519314"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.526459"], ["updated_at", "2014-09-22 17:50:38.526459"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.528000"], ["updated_at", "2014-09-22 17:50:38.528000"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_2bb29a3a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi laborum quod ea id. Fuga saepe itaque neque quaerat. Aut est nam dolor vel minima sed autem.\", \"Tempore et sit sit fuga expedita numquam. Quasi rerum iusto facilis nobis consectetur blanditiis dignissimos. Eos porro assumenda.\"]"], ["created_at", "2014-09-22 17:50:38.531098"], ["name", "contract_2bb29a3a"], ["title", "Velit ratione voluptas sed beatae reprehenderit tenetur omnis."], ["updated_at", "2014-09-22 17:50:38.531098"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.535781"], ["updated_at", "2014-09-22 17:50:38.535781"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.538004"], ["updated_at", "2014-09-22 17:50:38.538004"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_13fe1245') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut assumenda quam. Molestias quidem nostrum suscipit eveniet. Magni quo ut.\", \"In sed iusto. Qui consectetur quod enim fugit. Numquam voluptatem exercitationem dicta et ad harum.\"]"], ["created_at", "2014-09-22 17:50:38.541181"], ["name", "contract_13fe1245"], ["title", "Non sed dolore cupiditate ratione."], ["updated_at", "2014-09-22 17:50:38.541181"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_13fe1245"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_13fe1245') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:50:38.544762"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_13fe1245"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_13fe1245') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:50:38.551166"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.556925"], ["updated_at", "2014-09-22 17:50:38.556925"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.558477"], ["updated_at", "2014-09-22 17:50:38.558477"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5f32d531') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet saepe amet exercitationem. Aut ipsum quam. Nulla voluptate eum et molestiae nihil accusamus ducimus. Incidunt sint repudiandae omnis.\", \"Et qui dolorem quibusdam beatae harum vitae. Est nihil velit deserunt nihil. Quaerat sed officiis.\"]"], ["created_at", "2014-09-22 17:50:38.561218"], ["name", "contract_5f32d531"], ["title", "Quos voluptas dolores magnam et aut ut eos."], ["updated_at", "2014-09-22 17:50:38.561218"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5f32d531"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_5f32d531') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 17:50:38.566368"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.570555"], ["updated_at", "2014-09-22 17:50:38.570555"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.571974"], ["updated_at", "2014-09-22 17:50:38.571974"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_2be25dc2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex alias perferendis veritatis. Nobis est laboriosam magni. Labore autem quisquam consequatur. Nobis in exercitationem neque.\", \"Iste maiores rerum. Quas in ipsa sunt qui voluptatem ut. Doloremque ipsam soluta consequatur qui quo tempore.\"]"], ["created_at", "2014-09-22 17:50:38.574601"], ["name", "contract_2be25dc2"], ["title", "Numquam ut eos vel quidem."], ["updated_at", "2014-09-22 17:50:38.574601"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.581018"], ["updated_at", "2014-09-22 17:50:38.581018"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.582736"], ["updated_at", "2014-09-22 17:50:38.582736"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_3d002819') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum eum ipsa. Et autem et maiores doloremque cumque distinctio. Maiores et aut hic maxime dolorem et. Temporibus exercitationem explicabo aliquid dolor necessitatibus. Molestiae sunt occaecati laborum aspernatur.\", \"Nostrum ut repudiandae et nobis asperiores. Nesciunt fuga qui vel est rem quia. A ut at architecto ea. Aut molestiae repudiandae eaque eligendi voluptatem.\"]"], ["created_at", "2014-09-22 17:50:38.585559"], ["name", "contract_3d002819"], ["title", "Deleniti vel possimus aperiam maxime quos et sint."], ["updated_at", "2014-09-22 17:50:38.585559"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.591215"], ["updated_at", "2014-09-22 17:50:38.591215"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.592662"], ["updated_at", "2014-09-22 17:50:38.592662"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_7bc78dee') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex ipsam ut sed. Et officia commodi unde. Illum nesciunt alias harum. Quaerat et ex explicabo blanditiis maxime.\", \"In voluptate officia incidunt pariatur. Qui nulla architecto odit cum. Blanditiis accusamus nihil quo voluptas et numquam.\"]"], ["created_at", "2014-09-22 17:50:38.595322"], ["name", "contract_7bc78dee"], ["title", "Corporis iusto voluptatem et explicabo sed fugiat."], ["updated_at", "2014-09-22 17:50:38.595322"]]  (0.4ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 13]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 13]]  (0.4ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 13 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.603492"], ["updated_at", "2014-09-22 17:50:38.603492"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.605008"], ["updated_at", "2014-09-22 17:50:38.605008"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b7aae05e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur saepe vel natus sed omnis. Corporis et magnam. Earum cupiditate ipsa praesentium asperiores. Delectus minima placeat et deleniti accusamus. Dolores delectus maxime eveniet et culpa est earum.\", \"Consectetur architecto corporis pariatur. Sed ea quas. Ratione consequatur neque impedit. Qui est suscipit fugiat sit quasi doloribus veniam. Similique rerum dolorum ducimus qui rerum aspernatur deserunt.\"]"], ["created_at", "2014-09-22 17:50:38.608604"], ["name", "contract_b7aae05e"], ["title", "Hic odio sed eum et quibusdam."], ["updated_at", "2014-09-22 17:50:38.608604"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.618406"], ["updated_at", "2014-09-22 17:50:38.618406"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.619974"], ["updated_at", "2014-09-22 17:50:38.619974"]]  (0.4ms) commit transaction  (0.0ms) begin transaction 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_7320a894') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia quis dolor dignissimos vero inventore. Omnis delectus vel deleniti dolorem quo qui. Aut ut ab culpa provident. Quidem expedita molestias natus sed. Ad dolor quod temporibus.\", \"Nisi deserunt expedita earum omnis. Aut quia expedita ea autem porro aut. Est aliquid voluptatibus non.\"]"], ["created_at", "2014-09-22 17:50:38.622685"], ["name", "contract_7320a894"], ["title", "Exercitationem ullam est omnis consequatur nulla et."], ["updated_at", "2014-09-22 17:50:38.622685"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7320a894"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_7320a894') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:50:38.625888"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 1ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.632653"], ["updated_at", "2014-09-22 17:50:38.632653"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.634282"], ["updated_at", "2014-09-22 17:50:38.634282"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_04769002') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident quas soluta quis et repellendus. Officia numquam et totam quia repudiandae quia et. Dolor culpa harum ipsam iure cupiditate eos voluptas.\", \"Sed in rem aperiam ut. Eligendi est similique ad. Distinctio laboriosam repudiandae sapiente cupiditate. Nam voluptatem iusto expedita.\"]"], ["created_at", "2014-09-22 17:50:38.637064"], ["name", "contract_04769002"], ["title", "Libero eos nihil autem ut incidunt."], ["updated_at", "2014-09-22 17:50:38.637064"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04769002"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_04769002') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:50:38.640232"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.646232"], ["updated_at", "2014-09-22 17:50:38.646232"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.647715"], ["updated_at", "2014-09-22 17:50:38.647715"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_661f657e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero sed aut reprehenderit quia ut. Sit ratione non aspernatur ut eos earum. Omnis aut nulla dolores et quidem. Voluptas voluptate amet dolorem aut sed. Tenetur quia ipsum.\", \"Quos quae consequuntur. Beatae nihil est unde explicabo voluptates. Quidem vero nihil fugit dolor sit fuga eum. Enim ad et mollitia qui suscipit magnam est. Necessitatibus enim id id.\"]"], ["created_at", "2014-09-22 17:50:38.650408"], ["name", "contract_661f657e"], ["title", "Adipisci itaque quo veritatis officia assumenda."], ["updated_at", "2014-09-22 17:50:38.650408"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:50:38.653759"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:50:38.653759"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.657662"], ["updated_at", "2014-09-22 17:50:38.657662"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.659145"], ["updated_at", "2014-09-22 17:50:38.659145"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_7b0354cf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime nihil unde vero deleniti ut. Occaecati in quia eum et et repellat. Maiores reprehenderit odio. Reprehenderit placeat aut sed. Qui vel adipisci.\", \"Vel quidem quis et sit. Molestiae repellendus architecto. Qui libero labore earum eum consequuntur voluptatum aut. Officia consectetur dicta incidunt porro. Dolores ipsam quaerat dolore tempora velit.\"]"], ["created_at", "2014-09-22 17:50:38.662228"], ["name", "contract_7b0354cf"], ["title", "A assumenda et facilis sint qui reiciendis asperiores."], ["updated_at", "2014-09-22 17:50:38.662228"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.668957"], ["updated_at", "2014-09-22 17:50:38.668957"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.670418"], ["updated_at", "2014-09-22 17:50:38.670418"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_972461f4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias quia omnis est qui perferendis illo sit. Fuga nihil dolorum. In quia magnam quae ut quo necessitatibus. Corporis tempore sed voluptatem laboriosam veritatis.\", \"Deleniti sapiente et at. Aut ut eum ratione fugit in doloribus voluptas. Omnis sapiente nobis in facere mollitia alias officia.\"]"], ["created_at", "2014-09-22 17:50:38.673001"], ["name", "contract_972461f4"], ["title", "Et repellat qui voluptate error."], ["updated_at", "2014-09-22 17:50:38.673001"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 20 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:50:38.676722"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.682701"], ["updated_at", "2014-09-22 17:50:38.682701"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.684346"], ["updated_at", "2014-09-22 17:50:38.684346"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_29e8c218') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid iusto reprehenderit consequatur eius soluta. Voluptatem sed voluptate dolorem iure hic nobis quae. Molestiae sed ea voluptas nihil ex.\", \"Ratione aspernatur eos autem deserunt cupiditate qui. Labore dolorem ipsum et beatae ab. Sint laudantium deleniti et ut maiores adipisci.\"]"], ["created_at", "2014-09-22 17:50:38.686961"], ["name", "contract_29e8c218"], ["title", "Et laborum vero."], ["updated_at", "2014-09-22 17:50:38.686961"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_29e8c218"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_29e8c218') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:50:38.690172"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_29e8c218' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.696927"], ["updated_at", "2014-09-22 17:50:38.696927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.698573"], ["updated_at", "2014-09-22 17:50:38.698573"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2bfd3e7d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non consequuntur eum optio dicta. Rerum numquam sunt qui eaque aut eveniet. Nobis quam facilis at ea doloremque possimus et.\", \"Quo dolorum qui. Fuga autem aut quisquam. Quos est voluptas nobis.\"]"], ["created_at", "2014-09-22 17:50:38.701081"], ["name", "contract_2bfd3e7d"], ["title", "Voluptas earum architecto illum velit harum hic provident."], ["updated_at", "2014-09-22 17:50:38.701081"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.705106"], ["updated_at", "2014-09-22 17:50:38.705106"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.707548"], ["updated_at", "2014-09-22 17:50:38.707548"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_36ad10ce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem corrupti temporibus aut similique. Voluptatem commodi molestiae modi laborum sed sapiente. Unde reprehenderit et libero eum sit quo. Alias labore aliquam temporibus.\", \"Et aut et maxime alias quas voluptas. Accusantium ut ipsam animi ea suscipit nobis. Tenetur placeat saepe nisi. Quis quasi et non corporis. Ad consequuntur nemo repudiandae deserunt sint delectus.\"]"], ["created_at", "2014-09-22 17:50:38.710421"], ["name", "contract_36ad10ce"], ["title", "Aut similique velit earum."], ["updated_at", "2014-09-22 17:50:38.710421"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.714410"], ["updated_at", "2014-09-22 17:50:38.714410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.715859"], ["updated_at", "2014-09-22 17:50:38.715859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6a4bccdd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et rem dolore tenetur nam facere dolorem et. Non molestiae voluptas quia rerum. Tempora ut aperiam quae non asperiores.\", \"Ipsa eos enim maxime ab dolores natus officia. Nihil et consequatur non aut rem omnis. Assumenda eveniet quis qui ut necessitatibus vel inventore. Eius doloribus doloremque sint magni ut deserunt.\"]"], ["created_at", "2014-09-22 17:50:38.718373"], ["name", "contract_6a4bccdd"], ["title", "Qui eaque qui quia ut."], ["updated_at", "2014-09-22 17:50:38.718373"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.723138"], ["updated_at", "2014-09-22 17:50:38.723138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.724539"], ["updated_at", "2014-09-22 17:50:38.724539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_338d2f74') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt cumque velit quidem voluptatem. Voluptas quo facilis. Et delectus error vel. Aspernatur nihil quibusdam unde sint et reprehenderit. Dolores minus vel.\", \"Maiores nam reiciendis sint tempore. Deserunt ducimus et reiciendis natus quis. Eligendi illum soluta saepe quam. Nesciunt voluptatem rerum.\"]"], ["created_at", "2014-09-22 17:50:38.727321"], ["name", "contract_338d2f74"], ["title", "Fugit laudantium voluptatem enim deserunt quis."], ["updated_at", "2014-09-22 17:50:38.727321"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 16, 9, 21, 8, 11, 22, 25, 23, 4, 12, 6, 10, 17, 24, 15, 2, 1, 19, 14, 7, 3, 5, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis dolores porro dolorem. Recusandae et incidunt deleniti ut impedit corporis qui. Dolores consectetur optio id non excepturi quo. Laboriosam distinctio magni aliquam nobis. Earum minus id nulla praesentium fugit quasi.\", \"Maiores sit in. Modi eos magnam id corrupti quia quia. Inventore ab ex omnis autem quo perferendis explicabo. Doloribus nulla sunt eius voluptate voluptatum a. Distinctio iusto vitae consequuntur nobis.\"]"], ["created_at", "2014-09-22 17:50:38.738417"], ["name", "alpha"], ["title", "Reprehenderit dolorem accusantium."], ["updated_at", "2014-09-22 17:50:38.738417"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:50:38.741531"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum repellendus id. Architecto aut neque maiores et numquam dolore aspernatur. Eaque occaecati nisi. Est aut aut nam fugit qui voluptas consectetur.\", \"Cupiditate debitis officiis sed animi et aut. Ut et commodi. Consequatur recusandae harum. Voluptatem mollitia rem praesentium deserunt consequatur omnis.\"]"], ["created_at", "2014-09-22 17:50:38.744879"], ["name", "beta"], ["title", "Fugiat aut amet."], ["updated_at", "2014-09-22 17:50:38.744879"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:50:38.747705"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.749961"], ["updated_at", "2014-09-22 17:50:38.749961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 17:50:38.752658"], ["updated_at", "2014-09-22 17:50:38.752658"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:50:38.754969"], ["updated_at", "2014-09-22 17:50:38.754969"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:50:38.757517"], ["name", "alpha"], ["title", "Reprehenderit dolorem accusantium."], ["updated_at", "2014-09-22 17:50:38.757517"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:50:38.760727"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere nesciunt vero. Eaque cum quam. Consequuntur quia saepe. Repellendus velit atque optio.\", \"Natus fuga dolor et quas sed sit. Quos tenetur praesentium. Enim sed delectus veniam iusto beatae illo dolore. Reiciendis deserunt nam quam.\"]"], ["created_at", "2014-09-22 17:50:38.767499"], ["name", "alpha"], ["title", "Qui consectetur et."], ["updated_at", "2014-09-22 17:50:38.767499"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:50:38.770592"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus minima quis distinctio eum. Sed et sunt non. Consequatur mollitia soluta est. Nesciunt repellat molestiae animi laboriosam totam ea consequatur.\", \"Ut aliquid et vel. Eos enim accusantium aut expedita unde sapiente. Provident animi ab veniam. Tempore quo perspiciatis voluptatibus voluptatem debitis.\"]"], ["created_at", "2014-09-22 17:50:38.773917"], ["name", "beta"], ["title", "Explicabo et molestiae doloribus."], ["updated_at", "2014-09-22 17:50:38.773917"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:50:38.776867"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.779077"], ["updated_at", "2014-09-22 17:50:38.779077"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:50:38.781661"], ["updated_at", "2014-09-22 17:50:38.781661"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:50:38.784147"], ["updated_at", "2014-09-22 17:50:38.784147"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:50:38.786388"], ["name", "alpha"], ["title", "Qui consectetur et."], ["updated_at", "2014-09-22 17:50:38.786388"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:50:38.789414"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In aut excepturi cupiditate. Voluptas provident sit vitae et tenetur. Numquam quia illum.\", \"Asperiores quas cupiditate eligendi expedita. Perspiciatis cum nulla non corporis excepturi atque quia. Enim laborum debitis voluptates hic et. Molestiae nihil consectetur.\"]"], ["created_at", "2014-09-22 17:50:38.795604"], ["name", "alpha"], ["title", "Aut at minima atque quidem ut exercitationem."], ["updated_at", "2014-09-22 17:50:38.795604"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:50:38.799336"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit aut consequuntur ea modi consequatur sed. Ut quam recusandae expedita quibusdam voluptas sed voluptatem. Laboriosam minima optio rerum. Vitae voluptatibus est.\", \"Tenetur rerum est ut sint et quas. Amet occaecati temporibus ut qui. Maiores soluta minima accusantium.\"]"], ["created_at", "2014-09-22 17:50:38.802796"], ["name", "beta"], ["title", "Non minima placeat totam voluptatibus et iure."], ["updated_at", "2014-09-22 17:50:38.802796"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:50:38.805735"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.808120"], ["updated_at", "2014-09-22 17:50:38.808120"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 17:50:38.811016"], ["updated_at", "2014-09-22 17:50:38.811016"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 17:50:38.813404"], ["updated_at", "2014-09-22 17:50:38.813404"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:50:38.816465"], ["name", "alpha"], ["title", "Aut at minima atque quidem ut exercitationem."], ["updated_at", "2014-09-22 17:50:38.816465"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:50:38.820037"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 17:50:38.834202"], ["updated_at", "2014-09-22 17:50:38.834202"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime voluptas qui sunt laboriosam occaecati amet. Est nemo voluptas architecto nostrum deserunt sunt. Voluptas dicta amet veniam voluptas est illum. Voluptate quo commodi et doloremque facilis.\", \"Amet possimus beatae. Ut quis assumenda aliquid iste. Perferendis excepturi laudantium sunt soluta eveniet corrupti. Quod dolores quaerat voluptas sit ea et dolore.\"]"], ["created_at", "2014-09-22 17:50:38.846871"], ["name", "alpha"], ["title", "Quas neque distinctio dolorem aut quo commodi."], ["updated_at", "2014-09-22 17:50:38.846871"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:50:38.849948"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa est reprehenderit beatae occaecati neque. Tempore harum dignissimos doloribus quasi eos eius. Inventore ut nulla omnis autem. Repellendus nulla id placeat modi quis.\", \"Reiciendis minus natus eveniet praesentium voluptates. Aut qui voluptatem laudantium quia qui esse qui. Consequatur illum ducimus et explicabo amet repudiandae. Illum blanditiis voluptatem.\"]"], ["created_at", "2014-09-22 17:50:38.853206"], ["name", "beta"], ["title", "Natus neque et itaque."], ["updated_at", "2014-09-22 17:50:38.853206"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:50:38.856033"], ["version", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.858142"], ["updated_at", "2014-09-22 17:50:38.858142"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:50:38.860712"], ["updated_at", "2014-09-22 17:50:38.860712"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 17:50:38.863129"], ["updated_at", "2014-09-22 17:50:38.863129"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:50:38.865361"], ["name", "alpha"], ["title", "Quas neque distinctio dolorem aut quo commodi."], ["updated_at", "2014-09-22 17:50:38.865361"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:50:38.868311"], ["version", 8]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.873142"], ["updated_at", "2014-09-22 17:50:38.873142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.874635"], ["updated_at", "2014-09-22 17:50:38.874635"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ade5a1b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt esse accusamus illum voluptatibus dignissimos quos. Et incidunt esse possimus rerum corporis. Beatae fugit molestiae excepturi. Consequuntur quo dolor deserunt aliquam hic voluptate consequatur. Omnis sunt quam impedit.\", \"Beatae deserunt aut facere. Optio ducimus a est necessitatibus quae aut. Nihil libero nulla non tenetur adipisci magni non. Fuga omnis ut non. Possimus quisquam earum facilis dolorum.\"]"], ["created_at", "2014-09-22 17:50:38.877528"], ["name", "contract_ade5a1b3"], ["title", "Autem et aut sed cupiditate et illum eos."], ["updated_at", "2014-09-22 17:50:38.877528"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ade5a1b3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_ade5a1b3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:50:38.881309"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.883780"], ["updated_at", "2014-09-22 17:50:38.883780"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 17:50:38.885961"], ["updated_at", "2014-09-22 17:50:38.885961"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.892471"], ["updated_at", "2014-09-22 17:50:38.892471"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.893915"], ["updated_at", "2014-09-22 17:50:38.893915"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4fa3a3e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis accusamus consequatur quae. Dolorum mollitia impedit rerum ad. Necessitatibus culpa consequatur pariatur ipsum nobis perspiciatis saepe.\", \"Ipsa qui a quia. Et nam ut. Impedit et sint. Aut aut ut.\"]"], ["created_at", "2014-09-22 17:50:38.896949"], ["name", "contract_4fa3a3e4"], ["title", "Aut itaque culpa."], ["updated_at", "2014-09-22 17:50:38.896949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4fa3a3e4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_4fa3a3e4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:50:38.899906"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.902403"], ["updated_at", "2014-09-22 17:50:38.902403"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:50:38.904536"], ["updated_at", "2014-09-22 17:50:38.904536"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.907589"], ["updated_at", "2014-09-22 17:50:38.907589"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.909187"], ["updated_at", "2014-09-22 17:50:38.909187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d0264bb3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est dolores reprehenderit. Culpa ea et quos est dolor. Libero suscipit ipsa sed odio ut molestiae sit. Veritatis sed est qui rerum.\", \"Nobis cumque eos et consectetur vel sequi necessitatibus. Autem quibusdam ducimus. Rerum nemo voluptates eos nostrum magni possimus. Est pariatur natus iure.\"]"], ["created_at", "2014-09-22 17:50:38.912203"], ["name", "contract_d0264bb3"], ["title", "Asperiores quos accusantium sint sit adipisci nesciunt."], ["updated_at", "2014-09-22 17:50:38.912203"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d0264bb3"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_d0264bb3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:50:38.915604"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.918213"], ["updated_at", "2014-09-22 17:50:38.918213"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 17:50:38.920462"], ["updated_at", "2014-09-22 17:50:38.920462"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 13]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.927613"], ["updated_at", "2014-09-22 17:50:38.927613"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.929148"], ["updated_at", "2014-09-22 17:50:38.929148"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7c745029') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto ullam et velit cupiditate. Facere iusto sint eum ipsam est. Vitae odio mollitia et.\", \"Distinctio placeat nisi neque esse. Quia qui neque quibusdam ut consequuntur. In ut ab.\"]"], ["created_at", "2014-09-22 17:50:38.932195"], ["name", "contract_7c745029"], ["title", "Ut sit dolorem aut quaerat ad earum."], ["updated_at", "2014-09-22 17:50:38.932195"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7c745029"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_7c745029') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:50:38.935396"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.937858"], ["updated_at", "2014-09-22 17:50:38.937858"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:50:38.940181"], ["updated_at", "2014-09-22 17:50:38.940181"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_54606d14') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias tempora modi velit deleniti voluptatem tenetur dolorum. Sed cumque hic sint voluptatem. Suscipit aliquid doloremque blanditiis esse.\", \"Optio est impedit aliquam commodi hic delectus. Ipsum hic eius a numquam dolores vitae est. Et reiciendis quo sit dolorum odio eum qui. Explicabo molestiae voluptatum. Quia eligendi culpa labore commodi.\"]"], ["created_at", "2014-09-22 17:50:38.944166"], ["name", "contract_54606d14"], ["title", "Et quae voluptates."], ["updated_at", "2014-09-22 17:50:38.944166"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.1ms) begin transaction 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_56dc6d1b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur est atque neque beatae maiores. Voluptatem sed voluptatibus rem. Sunt alias quo nobis. Deleniti beatae qui est. Non officiis aperiam ipsa atque totam beatae mollitia.\", \"Voluptatibus sequi quae. Rem aspernatur facilis accusantium sunt est totam est. Soluta nisi illum a. Neque temporibus aperiam voluptatem.\"]"], ["created_at", "2014-09-22 17:50:38.955995"], ["name", "contract_56dc6d1b"], ["title", "Ullam eum sed."], ["updated_at", "2014-09-22 17:50:38.955995"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56dc6d1b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_56dc6d1b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:50:38.959749"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.962402"], ["updated_at", "2014-09-22 17:50:38.962402"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.969176"], ["updated_at", "2014-09-22 17:50:38.969176"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.970666"], ["updated_at", "2014-09-22 17:50:38.970666"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.977271"], ["updated_at", "2014-09-22 17:50:38.977271"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:50:38.978802"], ["updated_at", "2014-09-22 17:50:38.978802"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_5a388e68') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At eaque ipsam consequatur. Maxime delectus repellendus numquam. Rem eos asperiores libero veniam non alias exercitationem. Atque saepe consequatur cupiditate vitae dignissimos reiciendis impedit.\", \"Voluptatum eaque maiores nulla consectetur placeat vitae doloremque. Sunt autem enim atque laborum consequatur neque. Quod neque fuga rerum molestiae voluptate. Quis velit commodi iure iusto libero fugiat et. Ad quo repudiandae sint cupiditate explicabo architecto harum.\"]"], ["created_at", "2014-09-22 17:51:10.302980"], ["name", "contract_5a388e68"], ["title", "Harum beatae sed excepturi occaecati."], ["updated_at", "2014-09-22 17:51:10.302980"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5a388e68"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5a388e68') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:51:10.314592"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.325285"], ["updated_at", "2014-09-22 17:51:10.325285"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 17:51:10.330536"], ["updated_at", "2014-09-22 17:51:10.330536"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5a388e68') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5a388e68"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_5a388e68') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction 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_7e732a05') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis modi sed. Quos sunt est harum totam. Et atque saepe inventore et rerum similique maiores. Occaecati dolorem et maiores nihil. Quam assumenda consequatur voluptatibus voluptatem nulla ipsam voluptatem.\", \"Neque est sit blanditiis beatae exercitationem consequatur. Ducimus magnam ut cupiditate culpa eveniet. Quos voluptatem quia qui. Ipsam et blanditiis laborum. Porro maiores odit veritatis ipsa distinctio veniam.\"]"], ["created_at", "2014-09-22 17:51:10.346347"], ["name", "contract_7e732a05"], ["title", "Et quisquam voluptas quas."], ["updated_at", "2014-09-22 17:51:10.346347"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e732a05"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_7e732a05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:51:10.349869"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_7e732a05' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction FinePrint::Contract Exists (0.5ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_7e732a05') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis modi sed. Quos sunt est harum totam. Et atque saepe inventore et rerum similique maiores. Occaecati dolorem et maiores nihil. Quam assumenda consequatur voluptatibus voluptatem nulla ipsam voluptatem.\", \"Neque est sit blanditiis beatae exercitationem consequatur. Ducimus magnam ut cupiditate culpa eveniet. Quos voluptatem quia qui. Ipsam et blanditiis laborum. Porro maiores odit veritatis ipsa distinctio veniam.\"]"], ["created_at", "2014-09-22 17:51:10.356743"], ["name", "contract_7e732a05"], ["title", "Et quisquam voluptas quas."], ["updated_at", "2014-09-22 17:51:10.356743"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e732a05"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_7e732a05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:51:10.361081"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9be31b1d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda maiores perferendis unde officia voluptatem. Placeat est quo libero quia cum. Alias mollitia officiis omnis molestiae. Voluptatum distinctio voluptatem voluptatem et atque repellendus. Dignissimos incidunt aut animi aperiam recusandae.\", \"Quas velit sunt labore aut quis. Qui vero eum. Consequuntur voluptatibus sunt perferendis qui ut. Est debitis fuga delectus quia repellendus explicabo.\"]"], ["created_at", "2014-09-22 17:51:10.365495"], ["name", "contract_9be31b1d"], ["title", "Suscipit eligendi veritatis autem dolorum modi."], ["updated_at", "2014-09-22 17:51:10.365495"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9be31b1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_9be31b1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:51:10.368626"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9be31b1d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda maiores perferendis unde officia voluptatem. Placeat est quo libero quia cum. Alias mollitia officiis omnis molestiae. Voluptatum distinctio voluptatem voluptatem et atque repellendus. Dignissimos incidunt aut animi aperiam recusandae.\", \"Quas velit sunt labore aut quis. Qui vero eum. Consequuntur voluptatibus sunt perferendis qui ut. Est debitis fuga delectus quia repellendus explicabo.\"]"], ["created_at", "2014-09-22 17:51:10.372521"], ["name", "joe"], ["title", "Suscipit eligendi veritatis autem dolorum modi."], ["updated_at", "2014-09-22 17:51:10.372521"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:51:10.375668"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4725b67c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio vel ducimus pariatur sapiente numquam. Ab placeat voluptas est molestiae. Maxime magni ratione quas similique et eum. Ut molestiae itaque eaque vel quasi. Deserunt repellendus amet soluta et.\", \"Harum consequuntur et vel quis. Nemo quia ea ratione quis doloribus reiciendis quisquam. Ut sit atque ut voluptates reiciendis sed ipsum. Non et fuga commodi fugiat et.\"]"], ["created_at", "2014-09-22 17:51:10.379721"], ["name", "contract_4725b67c"], ["title", "Doloribus corrupti expedita quis."], ["updated_at", "2014-09-22 17:51:10.379721"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4725b67c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_4725b67c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:51:10.384902"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4725b67c"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4725b67c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_4725b67c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:51:10.392464"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.395994"], ["updated_at", "2014-09-22 17:51:10.395994"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.397699"], ["updated_at", "2014-09-22 17:51:10.397699"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.403553"], ["updated_at", "2014-09-22 17:51:10.403553"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.405217"], ["updated_at", "2014-09-22 17:51:10.405217"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.413569"], ["updated_at", "2014-09-22 17:51:10.413569"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.415724"], ["updated_at", "2014-09-22 17:51:10.415724"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_bc3d5426') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam suscipit doloremque praesentium quae vero. Delectus placeat quaerat quis. Mollitia quis a.\", \"Omnis et numquam labore soluta. Ut consectetur natus aperiam. Dicta dolorem tempore quis dolorum.\"]"], ["created_at", "2014-09-22 17:51:10.418924"], ["name", "contract_bc3d5426"], ["title", "Est labore et rerum."], ["updated_at", "2014-09-22 17:51:10.418924"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.424524"], ["updated_at", "2014-09-22 17:51:10.424524"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.426186"], ["updated_at", "2014-09-22 17:51:10.426186"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2e23037c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui sint amet. Perferendis illum sed qui et quia. Ea nisi placeat laborum et natus minima tenetur. Corporis qui sunt.\", \"In libero et consequuntur voluptatem nesciunt corporis. Quisquam nisi qui ut neque repellendus magni porro. Hic cupiditate eligendi voluptatem ab magni voluptas. Ea ducimus eaque est repellendus corrupti quia.\"]"], ["created_at", "2014-09-22 17:51:10.429290"], ["name", "contract_2e23037c"], ["title", "Officia aliquam sequi in quasi et ratione."], ["updated_at", "2014-09-22 17:51:10.429290"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2e23037c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_2e23037c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 17:51:10.433266"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.438474"], ["updated_at", "2014-09-22 17:51:10.438474"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.440000"], ["updated_at", "2014-09-22 17:51:10.440000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cd3077e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas accusantium alias vero soluta aut hic. Nemo ut dolorum perferendis ea excepturi labore autem. Nostrum quod nesciunt et.\", \"Eveniet expedita consequatur nulla est qui ea. Sed aspernatur quis voluptatum id. Nobis veritatis qui ad. Dolorum quas molestiae ipsum. Quia sunt sit.\"]"], ["created_at", "2014-09-22 17:51:10.442637"], ["name", "contract_cd3077e3"], ["title", "Aut sed et repellat dicta quae."], ["updated_at", "2014-09-22 17:51:10.442637"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.446683"], ["updated_at", "2014-09-22 17:51:10.446683"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.448250"], ["updated_at", "2014-09-22 17:51:10.448250"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_446ae87d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis ut qui vitae mollitia. Sint sunt accusantium quae et. Rerum et aut dignissimos eos enim tempora ipsum. Ipsa ea cum et ut dolore. Ab molestiae quo et saepe.\", \"Velit rerum velit voluptatibus atque. Aliquid aspernatur voluptas consequatur ab molestiae facilis asperiores. Eum dolore est voluptatibus est sint quod rerum. Ad ut optio.\"]"], ["created_at", "2014-09-22 17:51:10.450998"], ["name", "contract_446ae87d"], ["title", "Temporibus eos odio est magni et voluptatibus."], ["updated_at", "2014-09-22 17:51:10.450998"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_446ae87d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_446ae87d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 17:51:10.454215"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.461362"], ["updated_at", "2014-09-22 17:51:10.461362"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.462910"], ["updated_at", "2014-09-22 17:51:10.462910"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dd40f0f5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptatem tenetur harum. Saepe tempore aut quia blanditiis iure omnis. Nulla officia qui totam. Aliquam doloribus qui et magni nisi sunt aut.\", \"Illum labore vero eligendi. Vero neque molestiae sit possimus mollitia iste in. Qui molestias eaque. Beatae qui alias non. Dicta facilis officia in accusantium.\"]"], ["created_at", "2014-09-22 17:51:10.465613"], ["name", "contract_dd40f0f5"], ["title", "Hic excepturi culpa."], ["updated_at", "2014-09-22 17:51:10.465613"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dd40f0f5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_dd40f0f5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:51:10.468644"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dd40f0f5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_dd40f0f5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:51:10.474415"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.478931"], ["updated_at", "2014-09-22 17:51:10.478931"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.480424"], ["updated_at", "2014-09-22 17:51:10.480424"]]  (1.0ms) commit transaction  (0.1ms) begin transaction 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_2a522dcf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil odio adipisci optio ut aliquam. Dolor accusantium illo et nesciunt voluptate aut. Est voluptatum exercitationem incidunt labore quia omnis assumenda.\", \"Officiis omnis sint voluptatem id. Incidunt quos placeat et et neque adipisci. Sit rerum totam nisi sint blanditiis suscipit. Impedit aspernatur sint.\"]"], ["created_at", "2014-09-22 17:51:10.483602"], ["name", "contract_2a522dcf"], ["title", "Quia nulla id enim."], ["updated_at", "2014-09-22 17:51:10.483602"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 12 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:51:10.487756"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.495537"], ["updated_at", "2014-09-22 17:51:10.495537"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.497754"], ["updated_at", "2014-09-22 17:51:10.497754"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e7b0d192') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur quod voluptatibus non tempora facere. Harum molestiae nemo quis error et laborum. Eos nam a autem eos ducimus. Itaque quia temporibus animi ad ipsum. Et voluptatem et voluptatem.\", \"Nihil error provident magnam eveniet et voluptate fuga. Nihil consequatur dolor laboriosam ducimus ex modi. Non consequatur eum nihil tempora cupiditate eaque. Sed eveniet aut rerum. Nemo ipsum sit voluptatem.\"]"], ["created_at", "2014-09-22 17:51:10.501754"], ["name", "contract_e7b0d192"], ["title", "Tenetur sed molestiae officia omnis iste."], ["updated_at", "2014-09-22 17:51:10.501754"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 1ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.507447"], ["updated_at", "2014-09-22 17:51:10.507447"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.509108"], ["updated_at", "2014-09-22 17:51:10.509108"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_9e05c9b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque neque consequatur molestias reprehenderit quis. Ea eos ut et labore. Quos vel optio enim est quis. Est doloribus neque ut ipsa fugiat vel veritatis.\", \"Reiciendis quo et deserunt omnis est dolorem dolor. Delectus sint vel unde. Fuga suscipit nisi voluptatem dolores eligendi et facere.\"]"], ["created_at", "2014-09-22 17:51:10.511818"], ["name", "contract_9e05c9b8"], ["title", "Et occaecati dolorem."], ["updated_at", "2014-09-22 17:51:10.511818"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.517839"], ["updated_at", "2014-09-22 17:51:10.517839"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.519347"], ["updated_at", "2014-09-22 17:51:10.519347"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_26aa2dbe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis qui et voluptatem ducimus illo quia. Quia eaque qui aliquid quibusdam. Harum beatae sed incidunt veniam aut. Illum nostrum rerum temporibus itaque earum voluptatem et. Suscipit tempora voluptas quia provident in iure perspiciatis.\", \"Consectetur autem perferendis sint cumque non. Reiciendis et sunt. Facere consequatur exercitationem totam modi. Molestiae impedit ut et repudiandae repellendus perferendis. Blanditiis ex quis aut reiciendis voluptatem aut delectus.\"]"], ["created_at", "2014-09-22 17:51:10.522230"], ["name", "contract_26aa2dbe"], ["title", "Et inventore pariatur in tempora perspiciatis."], ["updated_at", "2014-09-22 17:51:10.522230"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_26aa2dbe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_26aa2dbe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:51:10.528113"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.532227"], ["updated_at", "2014-09-22 17:51:10.532227"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.533592"], ["updated_at", "2014-09-22 17:51:10.533592"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_499db7d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et possimus non. Cum ea non et et nisi pariatur ad. Repellendus et quia eligendi.\", \"Quidem dignissimos dolores expedita. Tempora est sed dolorem provident facere consequatur corrupti. Officiis perferendis earum id et ipsa suscipit non.\"]"], ["created_at", "2014-09-22 17:51:10.536032"], ["name", "contract_499db7d9"], ["title", "Quam rerum quo et dolores voluptas quo."], ["updated_at", "2014-09-22 17:51:10.536032"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.539551"], ["updated_at", "2014-09-22 17:51:10.539551"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.540875"], ["updated_at", "2014-09-22 17:51:10.540875"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f9a20482') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium aliquid unde vel voluptate mollitia deleniti tenetur. Delectus dolores rerum tempore molestias maxime voluptatibus quis. Assumenda dolorem harum occaecati nostrum.\", \"Autem cum eum est ut velit. Est officiis laudantium culpa optio. Consequatur facilis sit voluptas enim rem dolorem aut. Animi ipsa eum ab voluptas aspernatur eligendi nemo. Ab qui adipisci quidem dolor exercitationem.\"]"], ["created_at", "2014-09-22 17:51:10.543300"], ["name", "contract_f9a20482"], ["title", "Inventore in nihil iste qui asperiores."], ["updated_at", "2014-09-22 17:51:10.543300"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.550482"], ["updated_at", "2014-09-22 17:51:10.550482"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.552323"], ["updated_at", "2014-09-22 17:51:10.552323"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_89991c20') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio et et ipsa vitae dolor. Vero rerum magni neque ut. Sapiente magnam esse. Aliquam et et mollitia id ut. Eos sit natus voluptas omnis.\", \"Inventore quas rerum aperiam. Ex perferendis consequatur voluptatem harum ullam. Fugit et voluptatem esse.\"]"], ["created_at", "2014-09-22 17:51:10.555479"], ["name", "contract_89991c20"], ["title", "Recusandae explicabo autem architecto."], ["updated_at", "2014-09-22 17:51:10.555479"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.567097"], ["updated_at", "2014-09-22 17:51:10.567097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.568758"], ["updated_at", "2014-09-22 17:51:10.568758"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_0741932c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum cumque est dolorem laudantium. Aut rem fugiat in molestias quod expedita. Et sed repellendus praesentium ex.\", \"Facilis ad qui eum similique ullam maxime. Soluta in sint culpa ea corporis reprehenderit. Sed aliquam facilis dolore cumque. Repellat deserunt voluptatem dolores.\"]"], ["created_at", "2014-09-22 17:51:10.571435"], ["name", "contract_0741932c"], ["title", "Ratione labore recusandae eos."], ["updated_at", "2014-09-22 17:51:10.571435"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.575886"], ["updated_at", "2014-09-22 17:51:10.575886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.577336"], ["updated_at", "2014-09-22 17:51:10.577336"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0936b14c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti et nisi omnis a neque. Tenetur veniam quis. Ut architecto sit in natus.\", \"Totam ea blanditiis saepe. Officia porro doloremque. Sequi iure perspiciatis ratione. Expedita non et sit.\"]"], ["created_at", "2014-09-22 17:51:10.579856"], ["name", "contract_0936b14c"], ["title", "Dicta necessitatibus sint aut quia similique molestiae."], ["updated_at", "2014-09-22 17:51:10.579856"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 19, 20, 15, 8, 10, 6, 16, 1, 3, 2, 18, 4, 14, 7, 9, 11, 13, 17, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.592034"], ["updated_at", "2014-09-22 17:51:10.592034"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.593723"], ["updated_at", "2014-09-22 17:51:10.593723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2d30b8ea') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse enim non quo quibusdam saepe voluptates omnis. Autem et quod aliquam. Doloribus consequatur itaque.\", \"Voluptas distinctio et velit nesciunt. Reprehenderit ut quas nisi sapiente. Temporibus sit quas rem. Et rem incidunt ut similique ut.\"]"], ["created_at", "2014-09-22 17:51:10.596619"], ["name", "contract_2d30b8ea"], ["title", "Et eius ut laudantium."], ["updated_at", "2014-09-22 17:51:10.596619"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2d30b8ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_2d30b8ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:51:10.599802"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d30b8ea' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.606855"], ["updated_at", "2014-09-22 17:51:10.606855"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.608370"], ["updated_at", "2014-09-22 17:51:10.608370"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_965b7c8b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod blanditiis aliquid ut corporis et. Quis dolorum illo. Asperiores sunt sequi sint illo doloribus aut soluta. Autem perferendis accusamus iste. Nemo aut dolore aliquam non maxime minima natus.\", \"Blanditiis ratione ut. Facilis asperiores quae adipisci at vel. Dignissimos laboriosam dolor qui numquam quia impedit porro.\"]"], ["created_at", "2014-09-22 17:51:10.611048"], ["name", "contract_965b7c8b"], ["title", "Nesciunt id magni et."], ["updated_at", "2014-09-22 17:51:10.611048"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 22]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 22]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 22 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.618891"], ["updated_at", "2014-09-22 17:51:10.618891"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.620365"], ["updated_at", "2014-09-22 17:51:10.620365"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b65ef1b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil non dolore eligendi explicabo sint voluptatem consequatur. Sed neque est expedita. Et eaque exercitationem saepe eligendi. Quia quibusdam nulla unde velit voluptatibus similique. Et non impedit ut porro sint perspiciatis et.\", \"Autem quo pariatur quia veritatis. Quaerat facilis recusandae culpa explicabo atque. Dignissimos cumque sit et et maxime.\"]"], ["created_at", "2014-09-22 17:51:10.623788"], ["name", "contract_b65ef1b1"], ["title", "Ut nemo aut eos quasi hic."], ["updated_at", "2014-09-22 17:51:10.623788"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:51:10.627432"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:51:10.627432"]]  (0.4ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.630780"], ["updated_at", "2014-09-22 17:51:10.630780"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.632212"], ["updated_at", "2014-09-22 17:51:10.632212"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_3c85cc4f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut eos est dolor inventore animi vitae. Aut quis autem non corrupti ut dolor. Omnis et ea exercitationem aut debitis. Illum officia laboriosam quae sunt delectus. Molestiae aperiam enim quo ipsa vel.\", \"Placeat et accusantium nulla qui. Ut animi sequi. Facilis omnis et molestiae fugiat deserunt quos. Animi dolores repellat provident qui sunt.\"]"], ["created_at", "2014-09-22 17:51:10.634769"], ["name", "contract_3c85cc4f"], ["title", "Expedita sapiente totam amet quia."], ["updated_at", "2014-09-22 17:51:10.634769"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.641086"], ["updated_at", "2014-09-22 17:51:10.641086"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.643051"], ["updated_at", "2014-09-22 17:51:10.643051"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2c3f737e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat molestias rem in quas. Suscipit vitae repellendus in explicabo velit. Quod dolore voluptate facere eveniet.\", \"Reiciendis maiores animi non. Minima provident culpa. Aspernatur cum et nisi velit ut. Unde veritatis quasi assumenda neque rerum dolore.\"]"], ["created_at", "2014-09-22 17:51:10.647225"], ["name", "contract_2c3f737e"], ["title", "Illum qui voluptatum voluptates maxime tenetur enim."], ["updated_at", "2014-09-22 17:51:10.647225"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2c3f737e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_2c3f737e') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:51:10.651478"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.654610"], ["updated_at", "2014-09-22 17:51:10.654610"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 17:51:10.657016"], ["updated_at", "2014-09-22 17:51:10.657016"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.659864"], ["updated_at", "2014-09-22 17:51:10.659864"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.661367"], ["updated_at", "2014-09-22 17:51:10.661367"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c4f1552b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat quibusdam repellendus. Minus quidem velit nobis. In quia esse architecto quaerat autem. Praesentium blanditiis porro enim ipsum nulla. Ipsa mollitia quidem reiciendis dolor aut quas.\", \"Dolores voluptates occaecati quo. Quas eius et excepturi nostrum ut magni sit. Asperiores deserunt molestiae.\"]"], ["created_at", "2014-09-22 17:51:10.665674"], ["name", "contract_c4f1552b"], ["title", "Voluptatum qui at est pariatur accusantium."], ["updated_at", "2014-09-22 17:51:10.665674"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c4f1552b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_c4f1552b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:51:10.668882"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.671422"], ["updated_at", "2014-09-22 17:51:10.671422"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:51:10.673621"], ["updated_at", "2014-09-22 17:51:10.673621"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.679858"], ["updated_at", "2014-09-22 17:51:10.679858"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.681450"], ["updated_at", "2014-09-22 17:51:10.681450"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dd91ba9d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque debitis eum doloribus delectus. Ipsam dolor placeat. Neque dolorum ullam voluptatem soluta similique aliquam. Autem rem quia ut natus amet deserunt. Tempore cupiditate omnis ipsam.\", \"Explicabo quod ullam omnis corrupti. Modi ducimus reiciendis dicta iste voluptatum ad qui. Fugiat adipisci cupiditate. Ullam illum incidunt et vero.\"]"], ["created_at", "2014-09-22 17:51:10.684868"], ["name", "contract_dd91ba9d"], ["title", "Dolorem et sit consequuntur nihil."], ["updated_at", "2014-09-22 17:51:10.684868"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dd91ba9d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_dd91ba9d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:51:10.688047"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.690712"], ["updated_at", "2014-09-22 17:51:10.690712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 17:51:10.693098"], ["updated_at", "2014-09-22 17:51:10.693098"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.700470"], ["updated_at", "2014-09-22 17:51:10.700470"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.702175"], ["updated_at", "2014-09-22 17:51:10.702175"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_310a6d45') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta nesciunt a neque ipsa qui quas voluptas. Expedita aperiam nobis eligendi ut sunt soluta. Aperiam sequi dolorem aut voluptatibus sint.\", \"Alias aut delectus ad nobis. Qui doloribus et quia deserunt vitae harum. Enim eius quaerat nulla. Magnam maxime eos beatae tenetur. Ea officia recusandae voluptatibus dolorem reprehenderit sint.\"]"], ["created_at", "2014-09-22 17:51:10.705602"], ["name", "contract_310a6d45"], ["title", "Incidunt dignissimos dolores molestias sit quam consectetur."], ["updated_at", "2014-09-22 17:51:10.705602"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_310a6d45"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_310a6d45') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:51:10.708755"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.711276"], ["updated_at", "2014-09-22 17:51:10.711276"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:51:10.713400"], ["updated_at", "2014-09-22 17:51:10.713400"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_94fc7393') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non repudiandae aut et consequuntur fugit dolorem. Libero aperiam dolores. Est ut ducimus nisi.\", \"Dolorem adipisci et earum. Enim non rerum consequatur aut sit nulla aliquam. Repellat in quidem dignissimos et. Dolor illo repellat tenetur omnis nisi.\"]"], ["created_at", "2014-09-22 17:51:10.717791"], ["name", "contract_94fc7393"], ["title", "Sit modi sint fugit hic nihil ea beatae."], ["updated_at", "2014-09-22 17:51:10.717791"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.1ms) begin transaction 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_d539d8c6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem dolores qui consectetur. Officia id quisquam voluptas qui sit eveniet. Fugit doloremque nobis odit rerum et est eum. Id minima tempora ex cum ut aut nobis.\", \"Culpa sed in aliquid perferendis excepturi. Fugiat minima exercitationem voluptas est consectetur. Omnis eligendi qui. Aut ratione pariatur laboriosam laborum voluptatem. Eveniet id consectetur adipisci.\"]"], ["created_at", "2014-09-22 17:51:10.722244"], ["name", "contract_d539d8c6"], ["title", "Recusandae sed soluta itaque enim odio laborum."], ["updated_at", "2014-09-22 17:51:10.722244"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d539d8c6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_d539d8c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:51:10.725778"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.728380"], ["updated_at", "2014-09-22 17:51:10.728380"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus dolor est et dicta hic. Exercitationem consectetur dolor eveniet corrupti qui. Nihil modi voluptatem sunt. Voluptas rerum voluptatem corrupti. Optio ut non alias est facilis.\", \"Quia exercitationem expedita ut quibusdam velit nihil in. Dolores dolor est occaecati nobis omnis. Repellendus voluptatem autem inventore eum reprehenderit saepe.\"]"], ["created_at", "2014-09-22 17:51:10.734756"], ["name", "alpha"], ["title", "Dolores sunt molestias at dolorem illo quia voluptate."], ["updated_at", "2014-09-22 17:51:10.734756"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:51:10.738363"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis et est dolorem fugit non et ut. Libero qui provident accusamus. Minus quia quae velit maxime non porro.\", \"Ad itaque voluptates qui ipsa temporibus nihil. Officia libero sunt quis qui provident beatae. Sed sunt esse eum. Ea numquam maiores aut non.\"]"], ["created_at", "2014-09-22 17:51:10.743118"], ["name", "beta"], ["title", "Aut et dicta et consequatur vel sit non."], ["updated_at", "2014-09-22 17:51:10.743118"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:51:10.746588"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.749017"], ["updated_at", "2014-09-22 17:51:10.749017"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 17:51:10.751913"], ["updated_at", "2014-09-22 17:51:10.751913"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 17:51:10.754919"], ["updated_at", "2014-09-22 17:51:10.754919"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:10.757176"], ["name", "alpha"], ["title", "Dolores sunt molestias at dolorem illo quia voluptate."], ["updated_at", "2014-09-22 17:51:10.757176"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:51:10.760734"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 55 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos aut ad quos adipisci sunt sint omnis. Inventore ab culpa commodi sunt dolorem nostrum quis. In eum accusantium nulla. Mollitia dolor minima eum. Ut et assumenda enim deleniti nostrum vitae.\", \"Porro doloremque quia dicta. A libero eaque unde aut soluta. Incidunt ut qui vitae rerum dolor. Eligendi officiis est ea eos.\"]"], ["created_at", "2014-09-22 17:51:10.768852"], ["name", "alpha"], ["title", "Aut quia tempore voluptatem eaque."], ["updated_at", "2014-09-22 17:51:10.768852"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:51:10.772357"], ["version", 3]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore totam autem sed doloribus et sapiente. Labore optio dicta ipsa. Quaerat natus et omnis consequatur placeat perferendis laborum.\", \"Qui reprehenderit et quis. Ullam totam ut placeat. Velit et dolores perferendis ut eveniet consequatur. Dolore nam sint suscipit amet est.\"]"], ["created_at", "2014-09-22 17:51:10.776011"], ["name", "beta"], ["title", "Cupiditate facere blanditiis consequuntur eligendi."], ["updated_at", "2014-09-22 17:51:10.776011"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:51:10.779270"], ["version", 2]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.781740"], ["updated_at", "2014-09-22 17:51:10.781740"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:51:10.784691"], ["updated_at", "2014-09-22 17:51:10.784691"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 17:51:10.787671"], ["updated_at", "2014-09-22 17:51:10.787671"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:10.790511"], ["name", "alpha"], ["title", "Aut quia tempore voluptatem eaque."], ["updated_at", "2014-09-22 17:51:10.790511"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:51:10.793930"], ["version", 4]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 56 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique et sequi nemo quod id et maiores. Totam aut repellat. Officiis accusantium facere aspernatur qui. Ipsa sunt nisi vero explicabo earum.\", \"Nihil vel minima quod. Distinctio autem est eos et nisi laboriosam. Nesciunt architecto qui porro. Laudantium quibusdam facere corrupti enim qui quidem voluptate. Earum tempora quis qui.\"]"], ["created_at", "2014-09-22 17:51:10.799655"], ["name", "alpha"], ["title", "Eum aut at temporibus dolorem."], ["updated_at", "2014-09-22 17:51:10.799655"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:51:10.802905"], ["version", 5]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ad vero aut facilis non velit ab. Omnis impedit modi enim. Et ipsam pariatur et nobis natus aperiam sit. Quis ex nobis minus commodi neque quos repellendus.\", \"Cum vel autem. Repellendus quibusdam aut modi. Iure velit ab id. Eaque qui excepturi nobis tempore asperiores eius. Velit blanditiis quo qui veritatis soluta.\"]"], ["created_at", "2014-09-22 17:51:10.806635"], ["name", "beta"], ["title", "Rerum consequatur enim omnis est autem ut."], ["updated_at", "2014-09-22 17:51:10.806635"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:51:10.810001"], ["version", 3]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.812532"], ["updated_at", "2014-09-22 17:51:10.812532"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 17:51:10.815819"], ["updated_at", "2014-09-22 17:51:10.815819"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:51:10.818608"], ["updated_at", "2014-09-22 17:51:10.818608"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:10.820948"], ["name", "alpha"], ["title", "Eum aut at temporibus dolorem."], ["updated_at", "2014-09-22 17:51:10.820948"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:51:10.824810"], ["version", 6]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 38, 37, 35, 34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 38, 37, 35, 34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 36, 33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 17:51:10.842844"], ["updated_at", "2014-09-22 17:51:10.842844"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 38, 37, 35, 34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 38, 37, 35, 34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 36, 33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 57 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis autem asperiores suscipit nostrum magnam veniam quam. Aut enim qui quia et non quia dolor. Dolorem placeat nesciunt corporis facilis rerum aliquam non. Maiores ratione nihil sequi atque ut aut. Vitae aspernatur dolorem et officia voluptatem qui veniam.\", \"Provident eaque et dolor veniam distinctio. Mollitia et nemo molestias perspiciatis. Qui necessitatibus aperiam perspiciatis saepe omnis nam.\"]"], ["created_at", "2014-09-22 17:51:10.857399"], ["name", "alpha"], ["title", "Minus quas molestiae rerum accusantium nostrum autem."], ["updated_at", "2014-09-22 17:51:10.857399"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:51:10.860882"], ["version", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et earum nam quae. Cupiditate nihil odio rem quod quam eveniet rerum. Velit tempora est soluta cupiditate et voluptatum quas. Facere earum consequatur natus eum nam. Voluptas enim placeat et.\", \"Aut eveniet ea aut repellat consectetur. Aut laboriosam ducimus quod cum. Vero non totam facere cumque ipsam sed.\"]"], ["created_at", "2014-09-22 17:51:10.872239"], ["name", "beta"], ["title", "Quo neque eius dolore excepturi harum."], ["updated_at", "2014-09-22 17:51:10.872239"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 17:51:10.877280"], ["version", 4]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:10.880928"], ["updated_at", "2014-09-22 17:51:10.880928"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:51:10.886574"], ["updated_at", "2014-09-22 17:51:10.886574"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 17:51:10.890081"], ["updated_at", "2014-09-22 17:51:10.890081"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:10.893456"], ["name", "alpha"], ["title", "Minus quas molestiae rerum accusantium nostrum autem."], ["updated_at", "2014-09-22 17:51:10.893456"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:51:10.897543"], ["version", 8]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.656318"], ["updated_at", "2014-09-22 17:51:31.656318"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.663426"], ["updated_at", "2014-09-22 17:51:31.663426"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.676551"], ["updated_at", "2014-09-22 17:51:31.676551"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.678747"], ["updated_at", "2014-09-22 17:51:31.678747"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_9882a111') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At non est id enim. Et voluptatem aperiam. Dolorem sint temporibus doloribus.\", \"Aut alias similique. At eos voluptas deserunt. Dolor rerum neque quisquam consequatur pariatur nulla. Animi ut ab eum.\"]"], ["created_at", "2014-09-22 17:51:31.908608"], ["name", "contract_9882a111"], ["title", "Nihil neque delectus."], ["updated_at", "2014-09-22 17:51:31.908608"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_3e97af46') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit qui atque numquam non. Minima quia inventore pariatur itaque consequuntur qui autem. Sit architecto vitae et qui optio dolores. Ea et sunt unde.\", \"Ipsum ea ipsam asperiores ut. Est sit ullam veniam similique. Vel officia aut eum sint sint et mollitia.\"]"], ["created_at", "2014-09-22 17:51:31.924776"], ["name", "contract_3e97af46"], ["title", "Ipsum eos id enim."], ["updated_at", "2014-09-22 17:51:31.924776"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e97af46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3e97af46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:51:31.929329"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.934117"], ["updated_at", "2014-09-22 17:51:31.934117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_067870ff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ad velit odio iure ex ipsa id. Dolores odio reprehenderit aut culpa repellendus. Nisi fuga temporibus quas quis eum inventore qui.\", \"Omnis quia aut dolor. Aliquid eligendi voluptatum vel repellat ex quas. Ipsa excepturi sed distinctio repellendus ullam nulla omnis.\"]"], ["created_at", "2014-09-22 17:51:31.942672"], ["name", "contract_067870ff"], ["title", "Non fugiat atque porro."], ["updated_at", "2014-09-22 17:51:31.942672"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_067870ff"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_067870ff') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:51:31.945967"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:31.949917"], ["updated_at", "2014-09-22 17:51:31.949917"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 17:51:31.952226"], ["updated_at", "2014-09-22 17:51:31.952226"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_067870ff') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_067870ff"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_067870ff') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction 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_b4f68792') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum voluptatem rerum quisquam qui soluta deserunt nam. Reiciendis consequatur tempore odio omnis molestiae ut et. Culpa error tempore et et aut. Non nesciunt et. Amet libero debitis.\", \"Sit aut delectus quaerat debitis sunt in. Quas autem culpa quae vitae. Inventore nihil cumque tempore id distinctio minima voluptatem. Sint deleniti quisquam aut modi. Et dolor doloribus nemo minus natus asperiores.\"]"], ["created_at", "2014-09-22 17:51:31.965292"], ["name", "contract_b4f68792"], ["title", "Deserunt quos nihil."], ["updated_at", "2014-09-22 17:51:31.965292"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b4f68792"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_b4f68792') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:51:31.968457"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b4f68792' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum voluptatem rerum quisquam qui soluta deserunt nam. Reiciendis consequatur tempore odio omnis molestiae ut et. Culpa error tempore et et aut. Non nesciunt et. Amet libero debitis.\", \"Sit aut delectus quaerat debitis sunt in. Quas autem culpa quae vitae. Inventore nihil cumque tempore id distinctio minima voluptatem. Sint deleniti quisquam aut modi. Et dolor doloribus nemo minus natus asperiores.\"]"], ["created_at", "2014-09-22 17:51:31.974164"], ["name", "joe"], ["title", "Deserunt quos nihil."], ["updated_at", "2014-09-22 17:51:31.974164"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:51:31.977627"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_5ad580bd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni fugiat asperiores et. Recusandae id ex esse sit et eligendi est. Magnam et id ad laboriosam eum doloremque. Iure sint id ipsam quibusdam quaerat libero. Qui nostrum quae eveniet qui.\", \"Adipisci alias est eligendi sapiente inventore reiciendis. Sit modi quaerat. Officiis dicta quia sed totam soluta.\"]"], ["created_at", "2014-09-22 17:51:31.983686"], ["name", "contract_5ad580bd"], ["title", "Nisi saepe vel consectetur enim nostrum aspernatur."], ["updated_at", "2014-09-22 17:51:31.983686"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ad580bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_5ad580bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:51:31.986755"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5ad580bd' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_5ad580bd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni fugiat asperiores et. Recusandae id ex esse sit et eligendi est. Magnam et id ad laboriosam eum doloremque. Iure sint id ipsam quibusdam quaerat libero. Qui nostrum quae eveniet qui.\", \"Adipisci alias est eligendi sapiente inventore reiciendis. Sit modi quaerat. Officiis dicta quia sed totam soluta.\"]"], ["created_at", "2014-09-22 17:51:31.990120"], ["name", "contract_5ad580bd"], ["title", "Nisi saepe vel consectetur enim nostrum aspernatur."], ["updated_at", "2014-09-22 17:51:31.990120"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ad580bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_5ad580bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 17:51:31.993324"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3a0598d5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt ipsam repudiandae corporis perferendis ducimus dicta. Temporibus quis natus. Nam id enim. Ut deleniti consequatur quisquam.\", \"Perspiciatis quasi dignissimos. Iusto voluptatem voluptate veniam voluptatum amet distinctio alias. Dicta et commodi. Cum et beatae.\"]"], ["created_at", "2014-09-22 17:51:31.997532"], ["name", "contract_3a0598d5"], ["title", "Corrupti dicta repudiandae fugit doloremque ullam."], ["updated_at", "2014-09-22 17:51:31.997532"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3a0598d5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_3a0598d5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 17:51:32.003203"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3a0598d5"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3a0598d5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_3a0598d5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 17:51:32.008640"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum ab iure aut similique optio asperiores nemo. Voluptatem eveniet qui. Nemo voluptatum quasi officia occaecati eum et. Reiciendis fugit laudantium nihil qui temporibus.\", \"Velit illo necessitatibus officia. Eum incidunt consequatur tenetur voluptas. Ad voluptatem placeat. Sunt ratione qui modi eos aut rerum.\"]"], ["created_at", "2014-09-22 17:51:32.016784"], ["name", "alpha"], ["title", "Minima minus enim repudiandae vitae."], ["updated_at", "2014-09-22 17:51:32.016784"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:51:32.020260"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit dolore ea et et. Libero ipsa vel provident et tenetur enim temporibus. Quidem et ea enim non repellat. Iure natus ut quam sunt illo et.\", \"Soluta dolores praesentium dignissimos odio vel saepe. Neque iure reiciendis et saepe. Adipisci accusamus voluptas eveniet amet. Eum hic molestiae aliquam quas. Reprehenderit labore at.\"]"], ["created_at", "2014-09-22 17:51:32.024672"], ["name", "beta"], ["title", "Voluptatem laboriosam ut porro dolorem sunt."], ["updated_at", "2014-09-22 17:51:32.024672"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 17:51:32.028187"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.030563"], ["updated_at", "2014-09-22 17:51:32.030563"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 17:51:32.033207"], ["updated_at", "2014-09-22 17:51:32.033207"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 17:51:32.035648"], ["updated_at", "2014-09-22 17:51:32.035648"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:32.038687"], ["name", "alpha"], ["title", "Minima minus enim repudiandae vitae."], ["updated_at", "2014-09-22 17:51:32.038687"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:51:32.042345"], ["version", 2]]  (0.6ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa dolores nihil est quo et reiciendis tempore. Rerum voluptatem est qui quia corporis placeat atque. Est et ut dolores mollitia rerum dolores. Rem qui repellendus atque ea non. Unde numquam reprehenderit pariatur quae sunt.\", \"Totam et vero reprehenderit eum quam. Dolores sint dignissimos quae libero quia quia. Porro dolorem et maiores magnam commodi.\"]"], ["created_at", "2014-09-22 17:51:32.051308"], ["name", "alpha"], ["title", "Enim excepturi veritatis praesentium vero eligendi voluptatem."], ["updated_at", "2014-09-22 17:51:32.051308"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 17:51:32.054438"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate tempore consequuntur iure sequi sed qui quod. Perferendis aliquam provident quos maxime. Quidem repudiandae optio ut et officiis.\", \"Ut animi quo. Autem quis quam rerum labore et magnam voluptatem. Quasi magni est optio ducimus. Ipsa molestiae quia labore iste. Et dolor assumenda.\"]"], ["created_at", "2014-09-22 17:51:32.057792"], ["name", "beta"], ["title", "Suscipit fuga ullam deleniti rerum ducimus."], ["updated_at", "2014-09-22 17:51:32.057792"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 17:51:32.060706"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.063124"], ["updated_at", "2014-09-22 17:51:32.063124"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 17:51:32.066141"], ["updated_at", "2014-09-22 17:51:32.066141"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 17:51:32.068552"], ["updated_at", "2014-09-22 17:51:32.068552"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:32.070746"], ["name", "alpha"], ["title", "Enim excepturi veritatis praesentium vero eligendi voluptatem."], ["updated_at", "2014-09-22 17:51:32.070746"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 17:51:32.073816"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 17:51:32.091169"], ["updated_at", "2014-09-22 17:51:32.091169"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas minus qui cupiditate. Porro non maiores hic saepe sed ad. Voluptate qui quidem dolor.\", \"Ea vel et hic sunt voluptatem. Omnis et autem. Ea vero atque commodi dolor fugit sint. Eos doloremque dolores nisi odit nostrum placeat.\"]"], ["created_at", "2014-09-22 17:51:32.104753"], ["name", "alpha"], ["title", "Voluptatum consequatur illum."], ["updated_at", "2014-09-22 17:51:32.104753"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:51:32.107989"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur cupiditate sed quibusdam voluptas rerum. Porro quis architecto facilis ullam. Quia nulla et enim. Nostrum sunt qui dolores consequatur qui culpa.\", \"Voluptatum mollitia officia nam quasi officiis ab laudantium. Reprehenderit aut perferendis. Quia a temporibus.\"]"], ["created_at", "2014-09-22 17:51:32.111321"], ["name", "beta"], ["title", "Ut placeat libero impedit."], ["updated_at", "2014-09-22 17:51:32.111321"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:51:32.114276"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.116393"], ["updated_at", "2014-09-22 17:51:32.116393"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 17:51:32.118976"], ["updated_at", "2014-09-22 17:51:32.118976"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 17:51:32.121464"], ["updated_at", "2014-09-22 17:51:32.121464"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:32.123673"], ["name", "alpha"], ["title", "Voluptatum consequatur illum."], ["updated_at", "2014-09-22 17:51:32.123673"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 17:51:32.126700"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At recusandae sint. Officiis necessitatibus voluptatum quia. Dolores vero neque quia veniam ea omnis aspernatur. Voluptas repellat recusandae impedit.\", \"Facere voluptas rerum deserunt illo a unde et. Consequatur unde nam qui. Non voluptate ut hic ipsa.\"]"], ["created_at", "2014-09-22 17:51:32.132132"], ["name", "alpha"], ["title", "Enim facilis iusto."], ["updated_at", "2014-09-22 17:51:32.132132"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 17:51:32.135094"], ["version", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium qui natus quas hic. Ab sunt similique ducimus culpa quidem. Placeat atque omnis deleniti.\", \"Quidem sed amet sint. Modi itaque ipsum autem. Illo aut consequuntur.\"]"], ["created_at", "2014-09-22 17:51:32.138542"], ["name", "beta"], ["title", "Itaque et veniam et ad."], ["updated_at", "2014-09-22 17:51:32.138542"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:51:32.142198"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.144658"], ["updated_at", "2014-09-22 17:51:32.144658"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 17:51:32.147425"], ["updated_at", "2014-09-22 17:51:32.147425"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 17:51:32.149977"], ["updated_at", "2014-09-22 17:51:32.149977"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:51:32.152171"], ["name", "alpha"], ["title", "Enim facilis iusto."], ["updated_at", "2014-09-22 17:51:32.152171"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:51:32.155180"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.161148"], ["updated_at", "2014-09-22 17:51:32.161148"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.162671"], ["updated_at", "2014-09-22 17:51:32.162671"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_50c63646') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe unde ab aut tempore quidem. Sequi qui perferendis placeat reiciendis rerum aut necessitatibus. Expedita aut iste. Ut sapiente saepe necessitatibus architecto ad optio.\", \"Illo et totam. Quaerat consequatur recusandae nostrum. Architecto eveniet voluptas nihil quis nobis ut. Error unde iure dignissimos voluptatem sunt fugit. Quia ut doloribus.\"]"], ["created_at", "2014-09-22 17:51:32.165706"], ["name", "contract_50c63646"], ["title", "Voluptates cumque impedit quia."], ["updated_at", "2014-09-22 17:51:32.165706"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_50c63646"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_50c63646') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:51:32.168698"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.171114"], ["updated_at", "2014-09-22 17:51:32.171114"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 17:51:32.173185"], ["updated_at", "2014-09-22 17:51:32.173185"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.176065"], ["updated_at", "2014-09-22 17:51:32.176065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.177578"], ["updated_at", "2014-09-22 17:51:32.177578"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6bf50bde') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit occaecati nihil. Enim ex et ut facilis odit. Temporibus non aliquam ducimus quam exercitationem deserunt. Eos consequatur qui quasi voluptas et. Accusamus soluta nisi magni.\", \"In ut sint culpa suscipit vel. Beatae laboriosam fugiat facere occaecati consequatur aut enim. Dolorem ut ea. Dolores aperiam quisquam eius. Sit aperiam error quod.\"]"], ["created_at", "2014-09-22 17:51:32.180609"], ["name", "contract_6bf50bde"], ["title", "Perferendis ut veritatis sint sed."], ["updated_at", "2014-09-22 17:51:32.180609"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6bf50bde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_6bf50bde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:51:32.183756"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.186181"], ["updated_at", "2014-09-22 17:51:32.186181"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 17:51:32.188302"], ["updated_at", "2014-09-22 17:51:32.188302"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 3ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.195806"], ["updated_at", "2014-09-22 17:51:32.195806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.197391"], ["updated_at", "2014-09-22 17:51:32.197391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c27648d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores qui ut. Dolor est itaque voluptates pariatur sapiente. Laudantium adipisci vel. Quia suscipit inventore veritatis eius ut voluptas est.\", \"Aut autem et neque. Aliquid omnis eum culpa saepe dignissimos dolor esse. Quo commodi laudantium eius. Odio quas eos harum ad. Voluptatibus qui mollitia.\"]"], ["created_at", "2014-09-22 17:51:32.200461"], ["name", "contract_c27648d0"], ["title", "Perspiciatis nulla voluptas deleniti quo corrupti."], ["updated_at", "2014-09-22 17:51:32.200461"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c27648d0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_c27648d0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:51:32.203617"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.206056"], ["updated_at", "2014-09-22 17:51:32.206056"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 17:51:32.208840"], ["updated_at", "2014-09-22 17:51:32.208840"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.214829"], ["updated_at", "2014-09-22 17:51:32.214829"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.216363"], ["updated_at", "2014-09-22 17:51:32.216363"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_170aa645') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem sit veritatis nulla quae unde. Dignissimos reiciendis vel sint nihil non ipsa. Reiciendis corrupti omnis atque et quis facilis ea. Ex voluptates deserunt laborum. Perferendis aut corrupti qui quam voluptatum voluptatem.\", \"Dolorem cupiditate minus doloribus. Consequatur enim dolorum cumque voluptatibus aut vel. Omnis libero tempora. Occaecati voluptates laudantium totam voluptatem eaque ullam voluptas.\"]"], ["created_at", "2014-09-22 17:51:32.219381"], ["name", "contract_170aa645"], ["title", "Sequi dolores quae quam aut corrupti."], ["updated_at", "2014-09-22 17:51:32.219381"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_170aa645"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_170aa645') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:51:32.222484"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.224921"], ["updated_at", "2014-09-22 17:51:32.224921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 17:51:32.227063"], ["updated_at", "2014-09-22 17:51:32.227063"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.230146"], ["updated_at", "2014-09-22 17:51:32.230146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.231708"], ["updated_at", "2014-09-22 17:51:32.231708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0ec78f12') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe ut alias atque esse officiis. Aspernatur recusandae assumenda sint. Unde provident rerum et. Commodi quos a facere.\", \"Amet sint commodi magnam voluptate incidunt saepe suscipit. Neque necessitatibus non dolorem eligendi placeat dolores et. Dicta doloribus velit harum id.\"]"], ["created_at", "2014-09-22 17:51:32.234363"], ["name", "contract_0ec78f12"], ["title", "Molestiae totam sit porro est in."], ["updated_at", "2014-09-22 17:51:32.234363"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0ec78f12"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_0ec78f12') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:51:32.240199"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.245681"], ["updated_at", "2014-09-22 17:51:32.245681"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.247273"], ["updated_at", "2014-09-22 17:51:32.247273"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_cf02e7be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium culpa expedita. Qui consequatur inventore aut et aut qui eaque. Non et quia quia adipisci deleniti sint voluptatum. Facere quidem aut ea. Numquam est velit consequuntur.\", \"Inventore illo tenetur ut recusandae ipsum quasi et. Dolorem sed aut et ut ullam. Harum nobis quis est. Iure ullam a deleniti rerum magnam molestiae. Quo hic qui ex tempora similique.\"]"], ["created_at", "2014-09-22 17:51:32.250164"], ["name", "contract_cf02e7be"], ["title", "Eum saepe accusamus."], ["updated_at", "2014-09-22 17:51:32.250164"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.258949"], ["updated_at", "2014-09-22 17:51:32.258949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.260579"], ["updated_at", "2014-09-22 17:51:32.260579"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_7586d56e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi consequatur dolorem deleniti. Sed quibusdam iste. Rerum dolorum eos doloribus.\", \"In qui ullam ratione. Dicta dignissimos aperiam id et est voluptatem eos. Sint quidem consequatur dolorem voluptate. Expedita nam dolorem iste in nihil sed culpa.\"]"], ["created_at", "2014-09-22 17:51:32.263324"], ["name", "contract_7586d56e"], ["title", "Veniam nemo voluptatem quidem dolores."], ["updated_at", "2014-09-22 17:51:32.263324"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.267482"], ["updated_at", "2014-09-22 17:51:32.267482"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.268951"], ["updated_at", "2014-09-22 17:51:32.268951"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_954dc7a9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est veritatis suscipit. Expedita ut fugit est. Maxime id est.\", \"Facilis quas laborum aut fuga eius blanditiis cum. Beatae libero nulla quidem corrupti fuga. Velit sequi non magnam impedit quam atque veniam.\"]"], ["created_at", "2014-09-22 17:51:32.271437"], ["name", "contract_954dc7a9"], ["title", "Hic inventore omnis velit maxime."], ["updated_at", "2014-09-22 17:51:32.271437"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_954dc7a9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_954dc7a9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:51:32.274626"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_954dc7a9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_954dc7a9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:51:32.280171"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.284606"], ["updated_at", "2014-09-22 17:51:32.284606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.286052"], ["updated_at", "2014-09-22 17:51:32.286052"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c54105ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit aut qui non ipsam dolores. Est dignissimos aut error corrupti voluptas blanditiis rerum. Vel a amet nobis aliquam facere facilis.\", \"Dolorum odio optio maxime est sed odit harum. Nostrum perspiciatis ut. Veritatis odio voluptatem.\"]"], ["created_at", "2014-09-22 17:51:32.288643"], ["name", "contract_c54105ef"], ["title", "Rerum dolorem aspernatur accusantium."], ["updated_at", "2014-09-22 17:51:32.288643"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 29 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:51:32.293643"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/29 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.299348"], ["updated_at", "2014-09-22 17:51:32.299348"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.301091"], ["updated_at", "2014-09-22 17:51:32.301091"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ddf6f090') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores accusantium nobis laudantium quam odit molestiae perspiciatis. Ad a et ut soluta voluptate dolore. Ab a modi tempore sed soluta nihil maxime. Consequatur quibusdam aliquid et quod nostrum ut architecto. Eum deleniti ut eaque laudantium et deserunt.\", \"Et aliquid eos. Voluptas facere et natus. Nobis temporibus et repudiandae sapiente non est. Accusamus aut ut distinctio asperiores aut.\"]"], ["created_at", "2014-09-22 17:51:32.303864"], ["name", "contract_ddf6f090"], ["title", "Ratione ut odio debitis ut eos possimus."], ["updated_at", "2014-09-22 17:51:32.303864"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ddf6f090"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_ddf6f090') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:51:32.307062"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ddf6f090' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.314171"], ["updated_at", "2014-09-22 17:51:32.314171"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.315689"], ["updated_at", "2014-09-22 17:51:32.315689"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d309f075') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ratione voluptatem. Magnam enim non et id et nobis. Voluptatem qui beatae velit.\", \"Iusto aperiam dolorem recusandae sed delectus. Maiores aut accusantium. Quasi a quo delectus facere dolor enim necessitatibus. Commodi a omnis incidunt amet et fugiat. Praesentium sed facere aspernatur.\"]"], ["created_at", "2014-09-22 17:51:32.318293"], ["name", "contract_d309f075"], ["title", "Voluptatem non ipsam id qui qui repellendus."], ["updated_at", "2014-09-22 17:51:32.318293"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:51:32.321989"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:51:32.321989"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.325937"], ["updated_at", "2014-09-22 17:51:32.325937"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.327604"], ["updated_at", "2014-09-22 17:51:32.327604"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_61b5fe1c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam perferendis necessitatibus sed totam officia. Iste earum natus dolores illum consequatur autem. Dolor animi odio.\", \"Doloremque ut tempore et. Dicta aliquam optio sint natus et aut. Aut ea id in quis dolor. Exercitationem non deleniti corrupti amet.\"]"], ["created_at", "2014-09-22 17:51:32.330363"], ["name", "contract_61b5fe1c"], ["title", "Cupiditate porro sit fugiat voluptas vitae nostrum debitis."], ["updated_at", "2014-09-22 17:51:32.330363"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.335666"], ["updated_at", "2014-09-22 17:51:32.335666"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.337120"], ["updated_at", "2014-09-22 17:51:32.337120"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0ad8681f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum corporis quas. Vel aperiam voluptas soluta. A occaecati error excepturi laborum quasi ea.\", \"Recusandae est et. Nesciunt voluptas quaerat. Quo veritatis beatae labore provident ullam aut. Qui harum in itaque excepturi sapiente.\"]"], ["created_at", "2014-09-22 17:51:32.339687"], ["name", "contract_0ad8681f"], ["title", "Libero qui similique pariatur eum."], ["updated_at", "2014-09-22 17:51:32.339687"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.346368"], ["updated_at", "2014-09-22 17:51:32.346368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.347891"], ["updated_at", "2014-09-22 17:51:32.347891"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_faaad559') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut expedita in rerum repellendus. Excepturi illo molestias ab. Iusto est facilis ex qui est sint qui.\", \"Laborum placeat vitae et quis repudiandae. Consectetur maiores aut eum. Eaque aut voluptas et consectetur corrupti qui quia. Molestias et fuga ut dolorum aperiam. Doloribus fugiat id.\"]"], ["created_at", "2014-09-22 17:51:32.350523"], ["name", "contract_faaad559"], ["title", "Eum quia laborum enim."], ["updated_at", "2014-09-22 17:51:32.350523"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_faaad559"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_faaad559') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:51:32.353586"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.359573"], ["updated_at", "2014-09-22 17:51:32.359573"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.361173"], ["updated_at", "2014-09-22 17:51:32.361173"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_b4417780') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia dolor nam et et non. Aut sed est ea. Dicta dolorem est quia est explicabo. Sint nesciunt assumenda.\", \"Dolor consequatur libero laboriosam nostrum quia. Quisquam aliquid expedita necessitatibus eos. Dolore quod eos aspernatur. Est nisi officia et qui aut reiciendis.\"]"], ["created_at", "2014-09-22 17:51:32.364492"], ["name", "contract_b4417780"], ["title", "Voluptate veritatis non."], ["updated_at", "2014-09-22 17:51:32.364492"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9, 29, 19, 16, 13, 10, 3, 34, 25, 24, 8, 2, 21, 7, 6, 33, 22, 27, 28, 1, 36, 4, 23, 26, 31, 30, 35, 5, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.372629"], ["updated_at", "2014-09-22 17:51:32.372629"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.374140"], ["updated_at", "2014-09-22 17:51:32.374140"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a4d48507') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores dicta nihil voluptates ut explicabo. Perferendis odio aut velit commodi id occaecati vitae. Quam quos quibusdam aut. Voluptatem doloribus hic esse quisquam. Animi vel aliquid unde architecto.\", \"Neque sit harum. Ut dolor nulla sed rerum quas. Porro dolor similique nihil est voluptate. Aut neque id quis voluptatem ratione. Iure quam aliquam est sequi blanditiis est enim.\"]"], ["created_at", "2014-09-22 17:51:32.376973"], ["name", "contract_a4d48507"], ["title", "Impedit odit qui nemo minima omnis quo ex."], ["updated_at", "2014-09-22 17:51:32.376973"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.381210"], ["updated_at", "2014-09-22 17:51:32.381210"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.382698"], ["updated_at", "2014-09-22 17:51:32.382698"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_0055ab37') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum cupiditate excepturi sint. Asperiores hic et quam eveniet et. Est architecto sed quibusdam aut adipisci. Neque et ex.\", \"Possimus tempore est. Molestias laborum id porro nemo in ex. Maiores exercitationem nobis quia error rerum sint. Asperiores id et qui quibusdam qui. Vel cumque est ut tenetur voluptatum est.\"]"], ["created_at", "2014-09-22 17:51:32.386065"], ["name", "contract_0055ab37"], ["title", "Quidem eos magni."], ["updated_at", "2014-09-22 17:51:32.386065"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.390370"], ["updated_at", "2014-09-22 17:51:32.390370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.391880"], ["updated_at", "2014-09-22 17:51:32.391880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6038f095') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque dolore amet nam quis explicabo. Voluptatem dolores quae a autem. Qui ad nobis.\", \"Est dignissimos est id quidem quia. Porro consequatur neque facere soluta. Ut voluptas ab omnis repellat. Consequuntur quam eum unde. At quisquam aut qui sed quo aut.\"]"], ["created_at", "2014-09-22 17:51:32.394434"], ["name", "contract_6038f095"], ["title", "Ut et sed a quas iusto repudiandae officia."], ["updated_at", "2014-09-22 17:51:32.394434"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6038f095"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_6038f095') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:51:32.397771"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.403058"], ["updated_at", "2014-09-22 17:51:32.403058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.404556"], ["updated_at", "2014-09-22 17:51:32.404556"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_7402c09a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil sed sit. Veritatis error vel non harum delectus et. Autem tempore molestiae tenetur saepe.\", \"Quam quis dolores consequatur eius. Ea inventore suscipit. Fugiat quod adipisci. Et sunt consequuntur. Suscipit enim qui hic laboriosam qui.\"]"], ["created_at", "2014-09-22 17:51:32.408128"], ["name", "contract_7402c09a"], ["title", "Voluptas ullam ex velit nesciunt repellat."], ["updated_at", "2014-09-22 17:51:32.408128"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"40"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"40"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.414539"], ["updated_at", "2014-09-22 17:51:32.414539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.416045"], ["updated_at", "2014-09-22 17:51:32.416045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_97d745c7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ratione mollitia quae autem aut. Blanditiis harum molestias. Deleniti quam saepe veniam est.\", \"Autem eveniet est deleniti delectus omnis beatae necessitatibus. Aut doloribus possimus cum at voluptatibus consequatur. Et distinctio nobis perferendis et quam est quas.\"]"], ["created_at", "2014-09-22 17:51:32.418658"], ["name", "contract_97d745c7"], ["title", "Qui molestiae omnis eos sapiente quisquam et beatae."], ["updated_at", "2014-09-22 17:51:32.418658"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.423961"], ["updated_at", "2014-09-22 17:51:32.423961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.425386"], ["updated_at", "2014-09-22 17:51:32.425386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_00eb0917') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur a unde. Quis ipsum culpa eum exercitationem quaerat. Vel delectus ex amet corrupti tenetur harum et. Nulla consectetur aut. Soluta optio dignissimos iste placeat.\", \"Veritatis minus quasi atque voluptas quia. Ea maiores laborum et. Mollitia ut illo ducimus.\"]"], ["created_at", "2014-09-22 17:51:32.433996"], ["name", "contract_00eb0917"], ["title", "Aut voluptatem corrupti."], ["updated_at", "2014-09-22 17:51:32.433996"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 42]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 42]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 42 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.443702"], ["updated_at", "2014-09-22 17:51:32.443702"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:51:32.445556"], ["updated_at", "2014-09-22 17:51:32.445556"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2fc8a739') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum doloremque nobis optio. Et perferendis dolorum qui et a nam. Accusamus quas eos adipisci dolor dolorum alias. Placeat harum enim dolor qui magni quia.\", \"Iusto ad dignissimos et minima ea alias. Qui placeat pariatur quidem rerum est ad. In magni voluptatem autem animi eos tenetur.\"]"], ["created_at", "2014-09-22 17:51:32.449357"], ["name", "contract_2fc8a739"], ["title", "Molestias et ad voluptatem dignissimos dolorum."], ["updated_at", "2014-09-22 17:51:32.449357"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:18.722857"], ["updated_at", "2014-09-22 17:54:18.722857"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:18.730060"], ["updated_at", "2014-09-22 17:54:18.730060"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_06fba9b5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est unde illo quo. Aliquid fugiat repudiandae qui et autem ut voluptatibus. In harum voluptatibus doloremque minus. Aliquam est dolorum consequuntur tempore quae non vero.\", \"Distinctio minima cum. Modi ad cupiditate. Perspiciatis ut qui.\"]"], ["created_at", "2014-09-22 17:54:18.960280"], ["name", "contract_06fba9b5"], ["title", "Voluptates quia et laudantium debitis quia doloribus."], ["updated_at", "2014-09-22 17:54:18.960280"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_06fba9b5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_06fba9b5') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:54:18.973941"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:18.980644"], ["updated_at", "2014-09-22 17:54:18.980644"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 17:54:18.984021"], ["updated_at", "2014-09-22 17:54:18.984021"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:18.990642"], ["updated_at", "2014-09-22 17:54:18.990642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:18.992418"], ["updated_at", "2014-09-22 17:54:18.992418"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ba05e3ca') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit aut quis. Quo vel in voluptatem est molestias exercitationem ut. Dolorem sit non autem et.\", \"Dolor odit quaerat velit libero. Provident cupiditate magnam doloribus. Optio occaecati ex reprehenderit enim.\"]"], ["created_at", "2014-09-22 17:54:18.996331"], ["name", "contract_ba05e3ca"], ["title", "Fugit quod deleniti quisquam eos et."], ["updated_at", "2014-09-22 17:54:18.996331"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ba05e3ca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ba05e3ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:54:19.000212"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.003446"], ["updated_at", "2014-09-22 17:54:19.003446"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 17:54:19.006537"], ["updated_at", "2014-09-22 17:54:19.006537"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.017692"], ["updated_at", "2014-09-22 17:54:19.017692"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.019422"], ["updated_at", "2014-09-22 17:54:19.019422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_65f816ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur esse illo at quod est. Sunt qui aspernatur non voluptatem quia labore et. Possimus vitae repellat libero. Repellendus accusantium numquam et consequuntur culpa. Velit eos asperiores qui atque sit recusandae.\", \"Vel est quae quasi dignissimos minima. Temporibus accusamus est neque optio quia ut illum. Optio earum consequatur. Illum veritatis aut error eum est culpa. Sint recusandae eveniet occaecati.\"]"], ["created_at", "2014-09-22 17:54:19.022793"], ["name", "contract_65f816ab"], ["title", "Omnis qui dolorem rerum provident et."], ["updated_at", "2014-09-22 17:54:19.022793"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_65f816ab"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_65f816ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:54:19.027433"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.031362"], ["updated_at", "2014-09-22 17:54:19.031362"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 17:54:19.034561"], ["updated_at", "2014-09-22 17:54:19.034561"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.038246"], ["updated_at", "2014-09-22 17:54:19.038246"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.039914"], ["updated_at", "2014-09-22 17:54:19.039914"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eb547532') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non deleniti consequuntur dolorem cupiditate nesciunt. Dolor sint ut maxime asperiores et. Aperiam nulla minima autem at. Cumque magni cum voluptatem ullam dolores.\", \"Vel dolorum quos nemo sed hic doloremque et. Sed quam reiciendis iure laborum aut debitis. Repellendus ratione animi et aut illum.\"]"], ["created_at", "2014-09-22 17:54:19.043173"], ["name", "contract_eb547532"], ["title", "Ipsam aut accusantium quaerat tempore et et odio."], ["updated_at", "2014-09-22 17:54:19.043173"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb547532"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_eb547532') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:54:19.046570"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.049335"], ["updated_at", "2014-09-22 17:54:19.049335"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 17:54:19.051565"], ["updated_at", "2014-09-22 17:54:19.051565"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 4]]  (0.6ms) commit transaction Completed 500 Internal Server Error in 4ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis est ut. Quo aspernatur sit deleniti ex. Recusandae neque officia sit deserunt. Porro incidunt exercitationem repellat consequatur. Voluptates omnis possimus odit.\", \"Dolorum accusamus ut est ea vel et asperiores. In atque possimus consequuntur velit. Ipsam expedita et enim in et ratione ut.\"]"], ["created_at", "2014-09-22 17:54:19.059978"], ["name", "alpha"], ["title", "Rerum et nihil est voluptate."], ["updated_at", "2014-09-22 17:54:19.059978"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:54:19.063026"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate distinctio ipsum. Corrupti eum natus. Qui autem sequi. Repellendus dolorem voluptas reprehenderit aut nulla.\", \"Quis mollitia quisquam dolor sint tempora facere. Reiciendis esse officiis. Molestiae ullam non excepturi. Veniam et voluptates hic expedita. Iste ullam ea.\"]"], ["created_at", "2014-09-22 17:54:19.066695"], ["name", "beta"], ["title", "Ut aut est."], ["updated_at", "2014-09-22 17:54:19.066695"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:54:19.070236"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.072916"], ["updated_at", "2014-09-22 17:54:19.072916"]]  (1.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 17:54:19.078066"], ["updated_at", "2014-09-22 17:54:19.078066"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 17:54:19.081446"], ["updated_at", "2014-09-22 17:54:19.081446"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:19.087804"], ["name", "alpha"], ["title", "Rerum et nihil est voluptate."], ["updated_at", "2014-09-22 17:54:19.087804"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 17:54:19.091802"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem corrupti dolorem. Doloremque et et. Qui esse delectus quasi aliquid quae sint. Fuga repellendus voluptatem saepe ut. Rem maxime et fugiat.\", \"Ipsa possimus voluptatem perferendis qui quo eum. Aut omnis odio. Dolor voluptatibus nostrum in minima totam et laboriosam. Aut quia voluptatibus maxime. At ut sint facilis blanditiis.\"]"], ["created_at", "2014-09-22 17:54:19.101385"], ["name", "alpha"], ["title", "Et reprehenderit numquam accusantium saepe ea recusandae tempore."], ["updated_at", "2014-09-22 17:54:19.101385"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 17:54:19.105120"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et tempore qui soluta ea. Nesciunt molestias iure qui laudantium voluptatem placeat numquam. Ut velit quisquam ipsam. Praesentium laudantium nesciunt.\", \"Pariatur ratione est molestiae ipsum necessitatibus consequatur. Corrupti non voluptas sit iure. Et laboriosam necessitatibus omnis voluptates in sunt. Enim architecto autem nemo amet. Officia enim culpa ut neque et accusamus quas.\"]"], ["created_at", "2014-09-22 17:54:19.109069"], ["name", "beta"], ["title", "Et et nemo ipsam non ducimus illum."], ["updated_at", "2014-09-22 17:54:19.109069"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:54:19.112437"], ["version", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.115100"], ["updated_at", "2014-09-22 17:54:19.115100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 17:54:19.117925"], ["updated_at", "2014-09-22 17:54:19.117925"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 17:54:19.120351"], ["updated_at", "2014-09-22 17:54:19.120351"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:19.122569"], ["name", "alpha"], ["title", "Et reprehenderit numquam accusantium saepe ea recusandae tempore."], ["updated_at", "2014-09-22 17:54:19.122569"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 17:54:19.125679"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit cum et quas eos rerum eum iste. Neque expedita voluptatem. Molestias quasi enim cum culpa.\", \"Ducimus similique aliquam et aperiam maiores quia. Reiciendis perspiciatis eaque sed qui. Quaerat nesciunt labore maxime inventore soluta.\"]"], ["created_at", "2014-09-22 17:54:19.131083"], ["name", "alpha"], ["title", "Fuga quo tempore fugit libero molestiae odio suscipit."], ["updated_at", "2014-09-22 17:54:19.131083"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:54:19.134181"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam facere labore et tempora cum. Rem temporibus possimus dignissimos quis facilis. Id doloremque praesentium et rerum neque quibusdam atque.\", \"Sint aut ducimus perspiciatis excepturi. Quae et dolor doloribus adipisci nemo. Est quibusdam animi consectetur. Eaque inventore odio dolorem.\"]"], ["created_at", "2014-09-22 17:54:19.138263"], ["name", "beta"], ["title", "Enim voluptatibus qui ut cupiditate recusandae."], ["updated_at", "2014-09-22 17:54:19.138263"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 17:54:19.141473"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.143763"], ["updated_at", "2014-09-22 17:54:19.143763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 17:54:19.146355"], ["updated_at", "2014-09-22 17:54:19.146355"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 17:54:19.148761"], ["updated_at", "2014-09-22 17:54:19.148761"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:19.151003"], ["name", "alpha"], ["title", "Fuga quo tempore fugit libero molestiae odio suscipit."], ["updated_at", "2014-09-22 17:54:19.151003"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 17:54:19.153998"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti magnam dolores ducimus autem aspernatur reiciendis. Minima architecto odit. Aut et doloremque qui modi dolorem non.\", \"Corrupti deserunt sed tempora assumenda. Eum qui repellat ullam delectus. Earum ad eum. Molestiae nam non. Perferendis nulla voluptas impedit quia consectetur.\"]"], ["created_at", "2014-09-22 17:54:19.160436"], ["name", "alpha"], ["title", "Autem et et libero deleniti quis."], ["updated_at", "2014-09-22 17:54:19.160436"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 17:54:19.163516"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam sunt eum eaque quo distinctio corrupti hic. Voluptas minima perferendis nemo. Ad quos quis dolorem et aliquid ullam ipsum. Sed iure laborum. Soluta ut sit a quidem consequatur non et.\", \"Ut dolor consequatur optio ducimus. Perferendis atque placeat velit magnam et dolore harum. Ea nobis nulla aut ut reprehenderit repudiandae.\"]"], ["created_at", "2014-09-22 17:54:19.166822"], ["name", "beta"], ["title", "Laudantium minima perspiciatis."], ["updated_at", "2014-09-22 17:54:19.166822"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 17:54:19.169697"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.171880"], ["updated_at", "2014-09-22 17:54:19.171880"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 17:54:19.174329"], ["updated_at", "2014-09-22 17:54:19.174329"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 17:54:19.176735"], ["updated_at", "2014-09-22 17:54:19.176735"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:19.178918"], ["name", "alpha"], ["title", "Autem et et libero deleniti quis."], ["updated_at", "2014-09-22 17:54:19.178918"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:54:19.181914"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 13, 11, 10, 8, 7, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 13, 11, 10, 8, 7, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 12, 9, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 17:54:19.198769"], ["updated_at", "2014-09-22 17:54:19.198769"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 13, 11, 10, 8, 7, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 13, 11, 10, 8, 7, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 12, 9, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction 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_b5db08a1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia vitae quas. Facilis et enim. Aut sint enim adipisci iste facere. Praesentium nulla totam autem sunt modi. Ullam ea accusantium deleniti.\", \"Consequatur excepturi sed numquam nobis. Voluptatum est quod error maxime cum. Quaerat nihil fuga magni rerum. Natus libero aut odio temporibus quaerat. Voluptas nisi qui ut veniam dolorem.\"]"], ["created_at", "2014-09-22 17:54:19.213430"], ["name", "contract_b5db08a1"], ["title", "Perferendis cupiditate at ex."], ["updated_at", "2014-09-22 17:54:19.213430"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]]  (0.0ms) begin transaction 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_fd5ab15c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe ipsa aliquid repellendus. Neque unde impedit dicta. Pariatur facilis aliquid delectus laudantium omnis consequatur.\", \"Totam saepe fuga maxime rem dolore delectus. Quae consequuntur sunt quas veniam perspiciatis et autem. Fuga sed consequuntur rerum.\"]"], ["created_at", "2014-09-22 17:54:19.217552"], ["name", "contract_fd5ab15c"], ["title", "Et voluptatem soluta natus reprehenderit."], ["updated_at", "2014-09-22 17:54:19.217552"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fd5ab15c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_fd5ab15c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 17:54:19.220469"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.222860"], ["updated_at", "2014-09-22 17:54:19.222860"]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.230197"], ["updated_at", "2014-09-22 17:54:19.230197"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.232278"], ["updated_at", "2014-09-22 17:54:19.232278"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.237707"], ["updated_at", "2014-09-22 17:54:19.237707"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.239260"], ["updated_at", "2014-09-22 17:54:19.239260"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_fd81770b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur excepturi id perspiciatis magnam. Laborum non veniam ut itaque. Quo ex fuga. Velit possimus natus.\", \"Laboriosam quidem aut accusantium. Iure reiciendis non praesentium ullam ipsa. Voluptatem amet quia. Rem unde praesentium est voluptatibus recusandae sequi dolore. Voluptatum eum et in.\"]"], ["created_at", "2014-09-22 17:54:19.243891"], ["name", "contract_fd81770b"], ["title", "Necessitatibus cum quia fuga."], ["updated_at", "2014-09-22 17:54:19.243891"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fd81770b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_fd81770b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:54:19.247230"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.251076"], ["updated_at", "2014-09-22 17:54:19.251076"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 17:54:19.253220"], ["updated_at", "2014-09-22 17:54:19.253220"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_fd81770b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fd81770b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_fd81770b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction 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_ef831284') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ea voluptas incidunt ut suscipit necessitatibus. Enim odio hic. Omnis aspernatur et error.\", \"Cum consequatur occaecati in. Adipisci eaque et iusto eligendi similique nihil autem. Nobis voluptate alias molestias dolore reiciendis. Repellendus eum unde aut occaecati laboriosam. Quaerat ut similique corrupti explicabo.\"]"], ["created_at", "2014-09-22 17:54:19.263165"], ["name", "contract_ef831284"], ["title", "Recusandae autem beatae qui aliquid."], ["updated_at", "2014-09-22 17:54:19.263165"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef831284"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ef831284') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:54:19.266219"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ef831284' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_ef831284') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ea voluptas incidunt ut suscipit necessitatibus. Enim odio hic. Omnis aspernatur et error.\", \"Cum consequatur occaecati in. Adipisci eaque et iusto eligendi similique nihil autem. Nobis voluptate alias molestias dolore reiciendis. Repellendus eum unde aut occaecati laboriosam. Quaerat ut similique corrupti explicabo.\"]"], ["created_at", "2014-09-22 17:54:19.269667"], ["name", "contract_ef831284"], ["title", "Recusandae autem beatae qui aliquid."], ["updated_at", "2014-09-22 17:54:19.269667"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef831284"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_ef831284') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:54:19.272557"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f6872c5d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ut quidem. Minus dolorem dolorem unde voluptatibus nihil possimus nesciunt. Ut temporibus omnis veritatis voluptatem. Sunt ut eveniet voluptate esse. Sunt dolores adipisci.\", \"Facere autem ab quae voluptatum molestiae aliquid quas. Tenetur quo nemo eligendi perferendis. Est alias asperiores incidunt. Qui velit ipsum. Facere consectetur earum atque.\"]"], ["created_at", "2014-09-22 17:54:19.276168"], ["name", "contract_f6872c5d"], ["title", "Illo tempora praesentium dolores sit ipsum quis."], ["updated_at", "2014-09-22 17:54:19.276168"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6872c5d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_f6872c5d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:54:19.280333"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6872c5d"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6872c5d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_f6872c5d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:54:19.285184"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6cb7581d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ducimus possimus exercitationem quibusdam voluptas minima. Ipsam aliquam distinctio sint assumenda et modi. Eos sunt itaque et quia ullam fugiat cumque.\", \"Voluptas in optio libero rerum quos. Sit fuga perferendis soluta deleniti ut rerum rem. Sunt id omnis ipsum. Quas illo ut sed quo iste sequi. At odio officiis dolor ullam.\"]"], ["created_at", "2014-09-22 17:54:19.288671"], ["name", "contract_6cb7581d"], ["title", "Esse consequatur nam non officiis."], ["updated_at", "2014-09-22 17:54:19.288671"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6cb7581d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_6cb7581d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:54:19.291520"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6cb7581d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ducimus possimus exercitationem quibusdam voluptas minima. Ipsam aliquam distinctio sint assumenda et modi. Eos sunt itaque et quia ullam fugiat cumque.\", \"Voluptas in optio libero rerum quos. Sit fuga perferendis soluta deleniti ut rerum rem. Sunt id omnis ipsum. Quas illo ut sed quo iste sequi. At odio officiis dolor ullam.\"]"], ["created_at", "2014-09-22 17:54:19.294884"], ["name", "joe"], ["title", "Esse consequatur nam non officiis."], ["updated_at", "2014-09-22 17:54:19.294884"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:54:19.297894"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.301051"], ["updated_at", "2014-09-22 17:54:19.301051"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.302543"], ["updated_at", "2014-09-22 17:54:19.302543"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_69289c57') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem sed sit temporibus est qui. Sed explicabo qui minima et. Officia et quidem est.\", \"Qui voluptatibus magni minus. Autem itaque ut ullam eos. Alias impedit est natus recusandae molestias.\"]"], ["created_at", "2014-09-22 17:54:19.305721"], ["name", "contract_69289c57"], ["title", "Expedita fugit consequatur deleniti quas."], ["updated_at", "2014-09-22 17:54:19.305721"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_69289c57"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_69289c57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:54:19.308832"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_69289c57"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_69289c57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:54:19.316301"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.322432"], ["updated_at", "2014-09-22 17:54:19.322432"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.324338"], ["updated_at", "2014-09-22 17:54:19.324338"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_1ed1d994') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum inventore at repellendus voluptate adipisci. Omnis ullam est sit quia occaecati nam sed. Quam doloremque ab aut.\", \"Corrupti repellendus perspiciatis pariatur quibusdam debitis odio corporis. Aut explicabo quam laudantium eveniet. Maxime qui sit ut id et.\"]"], ["created_at", "2014-09-22 17:54:19.327638"], ["name", "contract_1ed1d994"], ["title", "Sit laborum quia similique autem."], ["updated_at", "2014-09-22 17:54:19.327638"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:54:19.331882"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 5ms (ActiveRecord: 0.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.336992"], ["updated_at", "2014-09-22 17:54:19.336992"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.338604"], ["updated_at", "2014-09-22 17:54:19.338604"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_82223384') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis sit a harum magni vel quos ipsa. Odio nesciunt velit earum ducimus architecto aut occaecati. Et officiis ipsam et id.\", \"Minima repellat aliquid corrupti hic. Nihil enim dignissimos sunt rem. Sed vitae dolores dignissimos nam. Nobis nihil ut voluptatem in cumque ut.\"]"], ["created_at", "2014-09-22 17:54:19.341490"], ["name", "contract_82223384"], ["title", "Officia molestiae facilis quia iusto."], ["updated_at", "2014-09-22 17:54:19.341490"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.346843"], ["updated_at", "2014-09-22 17:54:19.346843"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.348298"], ["updated_at", "2014-09-22 17:54:19.348298"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_e81a57d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus qui ut laborum iusto rerum dolor quas. Autem atque id hic esse qui dignissimos. Quas asperiores repellat. Aliquid beatae veniam quidem minima consequatur sed.\", \"Praesentium cupiditate et et. Ea quasi in dolor beatae alias. Aspernatur nobis ad doloremque quis eos impedit dolor. At eligendi aut illum ea in. Inventore est qui.\"]"], ["created_at", "2014-09-22 17:54:19.350923"], ["name", "contract_e81a57d4"], ["title", "Eius autem incidunt minima exercitationem autem."], ["updated_at", "2014-09-22 17:54:19.350923"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e81a57d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_e81a57d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:54:19.353934"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.359585"], ["updated_at", "2014-09-22 17:54:19.359585"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.361041"], ["updated_at", "2014-09-22 17:54:19.361041"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3b3dc024') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos voluptate quae consequatur rerum cum autem. Magni natus molestias est possimus. Voluptas ut et doloremque quo omnis deserunt. Unde illum reprehenderit incidunt voluptas animi dolorem. Rerum quis sed sed et fuga eaque a.\", \"Similique ipsa consectetur omnis ab cumque. Adipisci quo sunt voluptatem ex suscipit et. Dolor libero aut occaecati eos fugiat nulla ut. Velit adipisci eius sapiente assumenda. Quas esse earum.\"]"], ["created_at", "2014-09-22 17:54:19.363682"], ["name", "contract_3b3dc024"], ["title", "Sapiente at dolorum quis nihil labore possimus."], ["updated_at", "2014-09-22 17:54:19.363682"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.367332"], ["updated_at", "2014-09-22 17:54:19.367332"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.368778"], ["updated_at", "2014-09-22 17:54:19.368778"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_69d7e2ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi quia temporibus libero. Exercitationem velit pariatur est nesciunt quibusdam. Reprehenderit consequatur labore distinctio corporis.\", \"Consequatur quis eaque omnis. Et excepturi quod ut dolore atque. Officia mollitia vitae molestiae. Sunt in saepe ipsum corrupti ea numquam aperiam. Dolores omnis eos.\"]"], ["created_at", "2014-09-22 17:54:19.371749"], ["name", "contract_69d7e2ba"], ["title", "Ab eveniet et odit error culpa."], ["updated_at", "2014-09-22 17:54:19.371749"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.377690"], ["updated_at", "2014-09-22 17:54:19.377690"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.379296"], ["updated_at", "2014-09-22 17:54:19.379296"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d164bc2b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem expedita explicabo. Suscipit aliquid quia eum sunt. Dolorum magnam illum. Reprehenderit iste officiis odio ipsa magnam. Atque amet nemo reprehenderit ducimus et neque et.\", \"Ut placeat pariatur sunt. Aut qui cumque dolore. Est sed quis sunt optio eaque.\"]"], ["created_at", "2014-09-22 17:54:19.381906"], ["name", "contract_d164bc2b"], ["title", "Et est dolor eius aut quis non nihil."], ["updated_at", "2014-09-22 17:54:19.381906"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d164bc2b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_d164bc2b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:54:19.385055"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d164bc2b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.395531"], ["updated_at", "2014-09-22 17:54:19.395531"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.397229"], ["updated_at", "2014-09-22 17:54:19.397229"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bf316bcd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas sint nisi repudiandae natus. Dolor voluptas et quaerat nulla. Distinctio consequatur aperiam molestias.\", \"Fuga nesciunt a iusto atque est sed. Maiores consequatur expedita fugit quisquam delectus sit. Libero est et velit. Voluptatem rerum labore voluptates.\"]"], ["created_at", "2014-09-22 17:54:19.399878"], ["name", "contract_bf316bcd"], ["title", "Et harum sit ut aut at eos exercitationem."], ["updated_at", "2014-09-22 17:54:19.399878"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.405450"], ["updated_at", "2014-09-22 17:54:19.405450"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.407361"], ["updated_at", "2014-09-22 17:54:19.407361"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_11206c36') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum et dolorem soluta. Reiciendis incidunt at aliquid quo non. Debitis voluptatem quasi quo eos.\", \"Qui natus eum unde et quia commodi. Sed sit nisi velit. Qui aut perferendis expedita et consequatur sunt iusto. Occaecati rem id deleniti a error repudiandae ullam.\"]"], ["created_at", "2014-09-22 17:54:19.410727"], ["name", "contract_11206c36"], ["title", "Sunt possimus ut et et aut."], ["updated_at", "2014-09-22 17:54:19.410727"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 14, 13, 11, 10, 8, 7, 5, 26, 15, 12, 9, 6, 1, 33, 29, 3, 25, 30, 23, 27, 17, 2, 32, 31, 28, 4, 21, 20, 22, 18, 19, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.418576"], ["updated_at", "2014-09-22 17:54:19.418576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.420045"], ["updated_at", "2014-09-22 17:54:19.420045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d1a5524d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum hic animi magnam ut. Sit magnam ipsam aut. Ut rerum id voluptatibus reiciendis voluptates non.\", \"Saepe doloribus quos. Et dolorem eveniet. Eum quo et.\"]"], ["created_at", "2014-09-22 17:54:19.423361"], ["name", "contract_d1a5524d"], ["title", "Cumque nobis rerum."], ["updated_at", "2014-09-22 17:54:19.423361"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.429735"], ["updated_at", "2014-09-22 17:54:19.429735"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.431284"], ["updated_at", "2014-09-22 17:54:19.431284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_96527126') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quos in laudantium non. Et rem cum nihil sed cumque tenetur. Minus eos placeat.\", \"Consequatur similique labore quo omnis laudantium. Vel dolores porro dolorum cumque rerum commodi aut. Minima velit eius aut laudantium.\"]"], ["created_at", "2014-09-22 17:54:19.433904"], ["name", "contract_96527126"], ["title", "Nulla molestias sint libero et."], ["updated_at", "2014-09-22 17:54:19.433904"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.438391"], ["updated_at", "2014-09-22 17:54:19.438391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.439857"], ["updated_at", "2014-09-22 17:54:19.439857"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_fe35fbd0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores velit amet voluptatem praesentium vel nostrum eum. Ut est non earum voluptas sed vel. Quia eum corrupti quisquam ipsum. Veritatis explicabo nobis. Labore maiores dolores dolores voluptatum laboriosam molestiae placeat.\", \"Et delectus ut voluptate. Nostrum incidunt eligendi a ut est non. At a aut et ut alias. Omnis commodi dolorem totam.\"]"], ["created_at", "2014-09-22 17:54:19.442333"], ["name", "contract_fe35fbd0"], ["title", "Quasi illo vitae eveniet dolor aperiam placeat nihil."], ["updated_at", "2014-09-22 17:54:19.442333"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.446137"], ["updated_at", "2014-09-22 17:54:19.446137"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.447608"], ["updated_at", "2014-09-22 17:54:19.447608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bc3e9b0a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis cum provident harum autem. Voluptas illo harum ut. At hic quaerat expedita molestias autem non ut. Voluptas fugit exercitationem. Consequatur quaerat et earum molestiae sapiente.\", \"Enim a qui eveniet placeat animi corporis. Illo nesciunt labore reiciendis. Quis animi et quia suscipit quasi praesentium.\"]"], ["created_at", "2014-09-22 17:54:19.450114"], ["name", "contract_bc3e9b0a"], ["title", "Autem perspiciatis ratione est."], ["updated_at", "2014-09-22 17:54:19.450114"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bc3e9b0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_bc3e9b0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:54:19.453244"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.459163"], ["updated_at", "2014-09-22 17:54:19.459163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.460843"], ["updated_at", "2014-09-22 17:54:19.460843"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_173b86bd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis earum dolorem id. Est vel delectus laborum. Alias beatae cumque distinctio exercitationem consequuntur.\", \"Distinctio repellat qui voluptatem. Voluptatem quia qui ea doloremque. Et ea in quo. Et qui aperiam id. Aut voluptate dignissimos atque voluptas est sint quia.\"]"], ["created_at", "2014-09-22 17:54:19.463929"], ["name", "contract_173b86bd"], ["title", "Nemo non at ut qui possimus."], ["updated_at", "2014-09-22 17:54:19.463929"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_173b86bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_173b86bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:54:19.469810"], ["version", 1]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.475350"], ["updated_at", "2014-09-22 17:54:19.475350"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.477326"], ["updated_at", "2014-09-22 17:54:19.477326"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_1e24e267') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem veritatis quod quaerat excepturi rerum aut. Quidem est aperiam alias. Est est omnis praesentium laboriosam. Recusandae ex qui cum aut. Sed asperiores eligendi eveniet debitis reprehenderit.\", \"Enim architecto nisi. Voluptatem autem impedit fugit velit numquam illo. Dolores in minima consequuntur qui.\"]"], ["created_at", "2014-09-22 17:54:19.480594"], ["name", "contract_1e24e267"], ["title", "Sed voluptatibus dolores sunt sit aut reprehenderit."], ["updated_at", "2014-09-22 17:54:19.480594"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:54:19.484305"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:54:19.484305"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/40 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.487531"], ["updated_at", "2014-09-22 17:54:19.487531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.489007"], ["updated_at", "2014-09-22 17:54:19.489007"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e4b448ac') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt temporibus qui est quisquam rem neque. Corporis quam est neque quidem quos et. Quasi ut minus est error dignissimos et fuga. Error quia inventore nam eveniet.\", \"Consequuntur nobis et eveniet. Aut culpa fugiat atque. Nemo debitis id eveniet sapiente neque molestias. In vel sit accusamus fugiat illo eos voluptates.\"]"], ["created_at", "2014-09-22 17:54:19.492450"], ["name", "contract_e4b448ac"], ["title", "Et omnis atque."], ["updated_at", "2014-09-22 17:54:19.492450"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.496845"], ["updated_at", "2014-09-22 17:54:19.496845"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.498349"], ["updated_at", "2014-09-22 17:54:19.498349"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_80dd76cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque nihil dicta est. Id est iusto et nesciunt ipsam porro ullam. Voluptatum est et aliquid ducimus esse recusandae voluptas. Distinctio nostrum maiores ut autem sit.\", \"Molestiae eum atque aut deserunt corrupti corporis qui. Eos consequuntur eum. Magnam ut praesentium nisi quidem architecto. Minima qui non ratione voluptatem dolorum atque. Quod accusantium qui autem.\"]"], ["created_at", "2014-09-22 17:54:19.501003"], ["name", "contract_80dd76cf"], ["title", "Quia ipsum et sint sed dignissimos sequi ad."], ["updated_at", "2014-09-22 17:54:19.501003"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"42"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"42"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.506660"], ["updated_at", "2014-09-22 17:54:19.506660"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:19.514866"], ["updated_at", "2014-09-22 17:54:19.514866"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ac9e2ea5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione fugiat aut nisi aut sint aliquam illum. Nisi nihil laudantium tempora ducimus. Sed recusandae similique. Omnis aut optio iste qui. Ipsa voluptas sed quae quidem sapiente sint ipsam.\", \"Aperiam fugit quis molestiae quam doloribus quia dicta. Ex aut veritatis dignissimos id doloremque dolorum maiores. Ut dolores numquam mollitia est. Harum minima laboriosam dolor ea eum. Non nemo ipsa est at.\"]"], ["created_at", "2014-09-22 17:54:19.518878"], ["name", "contract_ac9e2ea5"], ["title", "Deleniti est debitis officia nobis iusto."], ["updated_at", "2014-09-22 17:54:19.518878"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 43]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 43]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 43 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.719614"], ["updated_at", "2014-09-22 17:54:50.719614"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.727080"], ["updated_at", "2014-09-22 17:54:50.727080"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_26fd15bc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate corrupti est. Reiciendis in vel voluptas nulla fugiat. Officiis nostrum doloribus aut eum nisi dolor dicta.\", \"Exercitationem perferendis explicabo dicta quos nam temporibus aut. Dolorem vitae inventore rem suscipit facilis. Consectetur tempore qui quis ipsum qui reprehenderit veniam. Reprehenderit et voluptate maxime. Accusantium necessitatibus illo maiores dolore dolores.\"]"], ["created_at", "2014-09-22 17:54:50.958931"], ["name", "contract_26fd15bc"], ["title", "Est incidunt voluptatem."], ["updated_at", "2014-09-22 17:54:50.958931"]]  (1.4ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.970719"], ["updated_at", "2014-09-22 17:54:50.970719"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.972909"], ["updated_at", "2014-09-22 17:54:50.972909"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_9a0048ed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum reprehenderit cupiditate eveniet quia sapiente. Iste impedit sit voluptatem iusto vitae explicabo deserunt. Quia quia reiciendis velit facilis officiis in. Et qui sed quae voluptatem autem.\", \"Pariatur ullam ut distinctio. Minima est quasi et voluptas quidem quo et. Corporis et magnam quas adipisci inventore.\"]"], ["created_at", "2014-09-22 17:54:50.976566"], ["name", "contract_9a0048ed"], ["title", "Est aspernatur repellendus quia illum inventore."], ["updated_at", "2014-09-22 17:54:50.976566"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.984094"], ["updated_at", "2014-09-22 17:54:50.984094"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:50.986334"], ["updated_at", "2014-09-22 17:54:50.986334"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_227eb1d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt quia expedita dolores velit reprehenderit consectetur. Reprehenderit nam quia eligendi vero qui dignissimos iure. Ratione qui culpa magni repudiandae reprehenderit nisi. Saepe aut nam in suscipit voluptas quisquam autem. Eum maiores sint.\", \"Eum atque dignissimos. Autem iste cumque ut. Consequatur quo nihil quos aperiam omnis.\"]"], ["created_at", "2014-09-22 17:54:50.989254"], ["name", "contract_227eb1d9"], ["title", "Voluptate aperiam et facere quisquam velit."], ["updated_at", "2014-09-22 17:54:50.989254"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:54:50.994822"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/3 Completed 302 Found in 14ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.010000"], ["updated_at", "2014-09-22 17:54:51.010000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.011901"], ["updated_at", "2014-09-22 17:54:51.011901"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_170ae6bb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda corporis quod. Qui repellendus amet. Laborum corrupti sit. Dicta velit quis et praesentium porro. Quo eos facere ipsam qui expedita.\", \"Ipsam vel ut sit. Magnam rerum velit et consequatur. Incidunt eius non sit quam facilis asperiores iusto. Commodi vero molestiae voluptas.\"]"], ["created_at", "2014-09-22 17:54:51.015031"], ["name", "contract_170ae6bb"], ["title", "Eligendi molestias reiciendis quia."], ["updated_at", "2014-09-22 17:54:51.015031"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_170ae6bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_170ae6bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:54:51.020225"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_170ae6bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_170ae6bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:54:51.026335"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.031098"], ["updated_at", "2014-09-22 17:54:51.031098"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.032743"], ["updated_at", "2014-09-22 17:54:51.032743"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2a82b4ca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim facilis expedita aperiam. Et explicabo nobis praesentium beatae. Beatae et autem asperiores deleniti magni voluptatem.\", \"Sequi eaque sint sed quasi. Id ipsam neque et. Sit veniam hic possimus cupiditate aliquam. Culpa provident molestiae consequuntur voluptates autem libero quod.\"]"], ["created_at", "2014-09-22 17:54:51.035568"], ["name", "contract_2a82b4ca"], ["title", "Enim officia facilis."], ["updated_at", "2014-09-22 17:54:51.035568"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.046674"], ["updated_at", "2014-09-22 17:54:51.046674"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.048444"], ["updated_at", "2014-09-22 17:54:51.048444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_19810ecd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et debitis est molestiae qui omnis aliquam nobis. Sed in minus. Aperiam magni doloribus quo.\", \"Suscipit perspiciatis ut amet earum. Sunt est explicabo laborum ea voluptates ullam. Tempore minima et tenetur deleniti ipsum illo maxime.\"]"], ["created_at", "2014-09-22 17:54:51.052747"], ["name", "contract_19810ecd"], ["title", "Hic dolores et voluptatum illum soluta in quo."], ["updated_at", "2014-09-22 17:54:51.052747"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.057390"], ["updated_at", "2014-09-22 17:54:51.057390"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.058787"], ["updated_at", "2014-09-22 17:54:51.058787"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_01accf48') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut ducimus sed et. Tempore consequatur rem quis est et. Doloribus eos ex reiciendis. Placeat possimus quae aut eius provident eos. Ratione et soluta facere.\", \"Facere provident tenetur. Unde non excepturi exercitationem qui rerum. Soluta nihil non. Ipsam unde consequuntur facilis ducimus corporis.\"]"], ["created_at", "2014-09-22 17:54:51.061623"], ["name", "contract_01accf48"], ["title", "Minima et esse ut."], ["updated_at", "2014-09-22 17:54:51.061623"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.066621"], ["updated_at", "2014-09-22 17:54:51.066621"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.068290"], ["updated_at", "2014-09-22 17:54:51.068290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2d66551b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut accusamus ex qui voluptas ipsam fugit velit. Quis et suscipit eum non vitae. Sapiente perspiciatis et eligendi ipsum voluptates nesciunt iure.\", \"Non perspiciatis et ab distinctio soluta quos. Eum voluptas enim recusandae quis minima. Illum et at. Et voluptas excepturi commodi.\"]"], ["created_at", "2014-09-22 17:54:51.071532"], ["name", "contract_2d66551b"], ["title", "Id tenetur doloribus alias maxime."], ["updated_at", "2014-09-22 17:54:51.071532"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.076586"], ["updated_at", "2014-09-22 17:54:51.076586"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.078256"], ["updated_at", "2014-09-22 17:54:51.078256"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_80643b03') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio veritatis nihil. Quo accusantium eum dolore quia. Sit magnam culpa. Voluptatibus aliquam voluptatem doloremque laudantium harum iure velit.\", \"Beatae doloremque et. Repellat deleniti ad natus at quaerat. Numquam veritatis non.\"]"], ["created_at", "2014-09-22 17:54:51.081116"], ["name", "contract_80643b03"], ["title", "Et soluta debitis in id sit."], ["updated_at", "2014-09-22 17:54:51.081116"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.088258"], ["updated_at", "2014-09-22 17:54:51.088258"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.089985"], ["updated_at", "2014-09-22 17:54:51.089985"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_605fef83') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ab nesciunt rem doloribus corrupti magnam. Consequatur molestiae officia debitis voluptate hic id. Consequatur sit quas voluptatibus quam incidunt placeat maiores. Rem sit mollitia ut tenetur blanditiis consequatur.\", \"Voluptas rerum libero voluptatem consequatur cupiditate fuga. Velit minima id nesciunt voluptatem consequatur voluptas. Dolorem dignissimos quo eum. Ullam ducimus omnis corrupti.\"]"], ["created_at", "2014-09-22 17:54:51.092829"], ["name", "contract_605fef83"], ["title", "Dolores et veniam ab repudiandae quae quo."], ["updated_at", "2014-09-22 17:54:51.092829"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.098100"], ["updated_at", "2014-09-22 17:54:51.098100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.099653"], ["updated_at", "2014-09-22 17:54:51.099653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d28e8082') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam commodi quis qui. Repudiandae est praesentium perspiciatis ut aperiam omnis. Corporis natus et perferendis ut.\", \"Quia ut consequuntur illum. Soluta consectetur et impedit et. Pariatur cum non optio repudiandae at aut. Excepturi sunt quisquam dignissimos. Laudantium reprehenderit natus repellendus perferendis sit.\"]"], ["created_at", "2014-09-22 17:54:51.102641"], ["name", "contract_d28e8082"], ["title", "Nam exercitationem sit dolores ut quae sed."], ["updated_at", "2014-09-22 17:54:51.102641"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.108128"], ["updated_at", "2014-09-22 17:54:51.108128"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.110248"], ["updated_at", "2014-09-22 17:54:51.110248"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_547f093e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et beatae expedita nemo. Dolor quo error molestiae. Veritatis dolorem quos sapiente alias veniam consequatur. Similique magnam eius. Eum eveniet ipsum ducimus.\", \"Dolorum omnis neque repudiandae ut velit numquam. Eveniet laudantium totam itaque qui. Reiciendis veniam eum quos et odit sit. Eos labore facilis.\"]"], ["created_at", "2014-09-22 17:54:51.113845"], ["name", "contract_547f093e"], ["title", "Voluptas possimus quisquam."], ["updated_at", "2014-09-22 17:54:51.113845"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_547f093e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_547f093e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 17:54:51.118978"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.123529"], ["updated_at", "2014-09-22 17:54:51.123529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.125005"], ["updated_at", "2014-09-22 17:54:51.125005"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_228d3e4f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem unde qui aperiam tenetur. Velit dolor numquam officia asperiores necessitatibus qui. Velit amet rerum dolorum et ipsa voluptatum. Officia tempora non ut porro. Rerum ducimus quaerat velit.\", \"Odit nemo unde necessitatibus. Qui ut suscipit nisi. Sunt odit quia unde natus.\"]"], ["created_at", "2014-09-22 17:54:51.127944"], ["name", "contract_228d3e4f"], ["title", "Hic provident quia."], ["updated_at", "2014-09-22 17:54:51.127944"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 7, 4, 6, 13, 1, 5, 8, 12, 10, 9, 2, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.137743"], ["updated_at", "2014-09-22 17:54:51.137743"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.139557"], ["updated_at", "2014-09-22 17:54:51.139557"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_bae30f69') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta rem placeat voluptatem ab adipisci. Aut rerum similique qui ut aspernatur ipsam. Quis dignissimos pariatur a optio velit. Rerum beatae corporis animi numquam rem.\", \"Quo non excepturi. Enim tempore unde. Molestiae placeat omnis ipsam consequuntur architecto qui. Nam et velit in voluptatum. Velit rem aliquid consequatur laborum voluptatibus quia distinctio.\"]"], ["created_at", "2014-09-22 17:54:51.142966"], ["name", "contract_bae30f69"], ["title", "Est mollitia eius dolore est."], ["updated_at", "2014-09-22 17:54:51.142966"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:54:51.147013"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:54:51.147013"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.150297"], ["updated_at", "2014-09-22 17:54:51.150297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.151726"], ["updated_at", "2014-09-22 17:54:51.151726"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e8eca039') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos autem mollitia labore. Voluptate illo ipsa blanditiis quia. Et quidem rerum rerum.\", \"Iure voluptas non consectetur praesentium beatae. Architecto suscipit culpa ad aut optio. Nisi sunt mollitia laboriosam deleniti.\"]"], ["created_at", "2014-09-22 17:54:51.154193"], ["name", "contract_e8eca039"], ["title", "Ipsa quasi omnis sed."], ["updated_at", "2014-09-22 17:54:51.154193"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8eca039"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_e8eca039') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:54:51.157267"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.162989"], ["updated_at", "2014-09-22 17:54:51.162989"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.164707"], ["updated_at", "2014-09-22 17:54:51.164707"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_244524fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi in dolor et. Fugiat sint expedita. Aliquam enim et minima. Et praesentium animi.\", \"Laborum enim voluptatum quaerat et. Saepe et facere ratione aliquam accusamus at. Consequatur minima sit quasi recusandae laboriosam odit. Non reprehenderit accusantium. Rerum autem placeat.\"]"], ["created_at", "2014-09-22 17:54:51.167985"], ["name", "contract_244524fa"], ["title", "Quia voluptatem ratione totam ducimus."], ["updated_at", "2014-09-22 17:54:51.167985"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.177399"], ["updated_at", "2014-09-22 17:54:51.177399"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.178964"], ["updated_at", "2014-09-22 17:54:51.178964"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_76f3fe61') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit porro rerum sint cumque et dolorum. Voluptatum ut corporis atque accusantium molestiae est quidem. Nisi minus explicabo dolor ut. Ea aliquid dolores et culpa rem numquam nesciunt.\", \"Iure magnam quos. Numquam autem fuga maxime culpa impedit possimus quod. Non facere perspiciatis sed. Laudantium id cum voluptate aut.\"]"], ["created_at", "2014-09-22 17:54:51.181547"], ["name", "contract_76f3fe61"], ["title", "Corrupti aut maiores."], ["updated_at", "2014-09-22 17:54:51.181547"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76f3fe61"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_76f3fe61') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 17:54:51.184536"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.190275"], ["updated_at", "2014-09-22 17:54:51.190275"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.191767"], ["updated_at", "2014-09-22 17:54:51.191767"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a77649ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis et sequi tempora. Placeat laborum id neque. Officiis vel eos quo sed mollitia. A qui quae consequatur expedita quisquam.\", \"Voluptas ut laudantium. Animi ex et. Laboriosam qui reiciendis similique perferendis quaerat. Labore porro et laboriosam blanditiis earum repellat.\"]"], ["created_at", "2014-09-22 17:54:51.194279"], ["name", "contract_a77649ab"], ["title", "Voluptatibus at tempora sed veniam illum vero."], ["updated_at", "2014-09-22 17:54:51.194279"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a77649ab"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_a77649ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:54:51.197413"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a77649ab' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis eligendi voluptas illum eaque unde voluptas. Excepturi molestiae ut laboriosam voluptatibus itaque ut. Nihil quia odit aspernatur repudiandae quia. Aspernatur repellendus maiores dolores omnis. Velit ut et alias labore optio consequuntur.\", \"Quis exercitationem quibusdam quae culpa. Aut numquam dolores veritatis eum consequatur accusamus id. Qui recusandae est.\"]"], ["created_at", "2014-09-22 17:54:51.206519"], ["name", "alpha"], ["title", "Distinctio voluptate doloremque."], ["updated_at", "2014-09-22 17:54:51.206519"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:54:51.209686"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor facilis repellendus consequatur. Et repellat doloribus velit autem. Sed est ut. Doloremque quisquam rerum.\", \"Sint error consequatur doloribus. Qui ipsa perspiciatis velit quas maxime quaerat. Itaque nam ut quia iusto. Optio consequuntur libero suscipit incidunt dolorum. Aliquid totam ab at et quis aut deleniti.\"]"], ["created_at", "2014-09-22 17:54:51.212988"], ["name", "beta"], ["title", "Vero harum inventore praesentium voluptates dolore sequi tempore."], ["updated_at", "2014-09-22 17:54:51.212988"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:54:51.215819"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.217927"], ["updated_at", "2014-09-22 17:54:51.217927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 17:54:51.223060"], ["updated_at", "2014-09-22 17:54:51.223060"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 17:54:51.227662"], ["updated_at", "2014-09-22 17:54:51.227662"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:51.229901"], ["name", "alpha"], ["title", "Distinctio voluptate doloremque."], ["updated_at", "2014-09-22 17:54:51.229901"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:54:51.233089"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 17:54:51.247930"], ["updated_at", "2014-09-22 17:54:51.247930"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et voluptas aut non aspernatur sequi. Adipisci facilis est consequatur. Doloremque consequatur ea. Qui consequatur dolor quia fugit cum dolorem.\", \"Eos dolores quaerat eum earum quia. Molestiae sit quia consequuntur. Neque consequatur ipsam.\"]"], ["created_at", "2014-09-22 17:54:51.260622"], ["name", "alpha"], ["title", "Iusto et dicta."], ["updated_at", "2014-09-22 17:54:51.260622"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:54:51.263684"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto facere ut. Et et distinctio laboriosam nesciunt. Nemo dolor ut. Qui quaerat necessitatibus sint voluptatem tempore. Officiis nobis mollitia.\", \"Possimus dignissimos quia quibusdam necessitatibus eius vitae. Aut explicabo dicta. Et fugiat adipisci. Eligendi mollitia et nulla.\"]"], ["created_at", "2014-09-22 17:54:51.267118"], ["name", "beta"], ["title", "Dolor dignissimos incidunt autem."], ["updated_at", "2014-09-22 17:54:51.267118"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:54:51.269982"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.272567"], ["updated_at", "2014-09-22 17:54:51.272567"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 17:54:51.275545"], ["updated_at", "2014-09-22 17:54:51.275545"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 17:54:51.277914"], ["updated_at", "2014-09-22 17:54:51.277914"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:51.280075"], ["name", "alpha"], ["title", "Iusto et dicta."], ["updated_at", "2014-09-22 17:54:51.280075"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:54:51.283166"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid nemo earum. Sunt deserunt dolor. Et quo voluptas dolorem ab incidunt. Esse debitis ut rerum dignissimos itaque voluptas iure. Laboriosam ut assumenda.\", \"Et corporis ea beatae dolorem qui. Eos quas ut eius. Possimus eum eveniet quas et fugit. Rerum occaecati voluptas quia vero mollitia.\"]"], ["created_at", "2014-09-22 17:54:51.289398"], ["name", "alpha"], ["title", "Aut quis atque nisi voluptatem quis nemo."], ["updated_at", "2014-09-22 17:54:51.289398"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:54:51.292480"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam maxime porro non in facilis. Modi est rerum dolores aliquam nulla. Et ex est.\", \"Consequatur quos sit facere voluptatum ullam assumenda. Hic libero aut voluptas. Eligendi nihil error non qui libero quisquam repudiandae. Explicabo voluptatem est ut error praesentium illum qui.\"]"], ["created_at", "2014-09-22 17:54:51.296455"], ["name", "beta"], ["title", "Rerum non assumenda quo quos sed nulla accusamus."], ["updated_at", "2014-09-22 17:54:51.296455"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:54:51.299385"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.301648"], ["updated_at", "2014-09-22 17:54:51.301648"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 17:54:51.304699"], ["updated_at", "2014-09-22 17:54:51.304699"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:54:51.307143"], ["updated_at", "2014-09-22 17:54:51.307143"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:51.309623"], ["name", "alpha"], ["title", "Aut quis atque nisi voluptatem quis nemo."], ["updated_at", "2014-09-22 17:54:51.309623"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:54:51.312843"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem sapiente sit. Fugiat aut voluptate voluptatibus harum error ut. Occaecati minus sunt et vel possimus ipsam repudiandae.\", \"Facilis sint dolor exercitationem. Nemo repudiandae sit odit. Delectus ipsa a. Qui neque iste. Eos quisquam sequi eos sit minus et nihil.\"]"], ["created_at", "2014-09-22 17:54:51.319698"], ["name", "alpha"], ["title", "Omnis quo consequuntur vel ducimus reiciendis."], ["updated_at", "2014-09-22 17:54:51.319698"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:54:51.322776"], ["version", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero tempore animi necessitatibus corrupti quidem. Ex libero sunt sunt sequi illum. Quia dolor aut eum qui laborum. Ad architecto qui aliquid nam ut amet.\", \"Corporis reiciendis voluptas sequi dolore doloremque qui aut. Accusantium aut nihil possimus placeat. Sit nostrum vero voluptatem esse qui quibusdam.\"]"], ["created_at", "2014-09-22 17:54:51.326291"], ["name", "beta"], ["title", "Deleniti porro et consequatur ut."], ["updated_at", "2014-09-22 17:54:51.326291"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:54:51.329278"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.331380"], ["updated_at", "2014-09-22 17:54:51.331380"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:54:51.333938"], ["updated_at", "2014-09-22 17:54:51.333938"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:54:51.336326"], ["updated_at", "2014-09-22 17:54:51.336326"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:54:51.339456"], ["name", "alpha"], ["title", "Omnis quo consequuntur vel ducimus reiciendis."], ["updated_at", "2014-09-22 17:54:51.339456"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:54:51.342957"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_f00e33a6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio quisquam incidunt et quis vel temporibus vel. Temporibus eveniet blanditiis occaecati deserunt dolores. Et sed rerum est. Ipsum natus nostrum maxime nesciunt. Quos voluptates nesciunt blanditiis et alias dicta et.\", \"Veniam est voluptatem possimus eveniet tempora. Sapiente sit repellat quod. Distinctio praesentium neque rerum perferendis sint. Neque nostrum necessitatibus quod quas voluptatem sint dolor. Omnis omnis cum et facere at.\"]"], ["created_at", "2014-09-22 17:54:51.348387"], ["name", "contract_f00e33a6"], ["title", "Sunt et nostrum beatae maxime fugiat."], ["updated_at", "2014-09-22 17:54:51.348387"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f00e33a6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_f00e33a6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:54:51.351271"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f00e33a6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio quisquam incidunt et quis vel temporibus vel. Temporibus eveniet blanditiis occaecati deserunt dolores. Et sed rerum est. Ipsum natus nostrum maxime nesciunt. Quos voluptates nesciunt blanditiis et alias dicta et.\", \"Veniam est voluptatem possimus eveniet tempora. Sapiente sit repellat quod. Distinctio praesentium neque rerum perferendis sint. Neque nostrum necessitatibus quod quas voluptatem sint dolor. Omnis omnis cum et facere at.\"]"], ["created_at", "2014-09-22 17:54:51.354819"], ["name", "joe"], ["title", "Sunt et nostrum beatae maxime fugiat."], ["updated_at", "2014-09-22 17:54:51.354819"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:54:51.357835"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d1fc26ba') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis molestiae doloremque voluptatem impedit. Beatae excepturi et ut ipsum porro facere. Alias reprehenderit doloremque autem. Pariatur omnis tempore in impedit.\", \"Voluptates molestiae qui aperiam. Numquam facere minima temporibus placeat pariatur. Dignissimos explicabo quos dolorem. Sint quia sint et omnis accusamus iusto omnis. Autem voluptas iusto debitis repellendus tempore molestiae aut.\"]"], ["created_at", "2014-09-22 17:54:51.362334"], ["name", "contract_d1fc26ba"], ["title", "Debitis quisquam non temporibus eveniet."], ["updated_at", "2014-09-22 17:54:51.362334"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d1fc26ba"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_d1fc26ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:54:51.368914"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d1fc26ba"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d1fc26ba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_d1fc26ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:54:51.374587"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_7e078041') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt doloremque ipsa blanditiis et consectetur aperiam. Quia sit unde qui. Impedit voluptatibus nostrum non architecto aperiam possimus repellendus. Provident ullam est.\", \"Sit et amet perferendis. Modi quasi tenetur sunt earum quas veritatis nemo. Quae dolores error quod ex commodi. Tempore ea inventore voluptatem ut molestias dolores quas. Reiciendis recusandae animi hic tempora.\"]"], ["created_at", "2014-09-22 17:54:51.378114"], ["name", "contract_7e078041"], ["title", "Fuga qui magni veritatis."], ["updated_at", "2014-09-22 17:54:51.378114"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e078041"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_7e078041') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:54:51.381054"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.384885"], ["updated_at", "2014-09-22 17:54:51.384885"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:54:51.387821"], ["updated_at", "2014-09-22 17:54:51.387821"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_7e078041') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e078041"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_7e078041') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction 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_77ee3f6e') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut accusantium voluptatibus vero molestiae. Quia rerum consectetur. Officia hic voluptate quas optio. Consequatur id quia.\", \"Delectus eos et modi. Rem modi qui maiores ducimus aspernatur. Rerum eveniet iure. Tenetur hic magnam qui id. Commodi possimus omnis iste.\"]"], ["created_at", "2014-09-22 17:54:51.398672"], ["name", "contract_77ee3f6e"], ["title", "Dolorum quia hic occaecati ducimus laboriosam in."], ["updated_at", "2014-09-22 17:54:51.398672"]]  (2.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_77ee3f6e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_77ee3f6e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:54:51.404789"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_77ee3f6e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_77ee3f6e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut accusantium voluptatibus vero molestiae. Quia rerum consectetur. Officia hic voluptate quas optio. Consequatur id quia.\", \"Delectus eos et modi. Rem modi qui maiores ducimus aspernatur. Rerum eveniet iure. Tenetur hic magnam qui id. Commodi possimus omnis iste.\"]"], ["created_at", "2014-09-22 17:54:51.409089"], ["name", "contract_77ee3f6e"], ["title", "Dolorum quia hic occaecati ducimus laboriosam in."], ["updated_at", "2014-09-22 17:54:51.409089"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_77ee3f6e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_77ee3f6e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:54:51.412328"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.415593"], ["updated_at", "2014-09-22 17:54:51.415593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.417055"], ["updated_at", "2014-09-22 17:54:51.417055"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6406943b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea quia repellat quam blanditiis inventore. Ab veritatis qui dolores occaecati odio cupiditate perspiciatis. Exercitationem quis dolor soluta tempore libero qui debitis. Et est molestiae veniam amet tempore.\", \"Consequuntur quidem voluptas laborum. Distinctio sed itaque deserunt labore. Quo quidem architecto dignissimos laboriosam vel.\"]"], ["created_at", "2014-09-22 17:54:51.419937"], ["name", "contract_6406943b"], ["title", "Ducimus tenetur eos omnis eum alias."], ["updated_at", "2014-09-22 17:54:51.419937"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6406943b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_6406943b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:54:51.422836"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.425290"], ["updated_at", "2014-09-22 17:54:51.425290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 17:54:51.427370"], ["updated_at", "2014-09-22 17:54:51.427370"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Redirected to http://test.host/fine_print/contracts/38/signatures Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.434808"], ["updated_at", "2014-09-22 17:54:51.434808"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.436985"], ["updated_at", "2014-09-22 17:54:51.436985"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_88acac07') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae in aut et consequatur laboriosam ea nulla. In quod quidem aliquam ut. Sed aut numquam voluptates corrupti. Sint minus ut rerum. Illo nam tempora delectus voluptates.\", \"Magnam voluptatum qui vero ut totam qui ut. Perspiciatis consequatur blanditiis. Sunt autem quae quaerat.\"]"], ["created_at", "2014-09-22 17:54:51.440062"], ["name", "contract_88acac07"], ["title", "Quibusdam ratione eveniet laudantium et iste."], ["updated_at", "2014-09-22 17:54:51.440062"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88acac07"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_88acac07') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:54:51.443139"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.445542"], ["updated_at", "2014-09-22 17:54:51.445542"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:54:51.447635"], ["updated_at", "2014-09-22 17:54:51.447635"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.450539"], ["updated_at", "2014-09-22 17:54:51.450539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.451999"], ["updated_at", "2014-09-22 17:54:51.451999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_66f072e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor eum et quibusdam sit deleniti sunt iure. Optio dolor sed tempora aspernatur et repellat inventore. Veritatis fugiat inventore libero. Qui nam natus.\", \"Laudantium molestiae cumque totam id nam qui eum. Quisquam eligendi cum quia et aperiam vel nemo. Numquam sit deleniti. Iste officia et quaerat perferendis dignissimos dolor at. Quis maiores aliquam aut inventore voluptatum ipsam.\"]"], ["created_at", "2014-09-22 17:54:51.454820"], ["name", "contract_66f072e5"], ["title", "Ut repudiandae assumenda est vero consequatur exercitationem corrupti."], ["updated_at", "2014-09-22 17:54:51.454820"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66f072e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_66f072e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:54:51.457712"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.460110"], ["updated_at", "2014-09-22 17:54:51.460110"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 17:54:51.462164"], ["updated_at", "2014-09-22 17:54:51.462164"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.464565"], ["updated_at", "2014-09-22 17:54:51.464565"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.465947"], ["updated_at", "2014-09-22 17:54:51.465947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8730534c') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis ut temporibus odit quos optio autem eum. Eaque suscipit ea qui. Consequatur velit fuga cupiditate ea. Minima quas velit esse debitis.\", \"Voluptatibus cum voluptatem est inventore id. Vel quidem eius iure enim. Autem vero repudiandae velit ullam.\"]"], ["created_at", "2014-09-22 17:54:51.468855"], ["name", "contract_8730534c"], ["title", "Necessitatibus quas odit amet."], ["updated_at", "2014-09-22 17:54:51.468855"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8730534c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_8730534c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:54:51.472469"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.474901"], ["updated_at", "2014-09-22 17:54:51.474901"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:54:51.477814"], ["updated_at", "2014-09-22 17:54:51.477814"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.486327"], ["updated_at", "2014-09-22 17:54:51.486327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.487937"], ["updated_at", "2014-09-22 17:54:51.487937"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.491974"], ["updated_at", "2014-09-22 17:54:51.491974"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.493401"], ["updated_at", "2014-09-22 17:54:51.493401"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_d647f2ce') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel commodi voluptas delectus voluptatem aut dolor harum. Fugiat exercitationem quia. Molestiae et totam consequatur reiciendis.\", \"Minus nihil ex quam soluta voluptate blanditiis. Quo atque sed fuga. Et atque non nihil. Quam eum vel et sit officiis nulla impedit.\"]"], ["created_at", "2014-09-22 17:54:51.498025"], ["name", "contract_d647f2ce"], ["title", "Dolor et accusamus ratione explicabo."], ["updated_at", "2014-09-22 17:54:51.498025"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.0ms) begin transaction 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_ed7add81') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officiis saepe rerum repellendus. Fuga excepturi ut architecto voluptatem. Nihil tempore quis consectetur delectus totam qui error. Recusandae veritatis consequuntur autem nesciunt.\", \"Assumenda iusto illo voluptas minima dicta. Dicta fugiat amet aliquam dolore omnis illum. Ipsum placeat ipsam provident deserunt voluptas et ut. Aspernatur neque culpa autem consequatur cupiditate nulla. Illo et cupiditate est.\"]"], ["created_at", "2014-09-22 17:54:51.502182"], ["name", "contract_ed7add81"], ["title", "Consequatur facere ab repellendus velit rerum non."], ["updated_at", "2014-09-22 17:54:51.502182"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ed7add81"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_ed7add81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:54:51.512104"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:54:51.515578"], ["updated_at", "2014-09-22 17:54:51.515578"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (1.4ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_66ee7e54') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum id voluptatem. Eum unde velit. Qui et placeat incidunt dolorum. Voluptatem cumque nihil debitis eum. Reiciendis vitae autem natus placeat exercitationem.\", \"Dolore quia porro. Soluta ullam occaecati ratione in voluptates. Eos eaque consequuntur vel aliquam molestiae excepturi. Possimus ut ut.\"]"], ["created_at", "2014-09-22 17:55:26.468818"], ["name", "contract_66ee7e54"], ["title", "Quas et molestiae est incidunt est."], ["updated_at", "2014-09-22 17:55:26.468818"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66ee7e54"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_66ee7e54') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 17:55:26.481747"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_66ee7e54' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum id voluptatem. Eum unde velit. Qui et placeat incidunt dolorum. Voluptatem cumque nihil debitis eum. Reiciendis vitae autem natus placeat exercitationem.\", \"Dolore quia porro. Soluta ullam occaecati ratione in voluptates. Eos eaque consequuntur vel aliquam molestiae excepturi. Possimus ut ut.\"]"], ["created_at", "2014-09-22 17:55:26.490763"], ["name", "joe"], ["title", "Quas et molestiae est incidunt est."], ["updated_at", "2014-09-22 17:55:26.490763"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 17:55:26.494158"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_fea3f7f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et harum reiciendis impedit omnis dolor rerum blanditiis. Voluptas labore soluta. Inventore placeat architecto est qui aliquid dolore. Modi dolorum et. Est sint harum aut voluptate qui suscipit eos.\", \"Perspiciatis voluptatibus deleniti molestias voluptates consequatur fugit. Qui et facere excepturi pariatur quidem. Corrupti exercitationem nemo in molestiae velit numquam. Asperiores distinctio id modi. Est sequi porro consectetur optio rerum.\"]"], ["created_at", "2014-09-22 17:55:26.498390"], ["name", "contract_fea3f7f8"], ["title", "Quis cum dolores omnis sit."], ["updated_at", "2014-09-22 17:55:26.498390"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fea3f7f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_fea3f7f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 17:55:26.501775"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_fea3f7f8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_fea3f7f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et harum reiciendis impedit omnis dolor rerum blanditiis. Voluptas labore soluta. Inventore placeat architecto est qui aliquid dolore. Modi dolorum et. Est sint harum aut voluptate qui suscipit eos.\", \"Perspiciatis voluptatibus deleniti molestias voluptates consequatur fugit. Qui et facere excepturi pariatur quidem. Corrupti exercitationem nemo in molestiae velit numquam. Asperiores distinctio id modi. Est sequi porro consectetur optio rerum.\"]"], ["created_at", "2014-09-22 17:55:26.507507"], ["name", "contract_fea3f7f8"], ["title", "Quis cum dolores omnis sit."], ["updated_at", "2014-09-22 17:55:26.507507"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fea3f7f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_fea3f7f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:55:26.510701"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_88d4a633') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere consequatur quo nostrum eligendi vero aut. Saepe molestias placeat perferendis aliquam quaerat. Quibusdam veritatis possimus id adipisci voluptas. Sit laboriosam rem ipsa culpa et sunt. Hic est quos sunt et quia quisquam aut.\", \"Omnis deserunt cupiditate similique occaecati. Qui occaecati qui debitis qui. Ea culpa quae dignissimos.\"]"], ["created_at", "2014-09-22 17:55:26.514728"], ["name", "contract_88d4a633"], ["title", "Esse quae eius sint qui laudantium."], ["updated_at", "2014-09-22 17:55:26.514728"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88d4a633"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_88d4a633') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:55:26.519208"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88d4a633"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_88d4a633"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_88d4a633') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 17:55:26.524895"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_8cef9114') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum quas dolores ex. Voluptatum et fuga et ut magni velit. Quae non aut rerum voluptatem consequuntur libero.\", \"Porro voluptate officiis aut aspernatur perspiciatis voluptatem ut. Voluptatem est nesciunt accusantium culpa at. Quam velit iste eum.\"]"], ["created_at", "2014-09-22 17:55:26.528666"], ["name", "contract_8cef9114"], ["title", "Enim qui vero."], ["updated_at", "2014-09-22 17:55:26.528666"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8cef9114"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8cef9114') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 17:55:26.532447"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.539724"], ["updated_at", "2014-09-22 17:55:26.539724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 17:55:26.544094"], ["updated_at", "2014-09-22 17:55:26.544094"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8cef9114') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8cef9114"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8cef9114') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.558618"], ["updated_at", "2014-09-22 17:55:26.558618"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.560158"], ["updated_at", "2014-09-22 17:55:26.560158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0da91eb5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error voluptatibus blanditiis fuga doloribus. Esse dignissimos vel et. Accusamus hic perferendis optio excepturi amet. Id beatae corporis velit.\", \"Dicta autem dolorem nobis sint animi non velit. Ut cupiditate aut nihil odit non. Ut quibusdam iure aperiam voluptas inventore doloribus. Sunt accusantium repellendus. Cumque quis nostrum.\"]"], ["created_at", "2014-09-22 17:55:26.562896"], ["name", "contract_0da91eb5"], ["title", "Eaque quis optio."], ["updated_at", "2014-09-22 17:55:26.562896"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0da91eb5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_0da91eb5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 17:55:26.566656"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.575136"], ["updated_at", "2014-09-22 17:55:26.575136"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.576804"], ["updated_at", "2014-09-22 17:55:26.576804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_10825605') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eos inventore vel exercitationem qui. Ut vitae excepturi sit ab corrupti omnis fuga. Officia officiis doloremque veritatis. Qui assumenda aspernatur. Voluptas autem earum ab.\", \"Consectetur excepturi reiciendis et minima. Qui temporibus autem dolor. Dicta neque molestiae quos officiis suscipit non.\"]"], ["created_at", "2014-09-22 17:55:26.580070"], ["name", "contract_10825605"], ["title", "Et et quasi laboriosam."], ["updated_at", "2014-09-22 17:55:26.580070"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.584509"], ["updated_at", "2014-09-22 17:55:26.584509"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.586182"], ["updated_at", "2014-09-22 17:55:26.586182"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c92dde84') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos iusto nihil necessitatibus dolore ducimus voluptas dolorem. Iusto est et pariatur. Distinctio sit minima. Ad ullam nemo.\", \"At alias qui. Sed quia qui quod magni omnis corporis laboriosam. Qui molestias ut ut.\"]"], ["created_at", "2014-09-22 17:55:26.588969"], ["name", "contract_c92dde84"], ["title", "Explicabo sed sunt nihil non quia numquam et."], ["updated_at", "2014-09-22 17:55:26.588969"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c92dde84"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_c92dde84') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:55:26.592530"], ["version", 1]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c92dde84"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_c92dde84') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 17:55:26.599906"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.604632"], ["updated_at", "2014-09-22 17:55:26.604632"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.606121"], ["updated_at", "2014-09-22 17:55:26.606121"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3db25a95') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem occaecati aut. Modi maxime est. Odit tempora beatae qui minima porro optio nam. Magni non dolorum aliquam architecto non. Facilis vel quo quis.\", \"Laborum et accusantium non placeat debitis. Et sit qui et rerum reprehenderit explicabo voluptatem. Error tempore numquam explicabo. Eius placeat deserunt ad est consectetur. Architecto pariatur beatae molestiae qui laudantium.\"]"], ["created_at", "2014-09-22 17:55:26.608720"], ["name", "contract_3db25a95"], ["title", "Sunt rerum debitis quo."], ["updated_at", "2014-09-22 17:55:26.608720"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.612744"], ["updated_at", "2014-09-22 17:55:26.612744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.614165"], ["updated_at", "2014-09-22 17:55:26.614165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_43acaef1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut temporibus saepe inventore voluptatibus necessitatibus labore qui. Aut est aut quo. Natus culpa architecto est. Repudiandae officia et perspiciatis consequatur at consequuntur laborum. Debitis soluta eligendi reprehenderit consequatur accusantium repellendus fugiat.\", \"Nesciunt quam eligendi reiciendis et rem. Error iure alias laboriosam debitis eaque dicta. Voluptatibus dolore minima possimus facilis maxime temporibus. At doloremque excepturi quidem pariatur ea. A commodi aperiam cumque.\"]"], ["created_at", "2014-09-22 17:55:26.616806"], ["name", "contract_43acaef1"], ["title", "Eos dolore sequi."], ["updated_at", "2014-09-22 17:55:26.616806"]]  (1.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_43acaef1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_43acaef1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 17:55:26.622264"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.626220"], ["updated_at", "2014-09-22 17:55:26.626220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.627948"], ["updated_at", "2014-09-22 17:55:26.627948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_efb59997') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ab ipsam exercitationem a laboriosam esse quidem. Eaque asperiores officia aliquam. Consequatur in quaerat fuga blanditiis.\", \"Reprehenderit consequatur natus fuga et dolorum fugiat. Qui deserunt non vel. Libero quasi ipsum id architecto eius autem quis. Sequi quis autem.\"]"], ["created_at", "2014-09-22 17:55:26.630393"], ["name", "contract_efb59997"], ["title", "Itaque beatae ducimus necessitatibus."], ["updated_at", "2014-09-22 17:55:26.630393"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.635326"], ["updated_at", "2014-09-22 17:55:26.635326"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.636898"], ["updated_at", "2014-09-22 17:55:26.636898"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_94129778') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem debitis commodi deserunt et molestias. Incidunt cum esse. Aut molestiae dolores doloribus. Cum unde voluptatum possimus debitis doloribus.\", \"Eligendi corporis est delectus explicabo inventore. Libero quis ut et id non provident. Dolor unde sunt voluptas. Accusamus blanditiis et nisi explicabo officiis atque incidunt. Velit dignissimos ad animi est.\"]"], ["created_at", "2014-09-22 17:55:26.639567"], ["name", "contract_94129778"], ["title", "Aut eum explicabo at neque omnis vitae voluptatibus."], ["updated_at", "2014-09-22 17:55:26.639567"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 13 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:55:26.643251"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/13 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.648799"], ["updated_at", "2014-09-22 17:55:26.648799"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.650674"], ["updated_at", "2014-09-22 17:55:26.650674"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a103530d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam fugiat nihil optio voluptatem voluptatibus non tempore. Adipisci aut molestiae quisquam. Eveniet id ea nisi commodi neque sint hic.\", \"Dolor quae in quisquam dolores. Distinctio numquam nostrum deleniti repellendus ex nisi. Voluptas sit iusto qui.\"]"], ["created_at", "2014-09-22 17:55:26.653204"], ["name", "contract_a103530d"], ["title", "Ut eos aut eligendi."], ["updated_at", "2014-09-22 17:55:26.653204"]]  (2.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.658528"], ["updated_at", "2014-09-22 17:55:26.658528"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.659909"], ["updated_at", "2014-09-22 17:55:26.659909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6bc14ca9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi fugiat earum. Explicabo aperiam earum error. Quia quis ea enim ex temporibus. Molestias ducimus amet rem aut sint aut eum.\", \"Sit qui dolores sapiente. Quas dolorum ea molestiae. Iusto sit veniam. Sunt quia enim provident omnis. Ex enim recusandae.\"]"], ["created_at", "2014-09-22 17:55:26.662404"], ["name", "contract_6bc14ca9"], ["title", "Minus qui fuga aut."], ["updated_at", "2014-09-22 17:55:26.662404"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.672033"], ["updated_at", "2014-09-22 17:55:26.672033"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.673713"], ["updated_at", "2014-09-22 17:55:26.673713"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fd0260fc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem est molestiae ut et maiores. Distinctio aut dolor alias minima cumque. Ullam reprehenderit sunt quis magni possimus unde esse.\", \"Et consequatur et. Qui corrupti vitae natus. Corporis maiores amet. Mollitia omnis eligendi enim est rerum ad.\"]"], ["created_at", "2014-09-22 17:55:26.676329"], ["name", "contract_fd0260fc"], ["title", "Et magnam id architecto consequuntur."], ["updated_at", "2014-09-22 17:55:26.676329"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:55:26.680056"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:55:26.680056"]]  (1.3ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 4ms (ActiveRecord: 1.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.684340"], ["updated_at", "2014-09-22 17:55:26.684340"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.685820"], ["updated_at", "2014-09-22 17:55:26.685820"]]  (5.1ms) commit transaction  (0.0ms) begin transaction 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_6b9746b2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed nostrum voluptatem ab sed dolor commodi veritatis. In ex quidem nesciunt suscipit nulla aliquid. Aperiam at aut autem consequatur esse quaerat.\", \"Et sit sit aliquam. Consequatur veritatis ut minus quod cupiditate impedit. Provident esse perspiciatis tempore culpa debitis beatae et.\"]"], ["created_at", "2014-09-22 17:55:26.692874"], ["name", "contract_6b9746b2"], ["title", "Accusamus voluptates consequatur vero eligendi."], ["updated_at", "2014-09-22 17:55:26.692874"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.698015"], ["updated_at", "2014-09-22 17:55:26.698015"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.699749"], ["updated_at", "2014-09-22 17:55:26.699749"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58e65ec9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum odit est sapiente earum odio. Accusantium iste consequatur. Id perferendis sint aut. Pariatur aspernatur omnis.\", \"Est non autem et molestiae adipisci sed. Reiciendis aut occaecati sed ut rem quis temporibus. Beatae excepturi sequi molestias repudiandae quia inventore voluptate.\"]"], ["created_at", "2014-09-22 17:55:26.702327"], ["name", "contract_58e65ec9"], ["title", "Non blanditiis suscipit et sapiente et nihil ipsa."], ["updated_at", "2014-09-22 17:55:26.702327"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.707222"], ["updated_at", "2014-09-22 17:55:26.707222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.708712"], ["updated_at", "2014-09-22 17:55:26.708712"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_ed9598af') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis est deserunt. Placeat at distinctio magnam. Ex esse cum aut nesciunt tenetur qui omnis. Tenetur aliquam animi minima et.\", \"Minus voluptatibus molestiae. Placeat et aspernatur. Quia consequatur iure.\"]"], ["created_at", "2014-09-22 17:55:26.711671"], ["name", "contract_ed9598af"], ["title", "Nemo asperiores impedit ut rem quia quos aspernatur."], ["updated_at", "2014-09-22 17:55:26.711671"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 20]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 20]]  (5.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 6.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 20 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.725487"], ["updated_at", "2014-09-22 17:55:26.725487"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.727025"], ["updated_at", "2014-09-22 17:55:26.727025"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_3acd3dfd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla numquam est sed esse vel. Sed est qui. Quia qui eaque nostrum et amet at.\", \"Mollitia aut provident eligendi hic. Ab asperiores perspiciatis voluptates labore esse. In quia assumenda ut eum doloremque consequatur occaecati. Ipsa distinctio aut sed et tenetur rem id.\"]"], ["created_at", "2014-09-22 17:55:26.729643"], ["name", "contract_3acd3dfd"], ["title", "Ipsum et excepturi doloribus dolore et nostrum voluptates."], ["updated_at", "2014-09-22 17:55:26.729643"]]  (3.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.738099"], ["updated_at", "2014-09-22 17:55:26.738099"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.744790"], ["updated_at", "2014-09-22 17:55:26.744790"]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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_fcff77d1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur et nulla et sit tempora. Laudantium est itaque debitis amet sint. Tempore et porro quod voluptatem nobis quaerat ut. Qui voluptates sit tempore.\", \"Dolor exercitationem vero sed laudantium omnis delectus. Dicta aspernatur magnam exercitationem debitis maxime. Et maxime ut. Et enim veritatis consequatur ullam. Incidunt eos et.\"]"], ["created_at", "2014-09-22 17:55:26.752523"], ["name", "contract_fcff77d1"], ["title", "Enim id exercitationem voluptas dolores dolor inventore."], ["updated_at", "2014-09-22 17:55:26.752523"]]  (3.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 7, 8, 21, 10, 11, 19, 1, 18, 15, 5, 6, 14, 9, 12, 22, 16, 4, 3, 2, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.766329"], ["updated_at", "2014-09-22 17:55:26.766329"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.767927"], ["updated_at", "2014-09-22 17:55:26.767927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b21d432d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem velit qui vel est commodi quia beatae. Aliquam sunt consequatur asperiores quam doloremque quia. Neque quidem corrupti et voluptatem rerum saepe occaecati. Ullam eos non aperiam.\", \"Magnam quos voluptatem harum vero eveniet. Eveniet beatae et pariatur blanditiis. Et eius id perferendis dignissimos.\"]"], ["created_at", "2014-09-22 17:55:26.770782"], ["name", "contract_b21d432d"], ["title", "Suscipit est soluta recusandae atque voluptatem odit."], ["updated_at", "2014-09-22 17:55:26.770782"]]  (14.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b21d432d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_b21d432d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:55:26.787158"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.792845"], ["updated_at", "2014-09-22 17:55:26.792845"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.794339"], ["updated_at", "2014-09-22 17:55:26.794339"]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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_72f445e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui non et dolore eum itaque. Sunt reiciendis ipsum nobis est repudiandae dolorum. Enim minima fugiat. Facere et omnis officia fugiat consequatur. Veniam non aut reprehenderit accusamus enim.\", \"Eaque sit dignissimos ea quia repellat qui saepe. Provident aliquid consectetur. Corrupti eos vel voluptas possimus laboriosam molestias. Quia debitis officia. Aut ut ipsam nisi.\"]"], ["created_at", "2014-09-22 17:55:26.802285"], ["name", "contract_72f445e5"], ["title", "Esse tempore aut numquam iste maiores."], ["updated_at", "2014-09-22 17:55:26.802285"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.806060"], ["updated_at", "2014-09-22 17:55:26.806060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.807512"], ["updated_at", "2014-09-22 17:55:26.807512"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_faab7e10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis ipsam accusamus impedit ad est. Magnam similique eaque sint sed accusamus sed sit. Occaecati in voluptatem. Perspiciatis sed ex qui voluptate quo est.\", \"Adipisci eaque veniam quia necessitatibus non laudantium repellendus. Quae natus tenetur magni. Ut architecto ipsum qui in. Qui ad hic assumenda omnis laudantium voluptatem quo. Rerum et id ex laboriosam velit autem.\"]"], ["created_at", "2014-09-22 17:55:26.809985"], ["name", "contract_faab7e10"], ["title", "Veniam unde molestiae nemo quia et quas."], ["updated_at", "2014-09-22 17:55:26.809985"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_faab7e10"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_faab7e10') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:55:26.813504"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_faab7e10' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction 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_1743d71f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam deleniti quia iusto corporis vel quis. In fugiat nemo nam. Illum doloribus labore repellendus molestias consequatur ut. Quo assumenda et. Molestiae vitae ut dolor omnis porro qui odio.\", \"Maxime nemo consectetur at atque. Blanditiis laborum rerum eum nihil hic enim. Maiores dolore dolorem. Quae repudiandae hic reiciendis nam ipsa.\"]"], ["created_at", "2014-09-22 17:55:26.824861"], ["name", "contract_1743d71f"], ["title", "Veritatis incidunt reprehenderit et aliquam nesciunt sapiente."], ["updated_at", "2014-09-22 17:55:26.824861"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.1ms) begin transaction 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_8db138d1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta mollitia dolore nulla corrupti qui. Nobis sapiente quo saepe iste similique qui at. Voluptatum occaecati quo. Sit sequi nesciunt iure quia ab tempore.\", \"Perferendis odit est distinctio ut. Autem cupiditate harum aut vero fugit reprehenderit facere. Ipsa amet ea. Consequuntur ut exercitationem. Enim labore harum cupiditate id.\"]"], ["created_at", "2014-09-22 17:55:26.829042"], ["name", "contract_8db138d1"], ["title", "Rerum nobis velit quis fuga quasi ut provident."], ["updated_at", "2014-09-22 17:55:26.829042"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8db138d1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_8db138d1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:55:26.831872"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.834203"], ["updated_at", "2014-09-22 17:55:26.834203"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.838780"], ["updated_at", "2014-09-22 17:55:26.838780"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.840224"], ["updated_at", "2014-09-22 17:55:26.840224"]]  (3.5ms) commit transaction  (0.0ms) begin transaction 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_4d192bd0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio aspernatur nesciunt modi cumque consequatur. Ducimus sit nam unde esse vel quaerat maxime. Quasi quod voluptate ipsa pariatur eos et.\", \"Accusantium dolorem velit nostrum ad inventore quia perferendis. Veritatis eius ut velit quae fugiat aut. Et velit laborum aut similique quidem. Adipisci ea commodi exercitationem dolor dolorem. Quam omnis sit nostrum quis ea est ab.\"]"], ["created_at", "2014-09-22 17:55:26.846018"], ["name", "contract_4d192bd0"], ["title", "Tenetur omnis et aut."], ["updated_at", "2014-09-22 17:55:26.846018"]]  (17.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4d192bd0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_4d192bd0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:55:26.866455"], ["version", 1]]  (21.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.890091"], ["updated_at", "2014-09-22 17:55:26.890091"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 17:55:26.892545"], ["updated_at", "2014-09-22 17:55:26.892545"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] Redirected to http://test.host/fine_print/contracts/28/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.900762"], ["updated_at", "2014-09-22 17:55:26.900762"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.902280"], ["updated_at", "2014-09-22 17:55:26.902280"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2f9ea1b6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit beatae quo quia. Omnis eos et. Earum voluptas accusamus totam illo. Velit culpa facere sit quam voluptate laudantium voluptatem. Enim exercitationem dolor voluptatum delectus voluptate atque.\", \"Eaque et quidem repellendus eos. Aut rerum dolorem temporibus quis at. Eveniet tenetur quas. Recusandae labore quia quia enim dolor quod est.\"]"], ["created_at", "2014-09-22 17:55:26.905364"], ["name", "contract_2f9ea1b6"], ["title", "Est blanditiis corporis nesciunt iusto velit omnis qui."], ["updated_at", "2014-09-22 17:55:26.905364"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2f9ea1b6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_2f9ea1b6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:55:26.908280"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.910636"], ["updated_at", "2014-09-22 17:55:26.910636"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:55:26.912742"], ["updated_at", "2014-09-22 17:55:26.912742"], ["user_id", 44], ["user_type", "DummyUser"]]  (1.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.918697"], ["updated_at", "2014-09-22 17:55:26.918697"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.920232"], ["updated_at", "2014-09-22 17:55:26.920232"]]  (1.8ms) commit transaction  (0.0ms) begin transaction 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_c4b9e1aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste aut distinctio eaque. Dolorem sequi aut perferendis quas. Omnis qui et deleniti sint enim animi aut. Rerum ipsa distinctio at beatae voluptatem dolore.\", \"Et blanditiis exercitationem. Earum autem nam inventore modi quis. Molestiae esse amet non aut. Consequatur iure magni et. Porro incidunt vitae eos dolore.\"]"], ["created_at", "2014-09-22 17:55:26.924234"], ["name", "contract_c4b9e1aa"], ["title", "Et molestias reprehenderit quo deleniti."], ["updated_at", "2014-09-22 17:55:26.924234"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c4b9e1aa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_c4b9e1aa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:55:26.927148"], ["version", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.930367"], ["updated_at", "2014-09-22 17:55:26.930367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:55:26.932430"], ["updated_at", "2014-09-22 17:55:26.932430"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.935548"], ["updated_at", "2014-09-22 17:55:26.935548"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.937178"], ["updated_at", "2014-09-22 17:55:26.937178"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a994660e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aut maxime aut dolores. Quis voluptatem veniam totam molestias et numquam nesciunt. Illo voluptatem quo. Veniam sit vel perspiciatis ut magni aut. Pariatur totam rerum sint.\", \"Porro quo qui et. Impedit et quo dolor alias. Eos et saepe ab aliquid.\"]"], ["created_at", "2014-09-22 17:55:26.940137"], ["name", "contract_a994660e"], ["title", "Illo error qui quia."], ["updated_at", "2014-09-22 17:55:26.940137"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a994660e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_a994660e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:55:26.943071"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.945468"], ["updated_at", "2014-09-22 17:55:26.945468"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 17:55:26.947751"], ["updated_at", "2014-09-22 17:55:26.947751"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae quia debitis laudantium et non laboriosam et. Similique harum laudantium blanditiis aut ut. Qui cupiditate dignissimos eos.\", \"Impedit voluptas et omnis molestiae et. Et molestias nobis veritatis eos. Et excepturi eaque. Voluptatibus libero molestias id ullam saepe.\"]"], ["created_at", "2014-09-22 17:55:26.952205"], ["name", "alpha"], ["title", "Quae dignissimos minima explicabo molestiae magnam voluptatem provident."], ["updated_at", "2014-09-22 17:55:26.952205"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:55:26.955777"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa veniam ex. Nemo corrupti voluptatibus culpa ipsam debitis quos est. Illo sed sapiente eos aut non aliquam. Corrupti cumque ut sapiente.\", \"Quod sed excepturi voluptas accusantium fugiat quibusdam. Autem corrupti cum minus aliquid maxime et. Asperiores eos tempore accusamus eum in maxime.\"]"], ["created_at", "2014-09-22 17:55:26.959168"], ["name", "beta"], ["title", "Libero magnam velit assumenda voluptatem."], ["updated_at", "2014-09-22 17:55:26.959168"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:55:26.962273"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:26.964436"], ["updated_at", "2014-09-22 17:55:26.964436"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 17:55:26.966959"], ["updated_at", "2014-09-22 17:55:26.966959"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 17:55:26.969366"], ["updated_at", "2014-09-22 17:55:26.969366"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:55:26.971772"], ["name", "alpha"], ["title", "Quae dignissimos minima explicabo molestiae magnam voluptatem provident."], ["updated_at", "2014-09-22 17:55:26.971772"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:55:26.974835"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 17:55:26.989551"], ["updated_at", "2014-09-22 17:55:26.989551"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 51 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis dolore deserunt consequuntur reprehenderit sit delectus aut. Quia perferendis qui voluptatem voluptatibus consectetur sit quis. Eveniet non animi.\", \"Quia ipsa ratione labore eum. Et dicta qui cum vel quia. Nobis id aut. Alias occaecati omnis.\"]"], ["created_at", "2014-09-22 17:55:27.002151"], ["name", "alpha"], ["title", "Praesentium alias sit sapiente nostrum voluptatem."], ["updated_at", "2014-09-22 17:55:27.002151"]]  (23.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:55:27.027740"], ["version", 3]]  (2.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati ut error veniam pariatur doloribus suscipit. Expedita cum exercitationem eligendi. Autem deserunt hic incidunt explicabo mollitia error illum. Facere ullam ipsum quas est.\", \"Vero quae dolor. Ex autem aut expedita. Quia vitae non sed nemo doloribus consequatur.\"]"], ["created_at", "2014-09-22 17:55:27.033217"], ["name", "beta"], ["title", "Impedit et corrupti repudiandae incidunt enim."], ["updated_at", "2014-09-22 17:55:27.033217"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:55:27.037740"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.040225"], ["updated_at", "2014-09-22 17:55:27.040225"]]  (1.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:55:27.043585"], ["updated_at", "2014-09-22 17:55:27.043585"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 17:55:27.046094"], ["updated_at", "2014-09-22 17:55:27.046094"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:55:27.049290"], ["name", "alpha"], ["title", "Praesentium alias sit sapiente nostrum voluptatem."], ["updated_at", "2014-09-22 17:55:27.049290"]]  (1.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:55:27.054245"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 52 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore reiciendis accusamus quis iste veritatis molestiae. Aspernatur iste et facere animi temporibus dolor eveniet. Quisquam quas delectus. Itaque atque aliquam qui voluptatem voluptatem odio vel.\", \"Optio non minus accusamus. Quae dolore minima sint repellat velit. Animi aut id magnam voluptatum quis possimus. Qui voluptas error et corporis dicta numquam magnam.\"]"], ["created_at", "2014-09-22 17:55:27.061150"], ["name", "alpha"], ["title", "Exercitationem ratione voluptatem id enim sunt."], ["updated_at", "2014-09-22 17:55:27.061150"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:55:27.064344"], ["version", 5]]  (5.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus nemo voluptatem. Minus omnis et. Aperiam autem ipsam nisi. Eos pariatur qui ex.\", \"Tempora fugit repudiandae ipsa molestiae similique voluptatibus. Repellat ipsum minus fugit non quos. A et hic qui delectus eveniet.\"]"], ["created_at", "2014-09-22 17:55:27.072722"], ["name", "beta"], ["title", "Fugiat non beatae dolor dicta qui."], ["updated_at", "2014-09-22 17:55:27.072722"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:55:27.075722"], ["version", 3]]  (5.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.082874"], ["updated_at", "2014-09-22 17:55:27.082874"]]  (5.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 17:55:27.090748"], ["updated_at", "2014-09-22 17:55:27.090748"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:55:27.093156"], ["updated_at", "2014-09-22 17:55:27.093156"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:55:27.096076"], ["name", "alpha"], ["title", "Exercitationem ratione voluptatem id enim sunt."], ["updated_at", "2014-09-22 17:55:27.096076"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:55:27.100310"], ["version", 6]]  (5.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil possimus dolor est aut necessitatibus doloribus. Mollitia vel quae veritatis perferendis quaerat corporis. Sed velit porro deserunt ipsam quia.\", \"Officiis nam sunt omnis. Veritatis hic possimus id libero. Sed eius earum dolor reprehenderit optio et tempora. Sit et quia ab expedita nam est. Praesentium provident voluptatem iusto aut ea.\"]"], ["created_at", "2014-09-22 17:55:27.111217"], ["name", "alpha"], ["title", "Minima dolorem sequi impedit nihil velit."], ["updated_at", "2014-09-22 17:55:27.111217"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:55:27.114201"], ["version", 7]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam officiis voluptatem quas debitis voluptatibus beatae. Facilis natus quo. Minus a hic modi. Sapiente et nisi voluptates aliquid. Placeat excepturi consectetur corrupti.\", \"Hic amet odio. Modi dolor veritatis et nihil. Animi veritatis laboriosam aut cupiditate voluptatibus adipisci distinctio. Consectetur veniam excepturi debitis odit modi.\"]"], ["created_at", "2014-09-22 17:55:27.122662"], ["name", "beta"], ["title", "Et aliquid quo accusantium."], ["updated_at", "2014-09-22 17:55:27.122662"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 17:55:27.125494"], ["version", 4]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.140097"], ["updated_at", "2014-09-22 17:55:27.140097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:55:27.142804"], ["updated_at", "2014-09-22 17:55:27.142804"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 17:55:27.145512"], ["updated_at", "2014-09-22 17:55:27.145512"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:55:27.148302"], ["name", "alpha"], ["title", "Minima dolorem sequi impedit nihil velit."], ["updated_at", "2014-09-22 17:55:27.148302"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:55:27.151608"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 54 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.157746"], ["updated_at", "2014-09-22 17:55:27.157746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.159260"], ["updated_at", "2014-09-22 17:55:27.159260"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 1ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.166174"], ["updated_at", "2014-09-22 17:55:27.166174"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:55:27.168039"], ["updated_at", "2014-09-22 17:55:27.168039"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (2.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.181917"], ["updated_at", "2014-09-22 17:57:44.181917"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.188788"], ["updated_at", "2014-09-22 17:57:44.188788"]]  (4.0ms) commit transaction  (0.1ms) begin transaction 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_83b870bb') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis aut enim ratione at voluptatum commodi sapiente. Facilis possimus et. Est dolorem consequuntur nihil autem cum. Dolor at deleniti similique laudantium magnam qui. Aut fuga maxime autem eius blanditiis.\", \"Eligendi rem et omnis in. Natus culpa quidem numquam molestias corrupti inventore. Voluptatibus ea consequatur eveniet impedit.\"]"], ["created_at", "2014-09-22 17:57:44.421816"], ["name", "contract_83b870bb"], ["title", "Quae cumque commodi laborum corrupti optio."], ["updated_at", "2014-09-22 17:57:44.421816"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.430291"], ["updated_at", "2014-09-22 17:57:44.430291"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.432014"], ["updated_at", "2014-09-22 17:57:44.432014"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5c550829') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo provident optio. Aut necessitatibus repellendus repudiandae totam eos et ad. Suscipit consequuntur sint ut voluptatibus sed voluptatem. Nisi quaerat quas molestiae.\", \"Et hic provident aspernatur. Error ea possimus aut. Aut neque ut nemo esse. Accusamus eos vel amet ex omnis soluta sed.\"]"], ["created_at", "2014-09-22 17:57:44.435002"], ["name", "contract_5c550829"], ["title", "Quia qui et dolores voluptas."], ["updated_at", "2014-09-22 17:57:44.435002"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.441455"], ["updated_at", "2014-09-22 17:57:44.441455"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.443357"], ["updated_at", "2014-09-22 17:57:44.443357"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_283ce18d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora est quis tempore fuga non et. Eaque harum consequatur occaecati voluptatem repellendus aliquid. Id voluptate quibusdam molestias voluptas qui est. Molestias aut pariatur libero ea est labore.\", \"Sunt velit commodi iure. Ut eius quia commodi est error tenetur assumenda. Ut explicabo soluta recusandae eos. Asperiores maiores magnam qui eius.\"]"], ["created_at", "2014-09-22 17:57:44.446232"], ["name", "contract_283ce18d"], ["title", "Rerum voluptas voluptate quisquam quam esse."], ["updated_at", "2014-09-22 17:57:44.446232"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 3 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 17:57:44.451091"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/3 Completed 302 Found in 14ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.465026"], ["updated_at", "2014-09-22 17:57:44.465026"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.466707"], ["updated_at", "2014-09-22 17:57:44.466707"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_deddc7f1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum nostrum nesciunt iusto voluptate commodi natus. Voluptate maxime veniam saepe. Dolor doloribus est velit aliquid quaerat perferendis. Similique non veritatis sint autem impedit voluptates.\", \"Maxime ipsa omnis aut. Qui omnis consequatur non. Ipsa praesentium et. Doloremque inventore sunt exercitationem voluptatem cumque facilis et. Magnam voluptatem omnis est.\"]"], ["created_at", "2014-09-22 17:57:44.469710"], ["name", "contract_deddc7f1"], ["title", "Ut molestiae corrupti veritatis reprehenderit."], ["updated_at", "2014-09-22 17:57:44.469710"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_deddc7f1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_deddc7f1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:57:44.475114"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_deddc7f1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_deddc7f1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 17:57:44.481026"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.485493"], ["updated_at", "2014-09-22 17:57:44.485493"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.487055"], ["updated_at", "2014-09-22 17:57:44.487055"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_6405cb22') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis atque aut delectus. Necessitatibus eius dolorem sunt. Doloribus atque dolorem. Doloremque consectetur blanditiis suscipit iste sit quibusdam. Et qui aperiam perferendis.\", \"Architecto explicabo voluptas omnis. Maiores placeat nemo repudiandae voluptas iure enim nobis. In id aut non necessitatibus dignissimos odio velit.\"]"], ["created_at", "2014-09-22 17:57:44.489942"], ["name", "contract_6405cb22"], ["title", "Blanditiis nesciunt quis magnam vitae alias est est."], ["updated_at", "2014-09-22 17:57:44.489942"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.500850"], ["updated_at", "2014-09-22 17:57:44.500850"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.503084"], ["updated_at", "2014-09-22 17:57:44.503084"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c9c0fae1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos modi omnis. Corrupti vero accusamus impedit facere voluptates et. Commodi amet sed harum. Et aut odio et est voluptatum.\", \"Aut debitis sunt. Dolorem nesciunt aliquam repellat fuga aut. Rem tempore perferendis numquam et voluptas. Dolore culpa deleniti ullam.\"]"], ["created_at", "2014-09-22 17:57:44.506409"], ["name", "contract_c9c0fae1"], ["title", "Consequatur atque deleniti repudiandae dolores architecto ullam facere."], ["updated_at", "2014-09-22 17:57:44.506409"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.510760"], ["updated_at", "2014-09-22 17:57:44.510760"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.512410"], ["updated_at", "2014-09-22 17:57:44.512410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c1268288') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat magni sit voluptas dolor. Odio beatae provident fugiat deserunt. Eius qui enim dicta aliquid sapiente fugit et. Dolorum est voluptatibus maxime ex facilis.\", \"Et tempore sit natus ex. Voluptatem necessitatibus accusamus suscipit perferendis eos officiis. Vitae consequuntur velit possimus sit sed. Dolore perspiciatis corporis tenetur.\"]"], ["created_at", "2014-09-22 17:57:44.515026"], ["name", "contract_c1268288"], ["title", "Sit deserunt exercitationem voluptate commodi ea."], ["updated_at", "2014-09-22 17:57:44.515026"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.520103"], ["updated_at", "2014-09-22 17:57:44.520103"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.521921"], ["updated_at", "2014-09-22 17:57:44.521921"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_5ea1415d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat maiores dignissimos provident sequi adipisci. Pariatur quod odit. Molestias aspernatur labore. Vel architecto doloribus repellendus et. Illo vel ea voluptas consectetur quisquam omnis.\", \"Atque ut recusandae molestiae rerum tempore veritatis qui. Omnis molestiae omnis. Atque voluptas sed natus laboriosam unde voluptas delectus. Sint est omnis unde quia quia. Maxime rerum sapiente voluptatem ut.\"]"], ["created_at", "2014-09-22 17:57:44.525228"], ["name", "contract_5ea1415d"], ["title", "Et blanditiis enim et quos."], ["updated_at", "2014-09-22 17:57:44.525228"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.529931"], ["updated_at", "2014-09-22 17:57:44.529931"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.531656"], ["updated_at", "2014-09-22 17:57:44.531656"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4ffe11f6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt id asperiores explicabo. Natus et eum explicabo asperiores aut voluptatem. Et illo doloribus quia. Nihil adipisci quibusdam velit vel rem molestiae dolorem. Consequatur temporibus et dolores accusantium aut minus.\", \"Unde et nihil et quod explicabo. Voluptatem ut molestias. Ab optio eaque eum voluptas.\"]"], ["created_at", "2014-09-22 17:57:44.534446"], ["name", "contract_4ffe11f6"], ["title", "Exercitationem ut ut consequatur autem quo."], ["updated_at", "2014-09-22 17:57:44.534446"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.541417"], ["updated_at", "2014-09-22 17:57:44.541417"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.543156"], ["updated_at", "2014-09-22 17:57:44.543156"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_15c298ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi incidunt est ducimus corporis nesciunt. Magnam quia et enim velit repellendus atque sed. Quos animi dolore sunt. Eum animi consequatur nulla consequuntur omnis.\", \"Incidunt vel unde suscipit aut. Voluptas eligendi deleniti. Maiores odit mollitia voluptas laboriosam numquam nihil. Repudiandae voluptas reiciendis asperiores laudantium est molestiae. Nemo suscipit dolorem ut autem officiis eligendi.\"]"], ["created_at", "2014-09-22 17:57:44.546512"], ["name", "contract_15c298ef"], ["title", "Esse ullam et quam vero sequi impedit."], ["updated_at", "2014-09-22 17:57:44.546512"]]  (1.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.553021"], ["updated_at", "2014-09-22 17:57:44.553021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.554496"], ["updated_at", "2014-09-22 17:57:44.554496"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7c83f2f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil architecto nemo. Dolorem itaque et. Saepe quam autem debitis et dignissimos quisquam earum. Perferendis occaecati at in velit sed molestias.\", \"Harum eos eveniet omnis. Quis eum aliquam sit placeat et. Repudiandae voluptatum corrupti. Et nisi at magnam reiciendis voluptatum velit doloremque. Ea adipisci in.\"]"], ["created_at", "2014-09-22 17:57:44.557345"], ["name", "contract_7c83f2f8"], ["title", "Fuga sunt praesentium et nihil a."], ["updated_at", "2014-09-22 17:57:44.557345"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.561694"], ["updated_at", "2014-09-22 17:57:44.561694"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.563199"], ["updated_at", "2014-09-22 17:57:44.563199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_897b276b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque ut aliquam dignissimos. Voluptatibus enim est sunt dolorem. Explicabo distinctio et vel. Dolores occaecati quis harum incidunt. Eligendi optio quo rerum error.\", \"Dolores incidunt quia possimus. Qui id in. Dolores voluptas accusantium corporis occaecati voluptatem consequatur.\"]"], ["created_at", "2014-09-22 17:57:44.565907"], ["name", "contract_897b276b"], ["title", "Ea fugiat nostrum sit."], ["updated_at", "2014-09-22 17:57:44.565907"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_897b276b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_897b276b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 17:57:44.570608"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.574740"], ["updated_at", "2014-09-22 17:57:44.574740"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.576265"], ["updated_at", "2014-09-22 17:57:44.576265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e97b625d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam adipisci molestiae nisi magnam provident expedita. Sit et maxime ab repellendus nemo voluptatem. Laudantium voluptate quam nobis ipsam et et.\", \"Voluptatibus sed eveniet qui. Vel in veniam. Consectetur fuga hic necessitatibus dolore quis sed. Ut aut aut delectus non. Eum explicabo id quo quos deleniti.\"]"], ["created_at", "2014-09-22 17:57:44.578892"], ["name", "contract_e97b625d"], ["title", "Ut voluptatem natus totam dolor."], ["updated_at", "2014-09-22 17:57:44.578892"]]  (3.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 10, 9, 2, 8, 5, 11, 1, 12, 7, 6, 4, 13) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.592179"], ["updated_at", "2014-09-22 17:57:44.592179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.593754"], ["updated_at", "2014-09-22 17:57:44.593754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_035573e5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor facilis aut quia aut facere cum et. Non dignissimos consequatur reiciendis maxime libero. Aperiam voluptas atque id rem minima voluptatum. Dignissimos vero voluptas occaecati accusantium quidem ipsam.\", \"Adipisci nisi sed non qui consectetur soluta velit. Aut consequuntur architecto. Est dolorum eveniet.\"]"], ["created_at", "2014-09-22 17:57:44.596387"], ["name", "contract_035573e5"], ["title", "Assumenda eveniet dignissimos aut aperiam qui sint."], ["updated_at", "2014-09-22 17:57:44.596387"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 17:57:44.599894"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 17:57:44.599894"]]  (1.3ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 3ms (ActiveRecord: 1.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.603655"], ["updated_at", "2014-09-22 17:57:44.603655"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.605007"], ["updated_at", "2014-09-22 17:57:44.605007"]]  (5.3ms) commit transaction  (0.0ms) begin transaction 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_7e60101a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora animi nesciunt. Aut unde reprehenderit vero. Modi qui odit sunt molestiae. Amet dignissimos unde.\", \"Repudiandae distinctio aut nihil doloribus. Nemo qui ratione. Est impedit magni.\"]"], ["created_at", "2014-09-22 17:57:44.612158"], ["name", "contract_7e60101a"], ["title", "Et occaecati cumque sit ullam minus."], ["updated_at", "2014-09-22 17:57:44.612158"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e60101a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_7e60101a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 17:57:44.615211"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.620019"], ["updated_at", "2014-09-22 17:57:44.620019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.621451"], ["updated_at", "2014-09-22 17:57:44.621451"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_3b43a6a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam voluptatem dolores itaque dolor excepturi quo ut. Itaque non dolorem quis hic aspernatur. Omnis molestiae dolores.\", \"Et omnis corporis recusandae. Odit blanditiis voluptatum quo totam rerum qui. Dignissimos sunt architecto velit aut praesentium inventore.\"]"], ["created_at", "2014-09-22 17:57:44.623898"], ["name", "contract_3b43a6a7"], ["title", "Ipsa sint laboriosam et."], ["updated_at", "2014-09-22 17:57:44.623898"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.633754"], ["updated_at", "2014-09-22 17:57:44.633754"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.640646"], ["updated_at", "2014-09-22 17:57:44.640646"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8eb8b241') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam eaque unde vitae quo. Omnis ut possimus est. Minima sint ut dignissimos et repellendus reiciendis.\", \"Dicta eos facilis. Reprehenderit cumque sint doloremque velit consequatur voluptatem ea. Velit aut voluptas ut voluptatibus ea eos. Quo beatae repellat.\"]"], ["created_at", "2014-09-22 17:57:44.643649"], ["name", "contract_8eb8b241"], ["title", "Ipsa ipsum dignissimos laborum."], ["updated_at", "2014-09-22 17:57:44.643649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8eb8b241"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_8eb8b241') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 17:57:44.648246"], ["version", 1]]  (7.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.663505"], ["updated_at", "2014-09-22 17:57:44.663505"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.665321"], ["updated_at", "2014-09-22 17:57:44.665321"]]  (6.3ms) commit transaction  (0.0ms) begin transaction 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_a39eef01') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sunt fuga vel. Et eius deleniti ut dolorum. Qui maxime voluptatem quo soluta. Nostrum quis perspiciatis sed quo molestiae. A ea placeat soluta nesciunt ut et quis.\", \"Cum dolorum veritatis deleniti eos aut soluta dicta. Repellendus rerum a. Ipsum et est eos. Est tempore eveniet. Sapiente amet qui quo magnam minima officiis id.\"]"], ["created_at", "2014-09-22 17:57:44.673767"], ["name", "contract_a39eef01"], ["title", "Esse veniam quia."], ["updated_at", "2014-09-22 17:57:44.673767"]]  (3.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a39eef01"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_a39eef01') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 17:57:44.680309"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a39eef01' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum rerum laudantium numquam consequatur perferendis. Eos et impedit delectus eum corrupti explicabo sint. Est ut facilis enim quibusdam et. Amet quidem aut nesciunt voluptatibus. Nihil cupiditate fugit incidunt dolorem est adipisci.\", \"Eveniet consequatur blanditiis dolore beatae autem labore. Quos eum nobis ad delectus aut porro sed. Illo in eos.\"]"], ["created_at", "2014-09-22 17:57:44.688526"], ["name", "alpha"], ["title", "Accusamus doloremque provident nobis quos."], ["updated_at", "2014-09-22 17:57:44.688526"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 17:57:44.692281"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem accusantium rerum sed omnis. Et consequuntur dignissimos quia voluptatem. Fuga consequatur et dignissimos consequuntur quod. Quidem ea nisi eligendi.\", \"Vero sapiente dicta. Sunt molestiae minus dolorum. Tenetur est et beatae nulla voluptas.\"]"], ["created_at", "2014-09-22 17:57:44.696265"], ["name", "beta"], ["title", "Ducimus non et libero vitae qui eligendi et."], ["updated_at", "2014-09-22 17:57:44.696265"]]  (9.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 17:57:44.708347"], ["version", 1]]  (21.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.731735"], ["updated_at", "2014-09-22 17:57:44.731735"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 17:57:44.742507"], ["updated_at", "2014-09-22 17:57:44.742507"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 17:57:44.747424"], ["updated_at", "2014-09-22 17:57:44.747424"], ["user_id", 37], ["user_type", "DummyUser"]]  (1.3ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:57:44.750326"], ["name", "alpha"], ["title", "Accusamus doloremque provident nobis quos."], ["updated_at", "2014-09-22 17:57:44.750326"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 17:57:44.753466"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 17:57:44.771956"], ["updated_at", "2014-09-22 17:57:44.771956"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore corrupti earum molestias modi. Sunt velit doloremque cumque laudantium reprehenderit. Et nihil pariatur vel ut quia. Mollitia accusamus qui saepe aut voluptate.\", \"Aliquam enim quia in suscipit. Sunt ea saepe amet. Quia ea error ratione earum minus inventore. Qui magnam molestias hic.\"]"], ["created_at", "2014-09-22 17:57:44.785880"], ["name", "alpha"], ["title", "Sunt temporibus assumenda et consequatur aut fugiat."], ["updated_at", "2014-09-22 17:57:44.785880"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 17:57:44.789067"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim nulla magni. Fuga nulla omnis nesciunt. Nobis vero eaque facere dolore unde odio.\", \"Id aliquam quod ab. Neque voluptatem est explicabo non minus. Aspernatur quae enim cum magnam omnis omnis earum.\"]"], ["created_at", "2014-09-22 17:57:44.792300"], ["name", "beta"], ["title", "Itaque ratione ad."], ["updated_at", "2014-09-22 17:57:44.792300"]]  (2.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 17:57:44.796641"], ["version", 2]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.799603"], ["updated_at", "2014-09-22 17:57:44.799603"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 17:57:44.802205"], ["updated_at", "2014-09-22 17:57:44.802205"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 17:57:44.804598"], ["updated_at", "2014-09-22 17:57:44.804598"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:57:44.806857"], ["name", "alpha"], ["title", "Sunt temporibus assumenda et consequatur aut fugiat."], ["updated_at", "2014-09-22 17:57:44.806857"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 17:57:44.811279"], ["version", 4]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam maxime eligendi ab officiis quae eaque. Dolorem maiores unde. Ullam odit est rerum nostrum a. Quod sunt laborum. Pariatur soluta corrupti.\", \"Omnis sit tempore voluptatem temporibus quisquam minima. Culpa magni laudantium. Iure maiores earum necessitatibus. Et voluptatibus excepturi labore saepe voluptatem.\"]"], ["created_at", "2014-09-22 17:57:44.818576"], ["name", "alpha"], ["title", "Corrupti fugit nam."], ["updated_at", "2014-09-22 17:57:44.818576"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 17:57:44.822219"], ["version", 5]]  (0.9ms) commit transaction  (0.2ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit nobis quis veritatis eos sed. Quae debitis unde id aut et exercitationem. Reiciendis ducimus officia non tempora.\", \"Sint qui doloribus praesentium adipisci voluptatum. Quisquam porro voluptatem numquam. Dolorem quasi sunt saepe. Sunt tempore autem enim qui dolores reiciendis.\"]"], ["created_at", "2014-09-22 17:57:44.827262"], ["name", "beta"], ["title", "Neque possimus voluptatem corrupti voluptatem inventore et."], ["updated_at", "2014-09-22 17:57:44.827262"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 17:57:44.831437"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.833940"], ["updated_at", "2014-09-22 17:57:44.833940"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 17:57:44.836739"], ["updated_at", "2014-09-22 17:57:44.836739"], ["user_id", 39], ["user_type", "DummyUser"]]  (1.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 17:57:44.840199"], ["updated_at", "2014-09-22 17:57:44.840199"], ["user_id", 39], ["user_type", "DummyUser"]]  (1.1ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:57:44.843408"], ["name", "alpha"], ["title", "Corrupti fugit nam."], ["updated_at", "2014-09-22 17:57:44.843408"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 17:57:44.847363"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui expedita consequatur officiis. Id qui explicabo vel. Non perferendis nihil expedita quasi fuga. Quo quos eius.\", \"Consequatur consectetur dolor necessitatibus possimus corporis minus et. Ut repellendus laboriosam quisquam soluta ut molestiae incidunt. Dicta nemo atque. Ad deserunt aut nesciunt et. Ea et reiciendis quasi facere id unde soluta.\"]"], ["created_at", "2014-09-22 17:57:44.854029"], ["name", "alpha"], ["title", "Reprehenderit dolorum molestias."], ["updated_at", "2014-09-22 17:57:44.854029"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 17:57:44.858669"], ["version", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit qui voluptas ut dolore deserunt facilis sint. Provident aut et voluptas ducimus assumenda amet. Voluptas quo dolorum reprehenderit fugit. Est explicabo dolorum eum non. Sunt esse beatae consequatur.\", \"Ut dolore quia. Doloribus qui nemo repudiandae eaque ad eligendi. Voluptas odit et. Itaque est nostrum.\"]"], ["created_at", "2014-09-22 17:57:44.863885"], ["name", "beta"], ["title", "Assumenda sint deleniti voluptatem et voluptatem maiores eaque."], ["updated_at", "2014-09-22 17:57:44.863885"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 17:57:44.867757"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.870466"], ["updated_at", "2014-09-22 17:57:44.870466"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 17:57:44.873163"], ["updated_at", "2014-09-22 17:57:44.873163"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 17:57:44.875532"], ["updated_at", "2014-09-22 17:57:44.875532"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 17:57:44.877697"], ["name", "alpha"], ["title", "Reprehenderit dolorum molestias."], ["updated_at", "2014-09-22 17:57:44.877697"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 17:57:44.880762"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_5eb264df') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et facilis aperiam magnam eius quia saepe explicabo. Qui omnis eum qui aliquid harum neque. Quo accusamus ut et nisi culpa.\", \"Non et sequi ipsum autem aliquam pariatur. Id commodi libero nam. Quia veniam voluptatum voluptas voluptates. Quam soluta sit.\"]"], ["created_at", "2014-09-22 17:57:44.886427"], ["name", "contract_5eb264df"], ["title", "Et facere repellendus et ex quam."], ["updated_at", "2014-09-22 17:57:44.886427"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5eb264df"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_5eb264df') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 17:57:44.890060"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5eb264df' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et facilis aperiam magnam eius quia saepe explicabo. Qui omnis eum qui aliquid harum neque. Quo accusamus ut et nisi culpa.\", \"Non et sequi ipsum autem aliquam pariatur. Id commodi libero nam. Quia veniam voluptatum voluptas voluptates. Quam soluta sit.\"]"], ["created_at", "2014-09-22 17:57:44.894398"], ["name", "joe"], ["title", "Et facere repellendus et ex quam."], ["updated_at", "2014-09-22 17:57:44.894398"]]  (26.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 17:57:44.923918"], ["version", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction 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_a3b67075') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem eius voluptatem voluptas et porro quam ut. Ut ut occaecati. Et aliquid consequuntur perferendis. Qui voluptatibus minima quam nam sequi debitis. Natus fugiat quia porro error nostrum sit sunt.\", \"Magnam voluptatum est quo. Nulla esse architecto velit. Tempora voluptatibus molestiae dolores quas et. Quibusdam autem nobis facilis provident assumenda. Aliquid quidem sunt molestiae sequi.\"]"], ["created_at", "2014-09-22 17:57:44.930194"], ["name", "contract_a3b67075"], ["title", "Est error et voluptas distinctio quidem praesentium."], ["updated_at", "2014-09-22 17:57:44.930194"]]  (6.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3b67075"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_a3b67075') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:57:44.940554"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3b67075"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3b67075"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_a3b67075') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 17:57:44.945629"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d91d8986') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A voluptatum culpa aut. Ut voluptatem incidunt rem facilis. Quia ut harum blanditiis. Ipsa consequatur voluptas expedita placeat molestias ut harum. Alias velit dolor in hic aliquid occaecati est.\", \"Nesciunt sunt corrupti assumenda dolor alias officiis. Inventore quibusdam cum aliquam pariatur officiis recusandae. Voluptatem quam consequatur aut voluptatem ipsum exercitationem ut. Architecto id ut suscipit numquam.\"]"], ["created_at", "2014-09-22 17:57:44.949198"], ["name", "contract_d91d8986"], ["title", "Veritatis enim nihil eveniet ad molestiae consequatur adipisci."], ["updated_at", "2014-09-22 17:57:44.949198"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d91d8986"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_d91d8986') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 17:57:44.952096"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.955539"], ["updated_at", "2014-09-22 17:57:44.955539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 17:57:44.957664"], ["updated_at", "2014-09-22 17:57:44.957664"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_d91d8986') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d91d8986"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_d91d8986') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction 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_457a52e8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus laudantium eum incidunt nostrum sint. Id quia voluptatem. Harum esse quia explicabo ea iusto doloremque recusandae. Qui eos nihil perferendis vitae iusto esse. Et quis cumque maxime dolorem.\", \"Quos illum odio libero rem quas. Perspiciatis aspernatur hic laborum mollitia. Ut fuga id odit et voluptatem. Maiores tempore iusto optio quasi sunt magnam minima.\"]"], ["created_at", "2014-09-22 17:57:44.966850"], ["name", "contract_457a52e8"], ["title", "Quia amet deleniti quia doloribus hic."], ["updated_at", "2014-09-22 17:57:44.966850"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_457a52e8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_457a52e8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 17:57:44.970662"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_457a52e8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_457a52e8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus laudantium eum incidunt nostrum sint. Id quia voluptatem. Harum esse quia explicabo ea iusto doloremque recusandae. Qui eos nihil perferendis vitae iusto esse. Et quis cumque maxime dolorem.\", \"Quos illum odio libero rem quas. Perspiciatis aspernatur hic laborum mollitia. Ut fuga id odit et voluptatem. Maiores tempore iusto optio quasi sunt magnam minima.\"]"], ["created_at", "2014-09-22 17:57:44.974264"], ["name", "contract_457a52e8"], ["title", "Quia amet deleniti quia doloribus hic."], ["updated_at", "2014-09-22 17:57:44.974264"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_457a52e8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_457a52e8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 17:57:44.977256"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.980592"], ["updated_at", "2014-09-22 17:57:44.980592"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.982783"], ["updated_at", "2014-09-22 17:57:44.982783"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_130294e2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti modi veniam est mollitia. Est cum explicabo aut. Sint eum et dolores excepturi commodi. Laudantium qui sint cupiditate occaecati. Tempora reiciendis recusandae vel consectetur illum ut.\", \"Sed saepe quam qui iusto. Excepturi autem et nobis eos aut odio nihil. Molestiae quis autem sunt eveniet sed sit. Inventore quae est qui blanditiis et eos.\"]"], ["created_at", "2014-09-22 17:57:44.985718"], ["name", "contract_130294e2"], ["title", "Ut et labore voluptates pariatur odit."], ["updated_at", "2014-09-22 17:57:44.985718"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_130294e2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_130294e2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 17:57:44.988929"], ["version", 1]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:44.993582"], ["updated_at", "2014-09-22 17:57:44.993582"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 17:57:44.995814"], ["updated_at", "2014-09-22 17:57:44.995814"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Redirected to http://test.host/fine_print/contracts/38/signatures Completed 302 Found in 7ms (ActiveRecord: 3.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 11 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.007625"], ["updated_at", "2014-09-22 17:57:45.007625"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.009606"], ["updated_at", "2014-09-22 17:57:45.009606"]]  (5.6ms) commit transaction  (0.1ms) begin transaction 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_40d04f78') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur praesentium esse sequi ipsum architecto. Omnis autem in accusantium. Aut nesciunt sed nostrum omnis occaecati aliquam corrupti. Aut sed quo molestiae impedit assumenda sit quis.\", \"Quibusdam expedita vitae. Officiis ut rerum voluptas accusantium consequatur corporis qui. Nam doloremque temporibus exercitationem voluptatem ut voluptatem ut.\"]"], ["created_at", "2014-09-22 17:57:45.017690"], ["name", "contract_40d04f78"], ["title", "Illum reiciendis blanditiis voluptate aut voluptatibus suscipit occaecati."], ["updated_at", "2014-09-22 17:57:45.017690"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40d04f78"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_40d04f78') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 17:57:45.023463"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.025884"], ["updated_at", "2014-09-22 17:57:45.025884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 17:57:45.027989"], ["updated_at", "2014-09-22 17:57:45.027989"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"39"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"39"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.032024"], ["updated_at", "2014-09-22 17:57:45.032024"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.033518"], ["updated_at", "2014-09-22 17:57:45.033518"]]  (7.8ms) commit transaction  (0.0ms) begin transaction 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_ab1df24b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic dolore nulla id. Possimus consequatur libero quis. Sint voluptatem natus vel sapiente impedit perferendis.\", \"Cumque architecto modi est. Eos aut voluptatem quis corrupti. Est ex et tempora.\"]"], ["created_at", "2014-09-22 17:57:45.043815"], ["name", "contract_ab1df24b"], ["title", "Praesentium dolorem vero accusantium."], ["updated_at", "2014-09-22 17:57:45.043815"]]  (12.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ab1df24b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_ab1df24b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 17:57:45.059106"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.061774"], ["updated_at", "2014-09-22 17:57:45.061774"]]  (4.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 17:57:45.068300"], ["updated_at", "2014-09-22 17:57:45.068300"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.074328"], ["updated_at", "2014-09-22 17:57:45.074328"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.081268"], ["updated_at", "2014-09-22 17:57:45.081268"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_09d80480') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore ea atque error velit qui. Est ea non error. Quod voluptas voluptatibus et delectus. Recusandae esse ab aut blanditiis cupiditate nisi et.\", \"Distinctio repellendus sed laboriosam corporis amet. Quaerat dignissimos eius sequi amet ipsam. Tenetur voluptas et. Doloribus perferendis sed est aliquid rerum.\"]"], ["created_at", "2014-09-22 17:57:45.084382"], ["name", "contract_09d80480"], ["title", "Animi eum rerum."], ["updated_at", "2014-09-22 17:57:45.084382"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09d80480"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_09d80480') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 17:57:45.091453"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.094861"], ["updated_at", "2014-09-22 17:57:45.094861"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 17:57:45.097032"], ["updated_at", "2014-09-22 17:57:45.097032"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.105329"], ["updated_at", "2014-09-22 17:57:45.105329"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.106937"], ["updated_at", "2014-09-22 17:57:45.106937"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.111992"], ["updated_at", "2014-09-22 17:57:45.111992"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.113696"], ["updated_at", "2014-09-22 17:57:45.113696"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_bc3fedaa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A laudantium optio. Sit ea eligendi dolor at amet. Impedit qui sit nisi quia. Error est quia sit soluta et. Odit quia maiores numquam totam id ea autem.\", \"Odit similique accusamus. Assumenda recusandae sunt aut placeat doloribus. Blanditiis vel aliquam. Adipisci quod ducimus labore temporibus. Autem sed eligendi nam eos voluptatem nobis quidem.\"]"], ["created_at", "2014-09-22 17:57:45.125478"], ["name", "contract_bc3fedaa"], ["title", "Mollitia et corrupti non."], ["updated_at", "2014-09-22 17:57:45.125478"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.0ms) begin transaction 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_fd256563') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas modi quas corporis perspiciatis sint harum soluta. Nihil veniam placeat eligendi unde. Et eum consequuntur doloremque maxime cum sed. Repudiandae voluptatem quos eaque ut enim. Aut quisquam consequuntur unde occaecati voluptatem rem.\", \"Dolorem non nihil illo impedit. Impedit ut recusandae non numquam minus explicabo. Harum quod quaerat distinctio aperiam eaque iure. Eveniet aut dolores aut commodi porro neque. Ea voluptas ullam deserunt magni pariatur.\"]"], ["created_at", "2014-09-22 17:57:45.130608"], ["name", "contract_fd256563"], ["title", "Omnis laudantium exercitationem sunt quia dignissimos vel."], ["updated_at", "2014-09-22 17:57:45.130608"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fd256563"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_fd256563') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 17:57:45.133778"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 17:57:45.137103"], ["updated_at", "2014-09-22 17:57:45.137103"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint et provident dignissimos similique. Odio et quis dolores consequuntur nihil quo. Aperiam qui aliquid dolor molestias minus sunt. Optio perspiciatis quia fugiat quis.\", \"Praesentium nemo explicabo est et nostrum. Minima possimus error. Aspernatur illo alias nesciunt tempore. Veniam natus praesentium. Atque provident dolores vitae officia dolorem et.\"]"], ["created_at", "2014-09-22 18:00:03.039708"], ["name", "alpha"], ["title", "Dolores vitae est temporibus exercitationem quo delectus."], ["updated_at", "2014-09-22 18:00:03.039708"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:00:03.050568"], ["version", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic repudiandae molestiae numquam. Illum aliquam minima nostrum eum sunt maiores. At quis consequatur est fugiat.\", \"Voluptas vel dolore nisi tempora aut. Harum eos sit. Deleniti velit sunt aut. Et vero deleniti ab.\"]"], ["created_at", "2014-09-22 18:00:03.057886"], ["name", "beta"], ["title", "Cupiditate voluptatem consequatur."], ["updated_at", "2014-09-22 18:00:03.057886"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:00:03.061507"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.065107"], ["updated_at", "2014-09-22 18:00:03.065107"]]  (2.7ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:00:03.074397"], ["updated_at", "2014-09-22 18:00:03.074397"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:00:03.080475"], ["updated_at", "2014-09-22 18:00:03.080475"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:03.084790"], ["name", "alpha"], ["title", "Dolores vitae est temporibus exercitationem quo delectus."], ["updated_at", "2014-09-22 18:00:03.084790"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:00:03.090642"], ["version", 2]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum natus unde voluptatem voluptatem. Eius est dolores. Corrupti in ipsum voluptatum libero sint et nisi. Harum placeat repellendus autem qui officiis aut.\", \"Ipsum sit animi sint quia minus eligendi. Aut debitis et autem. Ut est consequuntur.\"]"], ["created_at", "2014-09-22 18:00:03.098631"], ["name", "alpha"], ["title", "Eius quia eum ex harum sit a molestiae."], ["updated_at", "2014-09-22 18:00:03.098631"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:00:03.104444"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam atque officiis quis id. Non optio asperiores maxime. Nihil explicabo dolorum expedita natus architecto ea.\", \"Perspiciatis ut dolorum commodi autem. Deleniti velit non et dolores quia commodi. Et nesciunt consequatur quia eveniet ut ut qui.\"]"], ["created_at", "2014-09-22 18:00:03.108050"], ["name", "beta"], ["title", "Atque repudiandae a quo in totam."], ["updated_at", "2014-09-22 18:00:03.108050"]]  (10.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:00:03.120662"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.122888"], ["updated_at", "2014-09-22 18:00:03.122888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:00:03.125370"], ["updated_at", "2014-09-22 18:00:03.125370"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:00:03.127792"], ["updated_at", "2014-09-22 18:00:03.127792"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:03.130238"], ["name", "alpha"], ["title", "Eius quia eum ex harum sit a molestiae."], ["updated_at", "2014-09-22 18:00:03.130238"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:00:03.133883"], ["version", 4]]  (5.2ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In error et rerum ea aspernatur eum similique. Doloremque aut qui sit explicabo sit. Voluptatem autem velit ducimus itaque.\", \"Doloribus dolorem rem. Totam temporibus molestias et ut deserunt ut eum. Ea et eligendi consequuntur labore eaque magnam ab. Et voluptates nam.\"]"], ["created_at", "2014-09-22 18:00:03.147643"], ["name", "alpha"], ["title", "Voluptatem recusandae id."], ["updated_at", "2014-09-22 18:00:03.147643"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:00:03.151649"], ["version", 5]]  (6.1ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores culpa vero amet. At harum nesciunt nobis cupiditate consequatur in cum. Sint facilis earum quo est non rerum ab.\", \"Ut voluptatem debitis voluptas aut tempora. Rerum dignissimos exercitationem. Earum ad velit. Error a non. Nihil optio distinctio praesentium quia rerum incidunt minus.\"]"], ["created_at", "2014-09-22 18:00:03.161157"], ["name", "beta"], ["title", "Cupiditate aut repudiandae rerum quia."], ["updated_at", "2014-09-22 18:00:03.161157"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:00:03.164406"], ["version", 3]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.171930"], ["updated_at", "2014-09-22 18:00:03.171930"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:00:03.174750"], ["updated_at", "2014-09-22 18:00:03.174750"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:00:03.177341"], ["updated_at", "2014-09-22 18:00:03.177341"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:03.179657"], ["name", "alpha"], ["title", "Voluptatem recusandae id."], ["updated_at", "2014-09-22 18:00:03.179657"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:00:03.183841"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores earum dicta vero velit iste maxime et. Eligendi voluptates et. Aperiam eum ut et.\", \"Nesciunt et molestias sit alias. Consequatur molestias voluptatem voluptatibus distinctio. Facilis est reprehenderit. Dolor et doloremque quis.\"]"], ["created_at", "2014-09-22 18:00:03.190920"], ["name", "alpha"], ["title", "Magni officia voluptatem."], ["updated_at", "2014-09-22 18:00:03.190920"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:00:03.194280"], ["version", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa modi itaque laudantium laborum. Enim veniam possimus ut perspiciatis. Omnis reprehenderit sapiente.\", \"Inventore reiciendis ex quaerat eaque consectetur hic aut. Nihil asperiores sapiente nesciunt maiores placeat doloremque. Qui rerum quam optio corrupti qui. Nihil vel eligendi. Similique iste odit distinctio sequi enim consectetur sapiente.\"]"], ["created_at", "2014-09-22 18:00:03.197795"], ["name", "beta"], ["title", "Dolore repellat numquam in."], ["updated_at", "2014-09-22 18:00:03.197795"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:00:03.202467"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.205215"], ["updated_at", "2014-09-22 18:00:03.205215"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:00:03.208973"], ["updated_at", "2014-09-22 18:00:03.208973"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 18:00:03.211884"], ["updated_at", "2014-09-22 18:00:03.211884"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:03.214307"], ["name", "alpha"], ["title", "Magni officia voluptatem."], ["updated_at", "2014-09-22 18:00:03.214307"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:00:03.217321"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 18:00:03.234365"], ["updated_at", "2014-09-22 18:00:03.234365"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.247898"], ["updated_at", "2014-09-22 18:00:03.247898"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.249570"], ["updated_at", "2014-09-22 18:00:03.249570"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.258259"], ["updated_at", "2014-09-22 18:00:03.258259"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.260464"], ["updated_at", "2014-09-22 18:00:03.260464"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.265123"], ["updated_at", "2014-09-22 18:00:03.265123"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.267014"], ["updated_at", "2014-09-22 18:00:03.267014"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_81823096') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et in natus quae id vel. Quo alias nemo in. Iure itaque fugit aut in autem quas consequatur. Laudantium dolorem magnam quia. Sed placeat perspiciatis quas reprehenderit aut ipsam ullam.\", \"Vel quam ducimus dolorem eos. Voluptatibus error molestiae inventore a quibusdam expedita libero. At dicta commodi nam fuga eos iste facilis. Suscipit eos nulla non. Optio nobis et ea dolorum amet commodi.\"]"], ["created_at", "2014-09-22 18:00:03.271997"], ["name", "contract_81823096"], ["title", "Omnis voluptas eum nisi et et illum voluptas."], ["updated_at", "2014-09-22 18:00:03.271997"]]  (21.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_81823096"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_81823096') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:00:03.296807"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.299395"], ["updated_at", "2014-09-22 18:00:03.299395"]]  (14.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:00:03.315805"], ["updated_at", "2014-09-22 18:00:03.315805"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" IS NULL AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 4ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.324133"], ["updated_at", "2014-09-22 18:00:03.324133"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.325546"], ["updated_at", "2014-09-22 18:00:03.325546"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a19f55e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut alias dolore. Doloremque aut sunt consequatur tenetur enim amet officia. Tenetur magnam quam est. Odit ut eaque qui sapiente quibusdam vel et.\", \"Sunt optio quia. Iure eaque nihil quis placeat. Reprehenderit ullam quibusdam dolorem quia facere doloribus. Et natus soluta autem nam ducimus quos sed.\"]"], ["created_at", "2014-09-22 18:00:03.328471"], ["name", "contract_a19f55e7"], ["title", "Vitae vero necessitatibus ab quae aspernatur."], ["updated_at", "2014-09-22 18:00:03.328471"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a19f55e7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a19f55e7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:00:03.331460"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.333854"], ["updated_at", "2014-09-22 18:00:03.333854"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 18:00:03.335952"], ["updated_at", "2014-09-22 18:00:03.335952"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"14"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.344675"], ["updated_at", "2014-09-22 18:00:03.344675"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.346305"], ["updated_at", "2014-09-22 18:00:03.346305"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_71f54fdf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima voluptatibus voluptatem ea similique delectus natus ipsa. Amet omnis ut ex deleniti suscipit. Eum est ad cumque atque molestiae. Nulla ut voluptatibus quis quae beatae voluptas. Aliquam aut fugiat.\", \"Alias consectetur et adipisci quia necessitatibus dolorem quia. Et animi expedita atque amet ut itaque dolor. Rem ratione sint iure.\"]"], ["created_at", "2014-09-22 18:00:03.349300"], ["name", "contract_71f54fdf"], ["title", "Quo cumque esse nulla aut incidunt consequatur."], ["updated_at", "2014-09-22 18:00:03.349300"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71f54fdf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_71f54fdf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:00:03.352285"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.354637"], ["updated_at", "2014-09-22 18:00:03.354637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 18:00:03.356666"], ["updated_at", "2014-09-22 18:00:03.356666"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.362415"], ["updated_at", "2014-09-22 18:00:03.362415"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.364091"], ["updated_at", "2014-09-22 18:00:03.364091"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_3e266f6f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora expedita est quasi. Tenetur ut rerum. Voluptas quia distinctio. Aut eveniet in praesentium.\", \"Eos beatae vero adipisci. Animi vitae enim corporis aut voluptatem qui. Quia vel non ipsam dolores autem vel.\"]"], ["created_at", "2014-09-22 18:00:03.367904"], ["name", "contract_3e266f6f"], ["title", "Excepturi accusantium officia quis occaecati expedita iure nostrum."], ["updated_at", "2014-09-22 18:00:03.367904"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e266f6f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_3e266f6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:00:03.371318"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.374412"], ["updated_at", "2014-09-22 18:00:03.374412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 18:00:03.376605"], ["updated_at", "2014-09-22 18:00:03.376605"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.380855"], ["updated_at", "2014-09-22 18:00:03.380855"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.382323"], ["updated_at", "2014-09-22 18:00:03.382323"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_630a0a61') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor qui sequi architecto porro earum. Corporis eius et nobis minus ea id. Optio sunt expedita molestias. Sed voluptas sunt autem occaecati et.\", \"Ipsum omnis velit vel et inventore. Qui eum eum. Odit ex officiis velit aliquid sunt. Eveniet voluptatem corrupti facilis suscipit aspernatur voluptatum. Voluptatem libero placeat numquam molestias officiis sit.\"]"], ["created_at", "2014-09-22 18:00:03.385296"], ["name", "contract_630a0a61"], ["title", "Consequatur accusamus provident ut id nihil beatae voluptate."], ["updated_at", "2014-09-22 18:00:03.385296"]]  (15.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_630a0a61"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_630a0a61') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:00:03.403629"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.406676"], ["updated_at", "2014-09-22 18:00:03.406676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 23) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 18:00:03.408977"], ["updated_at", "2014-09-22 18:00:03.408977"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 14]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Redirected to http://test.host/fine_print/contracts/17/signatures Completed 302 Found in 3ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 14 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.416712"], ["updated_at", "2014-09-22 18:00:03.416712"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.418321"], ["updated_at", "2014-09-22 18:00:03.418321"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0a6565ae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste id tempora adipisci incidunt voluptates est. Non quae rem ea officiis. Repellat quis voluptas dignissimos fugiat voluptatem.\", \"Et incidunt porro aspernatur quibusdam. Et sunt accusantium. Consequatur fuga consequuntur vel ut. Voluptates illum repellat eos dolores sunt. Et vel et cumque nemo quisquam ab.\"]"], ["created_at", "2014-09-22 18:00:03.421206"], ["name", "contract_0a6565ae"], ["title", "Iure et vel voluptatem recusandae ipsum esse."], ["updated_at", "2014-09-22 18:00:03.421206"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0a6565ae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_0a6565ae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:00:03.424113"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.426529"], ["updated_at", "2014-09-22 18:00:03.426529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 18:00:03.428615"], ["updated_at", "2014-09-22 18:00:03.428615"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.433574"], ["updated_at", "2014-09-22 18:00:03.433574"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.435050"], ["updated_at", "2014-09-22 18:00:03.435050"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d3f47734') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt placeat adipisci aperiam sapiente eum quisquam. Quia qui ullam sunt et quo. Qui a porro labore consequatur voluptatibus dolores et. Similique eum est quod enim. Non et possimus ut non est.\", \"Iste repellat ut amet quas quaerat veritatis veniam. Fuga qui sed est quam sit aut quia. Atque voluptas omnis harum culpa voluptas sunt. Labore quisquam voluptatem error sed odit dolores officiis. Quo odio qui est explicabo amet.\"]"], ["created_at", "2014-09-22 18:00:03.437758"], ["name", "contract_d3f47734"], ["title", "Sint optio facere cum omnis repudiandae."], ["updated_at", "2014-09-22 18:00:03.437758"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d3f47734"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_d3f47734') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:00:03.440686"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.443025"], ["updated_at", "2014-09-22 18:00:03.443025"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 18:00:03.445160"], ["updated_at", "2014-09-22 18:00:03.445160"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.450145"], ["updated_at", "2014-09-22 18:00:03.450145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.451634"], ["updated_at", "2014-09-22 18:00:03.451634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eaaa87cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem cum tempora. Quia impedit hic iusto. Autem qui non quia dolorem aut. Reprehenderit fuga incidunt in.\", \"Ipsum dolores quam facere qui aliquam laboriosam vel. Voluptatum voluptates odio totam. Iste et amet vel expedita earum esse. Ut sunt perspiciatis cumque quod et sed.\"]"], ["created_at", "2014-09-22 18:00:03.454624"], ["name", "contract_eaaa87cc"], ["title", "Beatae voluptatem cum fugiat."], ["updated_at", "2014-09-22 18:00:03.454624"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eaaa87cc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_eaaa87cc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:00:03.458814"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.461405"], ["updated_at", "2014-09-22 18:00:03.461405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:00:03.463654"], ["updated_at", "2014-09-22 18:00:03.463654"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.469203"], ["updated_at", "2014-09-22 18:00:03.469203"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.470830"], ["updated_at", "2014-09-22 18:00:03.470830"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dad7e83a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et reprehenderit dicta vitae aperiam. Aut quo voluptatem odit odio. Ratione nostrum dolorum qui quo possimus hic. Aliquid perferendis dignissimos ipsam omnis.\", \"Et vero aliquam sed dolorem sint ut. Numquam et delectus doloribus voluptas aut deleniti. Laborum beatae sed.\"]"], ["created_at", "2014-09-22 18:00:03.473541"], ["name", "contract_dad7e83a"], ["title", "Odit voluptas accusantium suscipit tempora dicta."], ["updated_at", "2014-09-22 18:00:03.473541"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.478266"], ["updated_at", "2014-09-22 18:00:03.478266"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.479842"], ["updated_at", "2014-09-22 18:00:03.479842"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34203a11') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque in quod est amet sit. Qui perspiciatis voluptates sit enim vitae nulla atque. Doloremque quod sint natus. Quo a et. Aut error qui magni velit qui aliquid consequuntur.\", \"Repudiandae illo quasi consectetur hic non tempora. Nemo minima explicabo debitis iure neque. Libero quo provident. Ut laborum mollitia quos architecto. Et laborum nam.\"]"], ["created_at", "2014-09-22 18:00:03.482489"], ["name", "contract_34203a11"], ["title", "Possimus sed officiis aliquid."], ["updated_at", "2014-09-22 18:00:03.482489"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.486506"], ["updated_at", "2014-09-22 18:00:03.486506"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.487993"], ["updated_at", "2014-09-22 18:00:03.487993"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_be49fb79') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum blanditiis quam aut. Sed provident eos quisquam repudiandae. Quo voluptatem quam quas voluptatem amet est. Est est nam at ut.\", \"Quo dolorem vel. Velit nulla accusamus. Dolore quas perspiciatis labore voluptatibus sequi animi delectus.\"]"], ["created_at", "2014-09-22 18:00:03.490483"], ["name", "contract_be49fb79"], ["title", "Repellat vitae aliquid beatae ea."], ["updated_at", "2014-09-22 18:00:03.490483"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.494015"], ["updated_at", "2014-09-22 18:00:03.494015"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.495469"], ["updated_at", "2014-09-22 18:00:03.495469"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e9209ba3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet quia vitae. Esse praesentium sit et excepturi distinctio. Fugit ut porro quae perferendis. Autem vel saepe ullam voluptas quidem. Porro eveniet sed eos non.\", \"Et deserunt unde doloremque dolores possimus sed ducimus. Quae sed minima qui qui. Rerum eaque doloribus aut libero molestiae nesciunt accusamus. Veritatis tenetur et quae possimus.\"]"], ["created_at", "2014-09-22 18:00:03.498031"], ["name", "contract_e9209ba3"], ["title", "Explicabo harum ut molestiae nihil."], ["updated_at", "2014-09-22 18:00:03.498031"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e9209ba3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_e9209ba3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:00:03.502496"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.507794"], ["updated_at", "2014-09-22 18:00:03.507794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.509359"], ["updated_at", "2014-09-22 18:00:03.509359"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f747368c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi optio eius. Mollitia et architecto id dolores quis. Voluptate delectus quae aspernatur sunt. Cupiditate maiores sequi delectus odio. In cupiditate sint.\", \"Ex animi blanditiis qui cupiditate voluptatum. Autem veritatis et et ut mollitia velit. Consequatur nihil tempore velit non rerum necessitatibus voluptatum. Repudiandae adipisci debitis sunt ab non molestias nihil. Laudantium et possimus.\"]"], ["created_at", "2014-09-22 18:00:03.512090"], ["name", "contract_f747368c"], ["title", "Cumque aut molestias repellendus labore perspiciatis facilis."], ["updated_at", "2014-09-22 18:00:03.512090"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.516973"], ["updated_at", "2014-09-22 18:00:03.516973"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.518576"], ["updated_at", "2014-09-22 18:00:03.518576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d8fc7436') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quibusdam earum cupiditate. Ut corrupti optio doloremque similique. Et praesentium ea maxime.\", \"Sint vitae vel repellat est eveniet quasi. Quas eum recusandae ut maiores. Aut est fuga.\"]"], ["created_at", "2014-09-22 18:00:03.521070"], ["name", "contract_d8fc7436"], ["title", "Officiis aut aut minima id dolore quam."], ["updated_at", "2014-09-22 18:00:03.521070"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:00:03.524419"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:00:03.524419"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/27 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.527965"], ["updated_at", "2014-09-22 18:00:03.527965"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.529450"], ["updated_at", "2014-09-22 18:00:03.529450"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_c8781c17') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid voluptate omnis. Aliquid animi rerum aut. Nostrum atque blanditiis aspernatur. Nihil provident cupiditate quas. Sit perferendis veritatis quis praesentium mollitia est explicabo.\", \"Et maiores voluptas nulla eaque magni ut. Est esse nihil ex molestiae. Deleniti laboriosam dolorum est error. Assumenda autem ex et.\"]"], ["created_at", "2014-09-22 18:00:03.532112"], ["name", "contract_c8781c17"], ["title", "Ea ipsum sint necessitatibus aliquid."], ["updated_at", "2014-09-22 18:00:03.532112"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c8781c17"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_c8781c17') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:00:03.535408"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.540178"], ["updated_at", "2014-09-22 18:00:03.540178"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.542225"], ["updated_at", "2014-09-22 18:00:03.542225"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3374ab2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique libero quidem debitis ut at facilis accusamus. Aut excepturi sint. Neque perspiciatis doloremque est quasi iure ut. Voluptatibus sint sed dolores. Qui et ut deserunt omnis optio.\", \"Laborum quis ea beatae ut tempora sapiente. Assumenda est aut quia veritatis. Veritatis sunt tenetur ipsam eos rerum. Ab quasi dolores impedit sed nulla. Fugit assumenda explicabo qui illum quod.\"]"], ["created_at", "2014-09-22 18:00:03.545047"], ["name", "contract_a3374ab2"], ["title", "Omnis voluptates cumque voluptas nulla."], ["updated_at", "2014-09-22 18:00:03.545047"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 11, 8, 5, 2, 18, 22, 16, 17, 15, 13, 14, 29, 23, 28, 19, 26, 21, 24, 20, 25, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.553061"], ["updated_at", "2014-09-22 18:00:03.553061"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.554724"], ["updated_at", "2014-09-22 18:00:03.554724"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d33afa01') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta animi eius reprehenderit velit enim. Rerum qui veritatis suscipit dolor. Qui temporibus atque dolores. In in et voluptatem. Voluptate quae unde vel.\", \"Corporis facilis iusto perferendis porro eos velit. Corrupti minus rerum deserunt quia. Voluptatem nihil consequatur mollitia cupiditate id ea. Et incidunt ducimus.\"]"], ["created_at", "2014-09-22 18:00:03.558041"], ["name", "contract_d33afa01"], ["title", "Accusantium sint accusamus itaque."], ["updated_at", "2014-09-22 18:00:03.558041"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d33afa01"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_d33afa01') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:00:03.561694"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d33afa01' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.568639"], ["updated_at", "2014-09-22 18:00:03.568639"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.570131"], ["updated_at", "2014-09-22 18:00:03.570131"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_45cbde16') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero quidem sint quia. Non placeat nihil laudantium debitis voluptatem. Qui vel est recusandae quasi rerum.\", \"Voluptas eligendi consequatur esse aut eos. Non cupiditate sapiente voluptatibus consequuntur. Consequuntur quo odit et. Sint molestiae nihil maxime accusantium iste perferendis.\"]"], ["created_at", "2014-09-22 18:00:03.572766"], ["name", "contract_45cbde16"], ["title", "Exercitationem placeat unde quas sint debitis nobis."], ["updated_at", "2014-09-22 18:00:03.572766"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.577875"], ["updated_at", "2014-09-22 18:00:03.577875"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.579886"], ["updated_at", "2014-09-22 18:00:03.579886"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_48cab999') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos reprehenderit consequatur possimus magni alias molestias. Eum pariatur occaecati animi. Ut dicta error quas. Omnis doloribus vel dolorum vero vitae odio.\", \"Explicabo libero ut animi et. Recusandae minus voluptas officiis harum ut. Veniam dignissimos totam veritatis aut quas voluptas. Qui excepturi libero. A voluptas quaerat consectetur.\"]"], ["created_at", "2014-09-22 18:00:03.582869"], ["name", "contract_48cab999"], ["title", "Fugit perferendis laborum sunt repellendus modi ut labore."], ["updated_at", "2014-09-22 18:00:03.582869"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.591763"], ["updated_at", "2014-09-22 18:00:03.591763"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.593595"], ["updated_at", "2014-09-22 18:00:03.593595"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_99445f39') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime molestiae tempore. Nisi necessitatibus fugiat dolorum harum voluptatem at. Laboriosam possimus odit tempore autem laudantium. Est consequatur numquam aut. Ullam eligendi facere nulla aliquam maiores enim soluta.\", \"Pariatur minus voluptatem officia eius. Consequatur aperiam asperiores ut minus tempore occaecati. Esse rem eveniet reprehenderit omnis voluptatem sed doloremque.\"]"], ["created_at", "2014-09-22 18:00:03.596565"], ["name", "contract_99445f39"], ["title", "Soluta tempore excepturi sed magnam quasi aut modi."], ["updated_at", "2014-09-22 18:00:03.596565"]]  (1.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.603750"], ["updated_at", "2014-09-22 18:00:03.603750"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.605192"], ["updated_at", "2014-09-22 18:00:03.605192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9bb3d0e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos non nihil pariatur id eveniet sunt a. Veritatis dolorem et iste odio qui quos. Aut excepturi facere. Quis sit quos.\", \"Est aut nemo minus dolorum ipsa aut quia. Minus placeat ut ea doloribus blanditiis consectetur. Aut quia quibusdam. Non voluptatem et ea. Eos optio quae nemo et quam suscipit.\"]"], ["created_at", "2014-09-22 18:00:03.608240"], ["name", "contract_9bb3d0e4"], ["title", "Ad sed laudantium qui ipsa alias voluptates."], ["updated_at", "2014-09-22 18:00:03.608240"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 34 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:00:03.612016"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/34 Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.616643"], ["updated_at", "2014-09-22 18:00:03.616643"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.618107"], ["updated_at", "2014-09-22 18:00:03.618107"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_69622b4e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi similique facere tempora. Facilis optio ipsam dolorem eum laudantium totam temporibus. Laboriosam corporis eum animi illo minus. Qui nihil est et est rem est. Fuga consequuntur ipsa ipsam et voluptatem corrupti velit.\", \"Debitis omnis est sint qui voluptatem sunt. Sint sed aperiam repudiandae eveniet qui reiciendis omnis. Minus impedit culpa sit a.\"]"], ["created_at", "2014-09-22 18:00:03.620764"], ["name", "contract_69622b4e"], ["title", "Soluta nihil quos ipsa quia omnis tenetur."], ["updated_at", "2014-09-22 18:00:03.620764"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.626049"], ["updated_at", "2014-09-22 18:00:03.626049"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.627631"], ["updated_at", "2014-09-22 18:00:03.627631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_265d3569') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione earum est officia quo neque ducimus. Autem voluptatem id aut aut. Sit et blanditiis quod ducimus optio autem.\", \"Dignissimos perferendis voluptatibus molestiae distinctio culpa illo. Exercitationem illo velit qui. Magnam nemo molestias eius corporis provident a molestiae.\"]"], ["created_at", "2014-09-22 18:00:03.630175"], ["name", "contract_265d3569"], ["title", "In harum assumenda quasi consequatur."], ["updated_at", "2014-09-22 18:00:03.630175"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.635467"], ["updated_at", "2014-09-22 18:00:03.635467"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.636983"], ["updated_at", "2014-09-22 18:00:03.636983"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_4c93a9e5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus commodi natus quod. Minima voluptates magni quia nostrum repudiandae aut. Ipsam pariatur ex tempora sit asperiores aliquid corporis.\", \"Cum iusto vero voluptatum eum facere. Ea nostrum qui rerum esse est sed. Aliquid nemo sit exercitationem rerum. Similique dolore inventore praesentium saepe numquam. Maxime veniam voluptates alias voluptas occaecati.\"]"], ["created_at", "2014-09-22 18:00:03.640333"], ["name", "contract_4c93a9e5"], ["title", "In qui molestias exercitationem quasi."], ["updated_at", "2014-09-22 18:00:03.640333"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 37]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 37]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 37 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.648185"], ["updated_at", "2014-09-22 18:00:03.648185"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.649697"], ["updated_at", "2014-09-22 18:00:03.649697"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_87b1954c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et consequatur sint eligendi tempora officiis quisquam. Soluta delectus accusantium occaecati labore et. Quam minima eum. Aut ab cum sunt velit id architecto.\", \"Maxime saepe dolorum voluptatem cupiditate accusamus nobis veniam. Earum modi asperiores facere enim cupiditate. Ratione quidem nulla voluptas omnis. Necessitatibus repellendus vitae sint eos deleniti. Iste qui similique vitae qui repellat.\"]"], ["created_at", "2014-09-22 18:00:03.652287"], ["name", "contract_87b1954c"], ["title", "Placeat incidunt a et quia."], ["updated_at", "2014-09-22 18:00:03.652287"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87b1954c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_87b1954c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:00:03.655798"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87b1954c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_87b1954c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:00:03.668377"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 13ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.673877"], ["updated_at", "2014-09-22 18:00:03.673877"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.675885"], ["updated_at", "2014-09-22 18:00:03.675885"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eed3b8c8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa doloribus qui velit repellat reiciendis. Id et eius velit nobis. Esse libero mollitia earum ipsa voluptatem ea. Nam consequatur maiores magni et ullam.\", \"Accusantium et ullam est odio ea. Eum tenetur voluptatem. Culpa quisquam adipisci omnis. Quia numquam aut illo est rerum voluptatum.\"]"], ["created_at", "2014-09-22 18:00:03.678954"], ["name", "contract_eed3b8c8"], ["title", "Totam possimus recusandae dolores vitae."], ["updated_at", "2014-09-22 18:00:03.678954"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eed3b8c8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_eed3b8c8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:00:03.682019"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction 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_567c1f4d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci veniam quibusdam voluptas minus est et. Consectetur ut eos. A id facilis. Deleniti quis quibusdam itaque numquam facere. Voluptas earum in soluta beatae neque quisquam.\", \"Soluta id quia tempora id. Velit quas dolorum itaque voluptate a quam. Animi libero earum.\"]"], ["created_at", "2014-09-22 18:00:03.691486"], ["name", "contract_567c1f4d"], ["title", "Enim cupiditate neque ratione rem."], ["updated_at", "2014-09-22 18:00:03.691486"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction 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_bac88c78') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis doloribus quo voluptatem sit culpa. Nostrum non facere rerum quos et labore. Ipsa corporis voluptatem maxime dolores excepturi.\", \"Maxime ut cumque ad saepe voluptates esse. Quibusdam rerum et quia nostrum ut. Debitis quibusdam sit sapiente inventore impedit.\"]"], ["created_at", "2014-09-22 18:00:03.696802"], ["name", "contract_bac88c78"], ["title", "Sed modi laborum fugit illo."], ["updated_at", "2014-09-22 18:00:03.696802"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bac88c78"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_bac88c78') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:00:03.701468"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.704511"], ["updated_at", "2014-09-22 18:00:03.704511"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction 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_f77fd4e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut sit ut est suscipit cum blanditiis. Cum enim ut doloremque minima qui vel. Aut perferendis modi sit sequi. Porro non quis velit soluta occaecati ut.\", \"At autem minus sed perspiciatis. Nihil libero sapiente. Similique ut eos et voluptatem eius et. Fugiat qui ut omnis.\"]"], ["created_at", "2014-09-22 18:00:03.711925"], ["name", "contract_f77fd4e4"], ["title", "Ipsam libero qui ut nesciunt ut sit."], ["updated_at", "2014-09-22 18:00:03.711925"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f77fd4e4"]]  (0.3ms) begin transaction FinePrint::Contract Exists (0.5ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_f77fd4e4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:00:03.717615"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f77fd4e4"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f77fd4e4"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_f77fd4e4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:00:03.727890"], ["version", nil]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_89610ebe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur similique dolorum in tempora. Eum qui sint animi dignissimos tempora. Animi commodi ipsa voluptatem quis vitae.\", \"Sit adipisci et voluptatem repudiandae ea velit. Aut suscipit ullam repellendus voluptas quo enim earum. Illum molestiae blanditiis sed corrupti. Debitis quas ratione nisi omnis possimus. In facere eos fugiat.\"]"], ["created_at", "2014-09-22 18:00:03.734367"], ["name", "contract_89610ebe"], ["title", "Cumque perferendis ut itaque rerum."], ["updated_at", "2014-09-22 18:00:03.734367"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_89610ebe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_89610ebe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:00:03.737851"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:03.741770"], ["updated_at", "2014-09-22 18:00:03.741770"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:00:03.744710"], ["updated_at", "2014-09-22 18:00:03.744710"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_89610ebe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_89610ebe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_89610ebe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction 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_66098469') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni omnis est facilis consequatur. Optio laboriosam blanditiis rerum ut. Commodi possimus ut.\", \"Dolor sint similique et quia provident fuga. Eius qui excepturi dolore. Doloribus ut neque deleniti nulla impedit iure sit. Vero nesciunt ab rerum ea nihil eos.\"]"], ["created_at", "2014-09-22 18:00:03.755397"], ["name", "contract_66098469"], ["title", "Quia neque repellendus illum ipsum tempore."], ["updated_at", "2014-09-22 18:00:03.755397"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66098469"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_66098469') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:00:03.761445"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_66098469' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_66098469') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni omnis est facilis consequatur. Optio laboriosam blanditiis rerum ut. Commodi possimus ut.\", \"Dolor sint similique et quia provident fuga. Eius qui excepturi dolore. Doloribus ut neque deleniti nulla impedit iure sit. Vero nesciunt ab rerum ea nihil eos.\"]"], ["created_at", "2014-09-22 18:00:03.765230"], ["name", "contract_66098469"], ["title", "Quia neque repellendus illum ipsum tempore."], ["updated_at", "2014-09-22 18:00:03.765230"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_66098469"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_66098469') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:00:03.768681"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5cec045d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et vel numquam quam hic nulla qui aut. Dicta deleniti sed voluptas dolores ut. Similique voluptatem ipsa illum quas. Nihil eaque eveniet reprehenderit quod ut qui. Illo ut minus quia ullam incidunt itaque ut.\", \"Vel ut ea enim omnis. Alias nesciunt sed. Molestiae odit repellat nisi. Quod eos cupiditate earum non ipsa voluptatem laudantium. Est vitae sed reprehenderit debitis.\"]"], ["created_at", "2014-09-22 18:00:03.772692"], ["name", "contract_5cec045d"], ["title", "Impedit qui nobis."], ["updated_at", "2014-09-22 18:00:03.772692"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5cec045d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_5cec045d') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:00:03.776110"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5cec045d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et vel numquam quam hic nulla qui aut. Dicta deleniti sed voluptas dolores ut. Similique voluptatem ipsa illum quas. Nihil eaque eveniet reprehenderit quod ut qui. Illo ut minus quia ullam incidunt itaque ut.\", \"Vel ut ea enim omnis. Alias nesciunt sed. Molestiae odit repellat nisi. Quod eos cupiditate earum non ipsa voluptatem laudantium. Est vitae sed reprehenderit debitis.\"]"], ["created_at", "2014-09-22 18:00:03.779740"], ["name", "joe"], ["title", "Impedit qui nobis."], ["updated_at", "2014-09-22 18:00:03.779740"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:00:03.784058"], ["version", 1]]  (0.8ms) commit transaction  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_4cb88c79') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe quasi cumque expedita eos accusantium. Asperiores reiciendis eaque. Quia blanditiis saepe ipsam eveniet a consequatur nam. Et impedit cupiditate. Commodi dolor ut non in tenetur minima.\", \"Temporibus eos tenetur odit ratione molestiae. Temporibus quia omnis debitis ea impedit voluptatem est. Voluptatem sint beatae ab. Quas dolorum expedita aspernatur nihil placeat commodi labore.\"]"], ["created_at", "2014-09-22 18:00:18.013761"], ["name", "contract_4cb88c79"], ["title", "Maiores veniam fugiat cumque."], ["updated_at", "2014-09-22 18:00:18.013761"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_ef42849d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta et qui quaerat quia quis. Quia dolores quibusdam. Aut consequuntur in sunt praesentium itaque iusto. Adipisci non quaerat ut.\", \"Minima qui itaque natus delectus. Fuga omnis maxime aspernatur. Incidunt id dolorum reiciendis.\"]"], ["created_at", "2014-09-22 18:00:18.027929"], ["name", "contract_ef42849d"], ["title", "Non culpa assumenda quia deserunt."], ["updated_at", "2014-09-22 18:00:18.027929"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef42849d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_ef42849d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:00:18.032773"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.038695"], ["updated_at", "2014-09-22 18:00:18.038695"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.047111"], ["updated_at", "2014-09-22 18:00:18.047111"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.048730"], ["updated_at", "2014-09-22 18:00:18.048730"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_afd683b4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta provident ipsum. Non aut aut cum est ut dolor eum. At nulla quidem fuga et quia soluta esse.\", \"Impedit sit inventore. Minus magni voluptates. Ex occaecati quaerat vel. Voluptas aperiam ad.\"]"], ["created_at", "2014-09-22 18:00:18.051944"], ["name", "contract_afd683b4"], ["title", "Sapiente dolor fuga."], ["updated_at", "2014-09-22 18:00:18.051944"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_afd683b4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_afd683b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:00:18.056031"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.058606"], ["updated_at", "2014-09-22 18:00:18.058606"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:00:18.060896"], ["updated_at", "2014-09-22 18:00:18.060896"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.075313"], ["updated_at", "2014-09-22 18:00:18.075313"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.077163"], ["updated_at", "2014-09-22 18:00:18.077163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_50c09314') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illum sit non aut adipisci recusandae quos sequi. Illum aperiam velit assumenda eveniet natus qui accusantium. Soluta officia quia eveniet delectus autem nemo non. Et in consectetur autem recusandae aut.\", \"Aut eveniet at. Autem iusto non. Et consequatur necessitatibus corporis. Non sed eum et perferendis facilis quas in. Qui officiis error qui.\"]"], ["created_at", "2014-09-22 18:00:18.080729"], ["name", "contract_50c09314"], ["title", "Soluta nihil eum id suscipit ut nostrum."], ["updated_at", "2014-09-22 18:00:18.080729"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_50c09314"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_50c09314') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:00:18.084918"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.088231"], ["updated_at", "2014-09-22 18:00:18.088231"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:00:18.090406"], ["updated_at", "2014-09-22 18:00:18.090406"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Redirected to http://test.host/fine_print/contracts/4/signatures Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.103641"], ["updated_at", "2014-09-22 18:00:18.103641"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.106014"], ["updated_at", "2014-09-22 18:00:18.106014"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_2903f422') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime sint blanditiis vel qui sequi. Id nihil ut in architecto dolorem. Molestias deleniti quis unde et praesentium esse suscipit. Nesciunt optio officia qui sint.\", \"Veritatis ipsam deleniti. Quibusdam est et deserunt fuga aut. Commodi quas ipsa sit sunt quo. Praesentium consequatur natus blanditiis aspernatur. Magni dolorem nostrum et unde quisquam temporibus quibusdam.\"]"], ["created_at", "2014-09-22 18:00:18.111122"], ["name", "contract_2903f422"], ["title", "Qui veniam sed quam sapiente."], ["updated_at", "2014-09-22 18:00:18.111122"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2903f422"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_2903f422') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:00:18.116809"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.120112"], ["updated_at", "2014-09-22 18:00:18.120112"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:00:18.122697"], ["updated_at", "2014-09-22 18:00:18.122697"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.128701"], ["updated_at", "2014-09-22 18:00:18.128701"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.130167"], ["updated_at", "2014-09-22 18:00:18.130167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f3d99f1b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam sit unde illum iusto. Dolorem eaque eos nisi consequatur laudantium. Qui et eos eius qui corrupti voluptatem. Voluptas ullam sapiente commodi similique sed. Consequatur quia reiciendis velit cumque rerum.\", \"Et aut sed quae soluta inventore suscipit. Qui eius itaque voluptatem voluptatem suscipit ea nam. Similique autem quaerat.\"]"], ["created_at", "2014-09-22 18:00:18.133439"], ["name", "contract_f3d99f1b"], ["title", "Maxime omnis quae quis."], ["updated_at", "2014-09-22 18:00:18.133439"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3d99f1b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_f3d99f1b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:00:18.136641"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.139734"], ["updated_at", "2014-09-22 18:00:18.139734"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:00:18.142942"], ["updated_at", "2014-09-22 18:00:18.142942"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"6"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.148486"], ["updated_at", "2014-09-22 18:00:18.148486"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.150366"], ["updated_at", "2014-09-22 18:00:18.150366"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7462f184') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut perspiciatis nihil sint eius maiores est. Cupiditate tempore expedita ut quod deserunt sint quia. Voluptatem aut velit distinctio suscipit voluptates sit. Atque occaecati ut labore.\", \"Facilis ea dolor ut. Qui tempora molestiae vel laudantium similique. Laborum rerum voluptas consequuntur ducimus corporis dolorum aut. Necessitatibus sint nulla.\"]"], ["created_at", "2014-09-22 18:00:18.153593"], ["name", "contract_7462f184"], ["title", "Sed molestias at rerum sequi."], ["updated_at", "2014-09-22 18:00:18.153593"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7462f184"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_7462f184') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:00:18.157457"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.160001"], ["updated_at", "2014-09-22 18:00:18.160001"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:00:18.162152"], ["updated_at", "2014-09-22 18:00:18.162152"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.168874"], ["updated_at", "2014-09-22 18:00:18.168874"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.170650"], ["updated_at", "2014-09-22 18:00:18.170650"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_0948c391') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Similique ea qui dolorum voluptas ut consequatur. Voluptatem officiis quia. Earum voluptatibus et qui. Ipsam ut odit est sunt ipsum et voluptas.\", \"Sit sed id rerum est. Aut voluptatem quidem magnam dignissimos deserunt vel. Quia dolorem sed rerum voluptate sit. Natus dolore autem. Consectetur aperiam excepturi dolorem dignissimos quae.\"]"], ["created_at", "2014-09-22 18:00:18.173605"], ["name", "contract_0948c391"], ["title", "Excepturi illo quis."], ["updated_at", "2014-09-22 18:00:18.173605"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0948c391"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_0948c391') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:00:18.176995"], ["version", 1]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.181085"], ["updated_at", "2014-09-22 18:00:18.181085"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:00:18.183993"], ["updated_at", "2014-09-22 18:00:18.183993"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.189732"], ["updated_at", "2014-09-22 18:00:18.189732"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.191265"], ["updated_at", "2014-09-22 18:00:18.191265"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_a11e7b8f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi quod reprehenderit deserunt nam omnis. Praesentium velit autem qui corrupti hic fugiat ipsam. Eos atque ipsa mollitia reprehenderit saepe est.\", \"Tempora voluptatem quasi velit. Est ipsam officiis recusandae quia. Dolores et consequatur. Itaque aut esse officiis.\"]"], ["created_at", "2014-09-22 18:00:18.194094"], ["name", "contract_a11e7b8f"], ["title", "Et perspiciatis quia."], ["updated_at", "2014-09-22 18:00:18.194094"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a11e7b8f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_a11e7b8f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:00:18.197250"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.199634"], ["updated_at", "2014-09-22 18:00:18.199634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:00:18.201723"], ["updated_at", "2014-09-22 18:00:18.201723"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.205612"], ["updated_at", "2014-09-22 18:00:18.205612"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.207048"], ["updated_at", "2014-09-22 18:00:18.207048"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_9e5b3bdf') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ut vel. Eius fugiat neque recusandae aliquam repudiandae qui maiores. Sed maxime sunt qui eveniet corporis.\", \"Quas esse doloribus. Iste aperiam architecto consequuntur. Quidem voluptatem nihil qui.\"]"], ["created_at", "2014-09-22 18:00:18.210260"], ["name", "contract_9e5b3bdf"], ["title", "Rerum nihil repellendus vel aliquid."], ["updated_at", "2014-09-22 18:00:18.210260"]]  (9.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9e5b3bdf"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_9e5b3bdf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:00:18.223669"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.227813"], ["updated_at", "2014-09-22 18:00:18.227813"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:00:18.231230"], ["updated_at", "2014-09-22 18:00:18.231230"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" IS NULL AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction Completed 500 Internal Server Error in 5ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.241357"], ["updated_at", "2014-09-22 18:00:18.241357"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.242950"], ["updated_at", "2014-09-22 18:00:18.242950"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.246982"], ["updated_at", "2014-09-22 18:00:18.246982"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.248442"], ["updated_at", "2014-09-22 18:00:18.248442"]]  (0.9ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_07c186d7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio iure aliquam. Iusto voluptates odio aut tempora. Et omnis numquam dolor eos. Debitis eligendi excepturi non quia sit. Libero id quas aliquid tenetur asperiores esse.\", \"Pariatur esse non nihil consequatur voluptas quo. Quis qui culpa qui quod dignissimos et. Atque iste dicta quam. Maiores quos similique esse. Consequatur saepe libero doloribus animi cumque sunt fuga.\"]"], ["created_at", "2014-09-22 18:00:18.254143"], ["name", "contract_07c186d7"], ["title", "Sapiente quis ex dolore consequatur voluptas vel esse."], ["updated_at", "2014-09-22 18:00:18.254143"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07c186d7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_07c186d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:00:18.258743"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_07c186d7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_07c186d7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio iure aliquam. Iusto voluptates odio aut tempora. Et omnis numquam dolor eos. Debitis eligendi excepturi non quia sit. Libero id quas aliquid tenetur asperiores esse.\", \"Pariatur esse non nihil consequatur voluptas quo. Quis qui culpa qui quod dignissimos et. Atque iste dicta quam. Maiores quos similique esse. Consequatur saepe libero doloribus animi cumque sunt fuga.\"]"], ["created_at", "2014-09-22 18:00:18.262392"], ["name", "contract_07c186d7"], ["title", "Sapiente quis ex dolore consequatur voluptas vel esse."], ["updated_at", "2014-09-22 18:00:18.262392"]]  (2.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07c186d7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_07c186d7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:00:18.267932"], ["version", 2]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_d19e0658') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga quaerat quo corrupti ex tempora est. Eaque modi dolores deleniti est perferendis. Commodi esse a nesciunt veritatis facilis.\", \"Eos tenetur velit error minima ad impedit. Maiores nihil quam quo veniam. Rem quis qui magnam in ad.\"]"], ["created_at", "2014-09-22 18:00:18.271825"], ["name", "contract_d19e0658"], ["title", "Iste quas modi laudantium quisquam."], ["updated_at", "2014-09-22 18:00:18.271825"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d19e0658"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d19e0658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:00:18.275112"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.278828"], ["updated_at", "2014-09-22 18:00:18.278828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:00:18.280964"], ["updated_at", "2014-09-22 18:00:18.280964"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d19e0658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d19e0658"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d19e0658') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_fa8f819a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos aut qui iusto quos doloremque omnis officia. Repudiandae atque voluptatem. Ea ipsum quis iure neque sit ut voluptas.\", \"Dignissimos quae labore. Rerum quia quam minus aut eos. Blanditiis mollitia voluptatum.\"]"], ["created_at", "2014-09-22 18:00:18.290416"], ["name", "contract_fa8f819a"], ["title", "Quod deserunt ut quidem ut."], ["updated_at", "2014-09-22 18:00:18.290416"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fa8f819a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_fa8f819a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:00:18.294301"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_fa8f819a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos aut qui iusto quos doloremque omnis officia. Repudiandae atque voluptatem. Ea ipsum quis iure neque sit ut voluptas.\", \"Dignissimos quae labore. Rerum quia quam minus aut eos. Blanditiis mollitia voluptatum.\"]"], ["created_at", "2014-09-22 18:00:18.298417"], ["name", "joe"], ["title", "Quod deserunt ut quidem ut."], ["updated_at", "2014-09-22 18:00:18.298417"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:00:18.301537"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_787303d4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dolores eum ut. Vitae officiis nihil. Quod consequatur magnam natus id sit qui pariatur.\", \"Dolore in ex dolorem sunt. Vel placeat est perferendis ad quos laborum. Inventore officiis et rerum dicta iure sed. Eum blanditiis consequatur illo officiis. Repudiandae fugiat quidem est earum in officiis.\"]"], ["created_at", "2014-09-22 18:00:18.305809"], ["name", "contract_787303d4"], ["title", "Ut eum quo doloremque aut."], ["updated_at", "2014-09-22 18:00:18.305809"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_787303d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_787303d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:00:18.310276"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_787303d4"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_787303d4"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_787303d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:00:18.317278"], ["version", nil]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.321382"], ["updated_at", "2014-09-22 18:00:18.321382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.323039"], ["updated_at", "2014-09-22 18:00:18.323039"]]  (1.0ms) commit transaction  (0.1ms) begin transaction 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_e3681624') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis et repellat aut voluptatem. Sit qui incidunt. Ut et voluptatibus voluptate. Non qui molestiae perferendis et accusamus.\", \"Accusantium voluptatum officiis omnis. Maiores dolorem dolores. Cumque et accusantium in perferendis nesciunt. Ut optio id deserunt. Voluptas mollitia totam commodi nemo.\"]"], ["created_at", "2014-09-22 18:00:18.326626"], ["name", "contract_e3681624"], ["title", "Quas nam expedita fugit reprehenderit eveniet ex."], ["updated_at", "2014-09-22 18:00:18.326626"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.333200"], ["updated_at", "2014-09-22 18:00:18.333200"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.334826"], ["updated_at", "2014-09-22 18:00:18.334826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_37861d6e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio quia est et aut. Quidem quae vel. Natus blanditiis soluta animi tenetur. In quis ad. Et quia non debitis ut.\", \"Temporibus hic odit vel. Iusto voluptatibus voluptas qui corporis quisquam illo. Culpa odit quia veritatis doloremque laboriosam placeat. Delectus vel temporibus ratione. Sit molestiae labore.\"]"], ["created_at", "2014-09-22 18:00:18.337651"], ["name", "contract_37861d6e"], ["title", "Alias aut inventore consequatur culpa."], ["updated_at", "2014-09-22 18:00:18.337651"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 18]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 18]]  (1.1ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 18 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.345922"], ["updated_at", "2014-09-22 18:00:18.345922"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.347424"], ["updated_at", "2014-09-22 18:00:18.347424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cf992fcb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut dolorem quidem consequatur et. Dolore excepturi magni et. Earum maiores asperiores perferendis placeat. In tempora rerum.\", \"Enim natus quia ut ducimus ratione voluptas. Dignissimos sunt pariatur quidem quibusdam et. Ratione dolorem voluptas et explicabo ea occaecati minus. Sit qui nam quia et. Sit corporis quis aspernatur aut sit.\"]"], ["created_at", "2014-09-22 18:00:18.350012"], ["name", "contract_cf992fcb"], ["title", "Soluta qui voluptatum eligendi fuga tenetur id."], ["updated_at", "2014-09-22 18:00:18.350012"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf992fcb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_cf992fcb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:00:18.353923"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cf992fcb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.360597"], ["updated_at", "2014-09-22 18:00:18.360597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.362099"], ["updated_at", "2014-09-22 18:00:18.362099"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b1baa711') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem aspernatur ea aut ea omnis. Labore inventore est qui in minus. Ea facilis consequatur vero nam modi.\", \"Consequatur quidem quibusdam excepturi perspiciatis dolorem nisi quis. Nisi soluta iste nesciunt eum voluptas necessitatibus. Provident quis iusto autem tempora molestiae. Vero fugiat nihil delectus. Maxime dignissimos dolorem sequi porro nihil quis.\"]"], ["created_at", "2014-09-22 18:00:18.364592"], ["name", "contract_b1baa711"], ["title", "Ut rem accusantium."], ["updated_at", "2014-09-22 18:00:18.364592"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:00:18.368159"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:00:18.368159"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/21 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.371902"], ["updated_at", "2014-09-22 18:00:18.371902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.373454"], ["updated_at", "2014-09-22 18:00:18.373454"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a306ea50') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam autem voluptates. Perferendis amet repellendus illum ab molestiae. At quo nam corporis non.\", \"Ad consequatur aperiam quia cum. Illo porro reiciendis accusantium excepturi et eligendi impedit. Voluptatem quasi voluptates aut quidem voluptatibus. Voluptates est omnis quasi.\"]"], ["created_at", "2014-09-22 18:00:18.377174"], ["name", "contract_a306ea50"], ["title", "Consectetur aut repudiandae omnis animi ea."], ["updated_at", "2014-09-22 18:00:18.377174"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.383637"], ["updated_at", "2014-09-22 18:00:18.383637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.385206"], ["updated_at", "2014-09-22 18:00:18.385206"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3a373325') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores dicta labore ex voluptates. Quibusdam corporis nam. Expedita vero voluptate error maiores tempora id. Eum assumenda corporis dolorum. Dolorum eum sit sint voluptas similique.\", \"Expedita eos ut. Libero corrupti vero. Aut maiores voluptates vitae ut.\"]"], ["created_at", "2014-09-22 18:00:18.387855"], ["name", "contract_3a373325"], ["title", "Nisi sint commodi."], ["updated_at", "2014-09-22 18:00:18.387855"]]  (5.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.400856"], ["updated_at", "2014-09-22 18:00:18.400856"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.402545"], ["updated_at", "2014-09-22 18:00:18.402545"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_99e0069f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In vel alias. Qui accusantium expedita. Quia labore porro quis autem ut. Et quasi at voluptatibus tempora sunt. Vel et autem adipisci dolorem debitis.\", \"Et modi provident et. Voluptates labore exercitationem quis eum voluptas aut. Consectetur nihil est distinctio neque ut qui aliquid. Ut delectus quia eum. Reprehenderit et et nihil blanditiis.\"]"], ["created_at", "2014-09-22 18:00:18.405505"], ["name", "contract_99e0069f"], ["title", "Expedita omnis rerum exercitationem corrupti."], ["updated_at", "2014-09-22 18:00:18.405505"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.410328"], ["updated_at", "2014-09-22 18:00:18.410328"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.412013"], ["updated_at", "2014-09-22 18:00:18.412013"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bc70f3d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aut sit excepturi. Quis molestiae quam laudantium quis doloremque et mollitia. Nihil provident sunt dicta omnis cum similique minima. Debitis sint consequatur dolores.\", \"Qui ipsum eius accusantium et praesentium. Sed et fugiat et tenetur. Ex distinctio saepe id corrupti vitae porro. Eligendi nulla dolore saepe iure consequatur error. Enim eum officiis et eligendi voluptatem modi odio.\"]"], ["created_at", "2014-09-22 18:00:18.414947"], ["name", "contract_bc70f3d0"], ["title", "Debitis omnis exercitationem inventore."], ["updated_at", "2014-09-22 18:00:18.414947"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.420160"], ["updated_at", "2014-09-22 18:00:18.420160"]]  (5.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.426494"], ["updated_at", "2014-09-22 18:00:18.426494"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_577e4d7e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est assumenda odit. Vel mollitia qui facere fugiat facilis. In ea non.\", \"Temporibus sit non quisquam. Et aliquid sapiente expedita. Enim qui error dolor nam tempora eligendi.\"]"], ["created_at", "2014-09-22 18:00:18.429053"], ["name", "contract_577e4d7e"], ["title", "Omnis laborum ipsam excepturi dolore."], ["updated_at", "2014-09-22 18:00:18.429053"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.432991"], ["updated_at", "2014-09-22 18:00:18.432991"]]  (8.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.442408"], ["updated_at", "2014-09-22 18:00:18.442408"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_524f531d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias qui distinctio. Laudantium sed harum est. Doloribus numquam eos quibusdam autem odio.\", \"Et dolorum ut. Qui necessitatibus fugit est iusto aut dolor libero. Est qui qui suscipit quis dolor.\"]"], ["created_at", "2014-09-22 18:00:18.445181"], ["name", "contract_524f531d"], ["title", "Dolores rerum debitis qui nihil."], ["updated_at", "2014-09-22 18:00:18.445181"]]  (9.4ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 11, 8, 5, 23, 1, 4, 27, 26, 7, 16, 24, 10, 9, 22, 3, 20, 25, 19, 13, 17, 2, 6, 14, 15, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.469207"], ["updated_at", "2014-09-22 18:00:18.469207"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.476146"], ["updated_at", "2014-09-22 18:00:18.476146"]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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_a3e1b680') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque id reiciendis ea modi. Hic quo eius. Perferendis ullam quae aperiam.\", \"Qui quia nulla consequatur in est commodi est. Sed voluptatum a unde consequatur. Quia vel corrupti et delectus necessitatibus. Totam quos nisi sed in. Quam magni et delectus dicta rerum iure nisi.\"]"], ["created_at", "2014-09-22 18:00:18.484235"], ["name", "contract_a3e1b680"], ["title", "Voluptatum tempora rerum assumenda."], ["updated_at", "2014-09-22 18:00:18.484235"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.489871"], ["updated_at", "2014-09-22 18:00:18.489871"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.491364"], ["updated_at", "2014-09-22 18:00:18.491364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eb88a927') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt voluptate rerum perferendis. Laboriosam est neque accusamus occaecati. Ut provident iusto non vitae occaecati. Pariatur commodi reprehenderit at quis eum deserunt doloremque. Ducimus sunt deleniti et minus nostrum occaecati omnis.\", \"Nemo ut numquam. Dolore et sed maxime delectus. Perspiciatis sequi et excepturi doloremque sed veritatis.\"]"], ["created_at", "2014-09-22 18:00:18.493962"], ["name", "contract_eb88a927"], ["title", "Iste dolor natus et."], ["updated_at", "2014-09-22 18:00:18.493962"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb88a927"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_eb88a927') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:00:18.497071"], ["version", 1]]  (5.9ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb88a927"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_eb88a927') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:00:18.508760"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.513549"], ["updated_at", "2014-09-22 18:00:18.513549"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.515206"], ["updated_at", "2014-09-22 18:00:18.515206"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_57d327cf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum qui eum repellat et nihil omnis officiis. Et ullam impedit maiores. Consequatur sequi est et a est. Est ullam repudiandae quia eligendi ipsa ut tempora.\", \"Labore qui molestiae. Ullam nihil dicta atque quis at. Nihil quam et optio quisquam sed rerum delectus. Nobis est voluptatum et perferendis. Consequuntur nam accusantium vitae odit aut cum excepturi.\"]"], ["created_at", "2014-09-22 18:00:18.517934"], ["name", "contract_57d327cf"], ["title", "Non hic veritatis dignissimos."], ["updated_at", "2014-09-22 18:00:18.517934"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 30 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:00:18.522571"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.527301"], ["updated_at", "2014-09-22 18:00:18.527301"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.528813"], ["updated_at", "2014-09-22 18:00:18.528813"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_158e72de') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae rerum sequi dolorum. Non labore quia voluptatem. Ab assumenda amet ipsam praesentium quasi. Rerum suscipit et.\", \"Fuga asperiores non. A libero rerum dolores vero illum consequuntur. Quod deleniti ut asperiores architecto a totam. Magnam sit et quia quaerat hic architecto consequuntur. Qui at commodi doloribus in.\"]"], ["created_at", "2014-09-22 18:00:18.531395"], ["name", "contract_158e72de"], ["title", "Culpa natus officiis fugit eos possimus harum."], ["updated_at", "2014-09-22 18:00:18.531395"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_158e72de"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_158e72de') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:00:18.534402"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.540112"], ["updated_at", "2014-09-22 18:00:18.540112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.541593"], ["updated_at", "2014-09-22 18:00:18.541593"]]  (3.4ms) commit transaction  (0.0ms) begin transaction 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_bb402a0a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est dolorem itaque. Accusamus ut architecto vel deleniti et voluptatem. Deserunt est et odit pariatur repellendus. Reprehenderit deserunt amet quia.\", \"Sit quia error maxime. Est quo aliquam minima soluta recusandae. Molestias et in eum suscipit minima recusandae earum. Explicabo est magnam quis cum rerum dicta maxime. In et enim deleniti.\"]"], ["created_at", "2014-09-22 18:00:18.547070"], ["name", "contract_bb402a0a"], ["title", "Modi magnam eum earum et veritatis sit sunt."], ["updated_at", "2014-09-22 18:00:18.547070"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.552228"], ["updated_at", "2014-09-22 18:00:18.552228"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.554008"], ["updated_at", "2014-09-22 18:00:18.554008"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0c3db51c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis aliquid enim inventore eaque facere deserunt. Rerum sit tenetur libero voluptates. Possimus debitis est.\", \"Sequi dolore repellat numquam. Animi ipsam id quae doloremque corporis suscipit vero. Tempore voluptas fugit consequatur dolorum veritatis et.\"]"], ["created_at", "2014-09-22 18:00:18.556869"], ["name", "contract_0c3db51c"], ["title", "Velit ad at molestiae consequuntur dolores expedita repellendus."], ["updated_at", "2014-09-22 18:00:18.556869"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0c3db51c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_0c3db51c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:00:18.561603"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.565849"], ["updated_at", "2014-09-22 18:00:18.565849"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.567344"], ["updated_at", "2014-09-22 18:00:18.567344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c8b3bde6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas repellendus eius quo et nostrum. Debitis enim consequatur deleniti et. Sint occaecati unde magnam.\", \"Quo aut atque voluptatibus. Numquam excepturi rerum. Deleniti praesentium ab in dolores veritatis neque. Itaque sapiente quidem est dolor reprehenderit fugit labore.\"]"], ["created_at", "2014-09-22 18:00:18.569869"], ["name", "contract_c8b3bde6"], ["title", "Rerum sapiente nam deserunt doloremque velit."], ["updated_at", "2014-09-22 18:00:18.569869"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c8b3bde6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_c8b3bde6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:00:18.572864"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.577807"], ["updated_at", "2014-09-22 18:00:18.577807"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.579516"], ["updated_at", "2014-09-22 18:00:18.579516"]]  (43.2ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_cc5ad997') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit sit suscipit vero iste. Consectetur facilis iure hic veniam neque. Ratione animi deleniti omnis magni et non quam.\", \"Ipsa sunt autem dolorum quisquam non quidem. Soluta fugiat excepturi. Et in esse qui earum aut iure reprehenderit.\"]"], ["created_at", "2014-09-22 18:00:18.626157"], ["name", "contract_cc5ad997"], ["title", "Laborum qui veniam dolor sit sit deserunt dolores."], ["updated_at", "2014-09-22 18:00:18.626157"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt est et. Molestias mollitia odit eveniet consequuntur. Non nihil fugiat quasi nihil et. Quis atque ipsa sint. Mollitia et qui.\", \"Tenetur laborum assumenda sed pariatur et enim. Itaque quae sunt eligendi qui distinctio et. Qui temporibus omnis provident inventore minus consectetur ut.\"]"], ["created_at", "2014-09-22 18:00:18.632324"], ["name", "alpha"], ["title", "Facere tempore et ab debitis."], ["updated_at", "2014-09-22 18:00:18.632324"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:00:18.635673"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id debitis dolores omnis quod enim mollitia voluptatum. Alias ut repellat voluptas. Sed hic tempore. Quam aut sed omnis ea rerum.\", \"Exercitationem commodi atque sit magni. Ut provident repellendus. Quaerat eos modi quis animi.\"]"], ["created_at", "2014-09-22 18:00:18.639358"], ["name", "beta"], ["title", "Est odit facere quidem occaecati totam sit."], ["updated_at", "2014-09-22 18:00:18.639358"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:00:18.642995"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.645361"], ["updated_at", "2014-09-22 18:00:18.645361"]]  (1.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:00:18.648895"], ["updated_at", "2014-09-22 18:00:18.648895"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:00:18.651402"], ["updated_at", "2014-09-22 18:00:18.651402"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:18.654350"], ["name", "alpha"], ["title", "Facere tempore et ab debitis."], ["updated_at", "2014-09-22 18:00:18.654350"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:00:18.658064"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro ut eius quam omnis error blanditiis nulla. Aspernatur consequuntur eum quaerat occaecati. Reprehenderit voluptatem quas iste repellendus. Corrupti officia dolorem nihil molestiae adipisci optio.\", \"Nihil id dolor ducimus. Magnam et nostrum voluptatibus aut sint ducimus aut. Recusandae eum ad reprehenderit quae exercitationem officiis voluptates. Ut voluptatem necessitatibus sit sunt laborum aut debitis. Est quae in magnam aut.\"]"], ["created_at", "2014-09-22 18:00:18.665943"], ["name", "alpha"], ["title", "Qui aut aspernatur vero deleniti saepe."], ["updated_at", "2014-09-22 18:00:18.665943"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:00:18.669896"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque vel et. Voluptatibus laborum facere atque voluptatem officiis sed voluptatem. Sunt qui autem magni. Ab non laudantium illo quaerat a natus corrupti. Ipsa a voluptas labore consequuntur molestias consequatur.\", \"Reprehenderit et et quos ut inventore placeat. Fugiat similique voluptas. Ratione libero id dignissimos provident et excepturi. Iure iste dolores aliquid et vero.\"]"], ["created_at", "2014-09-22 18:00:18.673545"], ["name", "beta"], ["title", "Odio non voluptatem nemo et saepe cum consequatur."], ["updated_at", "2014-09-22 18:00:18.673545"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:00:18.676638"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.679032"], ["updated_at", "2014-09-22 18:00:18.679032"]]  (1.2ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:00:18.682307"], ["updated_at", "2014-09-22 18:00:18.682307"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:00:18.684807"], ["updated_at", "2014-09-22 18:00:18.684807"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:18.687282"], ["name", "alpha"], ["title", "Qui aut aspernatur vero deleniti saepe."], ["updated_at", "2014-09-22 18:00:18.687282"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:00:18.690277"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea debitis in rem et perspiciatis ut. Eius et aut saepe est error voluptas pariatur. Doloremque sed similique quam beatae rerum.\", \"Voluptatibus ea omnis cumque odio est. Et ducimus optio consequatur quasi. Culpa voluptatem veritatis assumenda temporibus laudantium omnis. Doloribus omnis molestiae ipsa. Quia ratione eos neque in id.\"]"], ["created_at", "2014-09-22 18:00:18.695648"], ["name", "alpha"], ["title", "Iure veniam eos maxime aut delectus aspernatur amet."], ["updated_at", "2014-09-22 18:00:18.695648"]]  (41.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:00:18.740485"], ["version", 5]]  (1.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore cum unde quod nulla. Laudantium earum asperiores assumenda sint aliquam quas consequatur. Quam eveniet dolor doloremque nemo aut. Ea voluptate repudiandae sed porro provident recusandae. Autem et ea voluptatem facere aperiam esse.\", \"Nobis aut molestiae doloremque. Voluptatem dolores fugit. Ad esse tempora cum sed. Qui dolores et.\"]"], ["created_at", "2014-09-22 18:00:18.746492"], ["name", "beta"], ["title", "Qui sed vel assumenda temporibus."], ["updated_at", "2014-09-22 18:00:18.746492"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:00:18.758105"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.761048"], ["updated_at", "2014-09-22 18:00:18.761048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:00:18.764431"], ["updated_at", "2014-09-22 18:00:18.764431"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:00:18.767107"], ["updated_at", "2014-09-22 18:00:18.767107"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:18.770171"], ["name", "alpha"], ["title", "Iure veniam eos maxime aut delectus aspernatur amet."], ["updated_at", "2014-09-22 18:00:18.770171"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:00:18.774204"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:00:18.794215"], ["updated_at", "2014-09-22 18:00:18.794215"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id explicabo fugiat error. Nisi provident illo porro. Eveniet ut autem blanditiis enim illo.\", \"Sed architecto nihil sunt quasi asperiores aliquid. Nostrum asperiores qui eius cum. Cupiditate et qui distinctio non id ipsum.\"]"], ["created_at", "2014-09-22 18:00:18.812671"], ["name", "alpha"], ["title", "Ab est esse aut placeat."], ["updated_at", "2014-09-22 18:00:18.812671"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:00:18.817630"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sint fuga rerum sapiente aliquid. Soluta laborum quis omnis nemo ullam. Sed omnis optio dolorem ut aut doloribus perspiciatis. Incidunt sed est velit.\", \"Nobis occaecati itaque voluptatibus consequatur. Labore asperiores commodi sapiente veniam quia. Id est quia quis. Veritatis provident nemo nihil earum voluptatum porro odit. Autem amet cumque et sed eveniet neque minus.\"]"], ["created_at", "2014-09-22 18:00:18.822423"], ["name", "beta"], ["title", "Non in veritatis molestiae fuga voluptatem."], ["updated_at", "2014-09-22 18:00:18.822423"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:00:18.826050"], ["version", 4]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:18.830648"], ["updated_at", "2014-09-22 18:00:18.830648"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:00:18.834674"], ["updated_at", "2014-09-22 18:00:18.834674"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.6ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:00:18.838570"], ["updated_at", "2014-09-22 18:00:18.838570"], ["user_id", 70], ["user_type", "DummyUser"]]  (3.3ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:18.843683"], ["name", "alpha"], ["title", "Ab est esse aut placeat."], ["updated_at", "2014-09-22 18:00:18.843683"]]  (11.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:00:18.860204"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (9.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (5.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.934538"], ["updated_at", "2014-09-22 18:00:37.934538"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.949203"], ["updated_at", "2014-09-22 18:00:37.949203"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.955199"], ["updated_at", "2014-09-22 18:00:37.955199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.956768"], ["updated_at", "2014-09-22 18:00:37.956768"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.961297"], ["updated_at", "2014-09-22 18:00:37.961297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:37.962861"], ["updated_at", "2014-09-22 18:00:37.962861"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_1f13ee4b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam ut placeat natus. Et maiores voluptatem beatae. Magni doloribus nihil debitis nisi voluptas consectetur dignissimos. Dolorem voluptates et aliquid officia rerum consequuntur et. Sit qui consequuntur molestias.\", \"In doloremque et est non repellat suscipit perspiciatis. Repellat deserunt voluptas esse et. Dignissimos qui sunt aliquam quaerat. Aliquam qui aperiam ut aut. Voluptas quaerat fugit voluptatum voluptatibus aut aut.\"]"], ["created_at", "2014-09-22 18:00:38.186826"], ["name", "contract_1f13ee4b"], ["title", "Dolorem nihil vel aliquam perspiciatis."], ["updated_at", "2014-09-22 18:00:38.186826"]]  (1.4ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f13ee4b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1f13ee4b') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:00:38.201431"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 14ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.208330"], ["updated_at", "2014-09-22 18:00:38.208330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.209909"], ["updated_at", "2014-09-22 18:00:38.209909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_69716fcc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus totam fuga ut autem et dolorem. Est quidem iusto dignissimos nobis harum. Omnis quia ab error explicabo molestias non quo. Labore voluptas qui sint distinctio. Sint quidem quas fugit praesentium.\", \"Perferendis corrupti error porro vero amet distinctio dicta. Voluptatibus soluta laboriosam rerum accusantium odit. Distinctio facilis et. Dicta mollitia voluptatum repudiandae adipisci.\"]"], ["created_at", "2014-09-22 18:00:38.212699"], ["name", "contract_69716fcc"], ["title", "Veniam sed tempore occaecati."], ["updated_at", "2014-09-22 18:00:38.212699"]]  (10.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 2]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 2]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 2 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.233586"], ["updated_at", "2014-09-22 18:00:38.233586"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.235195"], ["updated_at", "2014-09-22 18:00:38.235195"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0ceee3e4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores aliquid eos est accusantium voluptatem quae qui. Atque ut dolor qui reprehenderit non nulla. Omnis magni neque.\", \"Adipisci dolores numquam sapiente occaecati. Aut corporis eum sed corrupti rerum. Provident laborum eum est nam quia cupiditate. Occaecati tempora dolorem aut. Voluptatum error quam doloremque enim in assumenda.\"]"], ["created_at", "2014-09-22 18:00:38.237977"], ["name", "contract_0ceee3e4"], ["title", "Eaque nostrum ratione atque praesentium ut."], ["updated_at", "2014-09-22 18:00:38.237977"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 1ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.245691"], ["updated_at", "2014-09-22 18:00:38.245691"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.247412"], ["updated_at", "2014-09-22 18:00:38.247412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e229a63b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut at voluptas distinctio nihil et exercitationem. Illo excepturi rerum ea incidunt. Porro blanditiis vitae nemo autem maiores repudiandae. Distinctio atque reiciendis ducimus quia accusantium eos.\", \"Itaque fuga explicabo harum. Nisi vel qui omnis a voluptate. Et tempore vero perferendis. Et voluptatibus vel iure alias delectus neque.\"]"], ["created_at", "2014-09-22 18:00:38.250113"], ["name", "contract_e229a63b"], ["title", "Autem quo rerum accusantium molestias."], ["updated_at", "2014-09-22 18:00:38.250113"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.255650"], ["updated_at", "2014-09-22 18:00:38.255650"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.257266"], ["updated_at", "2014-09-22 18:00:38.257266"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2c025088') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas unde aut molestiae. Necessitatibus et asperiores. Ratione quasi suscipit laboriosam dolor possimus.\", \"Aut placeat rerum veniam corporis aliquid eos eius. Necessitatibus molestiae accusamus at. Dignissimos molestiae placeat sequi facilis.\"]"], ["created_at", "2014-09-22 18:00:38.259834"], ["name", "contract_2c025088"], ["title", "Optio porro consequatur ipsam."], ["updated_at", "2014-09-22 18:00:38.259834"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.265262"], ["updated_at", "2014-09-22 18:00:38.265262"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.266732"], ["updated_at", "2014-09-22 18:00:38.266732"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_18ae74af') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt eos mollitia sunt ea est quia. Id eum ipsa quia velit. Ullam libero excepturi fuga similique ut. Quam recusandae illo mollitia aut nemo.\", \"Assumenda dolore animi ut accusantium et nisi. Praesentium ut quaerat quia tempora. Qui voluptatibus facilis aspernatur et vero voluptate.\"]"], ["created_at", "2014-09-22 18:00:38.269384"], ["name", "contract_18ae74af"], ["title", "Vel eaque ipsum."], ["updated_at", "2014-09-22 18:00:38.269384"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.278476"], ["updated_at", "2014-09-22 18:00:38.278476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.280202"], ["updated_at", "2014-09-22 18:00:38.280202"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5a162e04') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse ut ab deserunt sequi. Qui consectetur eius. Odit cupiditate delectus modi error. Qui nihil voluptatem.\", \"Asperiores quas impedit eveniet fugit at quia. Atque vitae sed ipsa maxime. Amet perspiciatis nesciunt iure et est dolore.\"]"], ["created_at", "2014-09-22 18:00:38.282973"], ["name", "contract_5a162e04"], ["title", "Sequi adipisci similique aliquam enim ab."], ["updated_at", "2014-09-22 18:00:38.282973"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 6, 1, 5, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.293856"], ["updated_at", "2014-09-22 18:00:38.293856"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.295568"], ["updated_at", "2014-09-22 18:00:38.295568"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d335e7af') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est autem soluta. Ex fuga ducimus. Quod itaque quae voluptatem. Possimus nulla et iusto repellat eum sunt. Omnis corrupti dolor.\", \"Ut natus deleniti. Consequatur facilis fugiat explicabo temporibus deleniti odio blanditiis. Esse ut ipsa modi aut molestiae. Natus voluptatem ducimus quo. Qui nihil placeat veniam quas.\"]"], ["created_at", "2014-09-22 18:00:38.298561"], ["name", "contract_d335e7af"], ["title", "Aut sunt optio provident facere magnam sit."], ["updated_at", "2014-09-22 18:00:38.298561"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d335e7af"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_d335e7af') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:00:38.301929"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.307306"], ["updated_at", "2014-09-22 18:00:38.307306"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.308738"], ["updated_at", "2014-09-22 18:00:38.308738"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0d58e6c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum maxime quia minima et. Architecto aut maxime natus qui necessitatibus et voluptas. Non et quaerat cupiditate est amet velit.\", \"Impedit voluptates dicta enim. Aut et et. Dicta et debitis facilis et dolorem iusto sed. Consequatur est est dicta sed consequuntur ullam et.\"]"], ["created_at", "2014-09-22 18:00:38.311182"], ["name", "contract_0d58e6c6"], ["title", "Omnis totam voluptas quae modi."], ["updated_at", "2014-09-22 18:00:38.311182"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.316783"], ["updated_at", "2014-09-22 18:00:38.316783"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.318362"], ["updated_at", "2014-09-22 18:00:38.318362"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_ecc03f0c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab enim beatae sint eum laboriosam aut. Perspiciatis facere consequuntur amet magni. Incidunt nobis pariatur id.\", \"In voluptas ducimus explicabo neque quae error sint. Sit ab numquam dolorem sit quos inventore soluta. Autem quod eum dolor quia. Earum ut consequuntur iste incidunt ullam. Ratione omnis et assumenda voluptates.\"]"], ["created_at", "2014-09-22 18:00:38.322169"], ["name", "contract_ecc03f0c"], ["title", "Iste ducimus quia numquam perspiciatis possimus."], ["updated_at", "2014-09-22 18:00:38.322169"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.327793"], ["updated_at", "2014-09-22 18:00:38.327793"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.329589"], ["updated_at", "2014-09-22 18:00:38.329589"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_dac66360') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio illum ducimus officia consequatur magnam qui modi. Cupiditate distinctio perferendis tempore quo voluptatem voluptatem fugit. Laudantium consectetur aut temporibus rerum. Labore et laborum aut officia sequi minima omnis.\", \"Esse qui neque quam rerum praesentium. Aut necessitatibus voluptas autem molestiae autem nesciunt officiis. Assumenda soluta asperiores blanditiis aut ex optio.\"]"], ["created_at", "2014-09-22 18:00:38.332719"], ["name", "contract_dac66360"], ["title", "Tempore cum fugit."], ["updated_at", "2014-09-22 18:00:38.332719"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.337271"], ["updated_at", "2014-09-22 18:00:38.337271"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.338758"], ["updated_at", "2014-09-22 18:00:38.338758"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2b9c96be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae rerum distinctio atque voluptatibus et molestiae. Doloribus perferendis aut. Molestiae temporibus quia voluptatem consequatur. Inventore et hic rerum.\", \"Debitis incidunt temporibus rerum autem et dolorum. Doloremque iusto nulla neque quod deserunt eos necessitatibus. Modi dignissimos qui magnam aut. Quis in impedit dolorum.\"]"], ["created_at", "2014-09-22 18:00:38.341397"], ["name", "contract_2b9c96be"], ["title", "Ullam qui cum eum quia."], ["updated_at", "2014-09-22 18:00:38.341397"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 12 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:00:38.344993"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.349994"], ["updated_at", "2014-09-22 18:00:38.349994"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.351387"], ["updated_at", "2014-09-22 18:00:38.351387"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6c046a54') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum ut ad doloribus dolores eum voluptatem aliquam. Modi at consectetur asperiores dolores velit sint et. Ut nihil rerum quae voluptas.\", \"Placeat non ut accusamus quis. Quas blanditiis minima placeat omnis ad excepturi. Consequatur soluta vero aut. Voluptatibus cum minus.\"]"], ["created_at", "2014-09-22 18:00:38.353850"], ["name", "contract_6c046a54"], ["title", "Alias nesciunt laborum cumque doloremque voluptates nihil."], ["updated_at", "2014-09-22 18:00:38.353850"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c046a54"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_6c046a54') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:00:38.357026"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c046a54"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_6c046a54') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:00:38.362255"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.366830"], ["updated_at", "2014-09-22 18:00:38.366830"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.368415"], ["updated_at", "2014-09-22 18:00:38.368415"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_db1f230f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad ut facere minus dolorem quia sed quo. Eum placeat quos. Quidem exercitationem non hic perspiciatis qui neque eos. Maxime eaque eveniet iusto temporibus deserunt.\", \"Est fuga repellendus neque id a maiores at. Harum ut a aliquid. Repudiandae quisquam ea nihil earum commodi.\"]"], ["created_at", "2014-09-22 18:00:38.371056"], ["name", "contract_db1f230f"], ["title", "Dolorem sint in voluptas fugiat eaque est."], ["updated_at", "2014-09-22 18:00:38.371056"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.375329"], ["updated_at", "2014-09-22 18:00:38.375329"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.376761"], ["updated_at", "2014-09-22 18:00:38.376761"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_296762cb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur repellat possimus eum odio maiores. Magnam sequi facilis consequatur a. Harum quis omnis.\", \"Dolorem quis itaque accusantium aliquam sunt reiciendis inventore. Nam excepturi sit doloribus quae aut est non. Alias optio voluptates voluptatem illum aliquid commodi. Quibusdam quam rerum id alias minima. Fugit doloribus et.\"]"], ["created_at", "2014-09-22 18:00:38.379663"], ["name", "contract_296762cb"], ["title", "Iste voluptatem est dignissimos ea amet accusamus sint."], ["updated_at", "2014-09-22 18:00:38.379663"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_296762cb"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_296762cb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:00:38.382813"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_296762cb' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.389801"], ["updated_at", "2014-09-22 18:00:38.389801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.391236"], ["updated_at", "2014-09-22 18:00:38.391236"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_54387698') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur enim aut qui aspernatur. Minima amet cumque repellat et. Enim perspiciatis et maiores et dolorem illum expedita. Quasi repellendus quae libero soluta minus occaecati.\", \"Magnam quasi quia maiores et perspiciatis est. Quos dolorum aut animi aut. Et sit voluptatem. Qui voluptatem ea quis recusandae atque. Sapiente impedit magni veritatis ipsam repellat fugiat.\"]"], ["created_at", "2014-09-22 18:00:38.393949"], ["name", "contract_54387698"], ["title", "Tempora ab velit."], ["updated_at", "2014-09-22 18:00:38.393949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_54387698"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_54387698') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:00:38.397310"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.403765"], ["updated_at", "2014-09-22 18:00:38.403765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.405280"], ["updated_at", "2014-09-22 18:00:38.405280"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_164a2fb5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae ab sequi omnis aut. Excepturi rerum voluptates odit impedit. Omnis voluptates error id.\", \"Tempora sit magnam explicabo illum laboriosam. Officiis saepe omnis ullam eos. Non et sunt.\"]"], ["created_at", "2014-09-22 18:00:38.407813"], ["name", "contract_164a2fb5"], ["title", "Nisi asperiores consequatur accusantium dolore iste magnam in."], ["updated_at", "2014-09-22 18:00:38.407813"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:00:38.411987"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:00:38.411987"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.415445"], ["updated_at", "2014-09-22 18:00:38.415445"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.417057"], ["updated_at", "2014-09-22 18:00:38.417057"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d5584042') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem sit delectus est expedita reiciendis. Autem iure quia quidem omnis rerum est repellat. Ex quia libero sit quia voluptates necessitatibus ut. Numquam ducimus blanditiis enim quam nihil qui ex. Est ullam sed.\", \"Sunt quibusdam qui iusto ratione labore consequuntur. Facere est consequuntur eos et corrupti qui quae. Accusamus sed aut.\"]"], ["created_at", "2014-09-22 18:00:38.420129"], ["name", "contract_d5584042"], ["title", "Et exercitationem consequatur nisi est error eum quis."], ["updated_at", "2014-09-22 18:00:38.420129"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.424593"], ["updated_at", "2014-09-22 18:00:38.424593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.426057"], ["updated_at", "2014-09-22 18:00:38.426057"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_9954422b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est tempora exercitationem. Odio quibusdam magni praesentium. Aut quis molestiae. Quam eum sint reprehenderit vel quasi rerum. Et debitis eos animi quia facere itaque praesentium.\", \"Molestiae atque dolore excepturi quidem harum dolores qui. Veritatis quis quia et facere enim sit. Corrupti expedita perspiciatis quis. Quis et fugiat dolore.\"]"], ["created_at", "2014-09-22 18:00:38.429254"], ["name", "contract_9954422b"], ["title", "Sunt architecto perferendis reprehenderit similique est aut."], ["updated_at", "2014-09-22 18:00:38.429254"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9954422b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_9954422b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:00:38.432318"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.436407"], ["updated_at", "2014-09-22 18:00:38.436407"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:00:38.439263"], ["updated_at", "2014-09-22 18:00:38.439263"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.448944"], ["updated_at", "2014-09-22 18:00:38.448944"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.450586"], ["updated_at", "2014-09-22 18:00:38.450586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_259ca97e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor quisquam et et aliquid rerum porro. Non dolores ut laboriosam asperiores repudiandae. Qui vel magnam. Asperiores quia perferendis vitae.\", \"Qui ut ex. Est assumenda qui provident sed. Totam reprehenderit quasi soluta consequatur temporibus quia.\"]"], ["created_at", "2014-09-22 18:00:38.453556"], ["name", "contract_259ca97e"], ["title", "Temporibus aut beatae hic qui ratione unde quos."], ["updated_at", "2014-09-22 18:00:38.453556"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_259ca97e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_259ca97e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:00:38.456585"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.458918"], ["updated_at", "2014-09-22 18:00:38.458918"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:00:38.460968"], ["updated_at", "2014-09-22 18:00:38.460968"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.467116"], ["updated_at", "2014-09-22 18:00:38.467116"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.468722"], ["updated_at", "2014-09-22 18:00:38.468722"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a1290010') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut voluptas aliquam. Quis quia sit libero eveniet provident. Iure vel sint in error. Et voluptas sed.\", \"Dolorum pariatur neque. Sit sed eos cumque autem voluptas. Hic modi aspernatur vero aliquid.\"]"], ["created_at", "2014-09-22 18:00:38.473014"], ["name", "contract_a1290010"], ["title", "Nostrum quas repellendus perferendis fugit et eius accusamus."], ["updated_at", "2014-09-22 18:00:38.473014"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1290010"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_a1290010') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:00:38.476878"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.479294"], ["updated_at", "2014-09-22 18:00:38.479294"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 18:00:38.481642"], ["updated_at", "2014-09-22 18:00:38.481642"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"22"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.485826"], ["updated_at", "2014-09-22 18:00:38.485826"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.487542"], ["updated_at", "2014-09-22 18:00:38.487542"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d7a98914') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem corporis sit et autem. Explicabo placeat a in. Eligendi quis quo impedit qui dolor. Adipisci dolores voluptas et quaerat quia. Illo dicta cum esse.\", \"Nam non in laboriosam ex doloremque debitis voluptatum. Earum eum quibusdam sunt aperiam laudantium. Et numquam deserunt non sint aut.\"]"], ["created_at", "2014-09-22 18:00:38.490736"], ["name", "contract_d7a98914"], ["title", "Molestias odio tenetur."], ["updated_at", "2014-09-22 18:00:38.490736"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d7a98914"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_d7a98914') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:00:38.493811"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.496325"], ["updated_at", "2014-09-22 18:00:38.496325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:00:38.498379"], ["updated_at", "2014-09-22 18:00:38.498379"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"23"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.503244"], ["updated_at", "2014-09-22 18:00:38.503244"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.504808"], ["updated_at", "2014-09-22 18:00:38.504808"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ce784efb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias exercitationem nulla qui temporibus distinctio nobis provident. Rerum omnis doloremque et consequatur sed. Quo animi officiis reiciendis recusandae provident nobis.\", \"Et quaerat dolore tempore aspernatur ipsa sed deleniti. Occaecati aut ea mollitia quia iure doloribus. Sunt commodi dolorem. Doloremque autem dolorum cum eius aut non odit.\"]"], ["created_at", "2014-09-22 18:00:38.507742"], ["name", "contract_ce784efb"], ["title", "Itaque est repellendus dignissimos et."], ["updated_at", "2014-09-22 18:00:38.507742"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce784efb"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_ce784efb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:00:38.510727"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.513699"], ["updated_at", "2014-09-22 18:00:38.513699"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:00:38.516063"], ["updated_at", "2014-09-22 18:00:38.516063"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.521608"], ["updated_at", "2014-09-22 18:00:38.521608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.523086"], ["updated_at", "2014-09-22 18:00:38.523086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e94c87c0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates quia quis excepturi ab rerum adipisci optio. Molestiae illum sit laboriosam aliquid. Est iusto tenetur facere dignissimos sequi.\", \"Facere voluptatum id. Laudantium voluptas repudiandae esse nulla. Dicta non qui porro. Dolore nemo error non.\"]"], ["created_at", "2014-09-22 18:00:38.525946"], ["name", "contract_e94c87c0"], ["title", "Esse adipisci non animi dicta soluta rerum autem."], ["updated_at", "2014-09-22 18:00:38.525946"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e94c87c0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_e94c87c0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:00:38.528914"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.531386"], ["updated_at", "2014-09-22 18:00:38.531386"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 18:00:38.533782"], ["updated_at", "2014-09-22 18:00:38.533782"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Redirected to http://test.host/fine_print/contracts/25/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.541786"], ["updated_at", "2014-09-22 18:00:38.541786"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.543320"], ["updated_at", "2014-09-22 18:00:38.543320"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_552c65d3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel sunt in. Et qui inventore tenetur distinctio ab fugit voluptatem. Cum nemo pariatur sequi qui nisi nulla ab. Ipsum temporibus consequatur.\", \"Quia sunt tempore corporis rerum. Minus facilis accusamus rerum quaerat voluptas. A qui illum quae.\"]"], ["created_at", "2014-09-22 18:00:38.546971"], ["name", "contract_552c65d3"], ["title", "Vel sed beatae minus iusto nihil omnis voluptatem."], ["updated_at", "2014-09-22 18:00:38.546971"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_552c65d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_552c65d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:00:38.550256"], ["version", 1]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.553393"], ["updated_at", "2014-09-22 18:00:38.553393"]]  (1.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 61) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:00:38.556055"], ["updated_at", "2014-09-22 18:00:38.556055"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.561347"], ["updated_at", "2014-09-22 18:00:38.561347"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.562878"], ["updated_at", "2014-09-22 18:00:38.562878"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_34a58dfc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem odio enim modi ad cum et. Neque itaque illum in. Suscipit possimus qui dolores est voluptate illo eaque. Non mollitia asperiores.\", \"Iste quasi vero. Eligendi commodi et omnis. Aut deserunt aut qui placeat sed minus explicabo. In similique asperiores sed et maiores ab velit.\"]"], ["created_at", "2014-09-22 18:00:38.565800"], ["name", "contract_34a58dfc"], ["title", "Pariatur omnis nemo aperiam magni quia."], ["updated_at", "2014-09-22 18:00:38.565800"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34a58dfc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_34a58dfc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:00:38.569034"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.571601"], ["updated_at", "2014-09-22 18:00:38.571601"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:00:38.573768"], ["updated_at", "2014-09-22 18:00:38.573768"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" IS NULL AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 9ms  (0.0ms) begin transaction 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_3b0f4930') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse quod ipsa velit possimus quaerat et voluptas. Voluptates esse magni suscipit et. Omnis rerum omnis placeat vero quo nam. Sunt architecto cumque quo ut nostrum autem. Odit nihil exercitationem qui.\", \"Est temporibus est doloremque in modi consequatur. Modi esse impedit. At nostrum sed mollitia vitae aut eius eaque.\"]"], ["created_at", "2014-09-22 18:00:38.587301"], ["name", "contract_3b0f4930"], ["title", "Aperiam qui amet repellendus culpa a rerum rerum."], ["updated_at", "2014-09-22 18:00:38.587301"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.1ms) begin transaction 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_b5577725') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos omnis aut impedit non excepturi. Et corrupti doloribus quibusdam blanditiis. Nobis omnis numquam.\", \"Non provident velit ad quis non. Reprehenderit ipsam dolores culpa ratione soluta eos iusto. Sequi quo velit repellendus deserunt reiciendis recusandae earum.\"]"], ["created_at", "2014-09-22 18:00:38.592956"], ["name", "contract_b5577725"], ["title", "Provident quis atque esse velit omnis nulla."], ["updated_at", "2014-09-22 18:00:38.592956"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b5577725"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_b5577725') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:00:38.596502"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.599014"], ["updated_at", "2014-09-22 18:00:38.599014"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction 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_1d8b5603') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quae ut enim ea et molestiae. Iste sit doloribus. Totam ut enim occaecati autem. Est ad eos aliquam placeat aliquid dolorum nobis. Dolorem voluptatem cumque et nesciunt quo.\", \"Possimus dolorum qui assumenda fugiat molestiae in. Dignissimos qui aperiam omnis quasi est ducimus voluptas. Harum et facere deleniti totam ut enim.\"]"], ["created_at", "2014-09-22 18:00:38.604586"], ["name", "contract_1d8b5603"], ["title", "Voluptatem rerum atque culpa id reiciendis."], ["updated_at", "2014-09-22 18:00:38.604586"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1d8b5603"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_1d8b5603') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:00:38.607448"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1d8b5603' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_1d8b5603') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quae ut enim ea et molestiae. Iste sit doloribus. Totam ut enim occaecati autem. Est ad eos aliquam placeat aliquid dolorum nobis. Dolorem voluptatem cumque et nesciunt quo.\", \"Possimus dolorum qui assumenda fugiat molestiae in. Dignissimos qui aperiam omnis quasi est ducimus voluptas. Harum et facere deleniti totam ut enim.\"]"], ["created_at", "2014-09-22 18:00:38.610845"], ["name", "contract_1d8b5603"], ["title", "Voluptatem rerum atque culpa id reiciendis."], ["updated_at", "2014-09-22 18:00:38.610845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1d8b5603"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_1d8b5603') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:00:38.613783"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3f63920f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae aspernatur deserunt sed dolorem dolorum debitis ea. Autem consequatur fugit. Nihil iste quo.\", \"Ea et sed aut. Nostrum qui sit rem repellendus perferendis. Modi qui nam illum minus. Quidem in ut harum hic omnis sed aliquid. Consectetur cum quia temporibus dolor enim iure optio.\"]"], ["created_at", "2014-09-22 18:00:38.617453"], ["name", "contract_3f63920f"], ["title", "Esse laboriosam voluptatem."], ["updated_at", "2014-09-22 18:00:38.617453"]]  (1.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f63920f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_3f63920f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:00:38.621842"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3f63920f' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae aspernatur deserunt sed dolorem dolorum debitis ea. Autem consequatur fugit. Nihil iste quo.\", \"Ea et sed aut. Nostrum qui sit rem repellendus perferendis. Modi qui nam illum minus. Quidem in ut harum hic omnis sed aliquid. Consectetur cum quia temporibus dolor enim iure optio.\"]"], ["created_at", "2014-09-22 18:00:38.625227"], ["name", "joe"], ["title", "Esse laboriosam voluptatem."], ["updated_at", "2014-09-22 18:00:38.625227"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:00:38.629595"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5ffbc82f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi illo architecto. Atque quis eveniet in corrupti ullam sit ut. Totam non qui officia non laborum odit.\", \"Qui tempora veniam. Quo eos et et perspiciatis at quibusdam. Odit illo aliquid et est non id.\"]"], ["created_at", "2014-09-22 18:00:38.633797"], ["name", "contract_5ffbc82f"], ["title", "Repellendus qui eius aperiam quaerat rem et sint."], ["updated_at", "2014-09-22 18:00:38.633797"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ffbc82f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_5ffbc82f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:00:38.636797"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.640393"], ["updated_at", "2014-09-22 18:00:38.640393"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:00:38.642428"], ["updated_at", "2014-09-22 18:00:38.642428"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_5ffbc82f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ffbc82f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_5ffbc82f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction 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_75731ddd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis at et consequuntur nihil. A illo inventore delectus. Iure facilis quae et doloremque quia tenetur. Soluta non est reiciendis sit.\", \"Voluptate voluptatum esse nihil velit ad. Est necessitatibus atque. Omnis hic aliquam voluptatem ut debitis culpa.\"]"], ["created_at", "2014-09-22 18:00:38.651414"], ["name", "contract_75731ddd"], ["title", "Et est assumenda tempora ex vel."], ["updated_at", "2014-09-22 18:00:38.651414"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75731ddd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_75731ddd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:00:38.655527"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75731ddd"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_75731ddd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_75731ddd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:00:38.660564"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae enim rerum itaque iure commodi ea voluptatibus. Unde sed quisquam enim aut nostrum. Ex numquam optio non ut voluptate ut.\", \"Adipisci delectus laboriosam cupiditate qui quia enim. Ea aut iusto ratione repellat voluptatem. Distinctio non quis in labore. Numquam fuga exercitationem aut doloremque cumque recusandae quae.\"]"], ["created_at", "2014-09-22 18:00:38.664595"], ["name", "alpha"], ["title", "Modi et illum eos omnis."], ["updated_at", "2014-09-22 18:00:38.664595"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:00:38.668759"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dolorem enim temporibus. Itaque quia vero non et accusamus eveniet ea. Quia aliquid delectus maiores sed. Et error aut eos nisi nostrum.\", \"Qui culpa sunt eius aspernatur eligendi provident recusandae. Error et nisi necessitatibus porro. Architecto assumenda quasi omnis et facilis. At voluptatibus reiciendis autem sapiente. Est enim quisquam et.\"]"], ["created_at", "2014-09-22 18:00:38.674025"], ["name", "beta"], ["title", "Quo et enim nesciunt quasi commodi et totam."], ["updated_at", "2014-09-22 18:00:38.674025"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:00:38.677718"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.680557"], ["updated_at", "2014-09-22 18:00:38.680557"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:00:38.683271"], ["updated_at", "2014-09-22 18:00:38.683271"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:00:38.685781"], ["updated_at", "2014-09-22 18:00:38.685781"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:38.688103"], ["name", "alpha"], ["title", "Modi et illum eos omnis."], ["updated_at", "2014-09-22 18:00:38.688103"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:00:38.691610"], ["version", 2]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt consequatur autem est eligendi omnis exercitationem. Eum nulla nihil. Reiciendis qui hic ratione est ipsum reprehenderit. Illo provident eius voluptatibus pariatur deserunt quia amet. Accusantium nisi vel voluptas temporibus provident et quod.\", \"Eum sint sit. Enim cum ut temporibus tenetur voluptatem commodi qui. Sapiente accusantium aperiam. Id eos deserunt officiis.\"]"], ["created_at", "2014-09-22 18:00:38.698452"], ["name", "alpha"], ["title", "Ut sint eos et sunt quis beatae et."], ["updated_at", "2014-09-22 18:00:38.698452"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:00:38.701601"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut aut odio. Voluptatem et eum. Eos commodi fugit. Ex officia optio quae.\", \"Eveniet quis sit nihil voluptas. Sed neque fugiat dolorem quidem consectetur mollitia. Libero et quia sint. Qui accusamus in ipsum voluptatem laborum.\"]"], ["created_at", "2014-09-22 18:00:38.705004"], ["name", "beta"], ["title", "Assumenda quasi et non ab."], ["updated_at", "2014-09-22 18:00:38.705004"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:00:38.708157"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.710378"], ["updated_at", "2014-09-22 18:00:38.710378"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:00:38.713037"], ["updated_at", "2014-09-22 18:00:38.713037"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:00:38.715447"], ["updated_at", "2014-09-22 18:00:38.715447"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:38.717660"], ["name", "alpha"], ["title", "Ut sint eos et sunt quis beatae et."], ["updated_at", "2014-09-22 18:00:38.717660"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:00:38.721072"], ["version", 4]]  (1.8ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:00:38.745227"], ["updated_at", "2014-09-22 18:00:38.745227"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.6ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem quaerat ullam harum in. Qui assumenda ea quasi amet nam vel molestias. Voluptas excepturi unde. Quas ea pariatur illo placeat fugiat possimus. Et at necessitatibus alias velit cumque aperiam.\", \"Provident quibusdam nisi quo libero et tempora omnis. Iste sed ad voluptate dolores nesciunt rem culpa. Molestiae sit et dolorem ducimus. Laudantium harum sapiente ut veniam numquam ipsa placeat. Quod illum enim earum et consequatur aliquid porro.\"]"], ["created_at", "2014-09-22 18:00:38.762783"], ["name", "alpha"], ["title", "Aperiam quae sed error commodi."], ["updated_at", "2014-09-22 18:00:38.762783"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:00:38.766786"], ["version", 5]]  (3.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem expedita sint dolorem recusandae. Cupiditate culpa necessitatibus minima vero hic eligendi. Suscipit aut nisi quas et vitae vero. Libero enim doloribus. Nostrum rerum veritatis maxime.\", \"Cupiditate quia omnis. Eaque natus ad explicabo. Vitae dolore nihil.\"]"], ["created_at", "2014-09-22 18:00:38.774414"], ["name", "beta"], ["title", "Molestias rerum et itaque sunt voluptatem accusantium fuga."], ["updated_at", "2014-09-22 18:00:38.774414"]]  (2.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:00:38.780246"], ["version", 3]]  (0.7ms) commit transaction  (0.5ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.783672"], ["updated_at", "2014-09-22 18:00:38.783672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:00:38.787038"], ["updated_at", "2014-09-22 18:00:38.787038"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:00:38.789623"], ["updated_at", "2014-09-22 18:00:38.789623"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:38.792088"], ["name", "alpha"], ["title", "Aperiam quae sed error commodi."], ["updated_at", "2014-09-22 18:00:38.792088"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:00:38.795269"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea ducimus sed error rerum. Voluptas saepe enim eveniet veniam quo. Quas magnam est non provident. Dolores ab quia eligendi distinctio et vel.\", \"Excepturi accusamus quo atque doloribus. Quo magni perferendis adipisci aut consequuntur rerum eius. Alias quidem aut repellendus esse excepturi. Consequatur expedita veniam rerum mollitia praesentium.\"]"], ["created_at", "2014-09-22 18:00:38.802309"], ["name", "alpha"], ["title", "Eaque ut optio omnis."], ["updated_at", "2014-09-22 18:00:38.802309"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.9ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:00:38.807782"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut id non esse. Quia consequatur deleniti. Libero sit ex odit ea deleniti nemo mollitia. Aperiam et qui magnam necessitatibus velit ex.\", \"Ea ducimus dolorum quam numquam ab sit nostrum. Consectetur sint maiores necessitatibus. Qui id totam veniam molestiae eveniet excepturi.\"]"], ["created_at", "2014-09-22 18:00:38.813398"], ["name", "beta"], ["title", "Non eveniet voluptatibus."], ["updated_at", "2014-09-22 18:00:38.813398"]]  (0.6ms) commit transaction FinePrint::Contract Load (1.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:00:38.818650"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:00:38.821976"], ["updated_at", "2014-09-22 18:00:38.821976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:00:38.824768"], ["updated_at", "2014-09-22 18:00:38.824768"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:00:38.827528"], ["updated_at", "2014-09-22 18:00:38.827528"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:00:38.829899"], ["name", "alpha"], ["title", "Eaque ut optio omnis."], ["updated_at", "2014-09-22 18:00:38.829899"]]  (4.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:00:38.837309"], ["version", 8]]  (2.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:56.888341"], ["updated_at", "2014-09-22 18:01:56.888341"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:56.896684"], ["updated_at", "2014-09-22 18:01:56.896684"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_303df0cf') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod doloremque quas asperiores quo. Ut nostrum aut. Voluptatem quo quasi ea maxime. Vel quia laborum cum molestias. Et repudiandae et asperiores.\", \"Aut eveniet similique voluptas nihil. Quia maxime omnis dolorum. Et dolor quos ut neque repellendus odio rem.\"]"], ["created_at", "2014-09-22 18:01:57.149255"], ["name", "contract_303df0cf"], ["title", "Enim voluptates eum aliquam omnis sed maxime."], ["updated_at", "2014-09-22 18:01:57.149255"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_303df0cf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_303df0cf') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:01:57.162632"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.168917"], ["updated_at", "2014-09-22 18:01:57.168917"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:01:57.172151"], ["updated_at", "2014-09-22 18:01:57.172151"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.187534"], ["updated_at", "2014-09-22 18:01:57.187534"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.189289"], ["updated_at", "2014-09-22 18:01:57.189289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d02cdbca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia eum dolor ut omnis distinctio. Inventore perspiciatis odio fuga omnis. Quisquam quia provident sequi quo dolor.\", \"Debitis laudantium sunt labore nemo dolor dolorem distinctio. Expedita qui rerum tempore. Eum distinctio incidunt eveniet doloremque asperiores. Ut sunt exercitationem ab esse repellendus.\"]"], ["created_at", "2014-09-22 18:01:57.192642"], ["name", "contract_d02cdbca"], ["title", "Aut reprehenderit et aut illo."], ["updated_at", "2014-09-22 18:01:57.192642"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d02cdbca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_d02cdbca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:01:57.196103"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.199014"], ["updated_at", "2014-09-22 18:01:57.199014"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:01:57.202693"], ["updated_at", "2014-09-22 18:01:57.202693"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" IS NULL AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction Completed 500 Internal Server Error in 5ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.211297"], ["updated_at", "2014-09-22 18:01:57.211297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.212825"], ["updated_at", "2014-09-22 18:01:57.212825"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_0a8c7802') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt quia maiores. Sapiente ea corporis dolor quisquam blanditiis qui et. Blanditiis et dignissimos quas dolorem porro placeat. Soluta rerum sed rerum quo dolore rerum.\", \"Consectetur excepturi accusantium odit quis sit et et. Quidem similique quisquam iure voluptatem. Quaerat optio et. Sit voluptates voluptas ullam ut.\"]"], ["created_at", "2014-09-22 18:01:57.215991"], ["name", "contract_0a8c7802"], ["title", "Dicta voluptatem neque harum expedita deleniti."], ["updated_at", "2014-09-22 18:01:57.215991"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0a8c7802"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_0a8c7802') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:01:57.221535"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.225784"], ["updated_at", "2014-09-22 18:01:57.225784"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:01:57.229117"], ["updated_at", "2014-09-22 18:01:57.229117"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"3"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"3"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.236543"], ["updated_at", "2014-09-22 18:01:57.236543"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.238277"], ["updated_at", "2014-09-22 18:01:57.238277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2f2d4f10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium laborum vero exercitationem incidunt et odio. Voluptas deleniti cum voluptas accusantium ea et ad. Autem sit dolor nesciunt. Numquam quibusdam odio autem.\", \"Odio et labore incidunt. Consequatur neque ut ducimus voluptate earum voluptas. Rerum in cumque nihil. Nostrum accusantium dolores.\"]"], ["created_at", "2014-09-22 18:01:57.241853"], ["name", "contract_2f2d4f10"], ["title", "Sed vero eaque voluptatum ullam tempore cum sit."], ["updated_at", "2014-09-22 18:01:57.241853"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2f2d4f10"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_2f2d4f10') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:01:57.245118"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.247598"], ["updated_at", "2014-09-22 18:01:57.247598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:01:57.249816"], ["updated_at", "2014-09-22 18:01:57.249816"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.256901"], ["updated_at", "2014-09-22 18:01:57.256901"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.258590"], ["updated_at", "2014-09-22 18:01:57.258590"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1c413c99') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas esse ipsa officiis sequi voluptates inventore alias. Atque dolor nostrum soluta. Rem sequi possimus quod vel ullam. Rem qui et sit dolorum ipsa. Animi sunt at.\", \"Rerum unde fugit consequatur qui sed quibusdam odit. Vel sunt quae error consequatur non et. Voluptatibus ut atque placeat repudiandae magni ipsa. Culpa laborum quia hic. Non ducimus ipsum.\"]"], ["created_at", "2014-09-22 18:01:57.262717"], ["name", "contract_1c413c99"], ["title", "Et vitae quisquam ratione."], ["updated_at", "2014-09-22 18:01:57.262717"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1c413c99"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_1c413c99') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:01:57.267053"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.270458"], ["updated_at", "2014-09-22 18:01:57.270458"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:01:57.273423"], ["updated_at", "2014-09-22 18:01:57.273423"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.279526"], ["updated_at", "2014-09-22 18:01:57.279526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.281184"], ["updated_at", "2014-09-22 18:01:57.281184"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_fa61a194') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et id sit atque. Iusto sint optio hic amet autem sunt explicabo. Consequatur qui autem quae pariatur perspiciatis architecto.\", \"Necessitatibus fuga vel asperiores est. Laborum facere et porro ut enim rem aut. Similique consequuntur corrupti aut eum. Aliquid enim est.\"]"], ["created_at", "2014-09-22 18:01:57.284512"], ["name", "contract_fa61a194"], ["title", "Numquam ut et est eligendi ullam."], ["updated_at", "2014-09-22 18:01:57.284512"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fa61a194"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_fa61a194') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:01:57.287920"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.290588"], ["updated_at", "2014-09-22 18:01:57.290588"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:01:57.293106"], ["updated_at", "2014-09-22 18:01:57.293106"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Redirected to http://test.host/fine_print/contracts/6/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.303519"], ["updated_at", "2014-09-22 18:01:57.303519"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.305071"], ["updated_at", "2014-09-22 18:01:57.305071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f6971e10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam nesciunt adipisci pariatur impedit deleniti. Enim doloremque magni voluptas sint officiis modi dolore. Qui quia minima et.\", \"Quia nostrum vitae quibusdam reiciendis suscipit consequatur. Aut ipsum sequi. Ut doloribus non et. Enim porro nesciunt. Omnis aspernatur quam.\"]"], ["created_at", "2014-09-22 18:01:57.308080"], ["name", "contract_f6971e10"], ["title", "Et fugit possimus tempora et."], ["updated_at", "2014-09-22 18:01:57.308080"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f6971e10"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_f6971e10') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:01:57.312615"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.315793"], ["updated_at", "2014-09-22 18:01:57.315793"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:01:57.318042"], ["updated_at", "2014-09-22 18:01:57.318042"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.323965"], ["updated_at", "2014-09-22 18:01:57.323965"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.325778"], ["updated_at", "2014-09-22 18:01:57.325778"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6397c424') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut dolorem et necessitatibus animi. Hic voluptatibus est quae unde id perspiciatis. Hic alias fugiat minima et ea sint explicabo. Excepturi dolor eaque animi. Labore tempora necessitatibus esse earum et maiores.\", \"Adipisci quasi esse est inventore alias sed. Repellendus iste necessitatibus ea illum. Saepe voluptatem iusto adipisci sequi architecto sit. Reprehenderit excepturi perspiciatis dolorem enim enim ea.\"]"], ["created_at", "2014-09-22 18:01:57.329043"], ["name", "contract_6397c424"], ["title", "Et perferendis dolorem."], ["updated_at", "2014-09-22 18:01:57.329043"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6397c424"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_6397c424') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:01:57.332156"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.334705"], ["updated_at", "2014-09-22 18:01:57.334705"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:01:57.336906"], ["updated_at", "2014-09-22 18:01:57.336906"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.342437"], ["updated_at", "2014-09-22 18:01:57.342437"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.343928"], ["updated_at", "2014-09-22 18:01:57.343928"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bc4a646b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde consequuntur magni. Sit laudantium voluptatem exercitationem repellendus aspernatur dignissimos. Aliquid autem hic maiores temporibus. Qui sapiente aut non soluta.\", \"Mollitia consequatur maiores nostrum voluptas. Aperiam odio ullam rerum. Nobis aliquam voluptatem.\"]"], ["created_at", "2014-09-22 18:01:57.346519"], ["name", "contract_bc4a646b"], ["title", "Maiores dolores quaerat sapiente adipisci."], ["updated_at", "2014-09-22 18:01:57.346519"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bc4a646b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_bc4a646b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:01:57.349619"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.355445"], ["updated_at", "2014-09-22 18:01:57.355445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.357058"], ["updated_at", "2014-09-22 18:01:57.357058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1e487d00') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat qui culpa sit enim quia minima. Reprehenderit qui eaque consectetur consequuntur qui. Sit autem et quia voluptates a fugiat. Exercitationem explicabo dolorum voluptatem excepturi adipisci. Nisi et neque a at consequatur numquam in.\", \"Ut maxime ea veritatis molestiae vero tempora. Autem dolores quis aut. Dolore quibusdam sed eos.\"]"], ["created_at", "2014-09-22 18:01:57.359904"], ["name", "contract_1e487d00"], ["title", "Soluta minus facilis eum vel ut."], ["updated_at", "2014-09-22 18:01:57.359904"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.364449"], ["updated_at", "2014-09-22 18:01:57.364449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.366611"], ["updated_at", "2014-09-22 18:01:57.366611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8ff50d8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed rem in. Maxime tenetur voluptate iure amet. Quia rerum sit totam voluptas dolor.\", \"Ipsa officia quia ut quos voluptatum culpa. Sed tempora aut laboriosam sed. Sed omnis ut maxime et ab. Quisquam dolorum vero in.\"]"], ["created_at", "2014-09-22 18:01:57.369485"], ["name", "contract_8ff50d8c"], ["title", "Inventore hic qui assumenda quos qui ab atque."], ["updated_at", "2014-09-22 18:01:57.369485"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.373905"], ["updated_at", "2014-09-22 18:01:57.373905"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.375371"], ["updated_at", "2014-09-22 18:01:57.375371"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ef02c5e1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id aut sapiente repellendus. Ratione excepturi iure commodi voluptates fugit est optio. Ducimus eum et delectus ullam aut pariatur. Voluptas est officia sit.\", \"Recusandae et non voluptas ipsa consequatur. Consequuntur voluptas nihil reprehenderit sapiente. Dolore voluptatum optio excepturi doloremque. Praesentium quas sequi soluta sit fugit minus ipsum.\"]"], ["created_at", "2014-09-22 18:01:57.378027"], ["name", "contract_ef02c5e1"], ["title", "Illo vero placeat."], ["updated_at", "2014-09-22 18:01:57.378027"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 5, 10, 4, 1, 8, 11, 9, 2, 12, 7, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.388399"], ["updated_at", "2014-09-22 18:01:57.388399"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.390032"], ["updated_at", "2014-09-22 18:01:57.390032"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7dbe2a72') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque consequuntur eum quisquam. Dolor maiores velit blanditiis. Ut ea laudantium rerum quos iure. Dolores necessitatibus minima quidem alias impedit.\", \"Nostrum aut nisi officiis odit iste sint sint. Facere esse odit aut explicabo necessitatibus. Soluta sint ducimus saepe optio. Et numquam adipisci libero.\"]"], ["created_at", "2014-09-22 18:01:57.392760"], ["name", "contract_7dbe2a72"], ["title", "Facilis rem ipsum vel occaecati molestiae nostrum ut."], ["updated_at", "2014-09-22 18:01:57.392760"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7dbe2a72"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_7dbe2a72') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:01:57.395963"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.402358"], ["updated_at", "2014-09-22 18:01:57.402358"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.403925"], ["updated_at", "2014-09-22 18:01:57.403925"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_be61f80c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum vel dolor tenetur debitis aut exercitationem. Ex asperiores suscipit. In vel atque. Deserunt et aut eius in.\", \"Aut fugit soluta nostrum. Maxime repellat molestiae fuga modi architecto. Eum neque et. Sequi laudantium iure rerum labore ratione doloribus.\"]"], ["created_at", "2014-09-22 18:01:57.407512"], ["name", "contract_be61f80c"], ["title", "Nihil laboriosam officiis."], ["updated_at", "2014-09-22 18:01:57.407512"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.413550"], ["updated_at", "2014-09-22 18:01:57.413550"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.415209"], ["updated_at", "2014-09-22 18:01:57.415209"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_b9bb84a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus et nihil. Non consectetur facere. Pariatur qui quam vero et voluptatibus nihil. Qui velit est cupiditate.\", \"Dolorem velit maiores. Est quas fugiat voluptatem repudiandae rerum incidunt ullam. Unde eum omnis odit earum. Fuga commodi eaque qui sit officiis aut. Similique nihil minus.\"]"], ["created_at", "2014-09-22 18:01:57.418291"], ["name", "contract_b9bb84a5"], ["title", "Animi sed at cupiditate totam repudiandae aspernatur eaque."], ["updated_at", "2014-09-22 18:01:57.418291"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.423431"], ["updated_at", "2014-09-22 18:01:57.423431"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.424948"], ["updated_at", "2014-09-22 18:01:57.424948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b26d16d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque et aliquam minima quos quibusdam sint. Et dolorem sit. In minus expedita vitae voluptates.\", \"Ea facilis molestias. Non necessitatibus placeat molestias. Saepe a dicta.\"]"], ["created_at", "2014-09-22 18:01:57.427858"], ["name", "contract_0b26d16d"], ["title", "Provident iste voluptas vel adipisci enim quae."], ["updated_at", "2014-09-22 18:01:57.427858"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b26d16d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_0b26d16d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:01:57.431213"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b26d16d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_0b26d16d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:01:57.437046"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.442321"], ["updated_at", "2014-09-22 18:01:57.442321"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.443970"], ["updated_at", "2014-09-22 18:01:57.443970"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a2b9b653') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate id quam nemo rerum repellat. Voluptates quas officia cum beatae autem optio esse. Eos quas minima earum quis minus sit iste. Numquam odio qui voluptas dicta et nemo.\", \"Eligendi quas officia amet. Nihil nobis non quaerat impedit. Reprehenderit cupiditate ut consequuntur consequatur est. Aut nihil voluptatum omnis delectus dignissimos.\"]"], ["created_at", "2014-09-22 18:01:57.446798"], ["name", "contract_a2b9b653"], ["title", "Provident ipsam aperiam ipsum ratione."], ["updated_at", "2014-09-22 18:01:57.446798"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.452628"], ["updated_at", "2014-09-22 18:01:57.452628"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.454158"], ["updated_at", "2014-09-22 18:01:57.454158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9e274daa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita distinctio id aut magnam numquam. Praesentium molestiae deserunt ut qui. Consequatur voluptas officiis. Nam quia aut consequatur. Vitae repellat sed reiciendis.\", \"Eos et eos nihil aperiam quasi. Ut aperiam odio veritatis. Natus consequatur blanditiis. Rerum eum eum quasi quisquam totam. Neque debitis et magnam explicabo vitae rerum perferendis.\"]"], ["created_at", "2014-09-22 18:01:57.456797"], ["name", "contract_9e274daa"], ["title", "Veniam consequatur labore molestiae facilis voluptas quaerat."], ["updated_at", "2014-09-22 18:01:57.456797"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9e274daa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_9e274daa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:01:57.461630"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.465871"], ["updated_at", "2014-09-22 18:01:57.465871"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.467338"], ["updated_at", "2014-09-22 18:01:57.467338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5697aa4b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore ut beatae et est dolore molestiae. Qui in ut culpa dicta sint. Quam numquam sint doloremque eius sint.\", \"Quae excepturi ut. Quia distinctio explicabo molestias. Recusandae ut velit esse saepe non est. Ratione sit aut qui. Provident laboriosam dolores consequuntur sed placeat molestiae natus.\"]"], ["created_at", "2014-09-22 18:01:57.469956"], ["name", "contract_5697aa4b"], ["title", "Impedit nisi non reprehenderit voluptatem ea maxime."], ["updated_at", "2014-09-22 18:01:57.469956"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5697aa4b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_5697aa4b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:01:57.473130"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5697aa4b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.480055"], ["updated_at", "2014-09-22 18:01:57.480055"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.482295"], ["updated_at", "2014-09-22 18:01:57.482295"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_610b3722') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut ut repudiandae excepturi. Nam ea et est. Ut aut suscipit nemo. Accusamus minima dignissimos ullam rerum laborum iure similique. Enim et dicta.\", \"Placeat eius quas quod. In quis et. Labore laudantium sunt nemo iste sit recusandae.\"]"], ["created_at", "2014-09-22 18:01:57.486527"], ["name", "contract_610b3722"], ["title", "Eaque blanditiis voluptatibus nulla est voluptatum."], ["updated_at", "2014-09-22 18:01:57.486527"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.494192"], ["updated_at", "2014-09-22 18:01:57.494192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.495719"], ["updated_at", "2014-09-22 18:01:57.495719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8f6ae179') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum blanditiis voluptatem quis ipsum. Rerum aliquam vel tempora qui. Rerum deserunt non aut voluptas maiores. Nam dicta aut ut aut et autem.\", \"Laborum possimus placeat officiis. Ratione eaque voluptate labore maiores. Ipsa sed deserunt enim qui sapiente.\"]"], ["created_at", "2014-09-22 18:01:57.498470"], ["name", "contract_8f6ae179"], ["title", "Quos eum nisi dolorem dolore sed."], ["updated_at", "2014-09-22 18:01:57.498470"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.502531"], ["updated_at", "2014-09-22 18:01:57.502531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.503983"], ["updated_at", "2014-09-22 18:01:57.503983"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_612b13d3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas voluptatem harum aliquam. Sunt est dicta laboriosam adipisci quis. Veniam quas vitae. Nihil impedit enim sed sequi. Non ut blanditiis repellat incidunt.\", \"Blanditiis explicabo omnis fuga possimus nesciunt. Pariatur occaecati voluptas cupiditate laborum vel sunt. Esse excepturi et.\"]"], ["created_at", "2014-09-22 18:01:57.507833"], ["name", "contract_612b13d3"], ["title", "Repudiandae esse odit asperiores quibusdam quis recusandae at."], ["updated_at", "2014-09-22 18:01:57.507833"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:01:57.512664"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:01:57.512664"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/23 Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.521107"], ["updated_at", "2014-09-22 18:01:57.521107"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.522728"], ["updated_at", "2014-09-22 18:01:57.522728"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34e58eae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste mollitia occaecati tempore quia. Et eius minus molestias sed perferendis dicta. Nostrum sed sit expedita magni eos quia est. Necessitatibus reiciendis esse at accusantium minus.\", \"Cumque et laborum enim nostrum quas. Et molestias quidem est. Placeat aut esse. Voluptatibus perspiciatis ad aliquid ut sit repellendus.\"]"], ["created_at", "2014-09-22 18:01:57.525734"], ["name", "contract_34e58eae"], ["title", "Asperiores animi dolor nihil."], ["updated_at", "2014-09-22 18:01:57.525734"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.530107"], ["updated_at", "2014-09-22 18:01:57.530107"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.531939"], ["updated_at", "2014-09-22 18:01:57.531939"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f50b97e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit animi voluptas fugit excepturi rerum. Qui molestias alias asperiores est. Ut distinctio tempore qui omnis. Tenetur distinctio cumque et ipsa dolores quaerat qui. Quia qui et beatae rerum facere.\", \"Nobis et maiores rem eligendi. Porro a labore asperiores. Consectetur cum fugiat.\"]"], ["created_at", "2014-09-22 18:01:57.534924"], ["name", "contract_9f50b97e"], ["title", "Vero et ipsa similique dolor ipsum."], ["updated_at", "2014-09-22 18:01:57.534924"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 25 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:01:57.538910"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/25 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.543611"], ["updated_at", "2014-09-22 18:01:57.543611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.545133"], ["updated_at", "2014-09-22 18:01:57.545133"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a40f606c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta autem at laborum. Aut quis et et. Non odio quod. Ut esse eligendi deserunt accusantium. Possimus nisi voluptatem quia vel.\", \"Sit ratione fuga et quia. Quaerat expedita qui reiciendis in voluptatem enim. Consequatur non quam sed eos ut.\"]"], ["created_at", "2014-09-22 18:01:57.547750"], ["name", "contract_a40f606c"], ["title", "Eligendi explicabo omnis rerum."], ["updated_at", "2014-09-22 18:01:57.547750"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 26]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 26]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 26 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.555148"], ["updated_at", "2014-09-22 18:01:57.555148"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.556824"], ["updated_at", "2014-09-22 18:01:57.556824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_276b29d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos ut laudantium. Sint fugiat molestiae enim ut deleniti facere. Eum porro similique ducimus quia. Similique totam rem in explicabo.\", \"Maxime eligendi corrupti. Eius aut iusto. Ab tempore maiores omnis. Est impedit omnis veritatis.\"]"], ["created_at", "2014-09-22 18:01:57.559545"], ["name", "contract_276b29d9"], ["title", "Culpa id eveniet non in dolorem et et."], ["updated_at", "2014-09-22 18:01:57.559545"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_5ff8be67') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae sed cupiditate cum perspiciatis quisquam qui delectus. At accusantium voluptas architecto. In praesentium nihil debitis quod eos beatae quis. Ex molestiae nulla. Non accusantium quod.\", \"Accusantium quia impedit. Consequatur fuga voluptatem deserunt nihil illo vel ex. Et aut reiciendis molestiae vero corrupti. Asperiores dolores odit ea.\"]"], ["created_at", "2014-09-22 18:01:57.565964"], ["name", "contract_5ff8be67"], ["title", "Quae sit voluptatem animi."], ["updated_at", "2014-09-22 18:01:57.565964"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ff8be67"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_5ff8be67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:01:57.570794"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ff8be67"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ff8be67"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_5ff8be67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:01:57.577663"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_da5e2176') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus culpa temporibus enim laudantium. Sed deserunt a molestiae eum quisquam consequatur. Autem itaque omnis vero ut et eum officiis. Architecto odit corrupti impedit veritatis deserunt ipsam in.\", \"Nostrum laborum eaque quia aliquam et minima quo. Incidunt recusandae culpa sit. Nulla qui et maiores quia dolore molestias numquam. Possimus molestiae quas natus in voluptas facere. Repudiandae voluptate quas.\"]"], ["created_at", "2014-09-22 18:01:57.582073"], ["name", "contract_da5e2176"], ["title", "Minus quibusdam maiores quis officiis ullam error."], ["updated_at", "2014-09-22 18:01:57.582073"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da5e2176"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_da5e2176') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:01:57.585171"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_da5e2176' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_da5e2176') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus culpa temporibus enim laudantium. Sed deserunt a molestiae eum quisquam consequatur. Autem itaque omnis vero ut et eum officiis. Architecto odit corrupti impedit veritatis deserunt ipsam in.\", \"Nostrum laborum eaque quia aliquam et minima quo. Incidunt recusandae culpa sit. Nulla qui et maiores quia dolore molestias numquam. Possimus molestiae quas natus in voluptas facere. Repudiandae voluptate quas.\"]"], ["created_at", "2014-09-22 18:01:57.588629"], ["name", "contract_da5e2176"], ["title", "Minus quibusdam maiores quis officiis ullam error."], ["updated_at", "2014-09-22 18:01:57.588629"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da5e2176"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_da5e2176') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:01:57.591524"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3d33fcba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium eligendi enim dolores. Officia distinctio et sed autem. Neque nobis sed autem et amet et quidem. Culpa in fugit ullam saepe.\", \"Sit dolor et. Qui consequatur facilis voluptate. Facilis dolor officia inventore molestias et sunt quisquam.\"]"], ["created_at", "2014-09-22 18:01:57.595264"], ["name", "contract_3d33fcba"], ["title", "Dolorem suscipit laudantium aperiam quas explicabo."], ["updated_at", "2014-09-22 18:01:57.595264"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d33fcba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_3d33fcba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:01:57.598248"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.602079"], ["updated_at", "2014-09-22 18:01:57.602079"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 61) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 18:01:57.605196"], ["updated_at", "2014-09-22 18:01:57.605196"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_3d33fcba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d33fcba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_3d33fcba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction 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_e76c5b4b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui consequatur deleniti eum autem et similique. Voluptatem est perspiciatis eum voluptas culpa nulla necessitatibus. Voluptas cupiditate natus doloribus. Praesentium optio est enim ducimus cumque ut qui. Nam blanditiis et.\", \"Consequatur ipsam assumenda rerum sit molestias velit. Reiciendis asperiores debitis excepturi. Dignissimos sit est necessitatibus. Vero laborum sed facere. Sint nam commodi sapiente quia consequatur.\"]"], ["created_at", "2014-09-22 18:01:57.614882"], ["name", "contract_e76c5b4b"], ["title", "Laudantium atque at cumque aspernatur vel et commodi."], ["updated_at", "2014-09-22 18:01:57.614882"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e76c5b4b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e76c5b4b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:01:57.619172"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e76c5b4b' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui consequatur deleniti eum autem et similique. Voluptatem est perspiciatis eum voluptas culpa nulla necessitatibus. Voluptas cupiditate natus doloribus. Praesentium optio est enim ducimus cumque ut qui. Nam blanditiis et.\", \"Consequatur ipsam assumenda rerum sit molestias velit. Reiciendis asperiores debitis excepturi. Dignissimos sit est necessitatibus. Vero laborum sed facere. Sint nam commodi sapiente quia consequatur.\"]"], ["created_at", "2014-09-22 18:01:57.623775"], ["name", "joe"], ["title", "Laudantium atque at cumque aspernatur vel et commodi."], ["updated_at", "2014-09-22 18:01:57.623775"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:01:57.627148"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita optio libero ut unde maxime ullam eius. Odio asperiores cumque. Tenetur asperiores fugit nostrum beatae. Quo libero cumque dolore excepturi. Delectus id ea sint.\", \"Molestiae at nisi pariatur. Numquam inventore laborum et optio. Eius sed soluta labore eos consequatur suscipit ut.\"]"], ["created_at", "2014-09-22 18:01:57.631069"], ["name", "alpha"], ["title", "Quam rerum iusto deleniti corporis ut."], ["updated_at", "2014-09-22 18:01:57.631069"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:01:57.634095"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo fugit incidunt nemo hic. Ipsam officia minus. Eligendi corrupti at voluptates inventore.\", \"Minus possimus esse veniam et labore. Repellat et esse odit. Et quo et ut natus. Perferendis velit tenetur dignissimos error est molestias.\"]"], ["created_at", "2014-09-22 18:01:57.637525"], ["name", "beta"], ["title", "Voluptatem qui cumque nisi recusandae."], ["updated_at", "2014-09-22 18:01:57.637525"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:01:57.640679"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.644154"], ["updated_at", "2014-09-22 18:01:57.644154"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:01:57.647589"], ["updated_at", "2014-09-22 18:01:57.647589"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 18:01:57.650630"], ["updated_at", "2014-09-22 18:01:57.650630"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:01:57.653309"], ["name", "alpha"], ["title", "Quam rerum iusto deleniti corporis ut."], ["updated_at", "2014-09-22 18:01:57.653309"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:01:57.657090"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae et quaerat maiores facere et atque. Quo praesentium placeat. Qui exercitationem modi aspernatur aut.\", \"Soluta nisi ut non ducimus. Dignissimos ad dolor officia culpa dolor. Neque quis officiis est debitis quia quam omnis. Sed rerum eum soluta.\"]"], ["created_at", "2014-09-22 18:01:57.663980"], ["name", "alpha"], ["title", "Aut dolorem ut tempora est modi."], ["updated_at", "2014-09-22 18:01:57.663980"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:01:57.668373"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus rerum voluptatem fugiat assumenda quia ut et. Quae quia qui ut numquam. Quidem repellat soluta at laudantium dicta. Dicta est temporibus. Rerum nam alias voluptatem aliquid aut id ut.\", \"Provident sit nobis. In consectetur repellat quia aut et nihil. Sint enim cumque error earum. Quisquam necessitatibus est illum dicta veniam delectus. Dolorum doloribus debitis quam ut atque.\"]"], ["created_at", "2014-09-22 18:01:57.672908"], ["name", "beta"], ["title", "Ratione doloribus labore vel rerum ullam."], ["updated_at", "2014-09-22 18:01:57.672908"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:01:57.676333"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.678655"], ["updated_at", "2014-09-22 18:01:57.678655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:01:57.681243"], ["updated_at", "2014-09-22 18:01:57.681243"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 18:01:57.683701"], ["updated_at", "2014-09-22 18:01:57.683701"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:01:57.685946"], ["name", "alpha"], ["title", "Aut dolorem ut tempora est modi."], ["updated_at", "2014-09-22 18:01:57.685946"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:01:57.688988"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 63 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam est earum inventore quia nemo laboriosam. Et aut et labore. Omnis veniam illo consectetur fugit impedit.\", \"Et vitae non. Voluptatem qui beatae dolorum iure quaerat ea sed. Quod rerum ratione saepe facere odit nemo est. Aut ut eveniet eum consequatur sunt. Dignissimos quia in dolores rerum tempora.\"]"], ["created_at", "2014-09-22 18:01:57.696073"], ["name", "alpha"], ["title", "Dolor sed voluptas."], ["updated_at", "2014-09-22 18:01:57.696073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:01:57.699357"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit delectus numquam id consequuntur cum. Dolores eveniet commodi ducimus quo numquam dolore illum. Ut temporibus quas eligendi. Ipsa est eveniet consequatur voluptatem aut nisi et.\", \"Quasi sunt pariatur minima et. Sapiente placeat perferendis ut eligendi sed. Dolorum ut nihil id magnam consectetur provident.\"]"], ["created_at", "2014-09-22 18:01:57.702959"], ["name", "beta"], ["title", "Corporis facere perferendis aut quae sunt modi."], ["updated_at", "2014-09-22 18:01:57.702959"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:01:57.706086"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.709054"], ["updated_at", "2014-09-22 18:01:57.709054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:01:57.711884"], ["updated_at", "2014-09-22 18:01:57.711884"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:01:57.714427"], ["updated_at", "2014-09-22 18:01:57.714427"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:01:57.716809"], ["name", "alpha"], ["title", "Dolor sed voluptas."], ["updated_at", "2014-09-22 18:01:57.716809"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:01:57.720089"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus ea dignissimos saepe. Et sit exercitationem doloremque est ipsa. Est harum culpa deserunt et ab. Ut nisi doloribus eligendi sit eum ut.\", \"Quia quis quo id sunt aut. Ut sit eos numquam aut non totam. Est et asperiores numquam. Ad quia amet. Modi nam nesciunt temporibus illum aliquid.\"]"], ["created_at", "2014-09-22 18:01:57.725999"], ["name", "alpha"], ["title", "Nesciunt reprehenderit vero debitis temporibus itaque doloribus reiciendis."], ["updated_at", "2014-09-22 18:01:57.725999"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:01:57.729012"], ["version", 7]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio blanditiis consequatur odit. Ipsum aut eaque. Quaerat in nobis fuga autem minima fugiat consequatur. Optio eveniet magnam.\", \"Dignissimos placeat saepe. Sed debitis architecto et accusantium eum ducimus vitae. Est dolore unde quia aut. Omnis voluptatem cupiditate aliquid aut deserunt velit. Ut aut rerum aut.\"]"], ["created_at", "2014-09-22 18:01:57.739300"], ["name", "beta"], ["title", "Doloribus optio quas impedit est quam ducimus."], ["updated_at", "2014-09-22 18:01:57.739300"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:01:57.742614"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.745072"], ["updated_at", "2014-09-22 18:01:57.745072"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:01:57.748616"], ["updated_at", "2014-09-22 18:01:57.748616"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:01:57.752110"], ["updated_at", "2014-09-22 18:01:57.752110"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.4ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:01:57.754836"], ["name", "alpha"], ["title", "Nesciunt reprehenderit vero debitis temporibus itaque doloribus reiciendis."], ["updated_at", "2014-09-22 18:01:57.754836"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.5ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:01:57.760024"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (45, 43, 42, 40, 39, 37, 36, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (45, 43, 42, 40, 39, 37, 36, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 41, 38, 35) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:01:57.783339"], ["updated_at", "2014-09-22 18:01:57.783339"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (45, 43, 42, 40, 39, 37, 36, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (45, 43, 42, 40, 39, 37, 36, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 41, 38, 35) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]]  (0.0ms) begin transaction 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_f9c98fb7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus tenetur sit voluptatem enim. Voluptate et soluta dolorem nam quis. Eos voluptates voluptas totam perspiciatis qui tenetur. Autem nemo saepe laboriosam. Qui voluptatem tempore iste.\", \"Rem consequatur occaecati explicabo voluptatem voluptas. Voluptas quia voluptate error eum ipsum occaecati. Voluptatem veritatis accusantium aut aut quia neque. Voluptatem ut ut at omnis dolor culpa quaerat.\"]"], ["created_at", "2014-09-22 18:01:57.805205"], ["name", "contract_f9c98fb7"], ["title", "Nam adipisci reiciendis eaque omnis nisi sit."], ["updated_at", "2014-09-22 18:01:57.805205"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction 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_9fb4c6bc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil hic nemo nostrum laboriosam exercitationem eveniet. Voluptate cum id veritatis corrupti impedit consequatur. Laudantium vel rerum sunt asperiores. Dolores sunt ex soluta atque qui. Autem odio et sed.\", \"Maxime eum soluta quae harum rem consequuntur. Natus tempora eius quod reprehenderit et. Odit facere ullam placeat ut recusandae delectus quia.\"]"], ["created_at", "2014-09-22 18:01:57.811485"], ["name", "contract_9fb4c6bc"], ["title", "Placeat eveniet harum optio nihil est."], ["updated_at", "2014-09-22 18:01:57.811485"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9fb4c6bc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_9fb4c6bc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:01:57.814747"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.817323"], ["updated_at", "2014-09-22 18:01:57.817323"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.822435"], ["updated_at", "2014-09-22 18:01:57.822435"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.823910"], ["updated_at", "2014-09-22 18:01:57.823910"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.828755"], ["updated_at", "2014-09-22 18:01:57.828755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:01:57.830300"], ["updated_at", "2014-09-22 18:01:57.830300"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_2feb7afc') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic accusamus recusandae et molestias sit similique reiciendis. Autem officia illum. Rem ea possimus tempore non qui. Ab error commodi doloremque. Quam quas quia illum recusandae autem nemo.\", \"Sint minus ipsam soluta recusandae eos. Eligendi incidunt corrupti aut porro dolorem tenetur officiis. Doloribus molestiae assumenda officia eos a.\"]"], ["created_at", "2014-09-22 18:02:36.348965"], ["name", "contract_2feb7afc"], ["title", "Sapiente quas quaerat molestiae mollitia sed aut."], ["updated_at", "2014-09-22 18:02:36.348965"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_09167228') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt consequatur rem. Facere rerum autem ab veniam voluptas laboriosam aut. Ducimus vitae provident illo.\", \"Eum aut dignissimos laboriosam tenetur ut. Sint ad quasi sint ut doloribus eum aut. Magnam minima ex quis officiis at eos. Quia sit voluptas.\"]"], ["created_at", "2014-09-22 18:02:36.362735"], ["name", "contract_09167228"], ["title", "Et inventore qui ea neque optio qui est."], ["updated_at", "2014-09-22 18:02:36.362735"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09167228"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_09167228') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:02:36.367954"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.373507"], ["updated_at", "2014-09-22 18:02:36.373507"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.381659"], ["updated_at", "2014-09-22 18:02:36.381659"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.384009"], ["updated_at", "2014-09-22 18:02:36.384009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d9ac9084') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis ut eveniet autem molestias. Id et incidunt iste necessitatibus. Qui in vel voluptatem earum nulla dolor tempore. Ut harum sed et laudantium reiciendis. A amet sapiente.\", \"Veritatis rerum aut numquam expedita ducimus voluptatem. Eos dolorem illum voluptas voluptate porro quis necessitatibus. Ut consequuntur recusandae beatae. Numquam minus facere fuga deserunt recusandae qui. Id soluta porro dolore qui incidunt illum.\"]"], ["created_at", "2014-09-22 18:02:36.387367"], ["name", "contract_d9ac9084"], ["title", "Unde incidunt tenetur dolor et."], ["updated_at", "2014-09-22 18:02:36.387367"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d9ac9084"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_d9ac9084') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:02:36.390797"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.393381"], ["updated_at", "2014-09-22 18:02:36.393381"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:02:36.395613"], ["updated_at", "2014-09-22 18:02:36.395613"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Redirected to http://test.host/fine_print/contracts/3/signatures Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.410819"], ["updated_at", "2014-09-22 18:02:36.410819"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.412410"], ["updated_at", "2014-09-22 18:02:36.412410"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_fdb55287') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque modi recusandae quia suscipit sit quis. Qui voluptatibus et omnis ea suscipit quasi. Ab et magni dolores distinctio non necessitatibus. Id ut voluptas consequuntur. Non distinctio non atque.\", \"Et et libero distinctio possimus magnam. Laudantium perspiciatis neque officiis atque aliquam delectus. Dolor maiores cum provident id aliquid laboriosam. Ut eaque pariatur itaque qui.\"]"], ["created_at", "2014-09-22 18:02:36.416149"], ["name", "contract_fdb55287"], ["title", "Suscipit tempore illum optio quia."], ["updated_at", "2014-09-22 18:02:36.416149"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fdb55287"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_fdb55287') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:02:36.419242"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.421700"], ["updated_at", "2014-09-22 18:02:36.421700"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:02:36.423698"], ["updated_at", "2014-09-22 18:02:36.423698"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.435095"], ["updated_at", "2014-09-22 18:02:36.435095"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.437623"], ["updated_at", "2014-09-22 18:02:36.437623"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e644160c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum incidunt facilis dolores dolorum. Dolores molestiae nostrum. Consequuntur tenetur fugiat ullam. In qui autem non. Beatae distinctio nobis voluptatem et esse occaecati.\", \"Id voluptas nobis quia repellat quasi. Provident rerum animi. Omnis vero natus odio pariatur. Quos sed temporibus tempora sint et eveniet. Porro consectetur nesciunt quod repudiandae exercitationem reiciendis.\"]"], ["created_at", "2014-09-22 18:02:36.441041"], ["name", "contract_e644160c"], ["title", "Et ut molestiae non cumque similique nulla commodi."], ["updated_at", "2014-09-22 18:02:36.441041"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e644160c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_e644160c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:02:36.444286"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.446755"], ["updated_at", "2014-09-22 18:02:36.446755"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:02:36.448860"], ["updated_at", "2014-09-22 18:02:36.448860"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" IS NULL AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.456706"], ["updated_at", "2014-09-22 18:02:36.456706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.458313"], ["updated_at", "2014-09-22 18:02:36.458313"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8748586e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae quisquam asperiores totam iure voluptatum id. Molestiae omnis nobis ab nemo doloribus provident. Voluptatem labore exercitationem. Est veritatis eius. Ut dignissimos inventore.\", \"Aliquid inventore architecto est voluptatibus eos explicabo. Libero animi debitis non suscipit voluptatem consequatur qui. Aliquam quia enim earum est. Vitae eligendi magni impedit. Consequatur corrupti aperiam.\"]"], ["created_at", "2014-09-22 18:02:36.461505"], ["name", "contract_8748586e"], ["title", "Voluptatem eaque quia."], ["updated_at", "2014-09-22 18:02:36.461505"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8748586e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8748586e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:02:36.464901"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.467538"], ["updated_at", "2014-09-22 18:02:36.467538"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:02:36.469825"], ["updated_at", "2014-09-22 18:02:36.469825"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.476653"], ["updated_at", "2014-09-22 18:02:36.476653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.478150"], ["updated_at", "2014-09-22 18:02:36.478150"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_9329a37c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis tenetur ut non consequatur autem neque et. Enim placeat repellendus. Dolor consectetur unde consequatur iure. Ipsam porro qui quo consequuntur.\", \"Et adipisci non minus. Sed eum fuga voluptatum deleniti enim. Id quia ducimus. Amet quod omnis. Quae accusantium sed voluptas vel explicabo.\"]"], ["created_at", "2014-09-22 18:02:36.482008"], ["name", "contract_9329a37c"], ["title", "Ut unde repellendus."], ["updated_at", "2014-09-22 18:02:36.482008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9329a37c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_9329a37c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:02:36.485035"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.487439"], ["updated_at", "2014-09-22 18:02:36.487439"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:02:36.489510"], ["updated_at", "2014-09-22 18:02:36.489510"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.494746"], ["updated_at", "2014-09-22 18:02:36.494746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.496159"], ["updated_at", "2014-09-22 18:02:36.496159"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4d51cd0c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore expedita et. Rerum assumenda officia sequi quam et quae. Aliquam et et vel architecto iste unde facilis. Soluta delectus rerum in sit est.\", \"Rem ut aut vero quo quae. Vel excepturi ut sunt ea. Dicta nihil excepturi.\"]"], ["created_at", "2014-09-22 18:02:36.499020"], ["name", "contract_4d51cd0c"], ["title", "Quisquam laboriosam dolorem nulla error quis ut a."], ["updated_at", "2014-09-22 18:02:36.499020"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4d51cd0c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_4d51cd0c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:02:36.502693"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.505180"], ["updated_at", "2014-09-22 18:02:36.505180"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:02:36.507537"], ["updated_at", "2014-09-22 18:02:36.507537"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.511699"], ["updated_at", "2014-09-22 18:02:36.511699"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.513555"], ["updated_at", "2014-09-22 18:02:36.513555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_12d0cce0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic voluptatem harum libero in ad iure. Libero qui et molestiae adipisci error id. Quasi inventore et.\", \"Fuga aliquid qui nihil. Et dolores consequuntur suscipit et neque nulla. Pariatur ut soluta.\"]"], ["created_at", "2014-09-22 18:02:36.516611"], ["name", "contract_12d0cce0"], ["title", "Quo eligendi tempora aut."], ["updated_at", "2014-09-22 18:02:36.516611"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_12d0cce0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_12d0cce0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:02:36.519545"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.521904"], ["updated_at", "2014-09-22 18:02:36.521904"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:02:36.524038"], ["updated_at", "2014-09-22 18:02:36.524038"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.529162"], ["updated_at", "2014-09-22 18:02:36.529162"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.530617"], ["updated_at", "2014-09-22 18:02:36.530617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c506a5fd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga sunt rem illum maxime eum doloremque. Qui voluptate autem possimus. Doloremque architecto repudiandae fugiat in nesciunt dolorem.\", \"Et perferendis ut possimus voluptas alias. Nam iusto modi totam dolorum. Laborum molestias porro repellat.\"]"], ["created_at", "2014-09-22 18:02:36.533417"], ["name", "contract_c506a5fd"], ["title", "Aliquid odio amet excepturi aut."], ["updated_at", "2014-09-22 18:02:36.533417"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c506a5fd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_c506a5fd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:02:36.536554"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.538973"], ["updated_at", "2014-09-22 18:02:36.538973"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:02:36.541033"], ["updated_at", "2014-09-22 18:02:36.541033"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"10"} Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction 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_6f6e4d49') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum quia deleniti voluptatum provident voluptatem. Nostrum tempore est. Dolorem et aut corrupti sint mollitia suscipit earum.\", \"A explicabo molestias officia et. Et nobis accusamus corrupti perferendis voluptatem maxime. Eligendi consequatur dolores quam aut eius veniam. Et aliquid tenetur et. Sint ex illo accusantium.\"]"], ["created_at", "2014-09-22 18:02:36.546875"], ["name", "contract_6f6e4d49"], ["title", "Veritatis nulla corporis doloribus eos quisquam odio."], ["updated_at", "2014-09-22 18:02:36.546875"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f6e4d49"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_6f6e4d49') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:02:36.550911"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6f6e4d49' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum quia deleniti voluptatum provident voluptatem. Nostrum tempore est. Dolorem et aut corrupti sint mollitia suscipit earum.\", \"A explicabo molestias officia et. Et nobis accusamus corrupti perferendis voluptatem maxime. Eligendi consequatur dolores quam aut eius veniam. Et aliquid tenetur et. Sint ex illo accusantium.\"]"], ["created_at", "2014-09-22 18:02:36.555754"], ["name", "joe"], ["title", "Veritatis nulla corporis doloribus eos quisquam odio."], ["updated_at", "2014-09-22 18:02:36.555754"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:02:36.559391"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_5b028124') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi porro itaque consequatur. Nemo natus voluptatibus. Aperiam eum sed quia numquam.\", \"Voluptates alias excepturi iusto molestias quas omnis. Molestiae aspernatur et id est reiciendis doloremque. Voluptatibus vero at. Voluptatem eos velit debitis repudiandae.\"]"], ["created_at", "2014-09-22 18:02:36.564071"], ["name", "contract_5b028124"], ["title", "Esse ipsa numquam."], ["updated_at", "2014-09-22 18:02:36.564071"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b028124"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_5b028124') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:02:36.567149"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5b028124' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_5b028124') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi porro itaque consequatur. Nemo natus voluptatibus. Aperiam eum sed quia numquam.\", \"Voluptates alias excepturi iusto molestias quas omnis. Molestiae aspernatur et id est reiciendis doloremque. Voluptatibus vero at. Voluptatem eos velit debitis repudiandae.\"]"], ["created_at", "2014-09-22 18:02:36.570707"], ["name", "contract_5b028124"], ["title", "Esse ipsa numquam."], ["updated_at", "2014-09-22 18:02:36.570707"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5b028124"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_5b028124') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:02:36.573756"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2ccdf561') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti repellat qui esse. Repudiandae est labore laudantium ut placeat et. A eos omnis.\", \"Et iste ex. Iure molestiae vero veritatis. Molestias unde fuga nihil excepturi repudiandae labore voluptas.\"]"], ["created_at", "2014-09-22 18:02:36.577451"], ["name", "contract_2ccdf561"], ["title", "Quia provident dolorum sit voluptas."], ["updated_at", "2014-09-22 18:02:36.577451"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ccdf561"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_2ccdf561') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:02:36.581615"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ccdf561"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ccdf561"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_2ccdf561') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:02:36.586413"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b0d69500') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est nisi aliquam totam distinctio voluptas enim. Nulla odit rem. Omnis eligendi quia qui totam cum est. Quis quidem est facilis voluptas sunt. Earum excepturi modi pariatur.\", \"Soluta ad corporis necessitatibus accusamus perferendis dolorum. Voluptatum beatae provident voluptas est eius. Et quia perferendis molestiae in cupiditate.\"]"], ["created_at", "2014-09-22 18:02:36.589787"], ["name", "contract_b0d69500"], ["title", "Aliquam maxime nemo doloribus porro et."], ["updated_at", "2014-09-22 18:02:36.589787"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0d69500"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_b0d69500') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:02:36.592593"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.596414"], ["updated_at", "2014-09-22 18:02:36.596414"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 18:02:36.598694"], ["updated_at", "2014-09-22 18:02:36.598694"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_b0d69500') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0d69500"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_b0d69500') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores id veniam accusamus quidem eaque illo. Vero laboriosam et ipsum occaecati voluptatibus reiciendis. Quas qui voluptatem nemo et ut ea aliquid. Ducimus repellendus vitae. Nesciunt nemo esse earum.\", \"Rerum neque voluptate tempora architecto in cum. Pariatur sit dignissimos dolorum maxime amet non. Illum laudantium adipisci quo qui labore. Voluptate quas amet debitis.\"]"], ["created_at", "2014-09-22 18:02:36.607791"], ["name", "alpha"], ["title", "Quo modi sequi cum aut optio."], ["updated_at", "2014-09-22 18:02:36.607791"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:02:36.611528"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque sed ullam eveniet iusto. Cupiditate quod in nemo laudantium quia. Eos cum optio consequatur magni.\", \"Voluptatem nesciunt atque. Illo deleniti aut aut id. Repudiandae soluta similique hic mollitia doloremque. Voluptatum sed deserunt voluptatibus ex magni quia dolorum. Iste et nesciunt fuga nobis delectus.\"]"], ["created_at", "2014-09-22 18:02:36.615890"], ["name", "beta"], ["title", "Tenetur amet temporibus."], ["updated_at", "2014-09-22 18:02:36.615890"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:02:36.618957"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.621272"], ["updated_at", "2014-09-22 18:02:36.621272"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 18:02:36.623839"], ["updated_at", "2014-09-22 18:02:36.623839"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 18:02:36.626228"], ["updated_at", "2014-09-22 18:02:36.626228"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:02:36.628422"], ["name", "alpha"], ["title", "Quo modi sequi cum aut optio."], ["updated_at", "2014-09-22 18:02:36.628422"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:02:36.631403"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 18:02:36.649677"], ["updated_at", "2014-09-22 18:02:36.649677"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus impedit recusandae est voluptate rem et sed. Impedit ex dolore laborum iure. Vero doloribus quia ipsam omnis facilis nihil in. Tempora reprehenderit rerum.\", \"Qui fuga qui rem. Molestiae rem eum nobis esse aliquid corrupti. Nesciunt voluptas totam possimus facilis placeat.\"]"], ["created_at", "2014-09-22 18:02:36.662438"], ["name", "alpha"], ["title", "Et et non facilis et eius."], ["updated_at", "2014-09-22 18:02:36.662438"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:02:36.665542"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores illum deleniti nostrum sit et ut. Dolore eum ut id ratione inventore alias. Alias vel ea repellendus molestiae eos occaecati corrupti. Quo eum quam nisi eos omnis beatae dolore. Ut optio dolores esse quo.\", \"Reiciendis deleniti omnis eos consectetur dignissimos ut. Blanditiis nesciunt aliquam. Doloremque exercitationem magni aut. Est unde pariatur doloremque.\"]"], ["created_at", "2014-09-22 18:02:36.668988"], ["name", "beta"], ["title", "Ut aut consectetur et sit sed sed quibusdam."], ["updated_at", "2014-09-22 18:02:36.668988"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:02:36.672023"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.674205"], ["updated_at", "2014-09-22 18:02:36.674205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:02:36.676755"], ["updated_at", "2014-09-22 18:02:36.676755"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:02:36.679145"], ["updated_at", "2014-09-22 18:02:36.679145"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:02:36.681310"], ["name", "alpha"], ["title", "Et et non facilis et eius."], ["updated_at", "2014-09-22 18:02:36.681310"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:02:36.684264"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt ut accusamus aspernatur. Labore id in consequatur a minima. Ducimus maxime deleniti culpa nihil eveniet. Autem culpa quaerat numquam incidunt sit. Voluptatibus eveniet sit inventore occaecati.\", \"Harum et deserunt sit. Omnis laboriosam qui quaerat non est debitis. Et cum nesciunt.\"]"], ["created_at", "2014-09-22 18:02:36.690890"], ["name", "alpha"], ["title", "Fuga sed facere."], ["updated_at", "2014-09-22 18:02:36.690890"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:02:36.694116"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum sed ipsa voluptates magni qui vitae fuga. Quo a repellendus facilis. Ad voluptates hic assumenda repellendus vel dolorum. Error magni dolorum suscipit. Esse non dolore similique vero culpa ad molestiae.\", \"Velit modi autem non et dolore. Facilis sequi enim. Vitae culpa et dolores incidunt voluptates.\"]"], ["created_at", "2014-09-22 18:02:36.697644"], ["name", "beta"], ["title", "Dolorem consequatur aut consequuntur esse ea sunt."], ["updated_at", "2014-09-22 18:02:36.697644"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:02:36.700738"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.703012"], ["updated_at", "2014-09-22 18:02:36.703012"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:02:36.705688"], ["updated_at", "2014-09-22 18:02:36.705688"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:02:36.708338"], ["updated_at", "2014-09-22 18:02:36.708338"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:02:36.710507"], ["name", "alpha"], ["title", "Fuga sed facere."], ["updated_at", "2014-09-22 18:02:36.710507"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:02:36.714130"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum ea dolor voluptates. Enim omnis quo ipsum nesciunt quisquam. Id quis sit qui architecto laborum voluptas. Hic tenetur nihil nulla pariatur. Nihil impedit eius enim voluptatem fugiat corporis.\", \"Nemo ut voluptas occaecati aut iusto ullam. Impedit modi harum qui rerum vero natus ut. Explicabo inventore quo.\"]"], ["created_at", "2014-09-22 18:02:36.720901"], ["name", "alpha"], ["title", "Qui et enim in inventore perferendis."], ["updated_at", "2014-09-22 18:02:36.720901"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:02:36.724040"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et officiis et est laudantium. Blanditiis et est debitis reprehenderit. Voluptas magni eaque facere vel sed quibusdam quis. Qui aliquam reiciendis officiis a animi repellendus rerum.\", \"Necessitatibus expedita iure suscipit odit sapiente blanditiis. Nam est enim maxime aliquid. Veniam tenetur totam animi nemo officia quos nihil. Et fuga a repellendus impedit veritatis et. Qui sed eaque neque odit.\"]"], ["created_at", "2014-09-22 18:02:36.727411"], ["name", "beta"], ["title", "Sit esse reprehenderit perspiciatis repellendus mollitia."], ["updated_at", "2014-09-22 18:02:36.727411"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:02:36.730299"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.732480"], ["updated_at", "2014-09-22 18:02:36.732480"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:02:36.735005"], ["updated_at", "2014-09-22 18:02:36.735005"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:02:36.737422"], ["updated_at", "2014-09-22 18:02:36.737422"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:02:36.739602"], ["name", "alpha"], ["title", "Qui et enim in inventore perferendis."], ["updated_at", "2014-09-22 18:02:36.739602"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:02:36.742608"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.747497"], ["updated_at", "2014-09-22 18:02:36.747497"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.748835"], ["updated_at", "2014-09-22 18:02:36.748835"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7aa036d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae nesciunt ad numquam enim. Ex et aut reiciendis id et vel rerum. Porro quo adipisci inventore eos est eveniet vero.\", \"Voluptatum blanditiis repudiandae occaecati non qui a. Autem dolor iusto. Occaecati iure debitis harum sapiente. Sequi vitae et iure hic aliquam. Quaerat blanditiis occaecati iure fugiat tenetur omnis ut.\"]"], ["created_at", "2014-09-22 18:02:36.751384"], ["name", "contract_7aa036d0"], ["title", "Deleniti maxime saepe."], ["updated_at", "2014-09-22 18:02:36.751384"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:02:36.756415"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:02:36.756415"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.760226"], ["updated_at", "2014-09-22 18:02:36.760226"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.761629"], ["updated_at", "2014-09-22 18:02:36.761629"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_753c86c2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi temporibus enim ut. Et quibusdam iure delectus in dolorem eum rem. Ut quo modi animi atque non optio. Consectetur soluta repellendus dolores quae cupiditate neque saepe.\", \"Necessitatibus quam consequuntur laborum et blanditiis nobis. Voluptas dolores sed molestiae. Iste quod distinctio beatae dolorem reiciendis vel. Ea consequatur aut quis aut et sed.\"]"], ["created_at", "2014-09-22 18:02:36.764910"], ["name", "contract_753c86c2"], ["title", "Et illum et nihil."], ["updated_at", "2014-09-22 18:02:36.764910"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_753c86c2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_753c86c2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:02:36.768000"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.775464"], ["updated_at", "2014-09-22 18:02:36.775464"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.777368"], ["updated_at", "2014-09-22 18:02:36.777368"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_33e21d62') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non molestias voluptatibus. Saepe nobis ut eveniet tempore exercitationem tempora. Dolorum voluptatem harum ab repellendus culpa magnam vel.\", \"Esse assumenda officia nisi iure quisquam beatae. Sequi doloremque enim quisquam et ex eligendi. Praesentium est distinctio. Quia in laborum voluptas ducimus. Sint eveniet illum nemo.\"]"], ["created_at", "2014-09-22 18:02:36.780957"], ["name", "contract_33e21d62"], ["title", "Vel praesentium mollitia temporibus."], ["updated_at", "2014-09-22 18:02:36.780957"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_33e21d62"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_33e21d62') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:02:36.784488"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_33e21d62' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.792097"], ["updated_at", "2014-09-22 18:02:36.792097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.793749"], ["updated_at", "2014-09-22 18:02:36.793749"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b38e950') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptas perspiciatis aliquam dolorem. Repudiandae in molestiae iste voluptas et distinctio. Assumenda rem magni.\", \"Minus ut itaque nihil asperiores harum. Et ipsam eos rerum ex quibusdam necessitatibus. Atque et voluptatibus eius natus aut consectetur. Dolor suscipit facere corrupti quidem ipsam natus occaecati. At blanditiis itaque.\"]"], ["created_at", "2014-09-22 18:02:36.796807"], ["name", "contract_0b38e950"], ["title", "Omnis ipsa ut molestiae."], ["updated_at", "2014-09-22 18:02:36.796807"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 33]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 33]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 33 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.804935"], ["updated_at", "2014-09-22 18:02:36.804935"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.806471"], ["updated_at", "2014-09-22 18:02:36.806471"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_1f60172a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus quia tempore enim. Vero temporibus quia excepturi maiores quae quia. Vel temporibus itaque assumenda. Odit ratione veniam id beatae pariatur quidem soluta. In et qui officiis eum perferendis.\", \"Sequi quia aut accusantium dolorem neque quae. Eveniet est natus cumque maxime. Magnam eveniet quo iste itaque ut qui. Pariatur delectus sed in repellat voluptatem.\"]"], ["created_at", "2014-09-22 18:02:36.809481"], ["name", "contract_1f60172a"], ["title", "Nihil laborum fugit autem vel doloremque architecto."], ["updated_at", "2014-09-22 18:02:36.809481"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.814569"], ["updated_at", "2014-09-22 18:02:36.814569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.815955"], ["updated_at", "2014-09-22 18:02:36.815955"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4ca45891') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ducimus reiciendis ex ut facere quia culpa. Excepturi autem doloribus. Est qui cumque rerum. Itaque aliquid consequuntur vitae corrupti. Quia inventore porro occaecati accusantium sit.\", \"Sed sunt cum ea animi. Quos aut doloremque non rerum enim enim. Est consequatur officiis nemo deserunt eum sed. Nobis cum harum quidem voluptatum. Aut incidunt magnam unde tempora beatae explicabo aut.\"]"], ["created_at", "2014-09-22 18:02:36.818502"], ["name", "contract_4ca45891"], ["title", "Porro unde praesentium cumque velit neque et et."], ["updated_at", "2014-09-22 18:02:36.818502"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ca45891"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_4ca45891') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:02:36.821484"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.826190"], ["updated_at", "2014-09-22 18:02:36.826190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.827708"], ["updated_at", "2014-09-22 18:02:36.827708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b103d800') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit ea dolor est officiis exercitationem omnis. Ex in eveniet laboriosam consequatur sapiente cupiditate in. Exercitationem fuga omnis odit numquam hic voluptatem in. Autem numquam quibusdam quisquam. Id dolor omnis.\", \"Harum sunt nesciunt laborum sed sint quo ut. Soluta architecto sequi omnis aut ducimus. Repellendus voluptate aut debitis qui tempore. Quia aut similique adipisci beatae.\"]"], ["created_at", "2014-09-22 18:02:36.830275"], ["name", "contract_b103d800"], ["title", "Repellat quidem et quos totam dolor delectus aut."], ["updated_at", "2014-09-22 18:02:36.830275"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.833999"], ["updated_at", "2014-09-22 18:02:36.833999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.835438"], ["updated_at", "2014-09-22 18:02:36.835438"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc7b1cf1') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis sed consectetur recusandae maxime veritatis. Minus alias expedita sunt magni quos et. Ratione qui ea distinctio tempore corrupti nihil aut. In ea omnis qui. Sit odit quae.\", \"Ut assumenda repellat. Laborum ipsum nisi itaque officia expedita officiis hic. Harum assumenda molestiae perspiciatis adipisci sed necessitatibus. Veritatis fugiat dicta qui repudiandae quia ut et.\"]"], ["created_at", "2014-09-22 18:02:36.837966"], ["name", "contract_cc7b1cf1"], ["title", "Minima ipsam unde et eius nisi dignissimos dolorem."], ["updated_at", "2014-09-22 18:02:36.837966"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:02:36.841917"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.847130"], ["updated_at", "2014-09-22 18:02:36.847130"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.848694"], ["updated_at", "2014-09-22 18:02:36.848694"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_66197d1c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae quo aspernatur molestiae rem. Vel quasi non. Debitis aut veniam atque doloremque eius qui.\", \"Consequatur eligendi quia fugit dolores aliquam alias. Consequatur itaque repudiandae quos. Amet ea qui dolorum. Labore repudiandae praesentium qui sed. Sit vero debitis assumenda dolor.\"]"], ["created_at", "2014-09-22 18:02:36.851350"], ["name", "contract_66197d1c"], ["title", "Ab assumenda libero iusto sunt."], ["updated_at", "2014-09-22 18:02:36.851350"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.855451"], ["updated_at", "2014-09-22 18:02:36.855451"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.857138"], ["updated_at", "2014-09-22 18:02:36.857138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b2d925da') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut reiciendis quo ullam. Corporis at quis quae vitae animi. Perferendis unde et. Enim mollitia consequuntur dolore. Porro eos incidunt.\", \"Perspiciatis enim quis. Fugit ipsam veritatis in eum consequuntur. Eveniet voluptates perspiciatis.\"]"], ["created_at", "2014-09-22 18:02:36.859659"], ["name", "contract_b2d925da"], ["title", "Inventore dolore sunt modi."], ["updated_at", "2014-09-22 18:02:36.859659"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.871860"], ["updated_at", "2014-09-22 18:02:36.871860"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.873522"], ["updated_at", "2014-09-22 18:02:36.873522"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_765884be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui debitis ipsam doloremque perferendis. Veniam necessitatibus iusto. Sit sed alias quia quisquam quod repellat quibusdam. Nihil in nemo et et quam sed recusandae.\", \"Distinctio perspiciatis explicabo deserunt quia qui. Necessitatibus commodi reiciendis ipsam dolores. Sed iusto sit quisquam magni corporis sapiente. Excepturi id voluptatum totam quis eaque.\"]"], ["created_at", "2014-09-22 18:02:36.876882"], ["name", "contract_765884be"], ["title", "Vitae repellat aut aut."], ["updated_at", "2014-09-22 18:02:36.876882"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_765884be"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_765884be') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:02:36.882907"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.888654"], ["updated_at", "2014-09-22 18:02:36.888654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.890272"], ["updated_at", "2014-09-22 18:02:36.890272"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_9c583c89') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem ut saepe. Consequatur soluta aliquam dolorem beatae quo. Quae doloribus fuga aspernatur. Magni voluptatem ea repellendus.\", \"Vel sint et ab rerum. Cupiditate recusandae magnam sint. Dignissimos qui dolores voluptatem et voluptatem. Sunt sunt fugit natus rem tempore.\"]"], ["created_at", "2014-09-22 18:02:36.893129"], ["name", "contract_9c583c89"], ["title", "Voluptas quod et dignissimos."], ["updated_at", "2014-09-22 18:02:36.893129"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.902483"], ["updated_at", "2014-09-22 18:02:36.902483"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.904268"], ["updated_at", "2014-09-22 18:02:36.904268"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_e6cf99d9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas enim et non quia ipsa et soluta. Voluptatem aliquid tenetur. Fuga dolor enim id. Libero quisquam ut vero deserunt provident ut accusantium.\", \"Et et natus. Quis animi dolorum veniam aliquid alias qui. Dolores qui omnis et molestiae et ea qui.\"]"], ["created_at", "2014-09-22 18:02:36.907003"], ["name", "contract_e6cf99d9"], ["title", "Debitis tempora accusantium ea perspiciatis nihil eligendi."], ["updated_at", "2014-09-22 18:02:36.907003"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.912590"], ["updated_at", "2014-09-22 18:02:36.912590"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.914592"], ["updated_at", "2014-09-22 18:02:36.914592"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47b725f2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium consequatur voluptates aut eum provident. Illo totam vitae nam incidunt quasi nihil vero. Eum voluptatem aliquam.\", \"Corrupti est consequatur non voluptatum sed. Dolor pariatur rem quasi. Quae voluptas repellendus consequatur reiciendis numquam consectetur. Non voluptates architecto nesciunt commodi ipsa sed. Doloribus provident veritatis fuga distinctio voluptatum maxime ad.\"]"], ["created_at", "2014-09-22 18:02:36.918990"], ["name", "contract_47b725f2"], ["title", "Voluptas libero quaerat dolor corporis."], ["updated_at", "2014-09-22 18:02:36.918990"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47b725f2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_47b725f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:02:36.923030"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47b725f2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_47b725f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:02:36.931905"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.937672"], ["updated_at", "2014-09-22 18:02:36.937672"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.939958"], ["updated_at", "2014-09-22 18:02:36.939958"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f679fb50') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem autem in perferendis minus. Excepturi consequatur qui quia. In ullam dolorum minus nam.\", \"Voluptatem illo omnis ipsam ea vero ut voluptatum. Blanditiis atque minima quod labore doloribus expedita illo. Quaerat aut reprehenderit voluptas. Sit culpa delectus dolore illum inventore qui. Blanditiis provident est.\"]"], ["created_at", "2014-09-22 18:02:36.946018"], ["name", "contract_f679fb50"], ["title", "Qui voluptas illo voluptatibus impedit est culpa."], ["updated_at", "2014-09-22 18:02:36.946018"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.954160"], ["updated_at", "2014-09-22 18:02:36.954160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.956318"], ["updated_at", "2014-09-22 18:02:36.956318"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d8c2343f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet minima autem aut cupiditate fugiat non illo. Sed et voluptate rerum veritatis quam quas sed. Aperiam natus laudantium neque voluptatem non repellat.\", \"Dolorem tenetur blanditiis sed qui ullam quas. Rerum eligendi qui aliquam. Sequi et nisi. Qui ut voluptatem est aut. Ipsam id autem vel iure unde quia.\"]"], ["created_at", "2014-09-22 18:02:36.960988"], ["name", "contract_d8c2343f"], ["title", "Itaque sint rerum."], ["updated_at", "2014-09-22 18:02:36.960988"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.967431"], ["updated_at", "2014-09-22 18:02:36.967431"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.968972"], ["updated_at", "2014-09-22 18:02:36.968972"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_5a2d8e7b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis labore laborum vero officia sunt tenetur laudantium. Debitis minus voluptatem. Velit maxime laborum non ullam sed.\", \"Accusamus est quis. Sed at doloremque sed voluptas quia. Dolorum quos est totam omnis et. Quos laborum sint omnis sit at doloremque. Magni autem quam dolorum aliquid doloremque voluptas praesentium.\"]"], ["created_at", "2014-09-22 18:02:36.971966"], ["name", "contract_5a2d8e7b"], ["title", "Reiciendis cupiditate non ut laudantium animi sunt."], ["updated_at", "2014-09-22 18:02:36.971966"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.976113"], ["updated_at", "2014-09-22 18:02:36.976113"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.977689"], ["updated_at", "2014-09-22 18:02:36.977689"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_98fede11') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit eum est sint illo et cupiditate soluta. Atque sit nostrum a unde. Rerum dolor dolorum laboriosam nisi debitis aut quia. Eum mollitia similique a.\", \"Dolorem qui rem porro. Commodi qui est voluptatibus modi soluta illo. Dolor enim quisquam eos ad in sequi reprehenderit.\"]"], ["created_at", "2014-09-22 18:02:36.981096"], ["name", "contract_98fede11"], ["title", "Sunt sequi harum qui consequuntur aliquam velit eum."], ["updated_at", "2014-09-22 18:02:36.981096"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 37, 27, 24, 21, 18, 2, 9, 34, 15, 1, 32, 43, 35, 8, 46, 14, 13, 38, 11, 31, 40, 29, 6, 7, 47, 41, 16, 36, 39, 10, 45, 3, 5, 42, 44, 4, 12, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.992932"], ["updated_at", "2014-09-22 18:02:36.992932"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.994689"], ["updated_at", "2014-09-22 18:02:36.994689"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:36.999165"], ["updated_at", "2014-09-22 18:02:36.999165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:02:37.000638"], ["updated_at", "2014-09-22 18:02:37.000638"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.394502"], ["updated_at", "2014-09-22 18:28:28.394502"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.400732"], ["updated_at", "2014-09-22 18:28:28.400732"]]  (0.4ms) commit transaction  (0.1ms) begin transaction 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_5205a546') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores aliquam enim. Id similique quaerat sit quas vel rerum necessitatibus. Laborum quae fuga atque. Cupiditate modi quo aut voluptas earum.\", \"Amet minima et inventore modi vel facere. Mollitia velit fuga alias illum. Ut est aut veritatis quia quis.\"]"], ["created_at", "2014-09-22 18:28:28.630155"], ["name", "contract_5205a546"], ["title", "Magni sunt rem temporibus sint."], ["updated_at", "2014-09-22 18:28:28.630155"]]  (2.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.644791"], ["updated_at", "2014-09-22 18:28:28.644791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.646480"], ["updated_at", "2014-09-22 18:28:28.646480"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_af221c70') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt qui voluptatum consequatur id nisi est modi. Enim non facilis exercitationem modi. Sit nam fuga aperiam quis dolor. Molestiae voluptas illo architecto at eveniet inventore. Qui ut odit et.\", \"Est libero nemo distinctio. Eius consectetur illo harum labore optio. Minus eveniet voluptas.\"]"], ["created_at", "2014-09-22 18:28:28.655724"], ["name", "contract_af221c70"], ["title", "Ea odit repudiandae quae maiores sit commodi temporibus."], ["updated_at", "2014-09-22 18:28:28.655724"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.664927"], ["updated_at", "2014-09-22 18:28:28.664927"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.667176"], ["updated_at", "2014-09-22 18:28:28.667176"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a930abb4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias illo similique voluptatum assumenda perferendis et ad. Delectus exercitationem inventore qui omnis fugiat voluptatem consequatur. Distinctio in rerum commodi possimus ullam aliquid.\", \"Dolorum consequatur quis. Porro quia pariatur sunt repudiandae consequatur dolor non. Laboriosam excepturi laborum quo. Illum fugit corporis voluptatibus architecto.\"]"], ["created_at", "2014-09-22 18:28:28.670887"], ["name", "contract_a930abb4"], ["title", "Animi veritatis est atque laboriosam aut deserunt."], ["updated_at", "2014-09-22 18:28:28.670887"]]  (1.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.677894"], ["updated_at", "2014-09-22 18:28:28.677894"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.679633"], ["updated_at", "2014-09-22 18:28:28.679633"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a3d1c638') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eum est consequatur. Non et eveniet qui commodi. Exercitationem pariatur repudiandae labore deserunt cumque enim.\", \"Maiores deserunt vitae. Nihil enim tenetur et recusandae odio. Minus illo officiis sequi sunt. Quia ut dolorum illo corporis voluptatem est consequatur. Autem animi totam.\"]"], ["created_at", "2014-09-22 18:28:28.682598"], ["name", "contract_a3d1c638"], ["title", "Nihil est reiciendis quasi illo."], ["updated_at", "2014-09-22 18:28:28.682598"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:28:28.686620"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:28:28.686620"]]  (1.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/5 Completed 302 Found in 6ms (ActiveRecord: 1.8ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.692853"], ["updated_at", "2014-09-22 18:28:28.692853"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.694439"], ["updated_at", "2014-09-22 18:28:28.694439"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8a46ec04') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores repellendus asperiores. Eum deleniti voluptatem aliquid harum architecto nulla. Enim id voluptatem aperiam. Molestiae et nam expedita praesentium voluptate tempore. Laborum placeat perspiciatis quia nobis.\", \"Porro cupiditate voluptas consectetur. Autem odio velit accusantium quia consequatur commodi. Et explicabo vero. Praesentium provident enim et omnis. Exercitationem sit et explicabo quas.\"]"], ["created_at", "2014-09-22 18:28:28.697266"], ["name", "contract_8a46ec04"], ["title", "Quia veritatis dolor voluptas."], ["updated_at", "2014-09-22 18:28:28.697266"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:28:28.702110"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 13ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.715159"], ["updated_at", "2014-09-22 18:28:28.715159"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.716817"], ["updated_at", "2014-09-22 18:28:28.716817"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e7d32929') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta quae dolores ab quasi consequuntur quia reprehenderit. Est est in quos molestias. Omnis ut culpa sed beatae. Aut tempora necessitatibus enim eaque ut repudiandae.\", \"Suscipit porro et et velit voluptas. Aliquam pariatur magni. Laborum magni aliquid animi perspiciatis architecto. Laudantium dolorem repudiandae nihil et assumenda dolor ut. Est consequuntur sit.\"]"], ["created_at", "2014-09-22 18:28:28.719669"], ["name", "contract_e7d32929"], ["title", "Quia iste velit deserunt a harum."], ["updated_at", "2014-09-22 18:28:28.719669"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.726359"], ["updated_at", "2014-09-22 18:28:28.726359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.728117"], ["updated_at", "2014-09-22 18:28:28.728117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ac5c8c11') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod est delectus perferendis fuga qui aut aliquam. Amet beatae numquam at ducimus earum aliquid. Optio fuga vel dolorem. Quasi sed pariatur blanditiis voluptas.\", \"Sint porro officiis eum cumque omnis consequatur deleniti. Quos dolorum inventore aut nobis similique esse eos. Ipsam quidem dolore. Qui beatae rem suscipit voluptatibus eius nostrum nulla.\"]"], ["created_at", "2014-09-22 18:28:28.731058"], ["name", "contract_ac5c8c11"], ["title", "Vero ipsum occaecati qui."], ["updated_at", "2014-09-22 18:28:28.731058"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.735556"], ["updated_at", "2014-09-22 18:28:28.735556"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.737445"], ["updated_at", "2014-09-22 18:28:28.737445"]]  (2.2ms) commit transaction  (0.0ms) begin transaction 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_445545c2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti excepturi incidunt porro voluptas quas eum. Saepe quibusdam et culpa aut commodi dolor. Quia eum est ad iste optio.\", \"Suscipit voluptatem maiores quae. Et rerum neque corporis voluptas officia magnam. Similique quasi enim nostrum.\"]"], ["created_at", "2014-09-22 18:28:28.741897"], ["name", "contract_445545c2"], ["title", "Voluptas nobis ullam blanditiis quis qui."], ["updated_at", "2014-09-22 18:28:28.741897"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 9]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 9]]  (5.3ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 5.7ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 9 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.757584"], ["updated_at", "2014-09-22 18:28:28.757584"]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.761254"], ["updated_at", "2014-09-22 18:28:28.761254"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f131c3d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quisquam blanditiis nemo aut. Dolor molestiae quos ut. Qui sit amet. Omnis iure laudantium voluptatem ipsam.\", \"Modi qui quod. Quia quo delectus optio. Ut veritatis possimus consectetur ullam molestias. Voluptatem saepe temporibus autem officiis inventore quis. Enim sapiente recusandae odit omnis eligendi.\"]"], ["created_at", "2014-09-22 18:28:28.764334"], ["name", "contract_f131c3d2"], ["title", "Expedita dolorem quod quam error."], ["updated_at", "2014-09-22 18:28:28.764334"]]  (4.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.773114"], ["updated_at", "2014-09-22 18:28:28.773114"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.775039"], ["updated_at", "2014-09-22 18:28:28.775039"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_5e4dd435') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut deleniti iste aut doloremque adipisci modi. Et deleniti tenetur numquam. Est pariatur quisquam maxime cum. Ullam blanditiis ut. Vel quia minus voluptatum perferendis maxime eum et.\", \"Quo exercitationem quod aut vero nobis. Atque omnis ducimus corporis dicta et. At dolor quam.\"]"], ["created_at", "2014-09-22 18:28:28.778058"], ["name", "contract_5e4dd435"], ["title", "Rerum incidunt provident veritatis nostrum."], ["updated_at", "2014-09-22 18:28:28.778058"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.782644"], ["updated_at", "2014-09-22 18:28:28.782644"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.784219"], ["updated_at", "2014-09-22 18:28:28.784219"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_b65152a1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nulla sint sed rerum et tempora officia. Eveniet molestiae ut. Delectus dolores vel harum facilis distinctio. Quaerat autem debitis et minima vero. Rerum reprehenderit consequatur magnam.\", \"Saepe autem et et harum. Fuga quis modi ad sapiente vel occaecati. Velit id ut quia sed inventore molestiae. Sequi fuga dolor voluptatem ea. Commodi qui a architecto.\"]"], ["created_at", "2014-09-22 18:28:28.787104"], ["name", "contract_b65152a1"], ["title", "Qui odio cumque."], ["updated_at", "2014-09-22 18:28:28.787104"]]  (3.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b65152a1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_b65152a1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:28:28.793736"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.800221"], ["updated_at", "2014-09-22 18:28:28.800221"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.801953"], ["updated_at", "2014-09-22 18:28:28.801953"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a22f2b1f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut velit rerum vitae adipisci perferendis ut. Ipsum neque repellat ex nemo qui nisi. Quia velit quis. Ut illum id dolorem.\", \"Aliquid repudiandae necessitatibus. Saepe qui provident et aut fuga aut nemo. Corrupti sed vel doloribus sint.\"]"], ["created_at", "2014-09-22 18:28:28.810480"], ["name", "contract_a22f2b1f"], ["title", "Officia culpa unde sunt."], ["updated_at", "2014-09-22 18:28:28.810480"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a22f2b1f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_a22f2b1f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:28:28.816423"], ["version", 1]]  (6.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 11ms (ActiveRecord: 6.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.826303"], ["updated_at", "2014-09-22 18:28:28.826303"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.833071"], ["updated_at", "2014-09-22 18:28:28.833071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a16a1ae7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus odio deserunt animi maxime non. Quidem eveniet in eos sed eius. Natus voluptatem iusto.\", \"Aliquam error voluptas possimus facilis molestias. Est velit quas excepturi tenetur enim et. Et recusandae ducimus est possimus praesentium placeat minima.\"]"], ["created_at", "2014-09-22 18:28:28.835807"], ["name", "contract_a16a1ae7"], ["title", "Ipsa accusantium non in esse odit occaecati."], ["updated_at", "2014-09-22 18:28:28.835807"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a16a1ae7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a16a1ae7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:28:28.839022"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a16a1ae7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_a16a1ae7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:28:28.844536"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.848770"], ["updated_at", "2014-09-22 18:28:28.848770"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.855381"], ["updated_at", "2014-09-22 18:28:28.855381"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_ddad9afc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ab non dolor quas ut velit. Ut sit saepe necessitatibus animi dolor aliquam asperiores. Ullam veniam quaerat mollitia. Voluptatem laborum amet.\", \"Aut est iste ab veniam sequi neque minima. Maxime id laboriosam voluptatem earum modi et debitis. Atque deleniti non. Voluptatem fuga ut. Aperiam eos et quam pariatur amet aut.\"]"], ["created_at", "2014-09-22 18:28:28.857811"], ["name", "contract_ddad9afc"], ["title", "Praesentium culpa id aut fuga totam."], ["updated_at", "2014-09-22 18:28:28.857811"]]  (33.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ddad9afc"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_ddad9afc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:28:28.894909"], ["version", 1]]  (2.9ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.904140"], ["updated_at", "2014-09-22 18:28:28.904140"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.906003"], ["updated_at", "2014-09-22 18:28:28.906003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1056b3b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut consectetur vel molestiae harum molestias dolorum alias. Cumque explicabo possimus ut ab alias ut voluptatibus. Reiciendis id incidunt molestias eligendi.\", \"Ipsa aspernatur maiores consectetur cum eos facere deserunt. Aliquid rerum molestiae provident culpa quam vel quidem. Non ducimus est dignissimos quia. Dignissimos est quis doloremque qui.\"]"], ["created_at", "2014-09-22 18:28:28.908875"], ["name", "contract_1056b3b1"], ["title", "Sunt vel ut cumque aut."], ["updated_at", "2014-09-22 18:28:28.908875"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.912790"], ["updated_at", "2014-09-22 18:28:28.912790"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.914338"], ["updated_at", "2014-09-22 18:28:28.914338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b7bfcb98') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus nisi eligendi sit esse. Voluptas expedita est et ratione officia nihil. Earum et aut aperiam voluptatem qui tempora quia. Minus mollitia reiciendis illo officiis harum dolorem.\", \"Delectus pariatur exercitationem sunt occaecati rerum. Ullam eaque adipisci cupiditate esse est fuga nisi. Nulla consequuntur tenetur illo eum quibusdam. Deserunt sed beatae maiores sapiente.\"]"], ["created_at", "2014-09-22 18:28:28.916887"], ["name", "contract_b7bfcb98"], ["title", "Odio natus dignissimos."], ["updated_at", "2014-09-22 18:28:28.916887"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.922026"], ["updated_at", "2014-09-22 18:28:28.922026"]]  (3.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.926316"], ["updated_at", "2014-09-22 18:28:28.926316"]]  (1.3ms) commit transaction  (0.0ms) begin transaction 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_55c30381') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex delectus accusantium possimus beatae odio placeat. Impedit minus omnis laborum. Modi iusto consequatur.\", \"Numquam nostrum et quo accusamus non necessitatibus. Nulla placeat corrupti illum fugit facilis nesciunt. Repudiandae quia eligendi ipsum doloremque facilis asperiores. Doloribus culpa corrupti nam mollitia enim omnis qui. Ipsum nihil quod suscipit commodi mollitia.\"]"], ["created_at", "2014-09-22 18:28:28.929594"], ["name", "contract_55c30381"], ["title", "Sequi neque eum est possimus et."], ["updated_at", "2014-09-22 18:28:28.929594"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 16, 1, 18, 11, 14, 13, 4, 3, 8, 2, 12, 17, 15, 7, 10, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.939475"], ["updated_at", "2014-09-22 18:28:28.939475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:28.941353"], ["updated_at", "2014-09-22 18:28:28.941353"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ed71c4ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut excepturi rerum ad. Velit facilis sequi perspiciatis qui quaerat. Iure ducimus quibusdam velit eaque in. Labore tempora fuga autem. Aspernatur rerum est nisi sed ex.\", \"Sed quidem minus animi. Rem maiores ea ut animi inventore a. Voluptas illo ducimus voluptas.\"]"], ["created_at", "2014-09-22 18:28:28.944408"], ["name", "contract_ed71c4ef"], ["title", "Voluptatem quidem ullam dolores cupiditate occaecati velit culpa."], ["updated_at", "2014-09-22 18:28:28.944408"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ed71c4ef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_ed71c4ef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:28:28.947495"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ed71c4ef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction 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_990ddf59') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit natus laboriosam. Et veniam accusantium est qui quos nesciunt. Tempore optio ipsa mollitia animi. Id sapiente odio.\", \"Nobis nisi est magni nostrum. Et ab ea amet voluptate qui. Quas et ipsam libero. Tenetur enim libero iste ut. In provident voluptas consequuntur.\"]"], ["created_at", "2014-09-22 18:28:28.955537"], ["name", "contract_990ddf59"], ["title", "Aut quis velit odit quia odio excepturi."], ["updated_at", "2014-09-22 18:28:28.955537"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_990ddf59"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_990ddf59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:28:28.959879"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_990ddf59"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_990ddf59"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_990ddf59') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:28:28.964827"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_247825d3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem ullam nam culpa cum. Fuga sit a ipsa. Occaecati fugiat est tempore quam nihil animi. Praesentium nemo incidunt fugiat culpa. Eveniet suscipit rem ipsum et.\", \"Ullam laborum vero quia. Debitis quo sit eos dolorem nostrum ut voluptates. Itaque et quod quibusdam. Aspernatur autem sint voluptatibus.\"]"], ["created_at", "2014-09-22 18:28:28.968504"], ["name", "contract_247825d3"], ["title", "Quas aut reiciendis molestias ut amet."], ["updated_at", "2014-09-22 18:28:28.968504"]]  (5.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_247825d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_247825d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:28:28.976897"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_247825d3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem ullam nam culpa cum. Fuga sit a ipsa. Occaecati fugiat est tempore quam nihil animi. Praesentium nemo incidunt fugiat culpa. Eveniet suscipit rem ipsum et.\", \"Ullam laborum vero quia. Debitis quo sit eos dolorem nostrum ut voluptates. Itaque et quod quibusdam. Aspernatur autem sint voluptatibus.\"]"], ["created_at", "2014-09-22 18:28:28.981268"], ["name", "joe"], ["title", "Quas aut reiciendis molestias ut amet."], ["updated_at", "2014-09-22 18:28:28.981268"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:28:28.985193"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_b1bac41d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam tempore repudiandae sed. Facilis minus tempore molestias quo illo. Distinctio exercitationem voluptate provident dolores eum quaerat vel. Corrupti consequuntur ut quo omnis quas voluptas odio. At debitis earum.\", \"Dicta modi pariatur consequuntur. Impedit modi cupiditate ex occaecati. Laboriosam consequatur qui id ea sit rerum. Magnam incidunt ea veniam nesciunt vitae eaque. Beatae tempora quos commodi.\"]"], ["created_at", "2014-09-22 18:28:28.989257"], ["name", "contract_b1bac41d"], ["title", "Sapiente accusantium doloremque adipisci."], ["updated_at", "2014-09-22 18:28:28.989257"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b1bac41d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_b1bac41d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:28:28.993033"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b1bac41d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b1bac41d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam tempore repudiandae sed. Facilis minus tempore molestias quo illo. Distinctio exercitationem voluptate provident dolores eum quaerat vel. Corrupti consequuntur ut quo omnis quas voluptas odio. At debitis earum.\", \"Dicta modi pariatur consequuntur. Impedit modi cupiditate ex occaecati. Laboriosam consequatur qui id ea sit rerum. Magnam incidunt ea veniam nesciunt vitae eaque. Beatae tempora quos commodi.\"]"], ["created_at", "2014-09-22 18:28:28.996440"], ["name", "contract_b1bac41d"], ["title", "Sapiente accusantium doloremque adipisci."], ["updated_at", "2014-09-22 18:28:28.996440"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b1bac41d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_b1bac41d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:28:28.999762"], ["version", 2]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_bbb900e0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae consequatur velit aperiam maxime. Quia voluptates adipisci quis labore nihil repellat consequatur. Dolorum aut ut.\", \"Tempora ut dolores perspiciatis. Beatae voluptate molestiae eius et. Saepe quibusdam ex officia beatae consequatur eaque illum. Dignissimos voluptatem ducimus numquam temporibus nesciunt. Veritatis quae inventore nesciunt repellendus veniam error et.\"]"], ["created_at", "2014-09-22 18:28:29.004601"], ["name", "contract_bbb900e0"], ["title", "Delectus modi quae aut necessitatibus aut odit."], ["updated_at", "2014-09-22 18:28:29.004601"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbb900e0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_bbb900e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:28:29.009299"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.016266"], ["updated_at", "2014-09-22 18:28:29.016266"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 18:28:29.019627"], ["updated_at", "2014-09-22 18:28:29.019627"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_bbb900e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbb900e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_bbb900e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et delectus ut odit totam beatae. Dolores eaque et tempora non omnis. Doloribus corporis tempora dolorum qui beatae voluptatibus quos.\", \"Ut nisi quae sint et fugiat fugit. Ratione ullam voluptate ab. Et et omnis. Magni minima id amet.\"]"], ["created_at", "2014-09-22 18:28:29.035274"], ["name", "alpha"], ["title", "Quaerat ullam cumque."], ["updated_at", "2014-09-22 18:28:29.035274"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:28:29.038615"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam unde aut nostrum enim. Fugiat omnis aut error voluptatem. Unde in magni sint.\", \"Perspiciatis repellat animi voluptatibus modi blanditiis. Accusamus nulla perferendis. Quia amet sunt dolores. Aliquam sunt qui vitae ut perspiciatis.\"]"], ["created_at", "2014-09-22 18:28:29.042449"], ["name", "beta"], ["title", "Voluptas consequuntur est laboriosam aut repellendus quae."], ["updated_at", "2014-09-22 18:28:29.042449"]]  (2.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:28:29.048070"], ["version", 1]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.053132"], ["updated_at", "2014-09-22 18:28:29.053132"]]  (1.2ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:28:29.056852"], ["updated_at", "2014-09-22 18:28:29.056852"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:28:29.059337"], ["updated_at", "2014-09-22 18:28:29.059337"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:28:29.061853"], ["name", "alpha"], ["title", "Quaerat ullam cumque."], ["updated_at", "2014-09-22 18:28:29.061853"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:28:29.064915"], ["version", 2]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum eveniet nobis odio voluptas laborum. Dolor qui est quae. Fuga doloribus enim neque cumque et. Et veniam voluptatem est sint laboriosam et. Quia omnis sapiente.\", \"Veritatis eos aut unde. Neque error commodi blanditiis deleniti maiores odit itaque. Eum praesentium laboriosam. Qui est hic qui fuga labore. Cumque ducimus qui distinctio.\"]"], ["created_at", "2014-09-22 18:28:29.072094"], ["name", "alpha"], ["title", "Molestias dolore recusandae id qui ad consectetur voluptatibus."], ["updated_at", "2014-09-22 18:28:29.072094"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:28:29.075852"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam autem cum. Ad voluptatem perferendis assumenda. Veniam eos blanditiis veritatis recusandae eaque expedita odio. Aspernatur quo incidunt dolorem inventore nesciunt. Corrupti cum accusamus et necessitatibus ratione.\", \"Vel sed sunt rem sit possimus maxime in. A corrupti voluptatem occaecati sit. Quia officiis quisquam ut adipisci debitis voluptatem.\"]"], ["created_at", "2014-09-22 18:28:29.079446"], ["name", "beta"], ["title", "Excepturi repudiandae fugit recusandae rerum sint."], ["updated_at", "2014-09-22 18:28:29.079446"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:28:29.082511"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.084814"], ["updated_at", "2014-09-22 18:28:29.084814"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 18:28:29.087471"], ["updated_at", "2014-09-22 18:28:29.087471"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 18:28:29.089901"], ["updated_at", "2014-09-22 18:28:29.089901"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:28:29.092162"], ["name", "alpha"], ["title", "Molestias dolore recusandae id qui ad consectetur voluptatibus."], ["updated_at", "2014-09-22 18:28:29.092162"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:28:29.095634"], ["version", 4]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 18:28:29.113633"], ["updated_at", "2014-09-22 18:28:29.113633"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia velit facilis. Porro saepe et ut alias maxime tenetur facere. Et dolorem quod autem nihil consequuntur ducimus est. Sit adipisci exercitationem voluptatem pariatur delectus eius.\", \"Omnis iste ratione mollitia hic. Sed accusantium et. Perspiciatis suscipit delectus est. Eligendi alias consectetur et. Adipisci molestiae et.\"]"], ["created_at", "2014-09-22 18:28:29.129352"], ["name", "alpha"], ["title", "Qui soluta rerum."], ["updated_at", "2014-09-22 18:28:29.129352"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:28:29.133614"], ["version", 5]]  (2.9ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus repellat saepe voluptatem illo fuga. Alias dignissimos quibusdam porro incidunt qui soluta in. Praesentium omnis aut totam. Deserunt quaerat omnis quis suscipit aut est dolorum.\", \"Est voluptate ut cupiditate eos aliquid aperiam. Est vero autem eum natus dignissimos culpa. Fuga minus laborum illum est.\"]"], ["created_at", "2014-09-22 18:28:29.139550"], ["name", "beta"], ["title", "Dolores asperiores amet vero."], ["updated_at", "2014-09-22 18:28:29.139550"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:28:29.142778"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.145883"], ["updated_at", "2014-09-22 18:28:29.145883"]]  (5.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 18:28:29.153742"], ["updated_at", "2014-09-22 18:28:29.153742"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 18:28:29.156491"], ["updated_at", "2014-09-22 18:28:29.156491"], ["user_id", 40], ["user_type", "DummyUser"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:28:29.161952"], ["name", "alpha"], ["title", "Qui soluta rerum."], ["updated_at", "2014-09-22 18:28:29.161952"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:28:29.168344"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus soluta impedit consequatur doloribus. Dolor quia quia optio asperiores illum eligendi adipisci. Vel dolorem voluptas rerum corporis.\", \"Eum quam esse autem rerum id saepe. Quisquam porro sit aut et accusantium nobis. Voluptas placeat dolorum aut tempore.\"]"], ["created_at", "2014-09-22 18:28:29.175436"], ["name", "alpha"], ["title", "Minus laboriosam placeat."], ["updated_at", "2014-09-22 18:28:29.175436"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:28:29.179405"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui laboriosam distinctio. Et consequatur dolorum eum eos. Corrupti sed et nostrum.\", \"Dolorum quisquam accusamus quia quaerat explicabo aliquid voluptas. Aliquam aut dolores dolorem aut. Non et voluptatem maiores veniam voluptas minima libero.\"]"], ["created_at", "2014-09-22 18:28:29.182949"], ["name", "beta"], ["title", "Praesentium accusamus quis."], ["updated_at", "2014-09-22 18:28:29.182949"]]  (2.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:28:29.188166"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.190481"], ["updated_at", "2014-09-22 18:28:29.190481"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 18:28:29.198241"], ["updated_at", "2014-09-22 18:28:29.198241"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:28:29.200816"], ["updated_at", "2014-09-22 18:28:29.200816"], ["user_id", 41], ["user_type", "DummyUser"]]  (3.2ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:28:29.205614"], ["name", "alpha"], ["title", "Minus laboriosam placeat."], ["updated_at", "2014-09-22 18:28:29.205614"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:28:29.208870"], ["version", 8]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_c872801f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In rerum commodi dignissimos sint enim facere ut. Fugit explicabo asperiores mollitia eaque. Quis corporis maiores exercitationem. Voluptatibus aliquam dolor aperiam ut eos quisquam.\", \"Autem odit nisi cupiditate aliquam aut id omnis. Sunt sed ut nemo. Reprehenderit accusamus quo porro. Sunt sunt perferendis saepe veniam eos similique.\"]"], ["created_at", "2014-09-22 18:28:29.215689"], ["name", "contract_c872801f"], ["title", "Inventore et nihil et numquam magnam."], ["updated_at", "2014-09-22 18:28:29.215689"]]  (4.2ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction 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_b4d3c132') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum dolores voluptate magnam soluta ullam inventore ratione. Neque ipsam rerum ut inventore modi. Fugiat vitae autem error laudantium.\", \"Sit repellendus culpa illo. Ab quo deleniti quia delectus doloremque dolores. Dicta sapiente est possimus. Atque facilis sapiente. Laborum dolores et est.\"]"], ["created_at", "2014-09-22 18:28:29.223296"], ["name", "contract_b4d3c132"], ["title", "Tenetur sint est in sapiente dolorem et voluptatem."], ["updated_at", "2014-09-22 18:28:29.223296"]]  (17.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b4d3c132"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_b4d3c132') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:28:29.243184"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.246209"], ["updated_at", "2014-09-22 18:28:29.246209"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.251231"], ["updated_at", "2014-09-22 18:28:29.251231"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.252662"], ["updated_at", "2014-09-22 18:28:29.252662"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0186fecc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui esse nesciunt iusto hic fuga explicabo molestiae. Ut odio eum expedita qui vero eos ducimus. Et corporis magni deleniti est at. At dicta aut autem aut tempora sit consequatur. Vero quaerat voluptatem quia atque distinctio.\", \"Consequatur minima vero et sed fugit molestias omnis. Commodi voluptates corrupti pariatur vero et eos optio. Quis cumque itaque impedit nam deserunt ipsam. Exercitationem veritatis perferendis fugiat eum quia sit.\"]"], ["created_at", "2014-09-22 18:28:29.255711"], ["name", "contract_0186fecc"], ["title", "Totam id rerum adipisci qui tempora."], ["updated_at", "2014-09-22 18:28:29.255711"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0186fecc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_0186fecc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:28:29.259408"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.261945"], ["updated_at", "2014-09-22 18:28:29.261945"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:28:29.263987"], ["updated_at", "2014-09-22 18:28:29.263987"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.269081"], ["updated_at", "2014-09-22 18:28:29.269081"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.270653"], ["updated_at", "2014-09-22 18:28:29.270653"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_3ae6152f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio suscipit pariatur. Ea quo velit dolor perspiciatis. Dicta sed quis et reprehenderit.\", \"Est dolorem id distinctio et. Et molestiae provident. Reprehenderit qui numquam tempore laborum temporibus voluptatem ea. Qui animi eum non et consequatur. Modi iste aut maiores dolores.\"]"], ["created_at", "2014-09-22 18:28:29.273790"], ["name", "contract_3ae6152f"], ["title", "Ducimus consequuntur sit."], ["updated_at", "2014-09-22 18:28:29.273790"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3ae6152f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_3ae6152f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:28:29.277235"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.279839"], ["updated_at", "2014-09-22 18:28:29.279839"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:28:29.281971"], ["updated_at", "2014-09-22 18:28:29.281971"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"41"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.285460"], ["updated_at", "2014-09-22 18:28:29.285460"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.287315"], ["updated_at", "2014-09-22 18:28:29.287315"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a819e781') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit consequatur voluptatibus distinctio quisquam repellendus. Officiis veritatis eius iusto. Doloribus laborum adipisci ipsam illo cum nisi. Magnam deserunt maxime atque optio quos eius. Aut tempore consequatur maiores ipsam.\", \"Culpa assumenda sunt amet sint. Ducimus cupiditate delectus rerum sit eius laborum. Quibusdam occaecati rerum eveniet debitis facere rerum. Vel voluptas dolores sequi. Ut quia et.\"]"], ["created_at", "2014-09-22 18:28:29.291151"], ["name", "contract_a819e781"], ["title", "Ut molestiae sit labore sint."], ["updated_at", "2014-09-22 18:28:29.291151"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a819e781"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_a819e781') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:28:29.294355"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.296924"], ["updated_at", "2014-09-22 18:28:29.296924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:28:29.299075"], ["updated_at", "2014-09-22 18:28:29.299075"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.304394"], ["updated_at", "2014-09-22 18:28:29.304394"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.305882"], ["updated_at", "2014-09-22 18:28:29.305882"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e6d1897f') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia tenetur mollitia sed labore. Non quas ut. Quia exercitationem natus.\", \"Iste non velit nihil quibusdam ipsa omnis. Ea quia dolores quibusdam. Asperiores et doloremque exercitationem sit iusto. Enim reiciendis error consequatur quae et tempore. Aut dignissimos temporibus quas.\"]"], ["created_at", "2014-09-22 18:28:29.309881"], ["name", "contract_e6d1897f"], ["title", "Nemo ratione necessitatibus sit nobis est."], ["updated_at", "2014-09-22 18:28:29.309881"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e6d1897f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_e6d1897f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:28:29.314762"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.318299"], ["updated_at", "2014-09-22 18:28:29.318299"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:28:29.321062"], ["updated_at", "2014-09-22 18:28:29.321062"], ["user_id", 54], ["user_type", "DummyUser"]]  (20.3ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.347402"], ["updated_at", "2014-09-22 18:28:29.347402"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.349018"], ["updated_at", "2014-09-22 18:28:29.349018"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_24cd2cf5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero odit et blanditiis eos similique dolorem nihil. Inventore quos libero voluptatem. Occaecati ut maxime et. Ratione iste voluptate tenetur debitis. Exercitationem consequatur nihil nostrum et architecto inventore.\", \"Ut eaque incidunt iure ullam. Ex excepturi libero eveniet impedit neque aperiam et. Nobis omnis natus voluptate voluptatem aperiam.\"]"], ["created_at", "2014-09-22 18:28:29.352235"], ["name", "contract_24cd2cf5"], ["title", "Hic veritatis et ea aut sequi nostrum."], ["updated_at", "2014-09-22 18:28:29.352235"]]  (8.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_24cd2cf5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_24cd2cf5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:28:29.363679"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.366592"], ["updated_at", "2014-09-22 18:28:29.366592"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:28:29.369304"], ["updated_at", "2014-09-22 18:28:29.369304"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Redirected to http://test.host/fine_print/contracts/44/signatures Completed 302 Found in 10ms (ActiveRecord: 1.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.384140"], ["updated_at", "2014-09-22 18:28:29.384140"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.385785"], ["updated_at", "2014-09-22 18:28:29.385785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5a7ec3f4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur qui non. Pariatur esse quas omnis et voluptatem molestias. Laborum adipisci autem aut iusto.\", \"Beatae magnam quia error non excepturi. Quia similique nihil et voluptas et est. Nobis et repudiandae incidunt magnam ipsum reprehenderit eius. Sit nulla molestias iste tempore. Necessitatibus est rem sit explicabo.\"]"], ["created_at", "2014-09-22 18:28:29.388935"], ["name", "contract_5a7ec3f4"], ["title", "Qui accusantium repellat aut maxime."], ["updated_at", "2014-09-22 18:28:29.388935"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5a7ec3f4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_5a7ec3f4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:28:29.392561"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.395499"], ["updated_at", "2014-09-22 18:28:29.395499"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 60) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:28:29.398478"], ["updated_at", "2014-09-22 18:28:29.398478"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"45"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.403827"], ["updated_at", "2014-09-22 18:28:29.403827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.405914"], ["updated_at", "2014-09-22 18:28:29.405914"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_60bcf871') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi aut facilis. Nesciunt laboriosam dolores qui enim facilis qui cumque. Sit quisquam velit. Laboriosam minima autem provident consequatur nulla amet quaerat.\", \"Natus eligendi occaecati aut ut. Aut aut sit quaerat inventore est. Aliquid in quaerat molestiae eius. Libero in quod recusandae. Placeat expedita qui repellat laborum maxime.\"]"], ["created_at", "2014-09-22 18:28:29.409595"], ["name", "contract_60bcf871"], ["title", "Dolorem magnam necessitatibus labore quisquam."], ["updated_at", "2014-09-22 18:28:29.409595"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_60bcf871"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_60bcf871') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:28:29.413937"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.417129"], ["updated_at", "2014-09-22 18:28:29.417129"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:28:29.420335"], ["updated_at", "2014-09-22 18:28:29.420335"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.427155"], ["updated_at", "2014-09-22 18:28:29.427155"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.428791"], ["updated_at", "2014-09-22 18:28:29.428791"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_c0d2b1f4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi soluta sunt molestiae accusantium. Totam dolor nemo explicabo aut debitis ab sint. Mollitia qui consectetur sed dicta voluptate.\", \"Recusandae at ut perferendis omnis sit. Vero praesentium rem neque ea. Tempora molestias beatae sit consectetur exercitationem quas. Est possimus nihil reprehenderit nam omnis sapiente. Est nulla quod officiis.\"]"], ["created_at", "2014-09-22 18:28:29.432179"], ["name", "contract_c0d2b1f4"], ["title", "Doloribus omnis accusamus repudiandae."], ["updated_at", "2014-09-22 18:28:29.432179"]]  (8.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c0d2b1f4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_c0d2b1f4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:28:29.444013"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.448272"], ["updated_at", "2014-09-22 18:28:29.448272"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:28:29.450929"], ["updated_at", "2014-09-22 18:28:29.450929"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"47"} Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.462964"], ["updated_at", "2014-09-22 18:28:29.462964"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.464763"], ["updated_at", "2014-09-22 18:28:29.464763"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.469755"], ["updated_at", "2014-09-22 18:28:29.469755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:28:29.471313"], ["updated_at", "2014-09-22 18:28:29.471313"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (2.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_f3138bd4') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum quia autem illum molestiae maiores optio. Labore nostrum quisquam iusto repellendus quia molestiae. Sint qui explicabo recusandae. Atque dolor veniam cum soluta in mollitia. Cupiditate eum similique minima.\", \"Nihil quia totam voluptatem eligendi in. Dolores omnis et. Nisi velit omnis sunt autem et eum. Enim iusto est voluptas eum sed.\"]"], ["created_at", "2014-09-22 18:47:44.757391"], ["name", "contract_f3138bd4"], ["title", "Ut dolore qui recusandae consequatur dolores."], ["updated_at", "2014-09-22 18:47:44.757391"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3138bd4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f3138bd4') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:47:44.775535"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f3138bd4' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum quia autem illum molestiae maiores optio. Labore nostrum quisquam iusto repellendus quia molestiae. Sint qui explicabo recusandae. Atque dolor veniam cum soluta in mollitia. Cupiditate eum similique minima.\", \"Nihil quia totam voluptatem eligendi in. Dolores omnis et. Nisi velit omnis sunt autem et eum. Enim iusto est voluptas eum sed.\"]"], ["created_at", "2014-09-22 18:47:44.783691"], ["name", "joe"], ["title", "Ut dolore qui recusandae consequatur dolores."], ["updated_at", "2014-09-22 18:47:44.783691"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:47:44.787305"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2aaf97c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa pariatur id omnis quia tempora sequi. Eaque aut qui eveniet. Incidunt et doloremque eius. Magni velit et velit voluptatem qui suscipit nam.\", \"Voluptatem facere ipsum sequi culpa voluptates et magnam. Totam nulla alias officia maiores et quia distinctio. Aperiam assumenda doloribus. Dicta non est. Nisi qui dolor molestias iste nihil.\"]"], ["created_at", "2014-09-22 18:47:44.792233"], ["name", "contract_2aaf97c9"], ["title", "Et quibusdam assumenda ut maiores animi unde quisquam."], ["updated_at", "2014-09-22 18:47:44.792233"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2aaf97c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_2aaf97c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:47:44.795498"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2aaf97c9' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_2aaf97c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa pariatur id omnis quia tempora sequi. Eaque aut qui eveniet. Incidunt et doloremque eius. Magni velit et velit voluptatem qui suscipit nam.\", \"Voluptatem facere ipsum sequi culpa voluptates et magnam. Totam nulla alias officia maiores et quia distinctio. Aperiam assumenda doloribus. Dicta non est. Nisi qui dolor molestias iste nihil.\"]"], ["created_at", "2014-09-22 18:47:44.799336"], ["name", "contract_2aaf97c9"], ["title", "Et quibusdam assumenda ut maiores animi unde quisquam."], ["updated_at", "2014-09-22 18:47:44.799336"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2aaf97c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_2aaf97c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:47:44.804683"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_645ce325') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod vero ea vel sit distinctio. Molestiae magnam odio voluptatum voluptatem rem deleniti sed. Ratione optio hic est. Illo non ut. Dolor corporis minima.\", \"Qui omnis rerum. Atque minus et maxime quidem adipisci autem deserunt. Nemo inventore neque facilis dignissimos est ratione ut. Animi ratione ipsam.\"]"], ["created_at", "2014-09-22 18:47:44.809105"], ["name", "contract_645ce325"], ["title", "At accusantium perspiciatis id ducimus amet voluptates."], ["updated_at", "2014-09-22 18:47:44.809105"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_645ce325"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_645ce325') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:47:44.813819"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_645ce325"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_645ce325"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_645ce325') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:47:44.819285"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32c58020') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt laboriosam quasi enim ab pariatur itaque. Molestias dolores vitae ducimus consequatur adipisci et iure. Ipsum quaerat eveniet nam ut aut accusamus. Quis ab et fuga rerum numquam veritatis.\", \"Est sunt vero aperiam. Odio atque et rerum sed ut. Repudiandae dicta blanditiis est cupiditate quis. Quibusdam praesentium voluptate nesciunt ad quasi.\"]"], ["created_at", "2014-09-22 18:47:44.823273"], ["name", "contract_32c58020"], ["title", "Error vel dolorum aperiam."], ["updated_at", "2014-09-22 18:47:44.823273"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32c58020"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_32c58020') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:47:44.827748"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.835879"], ["updated_at", "2014-09-22 18:47:44.835879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:47:44.840303"], ["updated_at", "2014-09-22 18:47:44.840303"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_32c58020') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32c58020"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_32c58020') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.853910"], ["updated_at", "2014-09-22 18:47:44.853910"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.855571"], ["updated_at", "2014-09-22 18:47:44.855571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_96c222cc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate voluptates et pariatur nobis fuga. Impedit necessitatibus enim debitis sit corporis est illo. Reprehenderit voluptatem nihil dolorem velit.\", \"Velit illo est. Reprehenderit maxime corrupti fugit quas voluptates sunt. Praesentium voluptatem rerum est perferendis sit aut aut. Velit fugit rerum.\"]"], ["created_at", "2014-09-22 18:47:44.858805"], ["name", "contract_96c222cc"], ["title", "Ullam ad aut."], ["updated_at", "2014-09-22 18:47:44.858805"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_96c222cc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_96c222cc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:47:44.862154"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.864907"], ["updated_at", "2014-09-22 18:47:44.864907"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:47:44.867364"], ["updated_at", "2014-09-22 18:47:44.867364"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 500 Internal Server Error in 2ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.874435"], ["updated_at", "2014-09-22 18:47:44.874435"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.876121"], ["updated_at", "2014-09-22 18:47:44.876121"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_020d2c3e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et at iusto eum eum sed ut nulla. Non provident alias expedita laudantium quasi nemo. Quia nihil voluptates autem.\", \"Dicta aut sit autem sit dolorum. Porro delectus aut eligendi beatae. Qui dolore sunt velit. Ex nemo quo dolor culpa pariatur quidem.\"]"], ["created_at", "2014-09-22 18:47:44.879244"], ["name", "contract_020d2c3e"], ["title", "Nihil impedit animi cupiditate debitis."], ["updated_at", "2014-09-22 18:47:44.879244"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_020d2c3e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_020d2c3e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:47:44.883127"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.885817"], ["updated_at", "2014-09-22 18:47:44.885817"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:47:44.888390"], ["updated_at", "2014-09-22 18:47:44.888390"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.901701"], ["updated_at", "2014-09-22 18:47:44.901701"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.903495"], ["updated_at", "2014-09-22 18:47:44.903495"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_2bfbe20a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam impedit dolor dolorem ut magni. Aut incidunt eos dolores ad. Commodi maiores nobis minima in ipsa ut sit. Temporibus fugit ducimus voluptas rem. Aliquid at eos et culpa.\", \"Est et veniam et. Perferendis qui occaecati voluptatem. Et numquam aut hic quia quis deleniti mollitia. Enim at praesentium accusamus dolore alias eaque voluptas.\"]"], ["created_at", "2014-09-22 18:47:44.907003"], ["name", "contract_2bfbe20a"], ["title", "Iure at doloremque quod et et magni."], ["updated_at", "2014-09-22 18:47:44.907003"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2bfbe20a"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_2bfbe20a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:47:44.910090"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.912660"], ["updated_at", "2014-09-22 18:47:44.912660"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:47:44.914890"], ["updated_at", "2014-09-22 18:47:44.914890"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.921922"], ["updated_at", "2014-09-22 18:47:44.921922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.923481"], ["updated_at", "2014-09-22 18:47:44.923481"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3e959c37') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam delectus et optio nihil non expedita sed. Repellat eius aperiam quo qui occaecati dolor sed. Praesentium aut nostrum minima nobis. Vel dolorem sequi nam perspiciatis dolores ut. Consequuntur qui esse necessitatibus totam ut iste.\", \"Quisquam consequatur eum et. Facilis minima inventore qui voluptas. Omnis ut sit qui assumenda natus tempore inventore. Sed molestiae qui.\"]"], ["created_at", "2014-09-22 18:47:44.926608"], ["name", "contract_3e959c37"], ["title", "Amet facilis fugiat veniam distinctio quod."], ["updated_at", "2014-09-22 18:47:44.926608"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e959c37"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_3e959c37') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:47:44.929620"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.932029"], ["updated_at", "2014-09-22 18:47:44.932029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:47:44.934145"], ["updated_at", "2014-09-22 18:47:44.934145"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Redirected to http://test.host/fine_print/contracts/10/signatures Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.942149"], ["updated_at", "2014-09-22 18:47:44.942149"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.943735"], ["updated_at", "2014-09-22 18:47:44.943735"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_18f656e0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cumque ipsum earum necessitatibus dolor temporibus aut dolorem. Consequatur sequi soluta sit. Corporis illum id. Iusto sed beatae autem.\", \"Eos perferendis consequatur voluptatem suscipit adipisci. Ipsa asperiores quam quasi. Placeat temporibus dolor quisquam.\"]"], ["created_at", "2014-09-22 18:47:44.947207"], ["name", "contract_18f656e0"], ["title", "Consequatur nostrum non suscipit minima."], ["updated_at", "2014-09-22 18:47:44.947207"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_18f656e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_18f656e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:47:44.950411"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.952857"], ["updated_at", "2014-09-22 18:47:44.952857"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 18:47:44.955042"], ["updated_at", "2014-09-22 18:47:44.955042"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"11"} Completed 500 Internal Server Error in 8ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.966816"], ["updated_at", "2014-09-22 18:47:44.966816"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.968587"], ["updated_at", "2014-09-22 18:47:44.968587"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3198d2be') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint nemo sit. Aut recusandae magnam nobis est. Sequi et modi veniam. Tenetur architecto facere vel dolore aspernatur.\", \"Qui nisi enim qui praesentium nostrum. Et qui molestiae quo ea non et aliquam. Voluptatum et dignissimos voluptas dolor iusto et dolores. Aliquam perspiciatis ut reiciendis possimus.\"]"], ["created_at", "2014-09-22 18:47:44.971665"], ["name", "contract_3198d2be"], ["title", "Sint hic et asperiores."], ["updated_at", "2014-09-22 18:47:44.971665"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3198d2be"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_3198d2be') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:47:44.974798"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.977367"], ["updated_at", "2014-09-22 18:47:44.977367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 18:47:44.979540"], ["updated_at", "2014-09-22 18:47:44.979540"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"12"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"12"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.984388"], ["updated_at", "2014-09-22 18:47:44.984388"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.986037"], ["updated_at", "2014-09-22 18:47:44.986037"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cbd61895') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed omnis sint vitae veritatis. Aut accusamus sed officiis. Cum eaque officia. Eveniet eius ab enim et iure.\", \"Iste a est ea assumenda reiciendis. Id architecto nulla quisquam similique. Sit totam ut inventore architecto. Natus qui esse quia aut rerum dolores.\"]"], ["created_at", "2014-09-22 18:47:44.989147"], ["name", "contract_cbd61895"], ["title", "Accusamus ducimus modi quo vel dolor."], ["updated_at", "2014-09-22 18:47:44.989147"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cbd61895"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_cbd61895') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:47:44.992355"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:44.995261"], ["updated_at", "2014-09-22 18:47:44.995261"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:47:44.997950"], ["updated_at", "2014-09-22 18:47:44.997950"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] Completed 500 Internal Server Error in 1ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.002716"], ["updated_at", "2014-09-22 18:47:45.002716"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.004179"], ["updated_at", "2014-09-22 18:47:45.004179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b5cd2dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus error eveniet. Omnis facilis et quidem. Deleniti dolorem facere iure ullam.\", \"Ut non neque tenetur cupiditate omnis dignissimos. Dicta ea perferendis sit alias rerum sed autem. Soluta incidunt et aut. Aut accusamus laudantium.\"]"], ["created_at", "2014-09-22 18:47:45.007008"], ["name", "contract_0b5cd2dc"], ["title", "Voluptas quos odio officia."], ["updated_at", "2014-09-22 18:47:45.007008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0b5cd2dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_0b5cd2dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:47:45.009925"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.012278"], ["updated_at", "2014-09-22 18:47:45.012278"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 18:47:45.014363"], ["updated_at", "2014-09-22 18:47:45.014363"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"14"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_1f698af2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi ut unde. Qui aut cum excepturi. Qui rerum ipsum. Temporibus dolorem vitae occaecati.\", \"Sed eaque atque molestiae. Eum ad voluptatum voluptas. Officia nemo cum. Fugiat libero eos facere ex perspiciatis exercitationem.\"]"], ["created_at", "2014-09-22 18:47:45.020502"], ["name", "contract_1f698af2"], ["title", "Adipisci quo consequatur est exercitationem nemo sit."], ["updated_at", "2014-09-22 18:47:45.020502"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction 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_7130d3f2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatibus et est et. Suscipit doloribus eos. Et occaecati ipsa deleniti. Eligendi quam ut illo eos ducimus. Incidunt voluptas explicabo.\", \"Ipsa rerum est fuga laudantium quo. Et labore voluptatem error laboriosam. Occaecati blanditiis accusantium. Inventore est tempore consequatur aut animi dolore ut. Cum natus illo beatae illum ipsam nobis.\"]"], ["created_at", "2014-09-22 18:47:45.024659"], ["name", "contract_7130d3f2"], ["title", "Culpa harum veritatis neque pariatur quis natus beatae."], ["updated_at", "2014-09-22 18:47:45.024659"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7130d3f2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_7130d3f2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:47:45.028294"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.030922"], ["updated_at", "2014-09-22 18:47:45.030922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi tempore officiis aut exercitationem. Reprehenderit voluptates nisi accusantium molestiae. Ipsum et deleniti accusantium.\", \"Non reiciendis deserunt. Alias dolore tenetur esse consectetur eum fugiat. Aut et in et id.\"]"], ["created_at", "2014-09-22 18:47:45.036655"], ["name", "alpha"], ["title", "Quod non amet sint in id."], ["updated_at", "2014-09-22 18:47:45.036655"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:47:45.039777"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam qui est aperiam saepe aut vero reiciendis. Pariatur est veritatis voluptatem. Vitae recusandae tenetur consequatur. Aut atque repellat est nulla optio.\", \"Ut expedita sit aut voluptas rem aut. Accusantium qui exercitationem quia alias ut atque. Voluptas soluta ea. Illo facere accusamus velit ut nihil rerum. Voluptas voluptate qui.\"]"], ["created_at", "2014-09-22 18:47:45.043261"], ["name", "beta"], ["title", "Distinctio cumque laboriosam autem veniam itaque."], ["updated_at", "2014-09-22 18:47:45.043261"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:47:45.046202"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.048423"], ["updated_at", "2014-09-22 18:47:45.048423"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 18:47:45.050972"], ["updated_at", "2014-09-22 18:47:45.050972"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 18:47:45.053787"], ["updated_at", "2014-09-22 18:47:45.053787"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:47:45.056140"], ["name", "alpha"], ["title", "Quod non amet sint in id."], ["updated_at", "2014-09-22 18:47:45.056140"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:47:45.059279"], ["version", 2]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 18:47:45.077830"], ["updated_at", "2014-09-22 18:47:45.077830"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error voluptas rerum veniam natus ipsam. Architecto debitis id tempore mollitia dignissimos aliquam ut. Perspiciatis corrupti itaque animi optio praesentium dolores velit.\", \"Dolorum rem est rerum vel. Quo et amet inventore sed. Minima delectus fugiat. Eos perspiciatis enim molestiae.\"]"], ["created_at", "2014-09-22 18:47:45.093383"], ["name", "alpha"], ["title", "Nihil quos ipsum et nihil reiciendis nemo."], ["updated_at", "2014-09-22 18:47:45.093383"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:47:45.096515"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex aut voluptatem sed consequuntur quasi dolor nesciunt. Quisquam id dolorem recusandae animi quos. Maiores rerum rerum. Modi non unde iusto est.\", \"Aut eveniet ipsam veniam. Placeat autem consequuntur esse mollitia repellat. Minima commodi nihil excepturi. Et nobis quae qui repudiandae tenetur sequi. Voluptatem voluptate temporibus.\"]"], ["created_at", "2014-09-22 18:47:45.099814"], ["name", "beta"], ["title", "Animi dicta et provident ipsum dolores enim."], ["updated_at", "2014-09-22 18:47:45.099814"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:47:45.102751"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.104868"], ["updated_at", "2014-09-22 18:47:45.104868"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:47:45.107486"], ["updated_at", "2014-09-22 18:47:45.107486"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:47:45.109891"], ["updated_at", "2014-09-22 18:47:45.109891"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:47:45.112139"], ["name", "alpha"], ["title", "Nihil quos ipsum et nihil reiciendis nemo."], ["updated_at", "2014-09-22 18:47:45.112139"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:47:45.115081"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex assumenda ipsa voluptates sit officia est. Sed maiores mollitia. Minima et nemo consequatur.\", \"Rerum necessitatibus voluptas architecto sint. Tempora quam cupiditate porro sit placeat consequuntur nam. Cum soluta aspernatur sunt rem est excepturi omnis. Quos omnis provident et iure qui. Fugiat nemo labore.\"]"], ["created_at", "2014-09-22 18:47:45.121752"], ["name", "alpha"], ["title", "In perspiciatis non omnis unde est voluptate."], ["updated_at", "2014-09-22 18:47:45.121752"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:47:45.124853"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem libero est maiores quia. Debitis ea et ipsam vitae et. Voluptatem dicta ad.\", \"Non qui recusandae facilis. Eum corporis eligendi vel deleniti quibusdam doloremque expedita. Et quam ut dolorem ipsam quas asperiores. Ut et voluptate labore voluptas et dolore architecto.\"]"], ["created_at", "2014-09-22 18:47:45.128504"], ["name", "beta"], ["title", "Sed corrupti aut sequi impedit excepturi."], ["updated_at", "2014-09-22 18:47:45.128504"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.5ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:47:45.131546"], ["version", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.138430"], ["updated_at", "2014-09-22 18:47:45.138430"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:47:45.142328"], ["updated_at", "2014-09-22 18:47:45.142328"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:47:45.145061"], ["updated_at", "2014-09-22 18:47:45.145061"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:47:45.147755"], ["name", "alpha"], ["title", "In perspiciatis non omnis unde est voluptate."], ["updated_at", "2014-09-22 18:47:45.147755"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:47:45.152681"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non sapiente rem. Quia enim praesentium vel. Eaque voluptatibus laudantium.\", \"Enim qui a aut iure itaque enim. Molestias qui aut molestiae reprehenderit qui. Sed eveniet qui occaecati nesciunt. Consectetur hic atque laborum.\"]"], ["created_at", "2014-09-22 18:47:45.161711"], ["name", "alpha"], ["title", "Ut quia eaque quam dolor."], ["updated_at", "2014-09-22 18:47:45.161711"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:47:45.164828"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere velit porro et nostrum incidunt accusamus. Error id tenetur. Beatae voluptas tenetur.\", \"Omnis animi asperiores non est. Suscipit omnis voluptatem consectetur. Eum consequatur cupiditate ipsam atque. Magnam cumque sequi. Voluptas quaerat laboriosam distinctio quas at libero.\"]"], ["created_at", "2014-09-22 18:47:45.168177"], ["name", "beta"], ["title", "Neque commodi sequi ea totam eveniet sint ad."], ["updated_at", "2014-09-22 18:47:45.168177"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:47:45.171043"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.173221"], ["updated_at", "2014-09-22 18:47:45.173221"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:47:45.175825"], ["updated_at", "2014-09-22 18:47:45.175825"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:47:45.178192"], ["updated_at", "2014-09-22 18:47:45.178192"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:47:45.180375"], ["name", "alpha"], ["title", "Ut quia eaque quam dolor."], ["updated_at", "2014-09-22 18:47:45.180375"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:47:45.183393"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.188064"], ["updated_at", "2014-09-22 18:47:45.188064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.189561"], ["updated_at", "2014-09-22 18:47:45.189561"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_561a573a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut occaecati voluptatem animi. Eos quod laboriosam nisi modi et. Necessitatibus ut odio minus velit. Nobis est voluptatem rerum.\", \"Et repudiandae facere voluptatum voluptatem magnam. Suscipit ea quidem. Ea non quis suscipit tempore exercitationem nisi dolores. Commodi repellendus maxime.\"]"], ["created_at", "2014-09-22 18:47:45.192099"], ["name", "contract_561a573a"], ["title", "Non odio sapiente quod dolorem amet quia quisquam."], ["updated_at", "2014-09-22 18:47:45.192099"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_561a573a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_561a573a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:47:45.195173"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 1ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.202943"], ["updated_at", "2014-09-22 18:47:45.202943"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.204631"], ["updated_at", "2014-09-22 18:47:45.204631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_368edef3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui voluptates ut fugit iste distinctio commodi. Consequatur eveniet quam itaque atque reiciendis. Aut quia nihil ut vero veritatis dolore adipisci. Aut aut quam earum similique est. Praesentium qui animi et blanditiis.\", \"Qui et sit laboriosam error rem tenetur eos. Possimus dignissimos alias aut reiciendis dolore qui. Ipsa illo illum. Exercitationem ut sit et autem.\"]"], ["created_at", "2014-09-22 18:47:45.207429"], ["name", "contract_368edef3"], ["title", "Soluta pariatur mollitia est molestias itaque et fugiat."], ["updated_at", "2014-09-22 18:47:45.207429"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.211430"], ["updated_at", "2014-09-22 18:47:45.211430"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.212836"], ["updated_at", "2014-09-22 18:47:45.212836"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_796bdb85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore voluptas similique laborum. Voluptas facilis harum accusamus. Ut neque nam modi quae dolores.\", \"Rerum aut harum quo. Eum sit laudantium ducimus quia ut est. Ut molestiae autem cupiditate dolorem. Et velit sint.\"]"], ["created_at", "2014-09-22 18:47:45.215503"], ["name", "contract_796bdb85"], ["title", "Quos dolorem voluptates consectetur."], ["updated_at", "2014-09-22 18:47:45.215503"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.220554"], ["updated_at", "2014-09-22 18:47:45.220554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.222034"], ["updated_at", "2014-09-22 18:47:45.222034"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2a8baa64') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur et quo ipsam harum ipsum debitis. Distinctio impedit facere laborum molestias voluptas. Sit repudiandae corporis voluptas est maiores repellat. Quasi voluptas assumenda temporibus accusamus. Et sint debitis molestias inventore aspernatur minus.\", \"In aperiam sint optio ratione. Dignissimos voluptate rerum recusandae quia. Est sed rerum totam. Et aperiam ab labore nam. Quisquam quaerat sunt est sit illum et.\"]"], ["created_at", "2014-09-22 18:47:45.224752"], ["name", "contract_2a8baa64"], ["title", "Nulla libero eos et ea porro quia veniam."], ["updated_at", "2014-09-22 18:47:45.224752"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.228694"], ["updated_at", "2014-09-22 18:47:45.228694"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.230139"], ["updated_at", "2014-09-22 18:47:45.230139"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f7ffee5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In deserunt eum itaque expedita. Esse odit eum ducimus eveniet repudiandae. Totam adipisci omnis. Rerum sed et voluptatibus dolorum qui dicta nesciunt. Distinctio qui ut odit.\", \"Atque maiores laudantium. Ut aut error cumque et. Voluptas voluptatem quasi. Nostrum doloribus aut ab cupiditate. Porro non vel ipsum officia nam.\"]"], ["created_at", "2014-09-22 18:47:45.232712"], ["name", "contract_6f7ffee5"], ["title", "Voluptas numquam dicta."], ["updated_at", "2014-09-22 18:47:45.232712"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.236329"], ["updated_at", "2014-09-22 18:47:45.236329"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.238162"], ["updated_at", "2014-09-22 18:47:45.238162"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_16fe1e63') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam officia voluptas veritatis assumenda libero voluptas nemo. Eligendi quibusdam ipsa vero accusantium est quia reiciendis. Nemo aut ad. Odit nulla vero quia laborum. Aut quam beatae dignissimos corporis odit.\", \"Aut iusto tempore. Non sed magni recusandae cupiditate quis a. Iste sapiente illo possimus cum similique quae ipsum. Consequatur error qui qui corrupti aut veritatis.\"]"], ["created_at", "2014-09-22 18:47:45.241860"], ["name", "contract_16fe1e63"], ["title", "Ea est odio neque officiis quidem."], ["updated_at", "2014-09-22 18:47:45.241860"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_16fe1e63"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_16fe1e63') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:47:45.245345"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_16fe1e63"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_16fe1e63') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:47:45.250888"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.255582"], ["updated_at", "2014-09-22 18:47:45.255582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.257080"], ["updated_at", "2014-09-22 18:47:45.257080"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bf0e1b89') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident veniam impedit molestias. Natus eligendi sed dolor dolorem veritatis provident. Modi est quaerat. Soluta non consequatur ut laborum architecto rem.\", \"Velit et ipsum temporibus iste. Aut rerum et perspiciatis rem quisquam qui impedit. Dolor itaque ea voluptatem quo ullam est. Quasi ea quia nisi. Corporis nam tempore omnis magnam vero.\"]"], ["created_at", "2014-09-22 18:47:45.259627"], ["name", "contract_bf0e1b89"], ["title", "Ex mollitia suscipit corrupti sed voluptates minus."], ["updated_at", "2014-09-22 18:47:45.259627"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bf0e1b89"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_bf0e1b89') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:47:45.262815"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_bf0e1b89' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.270733"], ["updated_at", "2014-09-22 18:47:45.270733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.272434"], ["updated_at", "2014-09-22 18:47:45.272434"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_bfe6ee75') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia explicabo quia at provident dolor qui. Officia aut consequatur ducimus et ut. Id deserunt nobis est omnis debitis earum. Molestias provident voluptatem et animi autem voluptates. Explicabo aut molestiae rem omnis quibusdam cum quisquam.\", \"Aut dolore soluta unde molestiae ut. Voluptatibus voluptas dicta. Quae et temporibus. Reprehenderit fugit rem nisi sit sed provident quam.\"]"], ["created_at", "2014-09-22 18:47:45.275211"], ["name", "contract_bfe6ee75"], ["title", "Perferendis dicta consequatur."], ["updated_at", "2014-09-22 18:47:45.275211"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.283360"], ["updated_at", "2014-09-22 18:47:45.283360"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.285348"], ["updated_at", "2014-09-22 18:47:45.285348"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5a12ebd2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea eum quod sint necessitatibus dolor. Ipsam facere dolor. Culpa quae nostrum sapiente veniam voluptatem.\", \"Cupiditate corrupti blanditiis neque tempora recusandae aut consequatur. Et vel beatae inventore consequatur modi itaque est. Qui id quia quis non porro eaque. Similique et eum officia sapiente quia.\"]"], ["created_at", "2014-09-22 18:47:45.289477"], ["name", "contract_5a12ebd2"], ["title", "Tempora vitae perspiciatis est consequatur."], ["updated_at", "2014-09-22 18:47:45.289477"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.297000"], ["updated_at", "2014-09-22 18:47:45.297000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.298664"], ["updated_at", "2014-09-22 18:47:45.298664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_42813280') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur voluptas autem ut sapiente. Et veniam nobis praesentium ad dolores quaerat ratione. Mollitia ratione voluptatum assumenda sapiente. Fugiat sit quos.\", \"Voluptatibus voluptatem ullam repudiandae odit aut voluptas velit. Ut eius excepturi qui officia exercitationem consectetur ad. Quos maiores sed qui. Aut itaque sapiente eos dolorum.\"]"], ["created_at", "2014-09-22 18:47:45.301331"], ["name", "contract_42813280"], ["title", "Et sunt repellat aut."], ["updated_at", "2014-09-22 18:47:45.301331"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_42813280"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_42813280') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:47:45.306088"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.310432"], ["updated_at", "2014-09-22 18:47:45.310432"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.311988"], ["updated_at", "2014-09-22 18:47:45.311988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a8450385') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed nihil voluptatibus nemo assumenda sit. Explicabo qui velit iste. Consequuntur ratione animi minima eos aut.\", \"Voluptate et iusto blanditiis velit quo aut facere. Molestiae ipsa ut. Quibusdam tempora quae sit. Illum qui inventore quae ut ad fugit. Quia placeat natus sapiente aut est.\"]"], ["created_at", "2014-09-22 18:47:45.314759"], ["name", "contract_a8450385"], ["title", "Ea quasi delectus minima."], ["updated_at", "2014-09-22 18:47:45.314759"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.328003"], ["updated_at", "2014-09-22 18:47:45.328003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.329627"], ["updated_at", "2014-09-22 18:47:45.329627"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a16a1e72') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure et explicabo aliquid vero. Odit iure ab. Voluptatem beatae qui sit vel libero. Repellat et omnis.\", \"Distinctio nihil laborum ut expedita. Velit dignissimos ad eius labore quaerat. Velit ad id expedita ut quia. Ut omnis ex culpa est aut.\"]"], ["created_at", "2014-09-22 18:47:45.332894"], ["name", "contract_a16a1e72"], ["title", "Alias pariatur sapiente est quia reiciendis."], ["updated_at", "2014-09-22 18:47:45.332894"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:47:45.337297"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:47:45.337297"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/41 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.341596"], ["updated_at", "2014-09-22 18:47:45.341596"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.343187"], ["updated_at", "2014-09-22 18:47:45.343187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_198f5284') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic et voluptatem harum. Corporis a sed. Et dignissimos ipsam odit sed veritatis. Ad dignissimos ut voluptatem.\", \"Cum enim est id consequatur placeat. Ab voluptatem rerum occaecati sapiente. Et et adipisci est magni suscipit ut. Enim incidunt asperiores pariatur. Nam alias necessitatibus saepe.\"]"], ["created_at", "2014-09-22 18:47:45.346632"], ["name", "contract_198f5284"], ["title", "Fugiat animi adipisci."], ["updated_at", "2014-09-22 18:47:45.346632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_198f5284"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_198f5284') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:47:45.351099"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.357402"], ["updated_at", "2014-09-22 18:47:45.357402"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.359003"], ["updated_at", "2014-09-22 18:47:45.359003"]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_3ebfdef5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magni non aut odit quasi sed. Mollitia a vero vel culpa. In sunt velit. Totam doloremque mollitia nihil illo dolorem. Natus dolorem facilis repellendus expedita quis.\", \"Voluptates quidem quae. Error minus omnis. Qui maiores voluptas est labore molestias. Suscipit aut voluptas et velit aut. Officiis dolor sit voluptas voluptatum quisquam.\"]"], ["created_at", "2014-09-22 18:47:45.362149"], ["name", "contract_3ebfdef5"], ["title", "Id in asperiores."], ["updated_at", "2014-09-22 18:47:45.362149"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 43 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:47:45.366907"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/43 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.372589"], ["updated_at", "2014-09-22 18:47:45.372589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.374443"], ["updated_at", "2014-09-22 18:47:45.374443"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_95298606') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis iusto sapiente explicabo dolor molestias officia voluptates. Dolores beatae veniam voluptatem sed et. Recusandae ratione est exercitationem omnis ut nihil. Dolor distinctio ad perspiciatis.\", \"Porro aperiam expedita animi rem excepturi quo. Animi nemo quidem et consequatur nostrum aut. Ratione recusandae laborum voluptatem dignissimos tempore cupiditate. Ad repellendus delectus non.\"]"], ["created_at", "2014-09-22 18:47:45.379124"], ["name", "contract_95298606"], ["title", "Ut delectus qui."], ["updated_at", "2014-09-22 18:47:45.379124"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.386382"], ["updated_at", "2014-09-22 18:47:45.386382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.388493"], ["updated_at", "2014-09-22 18:47:45.388493"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dc596377') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi accusantium quia non ipsam aliquid. Cumque quod placeat numquam aspernatur ut. Ut dolorem voluptas error eum. Quis veniam aut dicta aut.\", \"Autem et praesentium temporibus quia. Labore aut rerum. Ut repellat qui reprehenderit. Odio ut tempore quo magni quia repellat vel. Non corporis molestiae repellendus sit animi quo aspernatur.\"]"], ["created_at", "2014-09-22 18:47:45.391245"], ["name", "contract_dc596377"], ["title", "Officiis dolor omnis architecto atque ex voluptate accusantium."], ["updated_at", "2014-09-22 18:47:45.391245"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.396448"], ["updated_at", "2014-09-22 18:47:45.396448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.397939"], ["updated_at", "2014-09-22 18:47:45.397939"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b76ccdbc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis non itaque nostrum voluptatem aut velit. Consequuntur enim molestias. Qui quo magni sed et explicabo delectus alias. Vel sit hic eaque.\", \"Est amet repudiandae aut. Ipsum aspernatur iste tenetur. Possimus consectetur quae iure commodi at. Architecto perspiciatis delectus et. Voluptatem minus exercitationem itaque nihil sunt.\"]"], ["created_at", "2014-09-22 18:47:45.401258"], ["name", "contract_b76ccdbc"], ["title", "Ratione fugiat recusandae ea illo quam repellat voluptatem."], ["updated_at", "2014-09-22 18:47:45.401258"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 46]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 46]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 46 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.410672"], ["updated_at", "2014-09-22 18:47:45.410672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.412794"], ["updated_at", "2014-09-22 18:47:45.412794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.6ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_9f76e702') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa earum inventore non ratione. Maiores corporis sunt molestiae ut quidem voluptate. Amet laborum quis eveniet cumque sapiente facilis.\", \"Inventore nemo perspiciatis. Amet illo ea ducimus. Architecto itaque culpa et quidem reiciendis nam magni. Et quidem odit possimus aperiam et esse.\"]"], ["created_at", "2014-09-22 18:47:45.416284"], ["name", "contract_9f76e702"], ["title", "Temporibus sit sequi."], ["updated_at", "2014-09-22 18:47:45.416284"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 43, 27, 24, 21, 18, 8, 14, 34, 11, 42, 15, 32, 4, 3, 9, 12, 6, 30, 10, 38, 29, 37, 5, 33, 16, 31, 44, 7, 47, 40, 39, 35, 36, 13, 45, 1, 2, 41) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.429283"], ["updated_at", "2014-09-22 18:47:45.429283"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.431250"], ["updated_at", "2014-09-22 18:47:45.431250"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.435845"], ["updated_at", "2014-09-22 18:47:45.435845"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:47:45.437383"], ["updated_at", "2014-09-22 18:47:45.437383"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio voluptas blanditiis. Facilis ea deleniti ab. Hic in qui alias impedit consectetur accusamus aspernatur. Occaecati adipisci molestiae non sit. Veritatis iure adipisci qui tenetur occaecati.\", \"Libero non sit est fugiat cumque. Quidem corrupti dolorem ducimus sint totam aliquid aut. Sequi excepturi qui voluptates voluptatibus illo aut modi. Eos quisquam nostrum. Molestiae quo adipisci aut autem non velit.\"]"], ["created_at", "2014-09-22 18:49:21.705488"], ["name", "alpha"], ["title", "Exercitationem error possimus aliquid libero molestiae sunt occaecati."], ["updated_at", "2014-09-22 18:49:21.705488"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:49:21.725272"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam id voluptas deserunt voluptate natus molestias animi. Rerum sint sunt nostrum. Illum dolores consequatur omnis quo ut. Aliquid incidunt fuga.\", \"Ratione quia harum vitae quis qui sint alias. Necessitatibus ullam ut et. Dolor accusamus architecto voluptate. Sequi repellendus vitae. Qui eos commodi aliquid.\"]"], ["created_at", "2014-09-22 18:49:21.732468"], ["name", "beta"], ["title", "Eaque qui aut ratione est et explicabo."], ["updated_at", "2014-09-22 18:49:21.732468"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:49:21.737100"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.741184"], ["updated_at", "2014-09-22 18:49:21.741184"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:49:21.749361"], ["updated_at", "2014-09-22 18:49:21.749361"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:49:21.756889"], ["updated_at", "2014-09-22 18:49:21.756889"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:49:21.761304"], ["name", "alpha"], ["title", "Exercitationem error possimus aliquid libero molestiae sunt occaecati."], ["updated_at", "2014-09-22 18:49:21.761304"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:49:21.765050"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio qui omnis distinctio autem facere eaque. Numquam officia eos. Id dolorum et harum eum sed est omnis. Molestias saepe fugiat vitae ut temporibus assumenda quibusdam. Necessitatibus vel dolores sint.\", \"Deserunt praesentium facilis ea. Et labore voluptatum eum. Autem ut accusantium nemo temporibus corporis voluptates laborum. Ratione quia reprehenderit vel dolores.\"]"], ["created_at", "2014-09-22 18:49:21.775199"], ["name", "alpha"], ["title", "Eaque voluptatem ipsam consequatur vitae sed quisquam."], ["updated_at", "2014-09-22 18:49:21.775199"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:49:21.779498"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem quia temporibus voluptas voluptates. Maxime eum qui nihil et blanditiis magnam fugiat. Et omnis quo quis voluptatem non et. Porro omnis incidunt laborum omnis magnam. Cumque culpa facere.\", \"Laborum ut minus in non unde impedit labore. Sint earum reprehenderit pariatur rerum consectetur ut voluptatem. Sed libero quia. Consequatur quasi reprehenderit aspernatur labore ipsam atque ducimus.\"]"], ["created_at", "2014-09-22 18:49:21.783397"], ["name", "beta"], ["title", "Qui cupiditate tempore occaecati et consequatur veritatis ut."], ["updated_at", "2014-09-22 18:49:21.783397"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:49:21.786712"], ["version", 2]]  (0.7ms) commit transaction  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.790036"], ["updated_at", "2014-09-22 18:49:21.790036"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:49:21.792666"], ["updated_at", "2014-09-22 18:49:21.792666"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:49:21.795153"], ["updated_at", "2014-09-22 18:49:21.795153"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:49:21.797373"], ["name", "alpha"], ["title", "Eaque voluptatem ipsam consequatur vitae sed quisquam."], ["updated_at", "2014-09-22 18:49:21.797373"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:49:21.800433"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:49:21.823773"], ["updated_at", "2014-09-22 18:49:21.823773"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel aliquam ut quo asperiores aliquid nostrum. Ducimus optio ut. Maxime voluptate qui architecto.\", \"Repudiandae accusamus explicabo sint esse nam qui molestiae. Soluta voluptatem est dolores alias. Numquam pariatur optio ut.\"]"], ["created_at", "2014-09-22 18:49:21.838498"], ["name", "alpha"], ["title", "Ut aut illo quam similique et dolorem non."], ["updated_at", "2014-09-22 18:49:21.838498"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:49:21.841922"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus et eligendi sit cupiditate libero. Nulla at enim. Perferendis et et at laboriosam rerum. Veniam fuga beatae unde. Dolor neque est aut.\", \"Fuga fugit totam unde. Itaque non officia cumque vitae quae aspernatur minus. Accusamus exercitationem nisi sint aliquid eius. Sit et adipisci quibusdam mollitia omnis.\"]"], ["created_at", "2014-09-22 18:49:21.845730"], ["name", "beta"], ["title", "Et ratione voluptas aut ut eos perferendis voluptates."], ["updated_at", "2014-09-22 18:49:21.845730"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:49:21.848938"], ["version", 3]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.852659"], ["updated_at", "2014-09-22 18:49:21.852659"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:49:21.855299"], ["updated_at", "2014-09-22 18:49:21.855299"], ["user_id", 3], ["user_type", "DummyUser"]]  (2.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:49:21.859994"], ["updated_at", "2014-09-22 18:49:21.859994"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:49:21.862122"], ["name", "alpha"], ["title", "Ut aut illo quam similique et dolorem non."], ["updated_at", "2014-09-22 18:49:21.862122"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:49:21.865093"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil recusandae non. Non eius at soluta. Eum perspiciatis quaerat ut.\", \"Autem nisi accusantium. Tempore pariatur odio vel consequatur doloribus. Et est est exercitationem voluptatem quos ut qui.\"]"], ["created_at", "2014-09-22 18:49:21.870609"], ["name", "alpha"], ["title", "Fuga nesciunt molestiae."], ["updated_at", "2014-09-22 18:49:21.870609"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:49:21.873758"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus unde similique. Sed voluptatibus maxime consequuntur. Aut corporis fugit ratione. Vitae ut consequatur aut rem non. Modi et voluptates.\", \"Odio voluptatum aut veniam eveniet. Ut praesentium aut. Quam natus optio laudantium possimus. Asperiores aperiam ut. Qui deleniti porro laborum velit placeat omnis aut.\"]"], ["created_at", "2014-09-22 18:49:21.877158"], ["name", "beta"], ["title", "Maiores pariatur quis rerum aut."], ["updated_at", "2014-09-22 18:49:21.877158"]]  (2.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:49:21.883312"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.885683"], ["updated_at", "2014-09-22 18:49:21.885683"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:49:21.888368"], ["updated_at", "2014-09-22 18:49:21.888368"], ["user_id", 4], ["user_type", "DummyUser"]]  (6.3ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 18:49:21.897424"], ["updated_at", "2014-09-22 18:49:21.897424"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:49:21.900335"], ["name", "alpha"], ["title", "Fuga nesciunt molestiae."], ["updated_at", "2014-09-22 18:49:21.900335"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:49:21.903901"], ["version", 8]]  (5.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b32acce7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic aspernatur quisquam est ut maxime sint. Et facilis sit natus. Modi eum dolores ab eius.\", \"Ut alias quo expedita non odit soluta. Quisquam modi ullam non voluptatem perferendis nobis molestiae. Consequatur aliquid doloremque.\"]"], ["created_at", "2014-09-22 18:49:21.915990"], ["name", "contract_b32acce7"], ["title", "Dolor eaque commodi rerum."], ["updated_at", "2014-09-22 18:49:21.915990"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b32acce7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_b32acce7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:49:21.919004"], ["version", 1]]  (5.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.927980"], ["updated_at", "2014-09-22 18:49:21.927980"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:49:21.935324"], ["updated_at", "2014-09-22 18:49:21.935324"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_b32acce7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b32acce7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_b32acce7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_61c55ef7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In accusantium vel rem facilis repudiandae rerum. Corrupti incidunt voluptate quidem. Iste et repudiandae omnis molestiae ut ducimus. Et nihil sed occaecati ab quibusdam voluptatem. Velit aut corrupti excepturi occaecati et.\", \"Rerum mollitia qui. Numquam blanditiis et consequuntur et est. Exercitationem quaerat magni cumque nobis. Rerum natus est. Id provident corrupti in qui.\"]"], ["created_at", "2014-09-22 18:49:21.944876"], ["name", "contract_61c55ef7"], ["title", "Ratione omnis recusandae nemo reprehenderit et ab in."], ["updated_at", "2014-09-22 18:49:21.944876"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_61c55ef7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_61c55ef7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:49:21.948348"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_61c55ef7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In accusantium vel rem facilis repudiandae rerum. Corrupti incidunt voluptate quidem. Iste et repudiandae omnis molestiae ut ducimus. Et nihil sed occaecati ab quibusdam voluptatem. Velit aut corrupti excepturi occaecati et.\", \"Rerum mollitia qui. Numquam blanditiis et consequuntur et est. Exercitationem quaerat magni cumque nobis. Rerum natus est. Id provident corrupti in qui.\"]"], ["created_at", "2014-09-22 18:49:21.952118"], ["name", "joe"], ["title", "Ratione omnis recusandae nemo reprehenderit et ab in."], ["updated_at", "2014-09-22 18:49:21.952118"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:49:21.955082"], ["version", 1]]  (5.9ms) commit transaction  (0.0ms) begin transaction 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_b5857924') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt aliquam nemo omnis et voluptates. Consequuntur neque qui voluptate inventore deleniti et nostrum. Est est labore eos optio cum. Minus eveniet quas soluta eligendi. Eligendi ducimus temporibus.\", \"Officiis quos similique temporibus. Blanditiis quos impedit. Et voluptatem impedit aut debitis minima.\"]"], ["created_at", "2014-09-22 18:49:21.965073"], ["name", "contract_b5857924"], ["title", "Corrupti adipisci accusantium sed dolore."], ["updated_at", "2014-09-22 18:49:21.965073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b5857924"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_b5857924') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:49:21.968083"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b5857924' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b5857924') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt aliquam nemo omnis et voluptates. Consequuntur neque qui voluptate inventore deleniti et nostrum. Est est labore eos optio cum. Minus eveniet quas soluta eligendi. Eligendi ducimus temporibus.\", \"Officiis quos similique temporibus. Blanditiis quos impedit. Et voluptatem impedit aut debitis minima.\"]"], ["created_at", "2014-09-22 18:49:21.971429"], ["name", "contract_b5857924"], ["title", "Corrupti adipisci accusantium sed dolore."], ["updated_at", "2014-09-22 18:49:21.971429"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b5857924"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_b5857924') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:49:21.974490"], ["version", 2]]  (1.9ms) commit transaction  (0.0ms) begin transaction 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_3f683e7e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos omnis unde dolores maiores explicabo et tenetur. Totam voluptate qui aliquid repellendus soluta natus quo. Reprehenderit possimus quos est.\", \"Possimus tempore modi dolorem quo et. Quaerat natus esse dicta possimus. Dolorum facilis consequuntur explicabo. Natus distinctio itaque.\"]"], ["created_at", "2014-09-22 18:49:21.979384"], ["name", "contract_3f683e7e"], ["title", "Unde alias sequi."], ["updated_at", "2014-09-22 18:49:21.979384"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f683e7e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_3f683e7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:49:21.983483"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f683e7e"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f683e7e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_3f683e7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:49:21.988369"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.991555"], ["updated_at", "2014-09-22 18:49:21.991555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.993041"], ["updated_at", "2014-09-22 18:49:21.993041"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:21.998536"], ["updated_at", "2014-09-22 18:49:21.998536"]]  (3.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.003079"], ["updated_at", "2014-09-22 18:49:22.003079"]]  (1.3ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.009193"], ["updated_at", "2014-09-22 18:49:22.009193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.010852"], ["updated_at", "2014-09-22 18:49:22.010852"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_5023d6ac') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo vel voluptas id non vel quas. Modi ducimus corporis et quia pariatur autem tempore. Odit occaecati vel voluptatem optio sed iste quae.\", \"Nesciunt amet ex ducimus aut. Aliquam sit similique. Dolorem laudantium est nam possimus.\"]"], ["created_at", "2014-09-22 18:49:22.013963"], ["name", "contract_5023d6ac"], ["title", "Eos facilis earum unde."], ["updated_at", "2014-09-22 18:49:22.013963"]]  (6.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5023d6ac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_5023d6ac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:49:22.023305"], ["version", 1]]  (28.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.053331"], ["updated_at", "2014-09-22 18:49:22.053331"]]  (4.2ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 18:49:22.059322"], ["updated_at", "2014-09-22 18:49:22.059322"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"19"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.063802"], ["updated_at", "2014-09-22 18:49:22.063802"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.065353"], ["updated_at", "2014-09-22 18:49:22.065353"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_09b2bbc5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque nesciunt velit vero nulla architecto. Impedit esse minima accusantium fuga a. Aut dicta rerum commodi et. Et voluptates et ut aut autem. Est deleniti quia ab.\", \"Delectus laudantium aut. Quisquam alias eveniet saepe vero inventore. Dolores molestiae qui quibusdam et dolores magnam placeat. Maiores quia dignissimos ullam. Cum reiciendis sed quibusdam doloribus modi.\"]"], ["created_at", "2014-09-22 18:49:22.068465"], ["name", "contract_09b2bbc5"], ["title", "Asperiores ut aut qui rem."], ["updated_at", "2014-09-22 18:49:22.068465"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09b2bbc5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_09b2bbc5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:49:22.071495"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.073947"], ["updated_at", "2014-09-22 18:49:22.073947"]]  (2.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:49:22.078081"], ["updated_at", "2014-09-22 18:49:22.078081"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Completed 500 Internal Server Error in 1ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.082486"], ["updated_at", "2014-09-22 18:49:22.082486"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.084149"], ["updated_at", "2014-09-22 18:49:22.084149"]]  (1.9ms) commit transaction  (0.0ms) begin transaction 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_a6998eb6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ipsum quasi sunt porro quos. Saepe rerum consectetur est suscipit maxime eius nostrum. Dolorum quidem exercitationem nisi.\", \"Vel consequatur ullam autem esse. Sit aliquam saepe quo perferendis excepturi corrupti. Dolore vitae in rerum molestias sequi. Placeat voluptatem consectetur fugiat facere atque. Et quae repudiandae quisquam vel repellat.\"]"], ["created_at", "2014-09-22 18:49:22.088258"], ["name", "contract_a6998eb6"], ["title", "Autem et eos."], ["updated_at", "2014-09-22 18:49:22.088258"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a6998eb6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_a6998eb6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:49:22.091292"], ["version", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.094680"], ["updated_at", "2014-09-22 18:49:22.094680"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:49:22.096770"], ["updated_at", "2014-09-22 18:49:22.096770"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.102787"], ["updated_at", "2014-09-22 18:49:22.102787"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.104347"], ["updated_at", "2014-09-22 18:49:22.104347"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_6ae0ddad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum voluptatem amet quasi quo laboriosam aperiam. Quae fugit nihil iusto est recusandae ullam voluptatem. Aut aspernatur deleniti sequi odit placeat minima tenetur.\", \"Fugit dolor cumque tempore molestias odio quis. Aspernatur laudantium qui et ipsa numquam aut ea. Hic perspiciatis saepe omnis sit numquam. Assumenda ut excepturi rerum voluptatibus eius accusantium et. Odit et sit delectus.\"]"], ["created_at", "2014-09-22 18:49:22.107827"], ["name", "contract_6ae0ddad"], ["title", "Eum tenetur voluptates aliquam omnis quidem."], ["updated_at", "2014-09-22 18:49:22.107827"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ae0ddad"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_6ae0ddad') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:49:22.111132"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.113637"], ["updated_at", "2014-09-22 18:49:22.113637"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 18:49:22.115621"], ["updated_at", "2014-09-22 18:49:22.115621"], ["user_id", 21], ["user_type", "DummyUser"]]  (36.0ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"22"} Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.159741"], ["updated_at", "2014-09-22 18:49:22.159741"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.161402"], ["updated_at", "2014-09-22 18:49:22.161402"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_c12e7685') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic maiores necessitatibus iste. Similique asperiores porro. Vel iste molestias est perspiciatis necessitatibus suscipit illum. Asperiores quam ut. Maxime eius enim.\", \"Numquam odit id doloremque rerum consectetur nulla. Alias deleniti occaecati facilis hic est in nihil. Autem iusto exercitationem qui veniam necessitatibus fuga dolore.\"]"], ["created_at", "2014-09-22 18:49:22.164733"], ["name", "contract_c12e7685"], ["title", "Voluptatum non recusandae dolorum magnam voluptas earum."], ["updated_at", "2014-09-22 18:49:22.164733"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c12e7685"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_c12e7685') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:49:22.168163"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.171289"], ["updated_at", "2014-09-22 18:49:22.171289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:49:22.173399"], ["updated_at", "2014-09-22 18:49:22.173399"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"23"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.177004"], ["updated_at", "2014-09-22 18:49:22.177004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.178442"], ["updated_at", "2014-09-22 18:49:22.178442"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_862c6079') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem non corporis excepturi. Quia velit est placeat fuga nobis sit aut. Harum quo dignissimos aliquid.\", \"Ipsam veritatis est voluptatem ut aut et exercitationem. Hic ad voluptatum debitis quia eos ullam. Illum rerum voluptas quia ut quae.\"]"], ["created_at", "2014-09-22 18:49:22.181300"], ["name", "contract_862c6079"], ["title", "Animi tempore ut eos sunt dolore quaerat."], ["updated_at", "2014-09-22 18:49:22.181300"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_862c6079"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_862c6079') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:49:22.184254"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.186782"], ["updated_at", "2014-09-22 18:49:22.186782"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:49:22.188867"], ["updated_at", "2014-09-22 18:49:22.188867"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 16]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Redirected to http://test.host/fine_print/contracts/24/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 16 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.196457"], ["updated_at", "2014-09-22 18:49:22.196457"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.198301"], ["updated_at", "2014-09-22 18:49:22.198301"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_742343c7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic aut occaecati ut animi. Pariatur voluptatum dolores quaerat. Nam voluptas quas. Aut ut est accusantium.\", \"Rerum molestias dolor facilis distinctio. Ut est vitae ad magnam distinctio amet. Ea et repellat quisquam neque voluptas. Ab hic omnis in repellat.\"]"], ["created_at", "2014-09-22 18:49:22.202555"], ["name", "contract_742343c7"], ["title", "Eaque aut sit quisquam doloremque deleniti."], ["updated_at", "2014-09-22 18:49:22.202555"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_742343c7"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_742343c7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:49:22.206413"], ["version", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.210044"], ["updated_at", "2014-09-22 18:49:22.210044"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 18:49:22.212203"], ["updated_at", "2014-09-22 18:49:22.212203"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Completed 500 Internal Server Error in 2ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.218704"], ["updated_at", "2014-09-22 18:49:22.218704"]]  (4.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.223991"], ["updated_at", "2014-09-22 18:49:22.223991"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_5e9fb20e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed ut nemo ut reiciendis similique error. Doloremque velit et odio deleniti et. Voluptatem quae alias fugiat minus est ullam explicabo. Labore culpa sit ut. Error et nihil.\", \"Ut incidunt quis qui. Quia veniam autem hic ducimus. Aspernatur repellat quae. Ab quisquam mollitia. Qui ut reiciendis id quia et.\"]"], ["created_at", "2014-09-22 18:49:22.228130"], ["name", "contract_5e9fb20e"], ["title", "Nobis et sit qui autem sed quibusdam nostrum."], ["updated_at", "2014-09-22 18:49:22.228130"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5e9fb20e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_5e9fb20e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:49:22.232052"], ["version", 1]]  (5.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.240402"], ["updated_at", "2014-09-22 18:49:22.240402"]]  (2.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:49:22.245584"], ["updated_at", "2014-09-22 18:49:22.245584"], ["user_id", 33], ["user_type", "DummyUser"]]  (8.9ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_097b9349') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint tenetur aut non nihil. Tempore quia error non alias. Aspernatur deserunt voluptas.\", \"Voluptates quo tenetur iure ad rerum. Ratione porro asperiores. Officiis esse culpa nihil. Ducimus autem est et.\"]"], ["created_at", "2014-09-22 18:49:22.259475"], ["name", "contract_097b9349"], ["title", "Dignissimos saepe ducimus est dolorem nobis esse reprehenderit."], ["updated_at", "2014-09-22 18:49:22.259475"]]  (3.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction 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_5612be69') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe distinctio facilis magnam. Aut cupiditate magni qui qui. A quae officia nemo eos autem.\", \"Itaque nobis maxime qui. Quibusdam ut voluptatem molestias cupiditate nobis sapiente. Illo nesciunt officiis nihil necessitatibus asperiores numquam minus.\"]"], ["created_at", "2014-09-22 18:49:22.266062"], ["name", "contract_5612be69"], ["title", "Quo sed ut aut quod."], ["updated_at", "2014-09-22 18:49:22.266062"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5612be69"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_5612be69') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:49:22.269089"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.271505"], ["updated_at", "2014-09-22 18:49:22.271505"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.278967"], ["updated_at", "2014-09-22 18:49:22.278967"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.280490"], ["updated_at", "2014-09-22 18:49:22.280490"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_ac637c5e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem maiores vel voluptas. Minima cumque a aperiam rem. Rem consequuntur possimus quae. Amet non deleniti molestiae provident repudiandae. Animi itaque eveniet facere non.\", \"Magnam perferendis voluptatem fuga sint quia. Nostrum consequatur eum vel voluptates. Dicta cum sed saepe inventore nemo et. Autem ea in consequatur ducimus voluptatem.\"]"], ["created_at", "2014-09-22 18:49:22.283608"], ["name", "contract_ac637c5e"], ["title", "Quo velit sit eveniet accusantium amet."], ["updated_at", "2014-09-22 18:49:22.283608"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.288430"], ["updated_at", "2014-09-22 18:49:22.288430"]]  (4.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.294093"], ["updated_at", "2014-09-22 18:49:22.294093"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_420c6bbe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut adipisci quod at enim. Dolorem quia et. Nulla eius et. Deserunt quae culpa.\", \"Qui repellat ipsam minus nihil. Tenetur voluptatem numquam ducimus et aut eligendi. Et eligendi ipsam architecto.\"]"], ["created_at", "2014-09-22 18:49:22.297202"], ["name", "contract_420c6bbe"], ["title", "Laboriosam molestiae et quisquam."], ["updated_at", "2014-09-22 18:49:22.297202"]]  (3.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 30 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:49:22.304364"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.309706"], ["updated_at", "2014-09-22 18:49:22.309706"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.316447"], ["updated_at", "2014-09-22 18:49:22.316447"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_018885ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id qui qui et. Dolore atque qui praesentium dicta. Veritatis error est. Quas deserunt debitis dolores id dolorum sapiente. Consequatur qui perferendis dolores possimus.\", \"Vel nesciunt necessitatibus qui voluptas ullam qui. Qui quas voluptate fugiat provident perspiciatis qui enim. Quae assumenda dolor vero est dolorem perferendis. Exercitationem expedita voluptas consequuntur tenetur. Sit fugiat labore.\"]"], ["created_at", "2014-09-22 18:49:22.319064"], ["name", "contract_018885ef"], ["title", "Beatae assumenda est."], ["updated_at", "2014-09-22 18:49:22.319064"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_018885ef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_018885ef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:49:22.322024"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_018885ef' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.329223"], ["updated_at", "2014-09-22 18:49:22.329223"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.330733"], ["updated_at", "2014-09-22 18:49:22.330733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f3d9e2cd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit omnis ad eum. Possimus animi nobis illo expedita saepe eveniet. Ut deserunt sapiente est non eum dolores. Provident at ut voluptates omnis aut laboriosam voluptas. Dignissimos atque officia eos ipsum earum dolores sed.\", \"Fuga et recusandae in perspiciatis autem. Et officiis sint. Harum quo et. Velit est dignissimos dolores voluptatem. Molestias blanditiis voluptatem.\"]"], ["created_at", "2014-09-22 18:49:22.333337"], ["name", "contract_f3d9e2cd"], ["title", "Enim repudiandae ea voluptatem."], ["updated_at", "2014-09-22 18:49:22.333337"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 30, 11, 8, 5, 2, 31, 27, 20, 18, 19, 28, 26, 14, 22, 25, 24, 21, 29, 13, 17, 16, 23, 32, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.340560"], ["updated_at", "2014-09-22 18:49:22.340560"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.342116"], ["updated_at", "2014-09-22 18:49:22.342116"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_2bd1bc7d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt voluptas ducimus unde natus error rerum. Repudiandae dolorem nam rerum eaque quia. In qui laudantium deleniti magni impedit. Necessitatibus officia nesciunt sint. Facere quia non molestias blanditiis quam nostrum consequatur.\", \"Ratione reiciendis ipsa. Similique eius odit et eveniet et sit. Ad id porro sit voluptas. Rem commodi voluptas. Occaecati fugit qui.\"]"], ["created_at", "2014-09-22 18:49:22.344930"], ["name", "contract_2bd1bc7d"], ["title", "Illum sunt delectus odit nam sit sunt quidem."], ["updated_at", "2014-09-22 18:49:22.344930"]]  (20.2ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.369006"], ["updated_at", "2014-09-22 18:49:22.369006"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.370970"], ["updated_at", "2014-09-22 18:49:22.370970"]]  (17.6ms) commit transaction  (0.0ms) begin transaction 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_a5c91205') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam est ea corrupti. Ipsam perspiciatis ut ut. Nisi voluptate atque veritatis consequatur aliquam modi aut.\", \"Distinctio veniam quo aperiam natus ad. Hic voluptatem suscipit. Non tempora voluptas. Eum culpa laudantium consectetur.\"]"], ["created_at", "2014-09-22 18:49:22.390887"], ["name", "contract_a5c91205"], ["title", "Eius fuga quidem qui quas."], ["updated_at", "2014-09-22 18:49:22.390887"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.396839"], ["updated_at", "2014-09-22 18:49:22.396839"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.398290"], ["updated_at", "2014-09-22 18:49:22.398290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bebdb4b4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio omnis dolor blanditiis in fuga ullam iusto. Temporibus odit voluptatibus mollitia nemo. Sunt doloremque nisi quam tenetur. Aut eveniet aut dolor officiis.\", \"Ut accusantium voluptatibus et et quia minus quos. Qui reprehenderit asperiores sed officia sed. Qui blanditiis eius ut ut. Tempora architecto repudiandae occaecati fugiat accusantium placeat sed. Vel omnis et id.\"]"], ["created_at", "2014-09-22 18:49:22.400924"], ["name", "contract_bebdb4b4"], ["title", "Sint quas impedit quia expedita veniam illum."], ["updated_at", "2014-09-22 18:49:22.400924"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bebdb4b4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_bebdb4b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:49:22.404303"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bebdb4b4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_bebdb4b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:49:22.410960"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.415340"], ["updated_at", "2014-09-22 18:49:22.415340"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.416865"], ["updated_at", "2014-09-22 18:49:22.416865"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5d08526c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed beatae velit. Magnam ex labore ut eveniet quis minima eos. Veniam atque cum vitae eum molestias. Et cupiditate similique rerum enim eius. Nam non unde ut vel.\", \"Molestiae est consequatur. Et qui assumenda quo eius consequuntur ducimus tenetur. Nulla nihil quis atque alias aspernatur earum blanditiis. Libero ut harum dolor molestias tenetur illo. Pariatur quia repellendus.\"]"], ["created_at", "2014-09-22 18:49:22.419465"], ["name", "contract_5d08526c"], ["title", "Sequi voluptatem non facere ut quas temporibus cumque."], ["updated_at", "2014-09-22 18:49:22.419465"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.423298"], ["updated_at", "2014-09-22 18:49:22.423298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.424779"], ["updated_at", "2014-09-22 18:49:22.424779"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ac6884f0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi minima temporibus dolore nesciunt aliquam voluptate. Recusandae autem dolorem fuga quibusdam ex. Recusandae consequatur inventore eaque commodi vel laborum aut. Consequatur non reiciendis aut et ratione quia.\", \"Eum nobis perspiciatis sunt eum. Necessitatibus maxime aliquid sint incidunt cumque reprehenderit odio. Omnis nostrum soluta minus et omnis. Quo vel adipisci. Natus ducimus voluptatibus unde in laudantium.\"]"], ["created_at", "2014-09-22 18:49:22.427396"], ["name", "contract_ac6884f0"], ["title", "Quisquam maiores ipsa."], ["updated_at", "2014-09-22 18:49:22.427396"]]  (15.9ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.446449"], ["updated_at", "2014-09-22 18:49:22.446449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.447924"], ["updated_at", "2014-09-22 18:49:22.447924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3a26362a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quas molestiae. Id vero recusandae. Aut in exercitationem aut quod natus harum.\", \"Eius voluptatum et quis vero rerum. Accusamus corrupti voluptatem officiis sit asperiores. Id nihil pariatur officiis. Sed esse explicabo nostrum enim consequatur. Eligendi aut officia.\"]"], ["created_at", "2014-09-22 18:49:22.450914"], ["name", "contract_3a26362a"], ["title", "A maxime et illum."], ["updated_at", "2014-09-22 18:49:22.450914"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.455957"], ["updated_at", "2014-09-22 18:49:22.455957"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.457676"], ["updated_at", "2014-09-22 18:49:22.457676"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_a33f2175') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam fugit architecto id nulla enim. Qui ipsam amet. Occaecati odit quam fugiat inventore quasi.\", \"Placeat error laborum expedita sequi. Tenetur ut dignissimos molestiae magnam unde sed. Reiciendis non qui ea doloribus velit ducimus. Vitae assumenda similique velit. Nisi adipisci qui qui reprehenderit et ipsa.\"]"], ["created_at", "2014-09-22 18:49:22.467729"], ["name", "contract_a33f2175"], ["title", "Ullam voluptas quis suscipit velit quia odio."], ["updated_at", "2014-09-22 18:49:22.467729"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a33f2175"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_a33f2175') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:49:22.473672"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.479487"], ["updated_at", "2014-09-22 18:49:22.479487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.481031"], ["updated_at", "2014-09-22 18:49:22.481031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b2eb121e') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam soluta omnis atque. Molestiae alias sed quis adipisci dolores. Dolores culpa ea.\", \"Quae repellendus sed. Quod deleniti et natus placeat facere et. Ut consectetur et sed.\"]"], ["created_at", "2014-09-22 18:49:22.484059"], ["name", "contract_b2eb121e"], ["title", "Ipsam et eum quo quod."], ["updated_at", "2014-09-22 18:49:22.484059"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.489926"], ["updated_at", "2014-09-22 18:49:22.489926"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.491531"], ["updated_at", "2014-09-22 18:49:22.491531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a150af30') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora earum culpa magnam. Voluptatum veniam molestiae placeat consequatur. Rerum voluptate occaecati omnis accusantium. Omnis ut ab commodi aut. Dolores et neque magnam doloribus.\", \"Et necessitatibus ipsum commodi. Facilis pariatur est fugiat quis qui. Occaecati temporibus architecto. Provident dolor sunt ea odit voluptatem.\"]"], ["created_at", "2014-09-22 18:49:22.494438"], ["name", "contract_a150af30"], ["title", "Est aut cupiditate optio magni quo nesciunt quidem."], ["updated_at", "2014-09-22 18:49:22.494438"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:49:22.500538"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:49:22.500538"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/42 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.504715"], ["updated_at", "2014-09-22 18:49:22.504715"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.506905"], ["updated_at", "2014-09-22 18:49:22.506905"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_193e4a53') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Possimus blanditiis ut. Quos ullam aliquid aut aut. Sequi atque aut sed dolorum et. Enim quos accusamus repudiandae qui. Reiciendis aperiam dolor autem et sit.\", \"Nihil velit quia voluptatum et non. Ut aliquid tenetur. Aliquam minima libero.\"]"], ["created_at", "2014-09-22 18:49:22.509737"], ["name", "contract_193e4a53"], ["title", "Eum consequuntur dolor ea ipsa voluptas rerum itaque."], ["updated_at", "2014-09-22 18:49:22.509737"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.516325"], ["updated_at", "2014-09-22 18:49:22.516325"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.518331"], ["updated_at", "2014-09-22 18:49:22.518331"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_afead2b9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit totam labore non nihil voluptatem. Laboriosam eum aperiam dolor aspernatur non error amet. Soluta dignissimos at dolor excepturi.\", \"Explicabo aliquid sunt expedita quod. Non totam asperiores saepe id sed deleniti. Voluptates in veritatis praesentium perspiciatis omnis.\"]"], ["created_at", "2014-09-22 18:49:22.521810"], ["name", "contract_afead2b9"], ["title", "Accusamus iste dicta dolores voluptatibus doloremque voluptas."], ["updated_at", "2014-09-22 18:49:22.521810"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.527900"], ["updated_at", "2014-09-22 18:49:22.527900"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.529588"], ["updated_at", "2014-09-22 18:49:22.529588"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_57ea7489') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis dolor est. Atque cumque repudiandae culpa libero. Soluta cum et esse pariatur. Itaque delectus quidem voluptatum.\", \"Temporibus aut aliquid consequuntur. Ipsum voluptatem explicabo iste dolorem. Minus aut corrupti eum magni facere nostrum sed.\"]"], ["created_at", "2014-09-22 18:49:22.533009"], ["name", "contract_57ea7489"], ["title", "Omnis qui animi."], ["updated_at", "2014-09-22 18:49:22.533009"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_57ea7489"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_57ea7489') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:49:22.537300"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.544188"], ["updated_at", "2014-09-22 18:49:22.544188"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.545756"], ["updated_at", "2014-09-22 18:49:22.545756"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_e89ff7d4') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia libero quis praesentium est voluptatum nobis ut. Ex voluptates ut. Quia ut iste inventore culpa corporis. Consequatur explicabo pariatur reiciendis error itaque quia.\", \"Assumenda nobis quisquam illo. Tempore et nihil inventore nostrum. Tempore deleniti ipsum molestiae. Et sapiente eos. Aperiam porro nostrum dolore et.\"]"], ["created_at", "2014-09-22 18:49:22.549716"], ["name", "contract_e89ff7d4"], ["title", "Cum in aut architecto ipsum facilis sed."], ["updated_at", "2014-09-22 18:49:22.549716"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 46]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 46]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 46 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.559823"], ["updated_at", "2014-09-22 18:49:22.559823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:49:22.561350"], ["updated_at", "2014-09-22 18:49:22.561350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d8a560b9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium voluptatibus vero enim consequatur eum iusto et. Nesciunt inventore tempora et ut ipsam. Et alias nam molestias architecto atque asperiores iure.\", \"Suscipit dolorum eum aperiam. Ut deserunt deleniti voluptas vero quibusdam voluptas. Labore eveniet cumque aut dolorum sunt atque. Expedita eveniet a magni ut odit. Eos maiores voluptas.\"]"], ["created_at", "2014-09-22 18:49:22.564011"], ["name", "contract_d8a560b9"], ["title", "Dolor in cum molestiae placeat."], ["updated_at", "2014-09-22 18:49:22.564011"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8a560b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_d8a560b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:49:22.567074"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"47"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"47"} Completed 404 Not Found in 0ms  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (2.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.3ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:55.777696"], ["updated_at", "2014-09-22 18:50:55.777696"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:55.783881"], ["updated_at", "2014-09-22 18:50:55.783881"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:55.790615"], ["updated_at", "2014-09-22 18:50:55.790615"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:55.792163"], ["updated_at", "2014-09-22 18:50:55.792163"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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_9e253187') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt sit repellat autem. Est sed deserunt culpa. Omnis ex modi ut voluptatem non.\", \"In dicta vel recusandae. Eos commodi qui. Similique cum sunt ab rem nostrum cupiditate alias. In repellendus odit fugit aut porro soluta voluptatibus. Et est eum tempore nisi.\"]"], ["created_at", "2014-09-22 18:50:56.013506"], ["name", "contract_9e253187"], ["title", "Autem aliquid dicta est ipsa."], ["updated_at", "2014-09-22 18:50:56.013506"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9e253187"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9e253187') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:50:56.031987"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.041200"], ["updated_at", "2014-09-22 18:50:56.041200"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:50:56.045602"], ["updated_at", "2014-09-22 18:50:56.045602"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9e253187') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9e253187"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_9e253187') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction 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_3bbab8bd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit explicabo nemo et tempora. Sint sunt nihil. Quidem nulla nesciunt voluptas tempore assumenda aut nostrum. Deserunt consequatur impedit pariatur fugit rerum.\", \"Est necessitatibus ut repellendus architecto nulla. Voluptas nobis similique praesentium nisi a fugiat tempora. Harum totam vero. At soluta accusamus quia. Repellat aliquam cum molestiae error magni vel nesciunt.\"]"], ["created_at", "2014-09-22 18:50:56.059312"], ["name", "contract_3bbab8bd"], ["title", "Non tenetur velit."], ["updated_at", "2014-09-22 18:50:56.059312"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3bbab8bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3bbab8bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:50:56.064160"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3bbab8bd"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3bbab8bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3bbab8bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:50:56.070972"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2e8fe82e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur est dolorem quia sed quaerat accusantium. Tempora sed sit. Excepturi autem id omnis sequi eos.\", \"Assumenda velit ut ullam error consequatur tempore inventore. Recusandae ut numquam vero nihil id vel. Ut iusto beatae. Assumenda soluta et et. Doloremque nostrum laudantium nihil inventore at recusandae voluptatem.\"]"], ["created_at", "2014-09-22 18:50:56.075843"], ["name", "contract_2e8fe82e"], ["title", "Voluptas nihil eligendi sit dicta qui non."], ["updated_at", "2014-09-22 18:50:56.075843"]]  (2.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2e8fe82e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_2e8fe82e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:50:56.081011"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2e8fe82e' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur est dolorem quia sed quaerat accusantium. Tempora sed sit. Excepturi autem id omnis sequi eos.\", \"Assumenda velit ut ullam error consequatur tempore inventore. Recusandae ut numquam vero nihil id vel. Ut iusto beatae. Assumenda soluta et et. Doloremque nostrum laudantium nihil inventore at recusandae voluptatem.\"]"], ["created_at", "2014-09-22 18:50:56.087241"], ["name", "joe"], ["title", "Voluptas nihil eligendi sit dicta qui non."], ["updated_at", "2014-09-22 18:50:56.087241"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:50:56.090626"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34f946dc') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit similique doloribus dolor quam quaerat labore eum. Illum aliquid repellendus explicabo. Sed dolorum molestias consequuntur excepturi voluptas quo veniam. Impedit qui veritatis esse debitis id aut. Fuga aliquid non autem inventore.\", \"Eum veritatis numquam animi non minus. Doloremque non dolor fugit porro non harum rerum. Qui fugiat qui sunt veniam totam enim consectetur. Repellendus amet omnis error quia fuga vel. Quibusdam magni sequi similique.\"]"], ["created_at", "2014-09-22 18:50:56.096221"], ["name", "contract_34f946dc"], ["title", "Minima hic optio iste."], ["updated_at", "2014-09-22 18:50:56.096221"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34f946dc"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_34f946dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:50:56.100102"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_34f946dc' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_34f946dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit similique doloribus dolor quam quaerat labore eum. Illum aliquid repellendus explicabo. Sed dolorum molestias consequuntur excepturi voluptas quo veniam. Impedit qui veritatis esse debitis id aut. Fuga aliquid non autem inventore.\", \"Eum veritatis numquam animi non minus. Doloremque non dolor fugit porro non harum rerum. Qui fugiat qui sunt veniam totam enim consectetur. Repellendus amet omnis error quia fuga vel. Quibusdam magni sequi similique.\"]"], ["created_at", "2014-09-22 18:50:56.103982"], ["name", "contract_34f946dc"], ["title", "Minima hic optio iste."], ["updated_at", "2014-09-22 18:50:56.103982"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34f946dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_34f946dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:50:56.108096"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.111396"], ["updated_at", "2014-09-22 18:50:56.111396"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.112937"], ["updated_at", "2014-09-22 18:50:56.112937"]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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_fb84eb16') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At est quae sunt est. Aspernatur exercitationem itaque et occaecati odio totam voluptas. Asperiores aperiam voluptas repellendus eum voluptatem.\", \"Et qui architecto ipsam recusandae dolorem ducimus nostrum. Veniam soluta est. Ipsam porro autem. Modi iure impedit et. Ducimus laboriosam nemo.\"]"], ["created_at", "2014-09-22 18:50:56.115857"], ["name", "contract_fb84eb16"], ["title", "Occaecati quia repellat praesentium nemo aut."], ["updated_at", "2014-09-22 18:50:56.115857"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.123083"], ["updated_at", "2014-09-22 18:50:56.123083"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.124835"], ["updated_at", "2014-09-22 18:50:56.124835"]]  (5.3ms) commit transaction  (0.0ms) begin transaction 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_892fb121') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea aut omnis quos autem voluptate rerum. Est magnam dolor distinctio saepe sequi. Ab sed velit neque maiores magnam. Magni neque similique ut aut. Cumque et minus ea maxime sunt eum.\", \"Soluta qui voluptatibus iusto. Et temporibus et voluptas qui esse harum corporis. Et in ut consequatur quibusdam sit provident. Dicta laboriosam cumque. Aspernatur vero atque sed.\"]"], ["created_at", "2014-09-22 18:50:56.133217"], ["name", "contract_892fb121"], ["title", "Nobis aliquam delectus architecto."], ["updated_at", "2014-09-22 18:50:56.133217"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:50:56.138799"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:50:56.138799"]]  (3.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 7ms (ActiveRecord: 4.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.146115"], ["updated_at", "2014-09-22 18:50:56.146115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.147823"], ["updated_at", "2014-09-22 18:50:56.147823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b30ba8fa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id laborum ipsum eum voluptatem et. Explicabo est officia eligendi. Tenetur sed et. Id nihil totam fugit placeat optio. Dolor facere odit impedit sint.\", \"Voluptatibus non quaerat. Nobis modi facere totam. Perspiciatis asperiores voluptatum necessitatibus qui ut delectus error. Quos minus ipsam quis eum harum nihil qui. Accusamus sit dolor ut neque.\"]"], ["created_at", "2014-09-22 18:50:56.150755"], ["name", "contract_b30ba8fa"], ["title", "Ab aut et."], ["updated_at", "2014-09-22 18:50:56.150755"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.157086"], ["updated_at", "2014-09-22 18:50:56.157086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.158662"], ["updated_at", "2014-09-22 18:50:56.158662"]]  (5.4ms) commit transaction  (0.0ms) begin transaction 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_a4cbb91e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio consequatur itaque fuga. Quasi consequatur illo rerum voluptatem nobis ut est. Saepe harum rerum at libero accusamus aliquam. Eos impedit quae cupiditate tenetur dignissimos nulla sed. Commodi architecto officiis veritatis.\", \"Sunt beatae magnam et repudiandae necessitatibus rerum. Rerum est magni. Laboriosam voluptas accusantium. Quod consequatur iste. Qui consequatur quis vitae molestias.\"]"], ["created_at", "2014-09-22 18:50:56.166293"], ["name", "contract_a4cbb91e"], ["title", "Rerum aliquam culpa sed est omnis."], ["updated_at", "2014-09-22 18:50:56.166293"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 11 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:50:56.170561"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.175923"], ["updated_at", "2014-09-22 18:50:56.175923"]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.183156"], ["updated_at", "2014-09-22 18:50:56.183156"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_045bb626') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint ab quo natus id. Enim dolorem ut illum iste ab et aliquid. Minus velit qui nulla quam occaecati adipisci quas. In facere nisi.\", \"Aut dolores consequatur et totam repudiandae. Ut sit et aliquid. Tempora vel voluptas molestias.\"]"], ["created_at", "2014-09-22 18:50:56.186523"], ["name", "contract_045bb626"], ["title", "Quia vitae commodi."], ["updated_at", "2014-09-22 18:50:56.186523"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_045bb626"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_045bb626') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:50:56.194059"], ["version", 1]]  (6.9ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_045bb626' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.212429"], ["updated_at", "2014-09-22 18:50:56.212429"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.214303"], ["updated_at", "2014-09-22 18:50:56.214303"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a5c9f278') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi ab aut omnis doloribus. Aut nam provident omnis. Quibusdam et exercitationem delectus non aut fugit. Quisquam voluptas earum asperiores. Esse nam aut.\", \"Error quo expedita. Deserunt repellendus reiciendis accusamus. Veritatis nisi quibusdam cum aut. Id molestias consequuntur quidem.\"]"], ["created_at", "2014-09-22 18:50:56.217800"], ["name", "contract_a5c9f278"], ["title", "Eaque dolores nisi fugiat officiis quia est qui."], ["updated_at", "2014-09-22 18:50:56.217800"]]  (27.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a5c9f278"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_a5c9f278') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:50:56.250462"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.255076"], ["updated_at", "2014-09-22 18:50:56.255076"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.256641"], ["updated_at", "2014-09-22 18:50:56.256641"]]  (7.0ms) commit transaction  (0.1ms) begin transaction 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_12f973c8') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium sint voluptatibus. Molestias suscipit debitis omnis consequatur temporibus. Quia ut totam quibusdam.\", \"Modi fugiat aut vero ad doloribus mollitia explicabo. Recusandae occaecati accusantium sed repudiandae voluptatum non impedit. Aspernatur amet libero. Fuga voluptatem hic optio eveniet accusamus voluptas recusandae. Enim et beatae.\"]"], ["created_at", "2014-09-22 18:50:56.266417"], ["name", "contract_12f973c8"], ["title", "Repudiandae blanditiis quam voluptates."], ["updated_at", "2014-09-22 18:50:56.266417"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.275460"], ["updated_at", "2014-09-22 18:50:56.275460"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.276958"], ["updated_at", "2014-09-22 18:50:56.276958"]]  (1.9ms) commit transaction  (0.0ms) begin transaction 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_d09d0e38') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit voluptas non veritatis laboriosam eligendi non. Provident facilis sit consequatur. Necessitatibus excepturi sunt.\", \"Itaque voluptatibus laboriosam consequuntur officia aliquid neque. Blanditiis autem quia voluptatem et. Eos illum ut voluptates sint. Nihil temporibus expedita ea occaecati earum.\"]"], ["created_at", "2014-09-22 18:50:56.280758"], ["name", "contract_d09d0e38"], ["title", "Dolores qui pariatur unde harum consequuntur eligendi."], ["updated_at", "2014-09-22 18:50:56.280758"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.285408"], ["updated_at", "2014-09-22 18:50:56.285408"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.286859"], ["updated_at", "2014-09-22 18:50:56.286859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_40103e8c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est quisquam sunt. Qui aut reprehenderit magni inventore rerum eaque. Labore quae sed reiciendis. A quo perspiciatis provident et non qui.\", \"Occaecati rerum ea. Voluptas veniam autem omnis autem et. Et ea culpa et id saepe sint. Fuga aut nostrum earum ipsa ut. Nihil maxime illum iusto porro quas.\"]"], ["created_at", "2014-09-22 18:50:56.289569"], ["name", "contract_40103e8c"], ["title", "Quia suscipit ut at praesentium dolore animi non."], ["updated_at", "2014-09-22 18:50:56.289569"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40103e8c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_40103e8c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:50:56.292777"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_40103e8c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_40103e8c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:50:56.299651"], ["version", nil]]  (4.4ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 11ms (ActiveRecord: 5.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.309050"], ["updated_at", "2014-09-22 18:50:56.309050"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.311599"], ["updated_at", "2014-09-22 18:50:56.311599"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1504dfd7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde et ab fugiat enim iste sint. Sapiente voluptas dolore reiciendis beatae repudiandae. Ipsum odit non dolore fugiat corporis hic. Eveniet quis et doloribus corrupti autem velit eos.\", \"Voluptate omnis soluta perferendis sapiente dolores aut. Quam et et error beatae consequatur voluptas. Ducimus id et eligendi magni quaerat maiores esse.\"]"], ["created_at", "2014-09-22 18:50:56.314332"], ["name", "contract_1504dfd7"], ["title", "Optio iste molestiae ut sed dicta adipisci velit."], ["updated_at", "2014-09-22 18:50:56.314332"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1504dfd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_1504dfd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:50:56.317374"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.323181"], ["updated_at", "2014-09-22 18:50:56.323181"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.324722"], ["updated_at", "2014-09-22 18:50:56.324722"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a609357e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam quidem sed ea. Eum in id ut qui et doloremque. Rerum repudiandae fuga nemo minima dolorem adipisci debitis. Consequuntur explicabo aut sit eveniet voluptatem cupiditate recusandae.\", \"Ullam officiis aut veniam libero. Error magnam laudantium in aut rerum et temporibus. Odit quam maxime et corporis at ut voluptatem.\"]"], ["created_at", "2014-09-22 18:50:56.327282"], ["name", "contract_a609357e"], ["title", "Blanditiis asperiores pariatur expedita assumenda qui dolor."], ["updated_at", "2014-09-22 18:50:56.327282"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.331329"], ["updated_at", "2014-09-22 18:50:56.331329"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.332848"], ["updated_at", "2014-09-22 18:50:56.332848"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_81ecf7b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore officia libero numquam. In doloremque totam porro. Animi harum ea est aperiam quia maiores reiciendis.\", \"Atque aspernatur pariatur aperiam perferendis quia et molestias. Corporis aut sed aut. Odit sed velit tempore aliquam aut.\"]"], ["created_at", "2014-09-22 18:50:56.335297"], ["name", "contract_81ecf7b3"], ["title", "Nostrum quia libero temporibus sunt doloremque atque neque."], ["updated_at", "2014-09-22 18:50:56.335297"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.338989"], ["updated_at", "2014-09-22 18:50:56.338989"]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.342432"], ["updated_at", "2014-09-22 18:50:56.342432"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_248727ca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis aliquam doloremque aperiam. Doloribus quis aut est voluptatem et consequatur. Occaecati voluptas laborum. Quasi eum deleniti.\", \"Non molestias vitae ad. Aut quia nihil nobis assumenda vel. Facilis dolores magnam.\"]"], ["created_at", "2014-09-22 18:50:56.345596"], ["name", "contract_248727ca"], ["title", "Dolor possimus maxime expedita quaerat."], ["updated_at", "2014-09-22 18:50:56.345596"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 12, 17, 20, 3, 6, 5, 2, 16, 19, 8, 1, 13, 18, 10, 15, 7, 4, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.355813"], ["updated_at", "2014-09-22 18:50:56.355813"]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.358759"], ["updated_at", "2014-09-22 18:50:56.358759"]]  (7.0ms) commit transaction  (0.0ms) begin transaction 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_37e333c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam sit debitis dolorem adipisci. Est voluptate aliquam sapiente ut voluptatem. Et eum veritatis molestiae quis.\", \"Soluta veritatis dolores est. Sint et est reiciendis ducimus accusantium dolorem ullam. Magnam qui inventore. Vel fuga consectetur provident autem quibusdam quae. Quia quis omnis provident in qui.\"]"], ["created_at", "2014-09-22 18:50:56.367892"], ["name", "contract_37e333c5"], ["title", "Amet at dolorum voluptatem itaque incidunt autem ab."], ["updated_at", "2014-09-22 18:50:56.367892"]]  (4.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_37e333c5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_37e333c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:50:56.374921"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.380050"], ["updated_at", "2014-09-22 18:50:56.380050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.381571"], ["updated_at", "2014-09-22 18:50:56.381571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f35c4f05') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente ut dolor quibusdam. Excepturi nam enim ipsa perferendis quaerat mollitia harum. Maiores facilis autem placeat est enim. Commodi quia sint est veritatis.\", \"Dicta numquam itaque sit ut quaerat. Occaecati ut quia aperiam quod magnam necessitatibus. Autem asperiores laudantium ut omnis qui voluptatem. Minima laboriosam excepturi facere.\"]"], ["created_at", "2014-09-22 18:50:56.384132"], ["name", "contract_f35c4f05"], ["title", "Aperiam vel temporibus odit consequatur neque."], ["updated_at", "2014-09-22 18:50:56.384132"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.388989"], ["updated_at", "2014-09-22 18:50:56.388989"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.390544"], ["updated_at", "2014-09-22 18:50:56.390544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_20381b10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima magni repellendus sunt in nulla. Vero rerum sunt qui non. Nulla laboriosam voluptas maxime.\", \"Accusamus quis totam quia et numquam laboriosam. Quos veritatis quia. Quia aliquam reiciendis quia molestias. Repellat molestiae qui dolorum. Voluptas ut error atque neque adipisci.\"]"], ["created_at", "2014-09-22 18:50:56.393196"], ["name", "contract_20381b10"], ["title", "Optio ipsam eligendi aut natus."], ["updated_at", "2014-09-22 18:50:56.393196"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.401602"], ["updated_at", "2014-09-22 18:50:56.401602"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.403774"], ["updated_at", "2014-09-22 18:50:56.403774"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_21f99547') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia harum corporis. Et facere labore quia commodi est asperiores iste. Quo aut dolores.\", \"Sit dolorem et excepturi consequatur aperiam molestias aut. Nam numquam accusantium autem exercitationem accusamus error. Cupiditate rerum voluptatem eligendi.\"]"], ["created_at", "2014-09-22 18:50:56.407198"], ["name", "contract_21f99547"], ["title", "Fugit sed hic."], ["updated_at", "2014-09-22 18:50:56.407198"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.411861"], ["updated_at", "2014-09-22 18:50:56.411861"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.413210"], ["updated_at", "2014-09-22 18:50:56.413210"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_6221c970') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam cumque eius. Excepturi eius sit aut qui soluta blanditiis. Dolorem molestias voluptatem ducimus sequi. Omnis ut et necessitatibus.\", \"Non possimus et. Mollitia possimus ea nobis vitae. Velit ipsa sapiente repellat debitis.\"]"], ["created_at", "2014-09-22 18:50:56.416078"], ["name", "contract_6221c970"], ["title", "Blanditiis illo quia amet."], ["updated_at", "2014-09-22 18:50:56.416078"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis temporibus dolor dolorum aut id illo. Fuga neque ea omnis excepturi non. Eveniet dicta voluptatem minima esse explicabo autem eum. Architecto ipsam minima quo nemo.\", \"Modi tenetur aliquam omnis. Tenetur voluptate et. Voluptatem qui eos odio cumque consequatur ut. Quia sed a at accusamus dignissimos repellendus voluptate. Neque id iste nam molestiae.\"]"], ["created_at", "2014-09-22 18:50:56.424073"], ["name", "alpha"], ["title", "Dolorum velit excepturi voluptas aliquid corrupti fugit."], ["updated_at", "2014-09-22 18:50:56.424073"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:50:56.427247"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi molestiae hic. Atque non quis eligendi et. Sint dolores in.\", \"Dicta est non. In aspernatur laborum voluptatum minima et nemo. Mollitia non rerum aperiam. Corporis perspiciatis libero repudiandae. Vero sit vel corporis porro illum.\"]"], ["created_at", "2014-09-22 18:50:56.430573"], ["name", "beta"], ["title", "Molestias sed amet qui."], ["updated_at", "2014-09-22 18:50:56.430573"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:50:56.433393"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.436150"], ["updated_at", "2014-09-22 18:50:56.436150"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:50:56.439240"], ["updated_at", "2014-09-22 18:50:56.439240"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:50:56.441450"], ["updated_at", "2014-09-22 18:50:56.441450"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:50:56.444022"], ["name", "alpha"], ["title", "Dolorum velit excepturi voluptas aliquid corrupti fugit."], ["updated_at", "2014-09-22 18:50:56.444022"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:50:56.448179"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi ipsa esse id. Illum veniam suscipit. Voluptate ex quia ut omnis dignissimos. Perspiciatis nihil iste omnis. Iste similique eligendi non non voluptatibus et sed.\", \"In saepe est laboriosam eligendi sunt incidunt. Et odio non corrupti porro. Enim qui exercitationem nemo. Dignissimos impedit aut itaque voluptatem. Voluptatibus ducimus et.\"]"], ["created_at", "2014-09-22 18:50:56.455127"], ["name", "alpha"], ["title", "Enim aut sequi exercitationem voluptatem error aut quis."], ["updated_at", "2014-09-22 18:50:56.455127"]]  (11.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:50:56.468734"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi corrupti dolor praesentium et dolore voluptatem. Omnis sunt quidem officia sit libero. Porro et omnis.\", \"Non sint ad eos placeat et ea sunt. Rem rerum dolorem dolores quia adipisci dolor. Facere eum beatae. Doloribus est autem expedita qui.\"]"], ["created_at", "2014-09-22 18:50:56.472001"], ["name", "beta"], ["title", "Eveniet vitae ipsum."], ["updated_at", "2014-09-22 18:50:56.472001"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:50:56.474867"], ["version", 2]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.477611"], ["updated_at", "2014-09-22 18:50:56.477611"]]  (2.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 18:50:56.482557"], ["updated_at", "2014-09-22 18:50:56.482557"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 18:50:56.484998"], ["updated_at", "2014-09-22 18:50:56.484998"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:50:56.487293"], ["name", "alpha"], ["title", "Enim aut sequi exercitationem voluptatem error aut quis."], ["updated_at", "2014-09-22 18:50:56.487293"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:50:56.493200"], ["version", 4]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem consequuntur hic vitae eos soluta. Nihil pariatur dolorum incidunt provident repellendus omnis in. Eius voluptatem amet soluta dolorum aspernatur. Ut et quos. Ut quae odio et ut.\", \"Quia laudantium eum. Fugit consequatur ea. Non quis et blanditiis. Voluptatum dolores est et.\"]"], ["created_at", "2014-09-22 18:50:56.500898"], ["name", "alpha"], ["title", "Est molestiae est earum."], ["updated_at", "2014-09-22 18:50:56.500898"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:50:56.506526"], ["version", 5]]  (6.1ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima aut quidem inventore reiciendis reprehenderit. Sit nobis non voluptatum eius. Nobis nihil eos ut natus velit sint.\", \"Eligendi laborum ex voluptas. Itaque est ab at quaerat maiores reprehenderit porro. Saepe dolor ut totam itaque ipsam aut magni. Accusantium aspernatur totam ut est. Ut fuga qui saepe qui modi voluptatum excepturi.\"]"], ["created_at", "2014-09-22 18:50:56.515310"], ["name", "beta"], ["title", "Possimus beatae aliquid id dolorem."], ["updated_at", "2014-09-22 18:50:56.515310"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:50:56.518637"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.520925"], ["updated_at", "2014-09-22 18:50:56.520925"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 18:50:56.523524"], ["updated_at", "2014-09-22 18:50:56.523524"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 18:50:56.525933"], ["updated_at", "2014-09-22 18:50:56.525933"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:50:56.528315"], ["name", "alpha"], ["title", "Est molestiae est earum."], ["updated_at", "2014-09-22 18:50:56.528315"]]  (2.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:50:56.533235"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:50:56.548697"], ["updated_at", "2014-09-22 18:50:56.548697"], ["user_id", 44], ["user_type", "DummyUser"]]  (3.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit doloremque natus. Libero blanditiis nihil rerum atque officia omnis. Sed sunt nihil necessitatibus. Sed dignissimos ea voluptatibus consequatur ut molestias quaerat.\", \"Et quia blanditiis dolorem animi est ea. Commodi perferendis quasi in porro consequatur unde tempora. Velit aliquam dolores sunt a facilis minima. Tempora ipsam quaerat est possimus autem laboriosam voluptas. Eos iure quidem ut temporibus magni provident et.\"]"], ["created_at", "2014-09-22 18:50:56.564819"], ["name", "alpha"], ["title", "Quia magni maxime omnis."], ["updated_at", "2014-09-22 18:50:56.564819"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:50:56.568067"], ["version", 7]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quo non repudiandae distinctio fugiat animi provident. Et dignissimos molestiae nihil deserunt veniam et quae. Sunt voluptate iure et.\", \"Ut quo accusamus qui vitae. Vel consequatur similique laudantium molestias molestiae. Aut officiis et non odit enim sit atque.\"]"], ["created_at", "2014-09-22 18:50:56.576569"], ["name", "beta"], ["title", "Sunt qui et velit ea commodi."], ["updated_at", "2014-09-22 18:50:56.576569"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:50:56.579423"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.581726"], ["updated_at", "2014-09-22 18:50:56.581726"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 18:50:56.584268"], ["updated_at", "2014-09-22 18:50:56.584268"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:50:56.586685"], ["updated_at", "2014-09-22 18:50:56.586685"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:50:56.588854"], ["name", "alpha"], ["title", "Quia magni maxime omnis."], ["updated_at", "2014-09-22 18:50:56.588854"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:50:56.591875"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_7a9c75fd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit ut soluta perferendis. Ipsum delectus dolores. Vel eligendi maiores.\", \"Ullam reprehenderit laboriosam aut magni corrupti. Nulla inventore aspernatur reiciendis eaque quam commodi natus. Sapiente ex ratione et. Vel iste ab dolorem et eveniet.\"]"], ["created_at", "2014-09-22 18:50:56.597260"], ["name", "contract_7a9c75fd"], ["title", "Dolorum et explicabo illum."], ["updated_at", "2014-09-22 18:50:56.597260"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction 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_f125e59e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem doloribus fugit excepturi minus temporibus. Excepturi aut consequatur omnis hic quia. Et cum perspiciatis corporis.\", \"Et veniam repudiandae corrupti molestias et. Nulla laudantium nobis. Commodi molestiae accusamus est eligendi hic. Impedit et saepe iste ab voluptas.\"]"], ["created_at", "2014-09-22 18:50:56.602074"], ["name", "contract_f125e59e"], ["title", "Tenetur est sint at dolores nihil quia assumenda."], ["updated_at", "2014-09-22 18:50:56.602074"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f125e59e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_f125e59e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:50:56.605204"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.607688"], ["updated_at", "2014-09-22 18:50:56.607688"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 46) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.612575"], ["updated_at", "2014-09-22 18:50:56.612575"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.614026"], ["updated_at", "2014-09-22 18:50:56.614026"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1f2561f7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum accusamus quia. Soluta eos excepturi. Quas maiores debitis rerum. Corporis autem nihil provident sed. Sequi accusantium quidem deleniti reiciendis.\", \"Fuga consequatur repellendus ipsum nam et sit tempora. Voluptates culpa sed cupiditate. Saepe suscipit laborum nostrum sit. Ut quis voluptatem sit.\"]"], ["created_at", "2014-09-22 18:50:56.616905"], ["name", "contract_1f2561f7"], ["title", "Architecto voluptas magni excepturi fugiat ut non."], ["updated_at", "2014-09-22 18:50:56.616905"]]  (18.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f2561f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_1f2561f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:50:56.638149"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.640954"], ["updated_at", "2014-09-22 18:50:56.640954"]]  (15.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 49) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:50:56.658494"], ["updated_at", "2014-09-22 18:50:56.658494"], ["user_id", 49], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.665098"], ["updated_at", "2014-09-22 18:50:56.665098"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.666533"], ["updated_at", "2014-09-22 18:50:56.666533"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f9bf5a81') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius qui est in excepturi ratione. Asperiores accusamus dolorem ut culpa occaecati. Nostrum rerum omnis veniam.\", \"Aut animi voluptatum. Consequatur dolores soluta sapiente consequatur ipsum velit. Ipsa delectus reiciendis. Ut consequatur optio quidem iste rerum eos cupiditate.\"]"], ["created_at", "2014-09-22 18:50:56.669533"], ["name", "contract_f9bf5a81"], ["title", "Similique quia quidem ratione magni accusamus."], ["updated_at", "2014-09-22 18:50:56.669533"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9bf5a81"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_f9bf5a81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:50:56.672628"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.675062"], ["updated_at", "2014-09-22 18:50:56.675062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 52) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:50:56.677216"], ["updated_at", "2014-09-22 18:50:56.677216"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.683097"], ["updated_at", "2014-09-22 18:50:56.683097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.684617"], ["updated_at", "2014-09-22 18:50:56.684617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9f8af274') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores neque quia eum quos. Voluptas eum harum vitae explicabo rerum. Ex sed adipisci blanditiis voluptatem cumque eum laudantium. Vitae necessitatibus est.\", \"Enim sit et repellat quis corporis est. Quis saepe necessitatibus ad soluta ab. Dolor id et doloremque. Et velit maxime itaque necessitatibus repellendus sunt.\"]"], ["created_at", "2014-09-22 18:50:56.687598"], ["name", "contract_9f8af274"], ["title", "Ullam consequatur eveniet labore accusamus."], ["updated_at", "2014-09-22 18:50:56.687598"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9f8af274"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_9f8af274') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:50:56.690763"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.693186"], ["updated_at", "2014-09-22 18:50:56.693186"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 55) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:50:56.695351"], ["updated_at", "2014-09-22 18:50:56.695351"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.700135"], ["updated_at", "2014-09-22 18:50:56.700135"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.701716"], ["updated_at", "2014-09-22 18:50:56.701716"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_73bd2f13') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut omnis reprehenderit voluptas dolorem quia sit nesciunt. Nihil velit voluptatem aperiam. Rerum repellat nam voluptatibus necessitatibus maiores mollitia. Reprehenderit velit nam.\", \"Ab ipsum et quasi qui. Voluptas animi minima quas. Consectetur quisquam velit. Enim sit sequi facere veritatis autem.\"]"], ["created_at", "2014-09-22 18:50:56.704774"], ["name", "contract_73bd2f13"], ["title", "Quisquam et corrupti quibusdam consectetur nam."], ["updated_at", "2014-09-22 18:50:56.704774"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73bd2f13"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_73bd2f13') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:50:56.707773"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.710253"], ["updated_at", "2014-09-22 18:50:56.710253"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:50:56.713025"], ["updated_at", "2014-09-22 18:50:56.713025"], ["user_id", 58], ["user_type", "DummyUser"]]  (15.3ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.733670"], ["updated_at", "2014-09-22 18:50:56.733670"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.735389"], ["updated_at", "2014-09-22 18:50:56.735389"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_d094aa19') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem velit illo nam. Autem aspernatur ut est. Neque qui vero repudiandae est. Adipisci libero nobis sed voluptatem.\", \"Aperiam dolore ipsam eveniet ut id. Ipsum modi quis ut aliquid qui enim ut. Explicabo odio saepe minus quisquam et.\"]"], ["created_at", "2014-09-22 18:50:56.745518"], ["name", "contract_d094aa19"], ["title", "Et facilis libero sit a eos tenetur."], ["updated_at", "2014-09-22 18:50:56.745518"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d094aa19"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_d094aa19') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:50:56.749489"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.752763"], ["updated_at", "2014-09-22 18:50:56.752763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 61) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:50:56.755112"], ["updated_at", "2014-09-22 18:50:56.755112"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.759942"], ["updated_at", "2014-09-22 18:50:56.759942"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.762006"], ["updated_at", "2014-09-22 18:50:56.762006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c6419ba3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi molestiae reprehenderit et temporibus sed illo molestias. Cumque tempora dolorem. Et quisquam asperiores rerum qui dolorum facere non. Cupiditate neque et.\", \"Eos ipsum omnis maiores esse eos sit. Quia eos totam quia sed fugiat ad. Nemo iure sapiente dolor explicabo harum non est. Dicta molestiae vero.\"]"], ["created_at", "2014-09-22 18:50:56.766008"], ["name", "contract_c6419ba3"], ["title", "Praesentium debitis et provident illo."], ["updated_at", "2014-09-22 18:50:56.766008"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c6419ba3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_c6419ba3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:50:56.769247"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.771773"], ["updated_at", "2014-09-22 18:50:56.771773"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:50:56.774073"], ["updated_at", "2014-09-22 18:50:56.774073"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"45"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.777586"], ["updated_at", "2014-09-22 18:50:56.777586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.779402"], ["updated_at", "2014-09-22 18:50:56.779402"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3d867ad9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil molestias accusamus modi voluptatibus illo. Et animi ratione qui officia. Qui aspernatur odio tempore eius quia laboriosam. Voluptatem labore rem. Maxime est provident voluptatem quam et.\", \"Deserunt rerum praesentium tempore debitis. Rerum quisquam voluptatem. Optio harum quae enim exercitationem repellat voluptate doloremque. Nobis ex sint tempora et voluptas consectetur voluptate. Est ratione id eaque consequatur hic.\"]"], ["created_at", "2014-09-22 18:50:56.783970"], ["name", "contract_3d867ad9"], ["title", "Perspiciatis eum dicta aut et exercitationem debitis deserunt."], ["updated_at", "2014-09-22 18:50:56.783970"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3d867ad9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_3d867ad9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:50:56.788692"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.792460"], ["updated_at", "2014-09-22 18:50:56.792460"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:50:56.794808"], ["updated_at", "2014-09-22 18:50:56.794808"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Redirected to http://test.host/fine_print/contracts/46/signatures Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 17 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.805073"], ["updated_at", "2014-09-22 18:50:56.805073"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.807082"], ["updated_at", "2014-09-22 18:50:56.807082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9ac59484') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro eligendi esse. Reprehenderit dolore a voluptatem vero. Possimus labore tempora ullam. Earum est illo. Reiciendis saepe voluptatem quibusdam dolorem sed.\", \"Soluta odit quas. Id ipsum aliquid autem architecto. Adipisci libero architecto nobis. Error enim sed vero.\"]"], ["created_at", "2014-09-22 18:50:56.811680"], ["name", "contract_9ac59484"], ["title", "Qui minus quaerat eaque quos commodi."], ["updated_at", "2014-09-22 18:50:56.811680"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9ac59484"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_9ac59484') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:50:56.814930"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:50:56.817961"], ["updated_at", "2014-09-22 18:50:56.817961"]]  (0.6ms) commit transaction  (0.4ms) begin transaction FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:50:56.821028"], ["updated_at", "2014-09-22 18:50:56.821028"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Completed 500 Internal Server Error in 1ms  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.397175"], ["updated_at", "2014-09-22 18:52:03.397175"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.404889"], ["updated_at", "2014-09-22 18:52:03.404889"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_f85883ab') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem est et omnis. Quia neque excepturi in laboriosam. Dolorum eveniet ut doloremque vitae. Ut et libero est quis temporibus. Porro minus architecto quas sed sint vitae.\", \"Assumenda explicabo corrupti accusantium rem. Corrupti commodi est. Eos provident officiis consequatur eum.\"]"], ["created_at", "2014-09-22 18:52:03.635600"], ["name", "contract_f85883ab"], ["title", "Recusandae maxime distinctio."], ["updated_at", "2014-09-22 18:52:03.635600"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f85883ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f85883ab') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:52:03.652876"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.659600"], ["updated_at", "2014-09-22 18:52:03.659600"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:52:03.663421"], ["updated_at", "2014-09-22 18:52:03.663421"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.673597"], ["updated_at", "2014-09-22 18:52:03.673597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.675502"], ["updated_at", "2014-09-22 18:52:03.675502"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b7077f1c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error quia placeat dolor qui. Ut esse ut a libero non quas dolorem. Modi vel asperiores facere quasi ducimus. Deleniti qui odit doloremque natus velit et.\", \"Numquam et tempora voluptatem deleniti. Cumque et nisi. Et ut est qui quia. Veritatis labore et aliquam sequi dignissimos aut. Error voluptates aut cupiditate.\"]"], ["created_at", "2014-09-22 18:52:03.679349"], ["name", "contract_b7077f1c"], ["title", "Alias aliquam impedit aliquid."], ["updated_at", "2014-09-22 18:52:03.679349"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b7077f1c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_b7077f1c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:52:03.683111"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.685834"], ["updated_at", "2014-09-22 18:52:03.685834"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:52:03.688111"], ["updated_at", "2014-09-22 18:52:03.688111"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.700970"], ["updated_at", "2014-09-22 18:52:03.700970"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.702984"], ["updated_at", "2014-09-22 18:52:03.702984"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d2b7f2b8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae maxime iure exercitationem perferendis eius ut ratione. Ex aut error et quia. Eum repellendus exercitationem illum fugit expedita quia fugiat. Autem consequatur maxime perspiciatis possimus voluptatem reprehenderit. Qui dolor voluptates tenetur aliquam.\", \"Quam placeat ea libero autem laboriosam explicabo excepturi. Aut voluptatem nesciunt dolores. Harum eligendi voluptas rerum maxime ipsum porro id.\"]"], ["created_at", "2014-09-22 18:52:03.706642"], ["name", "contract_d2b7f2b8"], ["title", "Amet perspiciatis iure ut ipsum perferendis voluptatem."], ["updated_at", "2014-09-22 18:52:03.706642"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d2b7f2b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_d2b7f2b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:52:03.710866"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.713577"], ["updated_at", "2014-09-22 18:52:03.713577"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:52:03.715908"], ["updated_at", "2014-09-22 18:52:03.715908"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Redirected to http://test.host/fine_print/contracts/3/signatures Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.728563"], ["updated_at", "2014-09-22 18:52:03.728563"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.730615"], ["updated_at", "2014-09-22 18:52:03.730615"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_021baf82') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non eaque nesciunt cum aperiam velit mollitia in. Est dolorem sunt id fugit ipsam quis vel. Eligendi et placeat.\", \"Fugit laborum et et sed eveniet. Qui eum dolor quod veniam. Eveniet sapiente rerum est animi non explicabo.\"]"], ["created_at", "2014-09-22 18:52:03.735134"], ["name", "contract_021baf82"], ["title", "Omnis dignissimos hic praesentium."], ["updated_at", "2014-09-22 18:52:03.735134"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_021baf82"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_021baf82') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:52:03.739214"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.742723"], ["updated_at", "2014-09-22 18:52:03.742723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:52:03.744879"], ["updated_at", "2014-09-22 18:52:03.744879"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"4"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.749858"], ["updated_at", "2014-09-22 18:52:03.749858"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.751662"], ["updated_at", "2014-09-22 18:52:03.751662"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_bab770e4') LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt hic tempore beatae. Et vitae quas alias. Neque illum molestiae voluptas exercitationem sunt laboriosam sit. Est quo voluptatem atque incidunt quas et. Adipisci sint consectetur pariatur alias dolores.\", \"Illo fugiat unde voluptate adipisci et reiciendis. Tempora incidunt quo. Consequatur omnis consequatur numquam assumenda cupiditate. Quaerat porro iusto repudiandae omnis deleniti.\"]"], ["created_at", "2014-09-22 18:52:03.756492"], ["name", "contract_bab770e4"], ["title", "Nesciunt nemo dolorem quaerat voluptatem vel."], ["updated_at", "2014-09-22 18:52:03.756492"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bab770e4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_bab770e4') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:52:03.761905"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.765207"], ["updated_at", "2014-09-22 18:52:03.765207"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:52:03.768540"], ["updated_at", "2014-09-22 18:52:03.768540"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.776291"], ["updated_at", "2014-09-22 18:52:03.776291"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.778030"], ["updated_at", "2014-09-22 18:52:03.778030"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_27993221') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae hic quos modi quia. Quia assumenda ea praesentium minima numquam. Molestias officiis saepe sed. Eum consectetur aut blanditiis sed. Animi adipisci labore soluta.\", \"Nobis cupiditate in et aut ad. Inventore quod aut porro in esse amet. Dolor voluptas deleniti sit dolorem. Dolorem aspernatur facere dolorum officiis magnam aliquam fugit.\"]"], ["created_at", "2014-09-22 18:52:03.781368"], ["name", "contract_27993221"], ["title", "Deserunt facilis error iure aut laudantium cum nemo."], ["updated_at", "2014-09-22 18:52:03.781368"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_27993221"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_27993221') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:52:03.785185"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.787899"], ["updated_at", "2014-09-22 18:52:03.787899"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:52:03.790226"], ["updated_at", "2014-09-22 18:52:03.790226"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.795552"], ["updated_at", "2014-09-22 18:52:03.795552"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.797154"], ["updated_at", "2014-09-22 18:52:03.797154"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_34465277') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto corporis dolorum nemo molestias dolores quia. Commodi error ullam. Quis quia similique cupiditate. Exercitationem eum impedit et omnis.\", \"Quo expedita eum unde beatae. Et est cumque magni enim veritatis velit. Consequuntur quo iste quaerat. Quibusdam et nemo sint non.\"]"], ["created_at", "2014-09-22 18:52:03.800488"], ["name", "contract_34465277"], ["title", "Laudantium consequatur totam voluptatem."], ["updated_at", "2014-09-22 18:52:03.800488"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_34465277"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_34465277') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:52:03.803844"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.806443"], ["updated_at", "2014-09-22 18:52:03.806443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:52:03.808562"], ["updated_at", "2014-09-22 18:52:03.808562"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"7"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.812242"], ["updated_at", "2014-09-22 18:52:03.812242"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.813929"], ["updated_at", "2014-09-22 18:52:03.813929"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_55b8ad1f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat debitis sapiente a. Ipsum reiciendis quibusdam officiis veniam. Dolor atque tempore totam voluptatem quo. Ea laudantium aut ullam tempora quisquam.\", \"Aliquid explicabo voluptas impedit sunt nesciunt necessitatibus. Similique voluptatem atque. Omnis doloribus est iure nihil eaque est rerum.\"]"], ["created_at", "2014-09-22 18:52:03.817107"], ["name", "contract_55b8ad1f"], ["title", "Voluptatem doloremque unde sunt."], ["updated_at", "2014-09-22 18:52:03.817107"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_55b8ad1f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_55b8ad1f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:52:03.820290"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.823718"], ["updated_at", "2014-09-22 18:52:03.823718"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:52:03.825863"], ["updated_at", "2014-09-22 18:52:03.825863"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.831182"], ["updated_at", "2014-09-22 18:52:03.831182"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.832751"], ["updated_at", "2014-09-22 18:52:03.832751"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.836995"], ["updated_at", "2014-09-22 18:52:03.836995"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.838460"], ["updated_at", "2014-09-22 18:52:03.838460"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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_4c9fc5ad') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab cupiditate vero qui. Sint laborum rerum aut repellendus. Reiciendis molestiae ea odit autem culpa.\", \"Ea aut enim ab aut velit. Omnis sequi nesciunt vitae necessitatibus cum. Accusamus reprehenderit commodi minima sed minus inventore culpa. Qui qui fugiat vel unde.\"]"], ["created_at", "2014-09-22 18:52:03.842908"], ["name", "contract_4c9fc5ad"], ["title", "Unde nam rerum temporibus ea animi."], ["updated_at", "2014-09-22 18:52:03.842908"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction 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_27d043c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos officiis cum modi. Quia voluptas eveniet et neque. Accusamus est suscipit consequatur necessitatibus. Saepe qui hic labore sint sapiente laborum.\", \"Officia id aut aperiam consectetur et minima error. Rem quasi ipsa eaque in et qui voluptatem. Et nisi rerum excepturi pariatur omnis. Rem soluta eos. Tempora reprehenderit dolorem.\"]"], ["created_at", "2014-09-22 18:52:03.847322"], ["name", "contract_27d043c9"], ["title", "Sequi molestias blanditiis id et dolorem sunt."], ["updated_at", "2014-09-22 18:52:03.847322"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_27d043c9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_27d043c9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:52:03.850388"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.852765"], ["updated_at", "2014-09-22 18:52:03.852765"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.858037"], ["updated_at", "2014-09-22 18:52:03.858037"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.859761"], ["updated_at", "2014-09-22 18:52:03.859761"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_9ee8d3fe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et hic consectetur architecto. Temporibus consequuntur fugiat voluptas. Possimus quis sint quia eveniet fuga. Ut aut laudantium veritatis omnis quas est.\", \"Maxime ab vel repellendus quae aut. Fuga optio culpa. Quia impedit voluptatem repellat sed veritatis corporis aperiam. Nesciunt eos aut.\"]"], ["created_at", "2014-09-22 18:52:03.863073"], ["name", "contract_9ee8d3fe"], ["title", "Quia occaecati cupiditate sit rerum natus assumenda dolor."], ["updated_at", "2014-09-22 18:52:03.863073"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:52:03.867775"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:52:03.867775"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.871489"], ["updated_at", "2014-09-22 18:52:03.871489"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.872981"], ["updated_at", "2014-09-22 18:52:03.872981"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cf74e4cd') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis harum inventore consequuntur vel ipsa et. Eius corrupti qui sed. Repellat sapiente molestias ea nam quo. Dolores suscipit doloremque.\", \"Deserunt dolores quibusdam consequatur velit illo. Quia nam velit. Sint magnam quia quos. Eum illum dolorum vel vitae neque veritatis ducimus.\"]"], ["created_at", "2014-09-22 18:52:03.875578"], ["name", "contract_cf74e4cd"], ["title", "Quia modi quo ut fugit enim dolor."], ["updated_at", "2014-09-22 18:52:03.875578"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.879712"], ["updated_at", "2014-09-22 18:52:03.879712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.881165"], ["updated_at", "2014-09-22 18:52:03.881165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c2294136') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis quo quaerat ut. Quos consequuntur autem itaque cupiditate ducimus eos. Qui nesciunt asperiores quia doloremque ea. Nostrum cumque eum ut repudiandae non aspernatur.\", \"Delectus aut ex placeat. In ut nam voluptas. Quia atque facere dolorum minima totam expedita.\"]"], ["created_at", "2014-09-22 18:52:03.883607"], ["name", "contract_c2294136"], ["title", "Deleniti soluta commodi sunt eaque voluptas."], ["updated_at", "2014-09-22 18:52:03.883607"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.890704"], ["updated_at", "2014-09-22 18:52:03.890704"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.892225"], ["updated_at", "2014-09-22 18:52:03.892225"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_01f92554') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium dolores minus. Ipsam quibusdam sunt. Eaque quis doloremque nihil placeat soluta. Voluptas vel eaque aliquid sapiente vero quia eum. Voluptatem et saepe numquam reprehenderit consectetur est.\", \"Quia incidunt quasi dolorem et porro id hic. Omnis occaecati dicta eos libero. Ut velit quis dicta voluptate omnis delectus repellat. Et autem qui facere soluta perspiciatis. Velit fuga nisi eos at voluptatem.\"]"], ["created_at", "2014-09-22 18:52:03.894928"], ["name", "contract_01f92554"], ["title", "Facilis deleniti laboriosam et perspiciatis amet accusantium ex."], ["updated_at", "2014-09-22 18:52:03.894928"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 4, 6, 10, 7, 9, 8, 11, 2, 5, 13, 3, 1, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.906203"], ["updated_at", "2014-09-22 18:52:03.906203"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.908153"], ["updated_at", "2014-09-22 18:52:03.908153"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_94850745') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui at iusto optio eaque eligendi. Nihil nam libero velit assumenda commodi ea. Nisi dolorem totam repellat at doloribus. Quam omnis vitae. Voluptatem autem in suscipit quo.\", \"Nisi est est hic dolorem blanditiis ut sed. Consequatur non autem sed. Voluptate adipisci similique labore quisquam provident. Tenetur debitis error.\"]"], ["created_at", "2014-09-22 18:52:03.910908"], ["name", "contract_94850745"], ["title", "Quia possimus voluptatum numquam nisi iste."], ["updated_at", "2014-09-22 18:52:03.910908"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.916457"], ["updated_at", "2014-09-22 18:52:03.916457"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.917836"], ["updated_at", "2014-09-22 18:52:03.917836"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7de4c319') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis consequatur eum at repudiandae voluptatum facilis. Magni delectus saepe error nisi quo aut. Deserunt sit modi harum aperiam corrupti tempora.\", \"Impedit in sint. Voluptatem itaque qui ipsa et possimus dolor reiciendis. Quia ex excepturi qui consequatur officia ducimus. Magnam fugiat corrupti.\"]"], ["created_at", "2014-09-22 18:52:03.920471"], ["name", "contract_7de4c319"], ["title", "Itaque non quisquam consectetur sint qui eveniet laboriosam."], ["updated_at", "2014-09-22 18:52:03.920471"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7de4c319"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_7de4c319') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:52:03.923474"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.928317"], ["updated_at", "2014-09-22 18:52:03.928317"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.930023"], ["updated_at", "2014-09-22 18:52:03.930023"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1df63ede') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto fuga officia at temporibus odit similique. Earum vel illum eum. Earum voluptates rerum maxime ipsum consequatur.\", \"Eligendi necessitatibus sed et. Et atque laboriosam facilis itaque totam eveniet dolorem. Dolor at sequi impedit ipsa perspiciatis cupiditate.\"]"], ["created_at", "2014-09-22 18:52:03.932519"], ["name", "contract_1df63ede"], ["title", "Eos autem animi autem."], ["updated_at", "2014-09-22 18:52:03.932519"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.937978"], ["updated_at", "2014-09-22 18:52:03.937978"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.939721"], ["updated_at", "2014-09-22 18:52:03.939721"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7aba33aa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam hic sed quasi sequi et sint pariatur. Nihil animi soluta eum delectus voluptatem et ut. Illum qui dolore quam. Hic quas necessitatibus nemo aut.\", \"Voluptatum et amet eveniet accusamus in excepturi quam. Et in dolore quo. Autem sit quia.\"]"], ["created_at", "2014-09-22 18:52:03.942654"], ["name", "contract_7aba33aa"], ["title", "Necessitatibus minus sunt nulla nihil voluptas."], ["updated_at", "2014-09-22 18:52:03.942654"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.946539"], ["updated_at", "2014-09-22 18:52:03.946539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.947955"], ["updated_at", "2014-09-22 18:52:03.947955"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a4ecd3fe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur aliquid qui. Recusandae quos at rem. Necessitatibus non et aspernatur.\", \"Odit autem dolores cupiditate sequi. Temporibus numquam qui est accusamus vel in. Dolores maiores et.\"]"], ["created_at", "2014-09-22 18:52:03.950421"], ["name", "contract_a4ecd3fe"], ["title", "Ea est occaecati dolor cum ducimus similique."], ["updated_at", "2014-09-22 18:52:03.950421"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a4ecd3fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_a4ecd3fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:52:03.953347"], ["version", 1]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a4ecd3fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_a4ecd3fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:52:03.959661"], ["version", nil]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.965715"], ["updated_at", "2014-09-22 18:52:03.965715"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.967980"], ["updated_at", "2014-09-22 18:52:03.967980"]]  (1.2ms) commit transaction  (0.1ms) begin transaction 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_4b65e251') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed nostrum libero natus necessitatibus nemo deserunt unde. Amet animi facere libero ut nulla. Tenetur eius tempore perspiciatis inventore nihil sit esse. Ex natus unde ad iusto et quod. Aliquid facere asperiores laboriosam dolorem et aut nemo.\", \"Commodi autem ut. Dicta accusantium minima fuga. Possimus sit id quidem perspiciatis facere nisi.\"]"], ["created_at", "2014-09-22 18:52:03.971899"], ["name", "contract_4b65e251"], ["title", "Non qui quibusdam et id aperiam ullam."], ["updated_at", "2014-09-22 18:52:03.971899"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.977178"], ["updated_at", "2014-09-22 18:52:03.977178"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.978593"], ["updated_at", "2014-09-22 18:52:03.978593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_586df3b3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias magni quo quaerat ut. Qui consectetur ipsum. Sunt error rem architecto.\", \"Sed est et facilis autem dolor. Vel velit ipsa est aliquam non nam. Quo sint aut. Sit ut voluptatem rem et delectus nam.\"]"], ["created_at", "2014-09-22 18:52:03.981375"], ["name", "contract_586df3b3"], ["title", "Non ea expedita."], ["updated_at", "2014-09-22 18:52:03.981375"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_586df3b3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_586df3b3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:52:03.984304"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.990860"], ["updated_at", "2014-09-22 18:52:03.990860"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.992413"], ["updated_at", "2014-09-22 18:52:03.992413"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_d2789915') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus ipsam neque magni et distinctio quam. Animi iusto quo incidunt dolor expedita voluptate dolores. Sequi doloremque ad qui ratione optio. Velit reprehenderit ut ut cupiditate.\", \"Ullam ut iure voluptatem expedita dolores vel. Est corrupti et omnis. Consequatur enim blanditiis enim.\"]"], ["created_at", "2014-09-22 18:52:03.995075"], ["name", "contract_d2789915"], ["title", "Nam eos impedit soluta sed velit at."], ["updated_at", "2014-09-22 18:52:03.995075"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:03.999691"], ["updated_at", "2014-09-22 18:52:03.999691"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.001146"], ["updated_at", "2014-09-22 18:52:04.001146"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_15b33c10') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis accusantium aut ducimus. Consequatur odio quaerat. Accusantium quis dicta quasi et.\", \"Repellat vitae corporis culpa. Sint fugiat iure alias sed eligendi porro. Accusamus exercitationem doloribus hic perferendis at sed quibusdam. Ex ut qui deserunt et.\"]"], ["created_at", "2014-09-22 18:52:04.003637"], ["name", "contract_15b33c10"], ["title", "Nihil aliquid praesentium est qui."], ["updated_at", "2014-09-22 18:52:04.003637"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15b33c10"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_15b33c10') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:52:04.006619"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_15b33c10' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.013573"], ["updated_at", "2014-09-22 18:52:04.013573"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.015107"], ["updated_at", "2014-09-22 18:52:04.015107"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d1ba0962') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit quia fuga. Fugit et veritatis perspiciatis explicabo magnam. Hic et id perspiciatis.\", \"Quo occaecati totam voluptatem aliquid impedit. Labore consequatur veritatis. Non vel quis rerum quis exercitationem. Est esse rerum molestias dignissimos. Voluptas maiores quam molestiae.\"]"], ["created_at", "2014-09-22 18:52:04.017617"], ["name", "contract_d1ba0962"], ["title", "Dignissimos temporibus aliquid id totam et voluptas."], ["updated_at", "2014-09-22 18:52:04.017617"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.023317"], ["updated_at", "2014-09-22 18:52:04.023317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.024872"], ["updated_at", "2014-09-22 18:52:04.024872"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2eb0fb26') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro alias facilis nulla dolores. In nesciunt aut totam voluptatem magni. Ea autem vel.\", \"Ullam dolorem cumque explicabo at. Sit eos vel aliquam facere est. Cum qui porro sed rerum debitis. Cumque aliquam tempora labore aliquid.\"]"], ["created_at", "2014-09-22 18:52:04.027545"], ["name", "contract_2eb0fb26"], ["title", "Dolores expedita omnis ut iusto."], ["updated_at", "2014-09-22 18:52:04.027545"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:52:04.032369"]]  (1.2ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 5ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.038863"], ["updated_at", "2014-09-22 18:52:04.038863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.040673"], ["updated_at", "2014-09-22 18:52:04.040673"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_79dcfb6d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum dolor molestiae. Voluptatibus sit quia rerum. Aut corporis non adipisci modi voluptatem.\", \"Qui et assumenda quidem labore. Neque sit architecto velit ut et quas. Et quos omnis et explicabo. Laudantium rerum placeat nihil molestiae saepe sit aut.\"]"], ["created_at", "2014-09-22 18:52:04.043663"], ["name", "contract_79dcfb6d"], ["title", "Nulla quo qui distinctio."], ["updated_at", "2014-09-22 18:52:04.043663"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.047777"], ["updated_at", "2014-09-22 18:52:04.047777"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.049245"], ["updated_at", "2014-09-22 18:52:04.049245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_562e4332') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quas hic accusamus rerum deleniti cumque. Porro molestiae cumque nihil autem. Omnis aliquid dolorum voluptas ratione sunt cum. Eos ut cupiditate ut reiciendis praesentium. Qui praesentium sunt inventore pariatur ab ea facere.\", \"Ut est placeat dolorum in fugiat eos. Laborum ut dolores est id tempore sit. At perspiciatis iure voluptates magni. Repellat et laborum delectus architecto magnam animi. Velit veritatis tempore.\"]"], ["created_at", "2014-09-22 18:52:04.051958"], ["name", "contract_562e4332"], ["title", "Est ut autem minus omnis blanditiis unde."], ["updated_at", "2014-09-22 18:52:04.051958"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.056889"], ["updated_at", "2014-09-22 18:52:04.056889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.058308"], ["updated_at", "2014-09-22 18:52:04.058308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ec621c46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis eos voluptatibus cum et ut repudiandae. Dignissimos autem amet nam sit. Reprehenderit in aut tempora hic eos alias in.\", \"Architecto iure facere dolor ut. Laboriosam ut esse. Sed fugiat repellat. Beatae labore exercitationem eaque qui. Autem dolor quo fuga sunt.\"]"], ["created_at", "2014-09-22 18:52:04.060866"], ["name", "contract_ec621c46"], ["title", "Laudantium vero laboriosam."], ["updated_at", "2014-09-22 18:52:04.060866"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ec621c46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_ec621c46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:52:04.065389"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat similique et temporibus. Unde qui vel odio repudiandae aliquid consequuntur. Explicabo nulla rerum nam aut dolor cupiditate.\", \"Delectus sequi ipsam nam et. Pariatur in similique neque aut architecto. Repellendus accusamus harum porro minima at provident. Et omnis id.\"]"], ["created_at", "2014-09-22 18:52:04.070378"], ["name", "alpha"], ["title", "Dolores deserunt aspernatur delectus id molestiae omnis atque."], ["updated_at", "2014-09-22 18:52:04.070378"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:52:04.073701"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error amet consequuntur maiores quia accusantium. Facilis cum ea dolores architecto et ipsum. Non veritatis itaque ut enim accusantium aut accusamus.\", \"Blanditiis dolor culpa tempore sit aperiam sit. Eum beatae sed. Voluptas error maxime aut animi. Ipsum eum ipsam rerum aut.\"]"], ["created_at", "2014-09-22 18:52:04.077136"], ["name", "beta"], ["title", "Totam et molestiae maxime voluptas modi et natus."], ["updated_at", "2014-09-22 18:52:04.077136"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:52:04.079998"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.082220"], ["updated_at", "2014-09-22 18:52:04.082220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 18:52:04.084782"], ["updated_at", "2014-09-22 18:52:04.084782"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 18:52:04.087159"], ["updated_at", "2014-09-22 18:52:04.087159"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:52:04.089615"], ["name", "alpha"], ["title", "Dolores deserunt aspernatur delectus id molestiae omnis atque."], ["updated_at", "2014-09-22 18:52:04.089615"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:52:04.092854"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 18:52:04.106987"], ["updated_at", "2014-09-22 18:52:04.106987"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam delectus facere debitis. Vero illum ullam non ab esse assumenda. Aspernatur nesciunt est qui atque est. Voluptatem corporis ut inventore eaque sapiente nesciunt magnam.\", \"Omnis molestiae temporibus molestiae ea voluptas. Qui ducimus expedita sint laudantium iste et temporibus. Sit hic quam repellendus tempore quos asperiores sed. Recusandae velit error consequatur doloremque autem delectus est. Velit beatae qui.\"]"], ["created_at", "2014-09-22 18:52:04.119726"], ["name", "alpha"], ["title", "Est unde voluptas repellendus tempore."], ["updated_at", "2014-09-22 18:52:04.119726"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:52:04.123498"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim iusto illo. Odit et quia vel deleniti. Est temporibus saepe. Suscipit ipsum quidem commodi rerum voluptas dolores.\", \"Quos dolorem et corrupti accusantium. Numquam vitae dolor nihil voluptas. Eos est enim numquam. Architecto nemo ipsa aut et commodi consequuntur qui. Non optio tenetur ullam itaque alias.\"]"], ["created_at", "2014-09-22 18:52:04.126786"], ["name", "beta"], ["title", "Iure animi aliquam ut magni."], ["updated_at", "2014-09-22 18:52:04.126786"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:52:04.129984"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.132264"], ["updated_at", "2014-09-22 18:52:04.132264"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 18:52:04.134799"], ["updated_at", "2014-09-22 18:52:04.134799"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:52:04.137185"], ["updated_at", "2014-09-22 18:52:04.137185"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:52:04.139470"], ["name", "alpha"], ["title", "Est unde voluptas repellendus tempore."], ["updated_at", "2014-09-22 18:52:04.139470"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:52:04.142513"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores molestiae magni. Quas enim ut aut minus. Fuga eum sit dolorem perferendis ratione deserunt.\", \"Culpa vitae dignissimos numquam consequatur velit. Et voluptas veritatis at molestias commodi labore. Similique laborum deserunt corporis neque sunt ut omnis.\"]"], ["created_at", "2014-09-22 18:52:04.149283"], ["name", "alpha"], ["title", "Repellat omnis quae."], ["updated_at", "2014-09-22 18:52:04.149283"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:52:04.152494"], ["version", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod accusantium esse est quas et. Eum non aliquam. Tenetur maiores numquam est exercitationem architecto modi labore. Ut laborum nesciunt accusamus deserunt.\", \"Veniam sint et aut pariatur nesciunt. Earum et atque nihil vel. Architecto illum totam.\"]"], ["created_at", "2014-09-22 18:52:04.156910"], ["name", "beta"], ["title", "Et velit rerum eius sed."], ["updated_at", "2014-09-22 18:52:04.156910"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:52:04.159988"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.162245"], ["updated_at", "2014-09-22 18:52:04.162245"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:52:04.165808"], ["updated_at", "2014-09-22 18:52:04.165808"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:52:04.168855"], ["updated_at", "2014-09-22 18:52:04.168855"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:52:04.171059"], ["name", "alpha"], ["title", "Repellat omnis quae."], ["updated_at", "2014-09-22 18:52:04.171059"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:52:04.174051"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias fugiat voluptatum ratione qui. Aut sit aut mollitia qui sed debitis. Nam dolor iure quisquam et sequi.\", \"Labore assumenda facilis. Quidem est ea sed delectus iste et labore. Nihil facilis voluptas iste praesentium et nam molestiae. Sit quod labore atque. Eveniet ut et.\"]"], ["created_at", "2014-09-22 18:52:04.180560"], ["name", "alpha"], ["title", "Et laborum omnis."], ["updated_at", "2014-09-22 18:52:04.180560"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:52:04.183605"], ["version", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores voluptatem sunt temporibus id quia praesentium. Autem voluptates illum. Qui expedita minima est velit voluptatem labore. Illum quia nulla reiciendis ut velit qui.\", \"Omnis autem omnis quaerat quo incidunt. Sequi et nulla quod vitae eum fugiat. Et est illum voluptas.\"]"], ["created_at", "2014-09-22 18:52:04.186937"], ["name", "beta"], ["title", "Non aut soluta nulla illum quis dignissimos sapiente."], ["updated_at", "2014-09-22 18:52:04.186937"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:52:04.189908"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.192114"], ["updated_at", "2014-09-22 18:52:04.192114"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:52:04.194635"], ["updated_at", "2014-09-22 18:52:04.194635"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:52:04.197084"], ["updated_at", "2014-09-22 18:52:04.197084"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:52:04.199278"], ["name", "alpha"], ["title", "Et laborum omnis."], ["updated_at", "2014-09-22 18:52:04.199278"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:52:04.202276"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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_ffe644c6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut totam voluptatum aut fugiat itaque dolorum. Praesentium et ipsa veritatis numquam temporibus optio cupiditate. Fuga minima porro necessitatibus nihil nulla. Ab dolorem iusto. Perspiciatis temporibus tempora.\", \"Iste qui provident reprehenderit dicta cumque. Facilis officiis eos similique natus. In voluptatum quis. Eius praesentium deserunt sunt quaerat est voluptatem qui. Perspiciatis aut facilis.\"]"], ["created_at", "2014-09-22 18:52:04.207792"], ["name", "contract_ffe644c6"], ["title", "Ipsa adipisci non sapiente cumque ut minus eos."], ["updated_at", "2014-09-22 18:52:04.207792"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ffe644c6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_ffe644c6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:52:04.210737"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ffe644c6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut totam voluptatum aut fugiat itaque dolorum. Praesentium et ipsa veritatis numquam temporibus optio cupiditate. Fuga minima porro necessitatibus nihil nulla. Ab dolorem iusto. Perspiciatis temporibus tempora.\", \"Iste qui provident reprehenderit dicta cumque. Facilis officiis eos similique natus. In voluptatum quis. Eius praesentium deserunt sunt quaerat est voluptatem qui. Perspiciatis aut facilis.\"]"], ["created_at", "2014-09-22 18:52:04.221364"], ["name", "joe"], ["title", "Ipsa adipisci non sapiente cumque ut minus eos."], ["updated_at", "2014-09-22 18:52:04.221364"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:52:04.224859"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_e38d7fa5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero perferendis nobis cum expedita beatae vel. Fuga modi omnis. Explicabo dolorem consectetur enim dolor sint.\", \"Autem aliquid voluptate. Aut aperiam ab ut sapiente dignissimos. Praesentium sed quidem consequuntur qui.\"]"], ["created_at", "2014-09-22 18:52:04.230100"], ["name", "contract_e38d7fa5"], ["title", "Aut qui tempore vitae."], ["updated_at", "2014-09-22 18:52:04.230100"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e38d7fa5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_e38d7fa5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:52:04.234472"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e38d7fa5' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_e38d7fa5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero perferendis nobis cum expedita beatae vel. Fuga modi omnis. Explicabo dolorem consectetur enim dolor sint.\", \"Autem aliquid voluptate. Aut aperiam ab ut sapiente dignissimos. Praesentium sed quidem consequuntur qui.\"]"], ["created_at", "2014-09-22 18:52:04.239355"], ["name", "contract_e38d7fa5"], ["title", "Aut qui tempore vitae."], ["updated_at", "2014-09-22 18:52:04.239355"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e38d7fa5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_e38d7fa5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:52:04.243323"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_35097dd7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem eum sit. Dolorum sed eos labore dicta. Delectus consequatur sunt aut odit totam veritatis quos. Possimus expedita praesentium distinctio vel error.\", \"Ut placeat quia distinctio saepe laborum quia. Officiis assumenda possimus libero est. Totam harum quis unde. Voluptas possimus asperiores similique itaque neque. Totam animi aut aut molestiae quia minima.\"]"], ["created_at", "2014-09-22 18:52:04.248597"], ["name", "contract_35097dd7"], ["title", "Deleniti eligendi in voluptatem."], ["updated_at", "2014-09-22 18:52:04.248597"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35097dd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_35097dd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:52:04.254532"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35097dd7"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_35097dd7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_35097dd7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:52:04.261529"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_50e78c6f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit nostrum maxime quo. Aut dolorem aut sed est voluptatum. Voluptatem nisi ipsam. Non ipsa enim recusandae ratione.\", \"Est ut aut natus dolores et aliquam. Voluptatem magnam iste impedit libero earum eius. Voluptatibus explicabo a. Nihil et ea vel accusantium voluptatem dicta esse.\"]"], ["created_at", "2014-09-22 18:52:04.266693"], ["name", "contract_50e78c6f"], ["title", "Est ipsam ut."], ["updated_at", "2014-09-22 18:52:04.266693"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_50e78c6f"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_50e78c6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:52:04.271313"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:52:04.276325"], ["updated_at", "2014-09-22 18:52:04.276325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:52:04.279025"], ["updated_at", "2014-09-22 18:52:04.279025"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_50e78c6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_50e78c6f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_50e78c6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_00a1ecd9') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et tenetur fugit id aut voluptatem. Qui fuga cumque. Ab iste sed et ut.\", \"Quisquam fuga nam. Vel distinctio sint. Tempore omnis accusantium. Aliquam eum placeat similique adipisci ea voluptas. Ut autem eligendi doloribus.\"]"], ["created_at", "2014-09-22 18:53:19.475783"], ["name", "contract_00a1ecd9"], ["title", "Beatae accusantium voluptatem excepturi occaecati ad vel."], ["updated_at", "2014-09-22 18:53:19.475783"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_41e6f4d9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente ut harum sed dolor sint cumque. Delectus ut quo dolore non. Facilis voluptas qui non ab error sunt amet. Sit soluta in consequatur. Facilis distinctio cumque vero rerum consectetur.\", \"Mollitia reiciendis tempora sit et eum nostrum. Porro ratione consequuntur aperiam. Quisquam laudantium sed corrupti.\"]"], ["created_at", "2014-09-22 18:53:19.496924"], ["name", "contract_41e6f4d9"], ["title", "Corporis vel maiores laudantium voluptate sunt incidunt."], ["updated_at", "2014-09-22 18:53:19.496924"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41e6f4d9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_41e6f4d9') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:53:19.503238"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.510359"], ["updated_at", "2014-09-22 18:53:19.510359"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.518755"], ["updated_at", "2014-09-22 18:53:19.518755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.520392"], ["updated_at", "2014-09-22 18:53:19.520392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc6788da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis culpa et. Repellendus dolorum ut debitis. Recusandae dolore sit. Sit soluta necessitatibus officiis voluptatem repudiandae quia. Sit explicabo qui.\", \"Qui vitae consectetur voluptas nihil sed sint. Reprehenderit hic et est eos sed deserunt. Quidem soluta dolore nobis eum eius dolor ratione.\"]"], ["created_at", "2014-09-22 18:53:19.523734"], ["name", "contract_cc6788da"], ["title", "Maxime eaque voluptatum quidem."], ["updated_at", "2014-09-22 18:53:19.523734"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc6788da"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_cc6788da') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:53:19.527704"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.530302"], ["updated_at", "2014-09-22 18:53:19.530302"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:53:19.532943"], ["updated_at", "2014-09-22 18:53:19.532943"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.540955"], ["updated_at", "2014-09-22 18:53:19.540955"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.542594"], ["updated_at", "2014-09-22 18:53:19.542594"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_42905e58') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit sed mollitia consectetur fuga. Aut enim in deserunt ut. Et expedita omnis eum minima. Neque sit vero velit quaerat est.\", \"Rem ut tempore quia. Veritatis dolores perspiciatis molestiae unde pariatur et commodi. Ab veritatis enim. Fuga modi hic. Ad rerum at autem illo quia.\"]"], ["created_at", "2014-09-22 18:53:19.545845"], ["name", "contract_42905e58"], ["title", "Aperiam veniam quam dicta non voluptatem voluptatem."], ["updated_at", "2014-09-22 18:53:19.545845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_42905e58"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_42905e58') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:53:19.549396"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.552589"], ["updated_at", "2014-09-22 18:53:19.552589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:53:19.555689"], ["updated_at", "2014-09-22 18:53:19.555689"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"4"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.560143"], ["updated_at", "2014-09-22 18:53:19.560143"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.561695"], ["updated_at", "2014-09-22 18:53:19.561695"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_017b61ec') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui et consequatur. Excepturi soluta corporis eligendi et nisi ullam. Fuga temporibus maxime eius.\", \"Deserunt sit non earum suscipit blanditiis impedit nostrum. Quod libero dicta. Dolor assumenda voluptas et necessitatibus. Fugit velit aperiam eius soluta hic et. Earum autem nemo eum impedit veniam.\"]"], ["created_at", "2014-09-22 18:53:19.564874"], ["name", "contract_017b61ec"], ["title", "Consequuntur est quia illum recusandae."], ["updated_at", "2014-09-22 18:53:19.564874"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_017b61ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_017b61ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:53:19.569593"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.572301"], ["updated_at", "2014-09-22 18:53:19.572301"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:53:19.574752"], ["updated_at", "2014-09-22 18:53:19.574752"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Redirected to http://test.host/fine_print/contracts/5/signatures Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.586895"], ["updated_at", "2014-09-22 18:53:19.586895"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.588732"], ["updated_at", "2014-09-22 18:53:19.588732"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7965963c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ratione aspernatur fugiat occaecati. Dolores consequuntur ab quos consectetur quam commodi excepturi. Quas laborum facilis sunt laudantium. Cum et neque dolore aliquid delectus est.\", \"Aut illum incidunt nostrum. Non repellendus nulla quia et blanditiis omnis. Necessitatibus quia et vel ratione dolore eaque. Aliquid vel voluptatum soluta aperiam vel.\"]"], ["created_at", "2014-09-22 18:53:19.592008"], ["name", "contract_7965963c"], ["title", "Perferendis cum corporis."], ["updated_at", "2014-09-22 18:53:19.592008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7965963c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_7965963c') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:53:19.596126"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.599848"], ["updated_at", "2014-09-22 18:53:19.599848"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:53:19.603022"], ["updated_at", "2014-09-22 18:53:19.603022"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.610024"], ["updated_at", "2014-09-22 18:53:19.610024"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.611622"], ["updated_at", "2014-09-22 18:53:19.611622"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_64a3d22d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore occaecati ipsam illum autem iusto. Dolore sed dolor. Ut neque eos natus repellendus. Ipsum est aut delectus impedit optio.\", \"Aspernatur rerum adipisci a necessitatibus sint accusamus maiores. Sint adipisci est atque. Provident vero porro. Deserunt ut quia natus. Eveniet ratione est aut quo.\"]"], ["created_at", "2014-09-22 18:53:19.614851"], ["name", "contract_64a3d22d"], ["title", "Est illo corporis non voluptas quod necessitatibus sapiente."], ["updated_at", "2014-09-22 18:53:19.614851"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_64a3d22d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_64a3d22d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:53:19.618521"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.621445"], ["updated_at", "2014-09-22 18:53:19.621445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:53:19.623816"], ["updated_at", "2014-09-22 18:53:19.623816"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.633768"], ["updated_at", "2014-09-22 18:53:19.633768"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.635638"], ["updated_at", "2014-09-22 18:53:19.635638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_84335bf3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur et voluptatem repellendus et est. Omnis modi nesciunt vero autem et ea eaque. Doloribus quia ut beatae. Dolorem eveniet aspernatur neque distinctio eos numquam esse.\", \"Et quos architecto. Voluptas molestiae saepe quaerat magni pariatur fugiat harum. Inventore quisquam ut.\"]"], ["created_at", "2014-09-22 18:53:19.638677"], ["name", "contract_84335bf3"], ["title", "Eum voluptates ratione."], ["updated_at", "2014-09-22 18:53:19.638677"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_84335bf3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_84335bf3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:53:19.641707"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.644319"], ["updated_at", "2014-09-22 18:53:19.644319"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:53:19.647010"], ["updated_at", "2014-09-22 18:53:19.647010"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.653696"], ["updated_at", "2014-09-22 18:53:19.653696"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.655390"], ["updated_at", "2014-09-22 18:53:19.655390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eb4fd787') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores nihil consequatur accusamus quia corrupti. Quia pariatur aut a voluptatem quasi et soluta. Quisquam impedit voluptates voluptatum error harum facere numquam.\", \"Consequatur et distinctio sunt. Rerum velit ullam. Odit magnam minima in. Corrupti minus architecto qui in vitae.\"]"], ["created_at", "2014-09-22 18:53:19.658388"], ["name", "contract_eb4fd787"], ["title", "Iste quia ut."], ["updated_at", "2014-09-22 18:53:19.658388"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eb4fd787"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_eb4fd787') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:53:19.661546"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.663947"], ["updated_at", "2014-09-22 18:53:19.663947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:53:19.666041"], ["updated_at", "2014-09-22 18:53:19.666041"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.670433"], ["updated_at", "2014-09-22 18:53:19.670433"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.671930"], ["updated_at", "2014-09-22 18:53:19.671930"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_87fba58e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime quaerat exercitationem adipisci quas est. Cumque nihil repudiandae quo. Non asperiores labore est dolorem est.\", \"Ipsa voluptate quae inventore. Delectus consectetur reiciendis facere. Et magnam non quae sit iure minus. Voluptatem doloribus est.\"]"], ["created_at", "2014-09-22 18:53:19.674840"], ["name", "contract_87fba58e"], ["title", "Dolor aut sed ea odio et natus perspiciatis."], ["updated_at", "2014-09-22 18:53:19.674840"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_87fba58e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_87fba58e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:53:19.677878"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.680337"], ["updated_at", "2014-09-22 18:53:19.680337"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:53:19.682473"], ["updated_at", "2014-09-22 18:53:19.682473"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction 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_a333ecd2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus consequatur eum. Nostrum voluptatem harum. Repellendus beatae labore.\", \"Tenetur iusto illum labore et qui et praesentium. Esse eligendi voluptate a veritatis. Quibusdam alias ad sunt est occaecati consequatur. Fuga aut qui ea vero cupiditate.\"]"], ["created_at", "2014-09-22 18:53:19.689128"], ["name", "contract_a333ecd2"], ["title", "Explicabo cumque consequatur eaque eum alias."], ["updated_at", "2014-09-22 18:53:19.689128"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a333ecd2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_a333ecd2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:53:19.692964"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a333ecd2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_a333ecd2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus consequatur eum. Nostrum voluptatem harum. Repellendus beatae labore.\", \"Tenetur iusto illum labore et qui et praesentium. Esse eligendi voluptate a veritatis. Quibusdam alias ad sunt est occaecati consequatur. Fuga aut qui ea vero cupiditate.\"]"], ["created_at", "2014-09-22 18:53:19.696860"], ["name", "contract_a333ecd2"], ["title", "Explicabo cumque consequatur eaque eum alias."], ["updated_at", "2014-09-22 18:53:19.696860"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a333ecd2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_a333ecd2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:53:19.701314"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47952546') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatum dolores optio. Tempore unde cupiditate. Veniam molestiae excepturi. Id vel velit voluptates.\", \"Et adipisci et. Vel voluptas aliquam quia. Autem itaque facere similique commodi qui quo veniam. Quibusdam sunt occaecati quidem.\"]"], ["created_at", "2014-09-22 18:53:19.705603"], ["name", "contract_47952546"], ["title", "Cum dolorum culpa perferendis quia quo necessitatibus."], ["updated_at", "2014-09-22 18:53:19.705603"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47952546"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_47952546') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:53:19.708523"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.712094"], ["updated_at", "2014-09-22 18:53:19.712094"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:53:19.714205"], ["updated_at", "2014-09-22 18:53:19.714205"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_47952546') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47952546"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_47952546') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_4a3ac183') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus qui aliquam saepe exercitationem ut aut. Voluptatem tempore est. Dolorem omnis temporibus exercitationem veniam eos sit. Qui veritatis sapiente aliquam soluta.\", \"Tenetur doloremque commodi dolorum ea asperiores iste culpa. Soluta commodi omnis velit porro. Est ut similique quia sed nemo.\"]"], ["created_at", "2014-09-22 18:53:19.723215"], ["name", "contract_4a3ac183"], ["title", "Deserunt voluptatem hic voluptatum modi sequi dicta laborum."], ["updated_at", "2014-09-22 18:53:19.723215"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a3ac183"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_4a3ac183') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:53:19.727183"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a3ac183"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a3ac183"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_4a3ac183') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:53:19.732056"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_c64d883a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In saepe voluptatibus. Vero sed praesentium placeat. Minima mollitia et omnis molestiae. Aliquid occaecati officiis quae hic.\", \"Ut adipisci harum provident. Repudiandae aut sit expedita natus tempore molestias. Aut voluptas id. Quia dolores doloribus quia.\"]"], ["created_at", "2014-09-22 18:53:19.735469"], ["name", "contract_c64d883a"], ["title", "Dolor velit in dolorum et perspiciatis occaecati nostrum."], ["updated_at", "2014-09-22 18:53:19.735469"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c64d883a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_c64d883a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:53:19.738433"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c64d883a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In saepe voluptatibus. Vero sed praesentium placeat. Minima mollitia et omnis molestiae. Aliquid occaecati officiis quae hic.\", \"Ut adipisci harum provident. Repudiandae aut sit expedita natus tempore molestias. Aut voluptas id. Quia dolores doloribus quia.\"]"], ["created_at", "2014-09-22 18:53:19.742063"], ["name", "joe"], ["title", "Dolor velit in dolorum et perspiciatis occaecati nostrum."], ["updated_at", "2014-09-22 18:53:19.742063"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:53:19.744980"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta nihil voluptas vel et ea perferendis qui. Ut mollitia eum provident sapiente culpa. Ut exercitationem occaecati est enim. Deleniti molestias voluptatem.\", \"A et aperiam. Autem quia voluptatum quod ea voluptatem et voluptas. Est quia ea exercitationem molestias unde enim. Accusantium soluta recusandae iusto corrupti vero nisi.\"]"], ["created_at", "2014-09-22 18:53:19.750252"], ["name", "alpha"], ["title", "Quaerat deserunt eum quisquam dolores qui."], ["updated_at", "2014-09-22 18:53:19.750252"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:53:19.753760"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit nemo sit. Qui modi voluptatem aliquid voluptatum. Fuga et dolores deserunt quia sed ut sunt. Aut earum nesciunt est sed sint praesentium ut. Magni quo amet fugit laudantium nisi doloribus.\", \"Laboriosam nam corporis id quod non velit odit. Est eos nam molestias repellendus beatae. At omnis dolor. Ea dolorem explicabo cum. Praesentium nemo autem ut qui suscipit ut.\"]"], ["created_at", "2014-09-22 18:53:19.757445"], ["name", "beta"], ["title", "Optio hic aliquam."], ["updated_at", "2014-09-22 18:53:19.757445"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:53:19.760383"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.762637"], ["updated_at", "2014-09-22 18:53:19.762637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-22 18:53:19.765248"], ["updated_at", "2014-09-22 18:53:19.765248"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 18:53:19.767783"], ["updated_at", "2014-09-22 18:53:19.767783"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:19.769955"], ["name", "alpha"], ["title", "Quaerat deserunt eum quisquam dolores qui."], ["updated_at", "2014-09-22 18:53:19.769955"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:53:19.773072"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse voluptas error quibusdam ut eveniet ut. Odio voluptatibus quis illo eveniet dolore. Quis odio distinctio dignissimos quibusdam.\", \"Voluptas sit quia. Quae id magni quia illum labore. Modi praesentium error sed et. Non nihil et et.\"]"], ["created_at", "2014-09-22 18:53:19.780523"], ["name", "alpha"], ["title", "Ratione qui non tenetur veniam eos."], ["updated_at", "2014-09-22 18:53:19.780523"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:53:19.783843"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut cum dolor doloremque quasi incidunt et voluptatum. Sunt amet cumque suscipit eius natus ex. Sapiente quidem corporis. Accusantium id voluptatem culpa repellendus.\", \"Esse quia corrupti. Vel nobis expedita est itaque unde. Repellat est aliquam soluta doloribus. Esse iusto omnis id. Omnis aut doloremque nisi blanditiis et perspiciatis.\"]"], ["created_at", "2014-09-22 18:53:19.787243"], ["name", "beta"], ["title", "Iure in eos et qui."], ["updated_at", "2014-09-22 18:53:19.787243"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:53:19.790125"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.792369"], ["updated_at", "2014-09-22 18:53:19.792369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-22 18:53:19.794876"], ["updated_at", "2014-09-22 18:53:19.794876"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:53:19.797335"], ["updated_at", "2014-09-22 18:53:19.797335"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:19.800673"], ["name", "alpha"], ["title", "Ratione qui non tenetur veniam eos."], ["updated_at", "2014-09-22 18:53:19.800673"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:53:19.804443"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et omnis molestiae mollitia non neque eum molestiae. Voluptas corrupti maiores. Qui nam fuga qui quo.\", \"Natus dolor perferendis. Earum aperiam pariatur quasi. Sit repellat officiis consectetur. Et omnis dolore.\"]"], ["created_at", "2014-09-22 18:53:19.809750"], ["name", "alpha"], ["title", "Nostrum assumenda id autem."], ["updated_at", "2014-09-22 18:53:19.809750"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:53:19.812737"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut est voluptates qui consequuntur maxime culpa aut. Omnis reiciendis sed ea eum est repellat. Minus excepturi reiciendis quisquam. Consectetur molestiae asperiores ut perspiciatis.\", \"Quae fuga qui eos aliquid porro nostrum. Nam officiis explicabo delectus vitae quae cupiditate. Assumenda minus asperiores et numquam doloremque.\"]"], ["created_at", "2014-09-22 18:53:19.816088"], ["name", "beta"], ["title", "Necessitatibus facilis illum blanditiis quis sit et harum."], ["updated_at", "2014-09-22 18:53:19.816088"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:53:19.819091"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.821303"], ["updated_at", "2014-09-22 18:53:19.821303"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:53:19.823815"], ["updated_at", "2014-09-22 18:53:19.823815"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:53:19.826179"], ["updated_at", "2014-09-22 18:53:19.826179"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:19.828394"], ["name", "alpha"], ["title", "Nostrum assumenda id autem."], ["updated_at", "2014-09-22 18:53:19.828394"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:53:19.831347"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut assumenda suscipit rerum iusto maxime asperiores nihil. Nihil aut sunt facilis. Rerum quia alias omnis dolore consectetur. Et sed ea sapiente dolor cumque eum. Ullam nisi architecto quasi.\", \"Ipsam nobis occaecati voluptatem nisi dolorem nulla impedit. Itaque ut soluta quia. Quae aut consectetur soluta incidunt voluptatibus aut.\"]"], ["created_at", "2014-09-22 18:53:19.837829"], ["name", "alpha"], ["title", "Sequi soluta et tenetur quas."], ["updated_at", "2014-09-22 18:53:19.837829"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:53:19.840857"], ["version", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio earum at fugit itaque. Quisquam rerum officiis voluptas hic molestiae ipsa. Voluptas ut ipsa illo expedita id.\", \"Ipsam voluptatibus unde ut. Provident praesentium explicabo at quas est. Ex totam eos at vero.\"]"], ["created_at", "2014-09-22 18:53:19.844363"], ["name", "beta"], ["title", "Minus qui dolorum veniam ab aut tempora."], ["updated_at", "2014-09-22 18:53:19.844363"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:53:19.847363"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.850115"], ["updated_at", "2014-09-22 18:53:19.850115"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:53:19.852976"], ["updated_at", "2014-09-22 18:53:19.852976"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:53:19.855495"], ["updated_at", "2014-09-22 18:53:19.855495"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:19.857767"], ["name", "alpha"], ["title", "Sequi soluta et tenetur quas."], ["updated_at", "2014-09-22 18:53:19.857767"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:53:19.860997"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 18:53:19.877859"], ["updated_at", "2014-09-22 18:53:19.877859"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.890435"], ["updated_at", "2014-09-22 18:53:19.890435"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.892003"], ["updated_at", "2014-09-22 18:53:19.892003"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.896327"], ["updated_at", "2014-09-22 18:53:19.896327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.897801"], ["updated_at", "2014-09-22 18:53:19.897801"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.901079"], ["updated_at", "2014-09-22 18:53:19.901079"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.902357"], ["updated_at", "2014-09-22 18:53:19.902357"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_d2a2a0af') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse neque ea est recusandae et. Rerum ex dolor officiis. Porro et nihil non et vel nesciunt pariatur.\", \"Vero enim similique rem. Laborum aperiam aut. Consequuntur recusandae perferendis maiores natus quis sed. Nemo excepturi est suscipit quia dolore non commodi.\"]"], ["created_at", "2014-09-22 18:53:19.905007"], ["name", "contract_d2a2a0af"], ["title", "Voluptatem voluptas ut tempora omnis reprehenderit ad."], ["updated_at", "2014-09-22 18:53:19.905007"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.910022"], ["updated_at", "2014-09-22 18:53:19.910022"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.912105"], ["updated_at", "2014-09-22 18:53:19.912105"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_2f69ac53') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id minima necessitatibus autem dolor enim. Nesciunt error accusamus praesentium et quaerat officia. Eaque totam molestiae id nostrum et exercitationem. Adipisci error sint nobis.\", \"Voluptatem tempora qui cum. Ea id quia labore magni nulla eos est. Unde consequatur alias.\"]"], ["created_at", "2014-09-22 18:53:19.915699"], ["name", "contract_2f69ac53"], ["title", "Corporis molestiae dicta omnis excepturi aspernatur nesciunt."], ["updated_at", "2014-09-22 18:53:19.915699"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.921738"], ["updated_at", "2014-09-22 18:53:19.921738"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.923653"], ["updated_at", "2014-09-22 18:53:19.923653"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_3523cc93') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse quia tempora iste at. Est iste aut et temporibus aut. Corporis et suscipit.\", \"Et aperiam qui blanditiis placeat. Doloribus neque qui dolores corrupti ut qui. Aliquam iste et aut amet quas et. Voluptatem veniam eligendi. Qui voluptate sint.\"]"], ["created_at", "2014-09-22 18:53:19.927394"], ["name", "contract_3523cc93"], ["title", "Facere fugiat quia ut minus."], ["updated_at", "2014-09-22 18:53:19.927394"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3523cc93"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_3523cc93') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:53:19.931273"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3523cc93"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_3523cc93') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:53:19.937662"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.942714"], ["updated_at", "2014-09-22 18:53:19.942714"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.944589"], ["updated_at", "2014-09-22 18:53:19.944589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c4ebfdf6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident eius autem aut hic. Doloremque unde qui quas. Vitae consequuntur veritatis quo. Consequatur ut est aliquam. In inventore aliquam veritatis expedita quaerat est.\", \"Soluta at fugit eligendi praesentium voluptas aut non. Cumque laborum dolorum ut expedita omnis. Debitis beatae deserunt ad ut autem repudiandae occaecati. Excepturi quo voluptatem eaque dolorum odio. In et ipsum eligendi at.\"]"], ["created_at", "2014-09-22 18:53:19.947440"], ["name", "contract_c4ebfdf6"], ["title", "Facere accusamus dolore autem sit consequatur nostrum nesciunt."], ["updated_at", "2014-09-22 18:53:19.947440"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.951529"], ["updated_at", "2014-09-22 18:53:19.951529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.953002"], ["updated_at", "2014-09-22 18:53:19.953002"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1d37ca9d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus inventore quis et non est. Vel aut rerum voluptas. Consequatur neque et molestias aut magnam. Est placeat expedita minima vel sit. Adipisci dicta eos.\", \"Neque molestiae ipsum. Culpa dolores cum ut cumque eos quis. Velit consequatur dicta fuga. Facilis nihil ducimus.\"]"], ["created_at", "2014-09-22 18:53:19.955635"], ["name", "contract_1d37ca9d"], ["title", "Enim consequatur quidem aut vel aspernatur voluptate."], ["updated_at", "2014-09-22 18:53:19.955635"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.960611"], ["updated_at", "2014-09-22 18:53:19.960611"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.962189"], ["updated_at", "2014-09-22 18:53:19.962189"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9ed4d112') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo cum illo dignissimos. Suscipit quia nihil cum commodi. Esse et officia porro est eveniet. Rerum voluptatum velit ut maxime.\", \"Eum corrupti voluptas. Aut qui quia blanditiis. Id quos sed nobis et et.\"]"], ["created_at", "2014-09-22 18:53:19.964750"], ["name", "contract_9ed4d112"], ["title", "Labore assumenda temporibus ipsum et excepturi tempore nesciunt."], ["updated_at", "2014-09-22 18:53:19.964750"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9ed4d112"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_9ed4d112') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:53:19.967946"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.972836"], ["updated_at", "2014-09-22 18:53:19.972836"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.974480"], ["updated_at", "2014-09-22 18:53:19.974480"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_6ff5ca54') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe laborum voluptatem et voluptatem. Consequatur similique voluptatem aut nihil. Dolorem distinctio sequi aut maiores. Quia corrupti alias aut ut molestiae.\", \"Non exercitationem qui molestiae aperiam quia vel aut. Magni aut tempore quis deserunt reiciendis voluptatem nostrum. Quisquam harum provident. Ut quos sit. Nesciunt et ut.\"]"], ["created_at", "2014-09-22 18:53:19.977606"], ["name", "contract_6ff5ca54"], ["title", "Velit at quis."], ["updated_at", "2014-09-22 18:53:19.977606"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ff5ca54"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_6ff5ca54') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:53:19.981196"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6ff5ca54' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.988904"], ["updated_at", "2014-09-22 18:53:19.988904"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:19.990829"], ["updated_at", "2014-09-22 18:53:19.990829"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_4c970418') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim repellendus dignissimos aut. Quos fugit impedit beatae. Sed illo voluptatem minus inventore. Doloribus est voluptas distinctio iure nam.\", \"Mollitia et at quia suscipit vero et dolorem. Quibusdam dolores corrupti harum ut. Cupiditate numquam sapiente reprehenderit et consequatur. Est quam ex et alias adipisci quis consequatur.\"]"], ["created_at", "2014-09-22 18:53:19.994297"], ["name", "contract_4c970418"], ["title", "Aut hic qui enim voluptatem dolores."], ["updated_at", "2014-09-22 18:53:19.994297"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4c970418"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_4c970418') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:53:19.997757"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.004906"], ["updated_at", "2014-09-22 18:53:20.004906"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.006986"], ["updated_at", "2014-09-22 18:53:20.006986"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_2cfe400b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas illum voluptates ab occaecati nemo. Consequatur rerum et ducimus aut ut accusamus dolore. Soluta aut nemo qui. Inventore repellat vero accusantium voluptatem soluta sequi dolores.\", \"Atque sit hic nostrum velit. Quasi ut ut. Magnam culpa rerum.\"]"], ["created_at", "2014-09-22 18:53:20.010704"], ["name", "contract_2cfe400b"], ["title", "Qui dolores qui et ullam consequatur sed aut."], ["updated_at", "2014-09-22 18:53:20.010704"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.015234"], ["updated_at", "2014-09-22 18:53:20.015234"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.016761"], ["updated_at", "2014-09-22 18:53:20.016761"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c0c9fac9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et beatae cumque odit autem assumenda eos ducimus. Debitis vero voluptas possimus placeat aspernatur sequi. Consequatur atque eum. Dolores voluptatum laborum eum esse officiis ab.\", \"Maiores non autem. Totam eligendi illo deleniti quaerat iste. Consequatur cupiditate aut facere.\"]"], ["created_at", "2014-09-22 18:53:20.019365"], ["name", "contract_c0c9fac9"], ["title", "Autem quaerat temporibus sit velit dolorem."], ["updated_at", "2014-09-22 18:53:20.019365"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.025688"], ["updated_at", "2014-09-22 18:53:20.025688"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.034435"], ["updated_at", "2014-09-22 18:53:20.034435"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c167132e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo dolorum doloribus non ut cumque. Nobis blanditiis est laudantium quisquam sequi. Est quod nemo perferendis est eveniet. Porro nesciunt reiciendis.\", \"Harum nihil qui magni. Est occaecati alias rerum non. Quo molestias et odit repellat maxime. Nisi omnis quidem sapiente vero.\"]"], ["created_at", "2014-09-22 18:53:20.037909"], ["name", "contract_c167132e"], ["title", "Ipsa modi qui explicabo."], ["updated_at", "2014-09-22 18:53:20.037909"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.046083"], ["updated_at", "2014-09-22 18:53:20.046083"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.047769"], ["updated_at", "2014-09-22 18:53:20.047769"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_069884d0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo voluptate accusantium natus voluptatem totam dicta. Deleniti et alias eum et eum dolor quia. Voluptatem ducimus et harum dolorem eum. Repudiandae amet atque dolores voluptatum itaque quia.\", \"Neque velit voluptas incidunt delectus. Nostrum magnam ducimus corporis dolorum ut suscipit. Illum quo rerum amet dolor adipisci eveniet. A doloribus qui quaerat.\"]"], ["created_at", "2014-09-22 18:53:20.051045"], ["name", "contract_069884d0"], ["title", "Dolorem nesciunt laborum sunt nihil et in."], ["updated_at", "2014-09-22 18:53:20.051045"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:53:20.056094"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:53:20.056094"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/41 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.060625"], ["updated_at", "2014-09-22 18:53:20.060625"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.062398"], ["updated_at", "2014-09-22 18:53:20.062398"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6e298872') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In laboriosam quia perferendis veritatis repellendus incidunt vitae. Molestiae consequatur provident ut natus ut dolorem sit. Beatae modi atque aspernatur maiores totam iste qui. Et quo voluptas.\", \"Odio qui consequuntur voluptatem deserunt. Amet velit culpa. Quis consequuntur beatae laboriosam quis. Facere ut repellat.\"]"], ["created_at", "2014-09-22 18:53:20.065987"], ["name", "contract_6e298872"], ["title", "Inventore amet consequatur adipisci doloremque vero eos."], ["updated_at", "2014-09-22 18:53:20.065987"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e298872"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_6e298872') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:53:20.072415"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.077411"], ["updated_at", "2014-09-22 18:53:20.077411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.079221"], ["updated_at", "2014-09-22 18:53:20.079221"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0b755083') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui tempora est perferendis consequatur accusantium voluptatibus. Provident pariatur dolorum quis quia quo vel. Doloremque corrupti aut. Iure dolorem cumque doloribus in incidunt quidem dolores.\", \"Ex nihil explicabo sunt qui. Rerum ad id fugit quasi eaque. Natus aut dolorem quidem dolor debitis. Porro eius est laudantium facilis tenetur nemo quaerat. Quas a harum qui inventore asperiores rerum doloremque.\"]"], ["created_at", "2014-09-22 18:53:20.082014"], ["name", "contract_0b755083"], ["title", "Ad commodi delectus vero et."], ["updated_at", "2014-09-22 18:53:20.082014"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.086276"], ["updated_at", "2014-09-22 18:53:20.086276"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.087752"], ["updated_at", "2014-09-22 18:53:20.087752"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_9f786c8a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam exercitationem et. Quo est et aut eos recusandae nemo. Ducimus commodi et temporibus repellendus molestiae impedit et. Architecto sunt omnis.\", \"Eveniet laboriosam minus consequatur asperiores. Sit eaque non aliquid eum. Autem dolorem dolorum repellat minima voluptatem. Qui corporis magni.\"]"], ["created_at", "2014-09-22 18:53:20.092213"], ["name", "contract_9f786c8a"], ["title", "Amet officia tempora rerum ut ratione."], ["updated_at", "2014-09-22 18:53:20.092213"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]]  (0.5ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 44 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:53:20.101730"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/44 Completed 302 Found in 8ms (ActiveRecord: 1.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.109640"], ["updated_at", "2014-09-22 18:53:20.109640"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.111212"], ["updated_at", "2014-09-22 18:53:20.111212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5d3661b2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates et omnis sed. Nihil occaecati dolor recusandae. Iste fuga ut iure quia soluta. Quos animi molestiae libero ipsum vitae.\", \"Qui dignissimos et aliquid ducimus. Enim qui sapiente non accusantium omnis pariatur. Aut qui voluptas.\"]"], ["created_at", "2014-09-22 18:53:20.115310"], ["name", "contract_5d3661b2"], ["title", "Modi odio itaque exercitationem commodi unde."], ["updated_at", "2014-09-22 18:53:20.115310"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 44, 27, 24, 21, 18, 1, 5, 40, 43, 33, 37, 30, 31, 2, 4, 13, 14, 36, 45, 7, 42, 35, 6, 8, 10, 34, 12, 11, 38, 39, 32, 15, 3, 29, 9, 16, 41) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.128097"], ["updated_at", "2014-09-22 18:53:20.128097"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.129719"], ["updated_at", "2014-09-22 18:53:20.129719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a2d910c7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit quas minima repudiandae. Dolor ut dolor odit perspiciatis vel. Necessitatibus non reprehenderit dolores eos aut similique. Sint dolores maxime repellat accusantium nostrum. Ea assumenda distinctio sit.\", \"Dolore tempora aliquid enim exercitationem iusto. Aliquam quia et velit dolorem. Adipisci rerum qui eius.\"]"], ["created_at", "2014-09-22 18:53:20.132425"], ["name", "contract_a2d910c7"], ["title", "Molestiae vel consequatur at voluptas est unde."], ["updated_at", "2014-09-22 18:53:20.132425"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.137851"], ["updated_at", "2014-09-22 18:53:20.137851"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:20.139403"], ["updated_at", "2014-09-22 18:53:20.139403"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cccfef9c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas nam beatae doloremque voluptatum ratione. Ut soluta asperiores veritatis enim et voluptatem ullam. Odio iure quia veritatis ullam. Aut eos iste asperiores delectus ab consequuntur sit.\", \"Maiores qui minima asperiores earum est. Id deleniti qui et non nemo. Earum rerum perspiciatis ut sunt totam et. Rerum vitae sint similique ducimus repellendus.\"]"], ["created_at", "2014-09-22 18:53:20.142453"], ["name", "contract_cccfef9c"], ["title", "Illum ducimus maiores ullam autem eligendi."], ["updated_at", "2014-09-22 18:53:20.142453"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"47"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 47]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 47]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 47 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.088303"], ["updated_at", "2014-09-22 18:53:33.088303"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.095212"], ["updated_at", "2014-09-22 18:53:33.095212"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_3a0097b9') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatum soluta sit suscipit voluptatibus. At error saepe facilis voluptas dignissimos iste. Fugit reprehenderit cumque est.\", \"Aliquam qui quaerat in. Quos provident necessitatibus deserunt vel. Possimus ut quia culpa sed sequi a. Aut autem minus ab ut rem. Dolorum rerum aliquid cupiditate et.\"]"], ["created_at", "2014-09-22 18:53:33.321669"], ["name", "contract_3a0097b9"], ["title", "Eveniet facilis possimus non magni voluptatem."], ["updated_at", "2014-09-22 18:53:33.321669"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3a0097b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3a0097b9') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:53:33.341591"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.347881"], ["updated_at", "2014-09-22 18:53:33.347881"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:53:33.351567"], ["updated_at", "2014-09-22 18:53:33.351567"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.360357"], ["updated_at", "2014-09-22 18:53:33.360357"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.362114"], ["updated_at", "2014-09-22 18:53:33.362114"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3ba008e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt cumque recusandae minus eos. Nostrum voluptas error qui. In modi quae. Omnis porro beatae. Quae soluta et eligendi voluptatem.\", \"Aut minima assumenda id omnis rerum. Sint placeat quisquam corporis tenetur doloremque. Veritatis dignissimos qui.\"]"], ["created_at", "2014-09-22 18:53:33.365587"], ["name", "contract_3ba008e3"], ["title", "Hic ex officia quisquam."], ["updated_at", "2014-09-22 18:53:33.365587"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3ba008e3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3ba008e3') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:53:33.369115"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.371877"], ["updated_at", "2014-09-22 18:53:33.371877"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:53:33.374472"], ["updated_at", "2014-09-22 18:53:33.374472"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Redirected to http://test.host/fine_print/contracts/2/signatures Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.385670"], ["updated_at", "2014-09-22 18:53:33.385670"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.388025"], ["updated_at", "2014-09-22 18:53:33.388025"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_f4ae53dc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium ut iure blanditiis. Voluptatum assumenda corporis consequatur ex aut eum incidunt. Repudiandae velit quae fugit atque pariatur explicabo eaque. Qui et sed et sint.\", \"Soluta doloribus dolorem aspernatur vero. Cupiditate molestiae voluptas officia totam. Corporis quos ducimus unde rerum doloremque impedit ad.\"]"], ["created_at", "2014-09-22 18:53:33.391230"], ["name", "contract_f4ae53dc"], ["title", "Quia blanditiis asperiores quibusdam veritatis."], ["updated_at", "2014-09-22 18:53:33.391230"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4ae53dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_f4ae53dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:53:33.395612"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.398686"], ["updated_at", "2014-09-22 18:53:33.398686"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:53:33.401445"], ["updated_at", "2014-09-22 18:53:33.401445"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"3"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.411930"], ["updated_at", "2014-09-22 18:53:33.411930"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.414182"], ["updated_at", "2014-09-22 18:53:33.414182"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_af6aa5ac') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo sint non. Alias est magnam inventore repellendus. Laudantium perferendis et sint. Facilis consectetur ut labore quia ea architecto nihil. Est quaerat temporibus voluptas voluptatem ratione laborum doloremque.\", \"Et non et dicta expedita molestias dolorem est. Eos ex est corrupti exercitationem ea. Quam aspernatur blanditiis sed aliquam.\"]"], ["created_at", "2014-09-22 18:53:33.418938"], ["name", "contract_af6aa5ac"], ["title", "In voluptatem dignissimos voluptatem quam ea."], ["updated_at", "2014-09-22 18:53:33.418938"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_af6aa5ac"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_af6aa5ac') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:53:33.422948"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.425956"], ["updated_at", "2014-09-22 18:53:33.425956"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:53:33.428144"], ["updated_at", "2014-09-22 18:53:33.428144"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.434503"], ["updated_at", "2014-09-22 18:53:33.434503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.436084"], ["updated_at", "2014-09-22 18:53:33.436084"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d6e77d28') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus et qui voluptatem facere. Laudantium qui non mollitia quis deserunt labore. Beatae aut minima. Nihil delectus facere quos aut enim. Aut consectetur rem recusandae.\", \"Vero porro aut soluta. Qui deserunt tenetur quidem consequatur iure rerum exercitationem. Quisquam aliquam porro odio ut. Dolorem repellat quam non eius.\"]"], ["created_at", "2014-09-22 18:53:33.439719"], ["name", "contract_d6e77d28"], ["title", "Tenetur nam deserunt molestias."], ["updated_at", "2014-09-22 18:53:33.439719"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6e77d28"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_d6e77d28') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:53:33.444082"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.446805"], ["updated_at", "2014-09-22 18:53:33.446805"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:53:33.449360"], ["updated_at", "2014-09-22 18:53:33.449360"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.457016"], ["updated_at", "2014-09-22 18:53:33.457016"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.458830"], ["updated_at", "2014-09-22 18:53:33.458830"]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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_8f3becfd') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est est fugit sequi et laborum voluptas maiores. Eos doloremque nihil dolores. Hic itaque debitis nesciunt ut et aut error. Quia dolores quia qui distinctio temporibus.\", \"Eius asperiores suscipit. Voluptas aspernatur quia sit omnis nihil pariatur. Sint rerum eveniet.\"]"], ["created_at", "2014-09-22 18:53:33.463182"], ["name", "contract_8f3becfd"], ["title", "Ad recusandae laudantium ut minima placeat doloribus."], ["updated_at", "2014-09-22 18:53:33.463182"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8f3becfd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_8f3becfd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:53:33.467442"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.470381"], ["updated_at", "2014-09-22 18:53:33.470381"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:53:33.472938"], ["updated_at", "2014-09-22 18:53:33.472938"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.478569"], ["updated_at", "2014-09-22 18:53:33.478569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.480535"], ["updated_at", "2014-09-22 18:53:33.480535"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4867ec5f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum iure autem magnam ea. Natus amet qui cumque dolorem ut quaerat. Molestias quam qui ut voluptas et quia tempore. Reiciendis sint exercitationem aut alias illo necessitatibus. Impedit est omnis iure.\", \"Tempora qui ut. Error dolor est magnam. Est delectus voluptas.\"]"], ["created_at", "2014-09-22 18:53:33.483643"], ["name", "contract_4867ec5f"], ["title", "Accusantium reiciendis necessitatibus vero velit."], ["updated_at", "2014-09-22 18:53:33.483643"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4867ec5f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_4867ec5f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:53:33.487124"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.490021"], ["updated_at", "2014-09-22 18:53:33.490021"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:53:33.492414"], ["updated_at", "2014-09-22 18:53:33.492414"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.497678"], ["updated_at", "2014-09-22 18:53:33.497678"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.499275"], ["updated_at", "2014-09-22 18:53:33.499275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_870d4511') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse quam quas amet nihil animi. Reiciendis sunt vitae possimus non in accusantium. Et est veniam. Iusto sunt nihil quo deleniti. Aut eum beatae itaque laboriosam voluptates ea.\", \"Sed voluptas nobis odit excepturi. Vitae non et in harum. Dicta sunt ut nam quo. Molestiae quae molestias dicta omnis.\"]"], ["created_at", "2014-09-22 18:53:33.502511"], ["name", "contract_870d4511"], ["title", "Id quo ipsa doloribus eos."], ["updated_at", "2014-09-22 18:53:33.502511"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_870d4511"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_870d4511') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:53:33.505701"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.508188"], ["updated_at", "2014-09-22 18:53:33.508188"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:53:33.510344"], ["updated_at", "2014-09-22 18:53:33.510344"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"8"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction 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_4e960644') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum consequatur facilis sed a. Omnis non aut at harum fugit autem. Porro atque eligendi et exercitationem. Mollitia iusto sapiente quas ducimus. Non rerum accusamus quod dolores officia.\", \"Consequatur sint debitis sequi aut ea architecto pariatur. Quos provident unde. Delectus iste possimus. Et quasi incidunt dolores minus quaerat harum. Dolor provident voluptatem fugiat id et.\"]"], ["created_at", "2014-09-22 18:53:33.514859"], ["name", "contract_4e960644"], ["title", "Voluptatibus cum est iusto magni."], ["updated_at", "2014-09-22 18:53:33.514859"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction 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_f8a48f26') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi quisquam aspernatur iusto et. Nihil qui praesentium suscipit repellendus quod odit. Eius nisi eum veniam ipsum voluptatibus reiciendis. Unde id provident. Consequuntur quibusdam repudiandae magni voluptas.\", \"Recusandae velit impedit ipsum alias qui mollitia aut. Aliquid perspiciatis iusto. Aperiam quia blanditiis laboriosam dolorem repellendus earum ducimus. Sit rem minima repellat esse totam non voluptatem. Cumque natus necessitatibus qui nesciunt eligendi voluptas aut.\"]"], ["created_at", "2014-09-22 18:53:33.518832"], ["name", "contract_f8a48f26"], ["title", "Voluptates eveniet quam itaque quod ea temporibus molestias."], ["updated_at", "2014-09-22 18:53:33.518832"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f8a48f26"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_f8a48f26') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:53:33.521846"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.524232"], ["updated_at", "2014-09-22 18:53:33.524232"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.528957"], ["updated_at", "2014-09-22 18:53:33.528957"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.530739"], ["updated_at", "2014-09-22 18:53:33.530739"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.536085"], ["updated_at", "2014-09-22 18:53:33.536085"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.537902"], ["updated_at", "2014-09-22 18:53:33.537902"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_fb1198ae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi nobis voluptas est hic et magnam. In veritatis quo voluptates ratione voluptatibus quidem. Qui vero fuga nihil minima earum dolorem est. Et facilis maiores fuga id tenetur. Optio qui quia illum rem vel facere aut.\", \"Doloribus provident repudiandae. Sint est quia ut sapiente. Vero eius iusto. Qui facere minus enim reiciendis est.\"]"], ["created_at", "2014-09-22 18:53:33.544275"], ["name", "contract_fb1198ae"], ["title", "Facilis sit dolores."], ["updated_at", "2014-09-22 18:53:33.544275"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb1198ae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_fb1198ae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:53:33.549458"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_fb1198ae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_fb1198ae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi nobis voluptas est hic et magnam. In veritatis quo voluptates ratione voluptatibus quidem. Qui vero fuga nihil minima earum dolorem est. Et facilis maiores fuga id tenetur. Optio qui quia illum rem vel facere aut.\", \"Doloribus provident repudiandae. Sint est quia ut sapiente. Vero eius iusto. Qui facere minus enim reiciendis est.\"]"], ["created_at", "2014-09-22 18:53:33.553148"], ["name", "contract_fb1198ae"], ["title", "Facilis sit dolores."], ["updated_at", "2014-09-22 18:53:33.553148"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb1198ae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_fb1198ae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:53:33.556272"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3b4b9a1d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est excepturi ut omnis. Quas perspiciatis ut ratione maxime vel adipisci. Sint nesciunt hic aut delectus et dolor ipsa. Corrupti omnis magnam nihil consectetur officia aspernatur.\", \"Voluptatem quasi dolores quis nihil vero. Commodi eveniet esse praesentium. Maxime voluptas voluptatibus in.\"]"], ["created_at", "2014-09-22 18:53:33.559965"], ["name", "contract_3b4b9a1d"], ["title", "Fugit commodi aspernatur a distinctio."], ["updated_at", "2014-09-22 18:53:33.559965"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3b4b9a1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_3b4b9a1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:53:33.563001"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.566611"], ["updated_at", "2014-09-22 18:53:33.566611"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:53:33.569122"], ["updated_at", "2014-09-22 18:53:33.569122"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_3b4b9a1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3b4b9a1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_3b4b9a1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction 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_093a335a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem autem aut dicta exercitationem iusto. Debitis aliquid qui aliquam est amet eum. Non veritatis sunt. Odit omnis cum aut voluptatem tenetur.\", \"Ut porro iste culpa nisi et ducimus. Nihil dolore veritatis architecto aut voluptate. In cum quidem voluptates dignissimos eum aut.\"]"], ["created_at", "2014-09-22 18:53:33.579814"], ["name", "contract_093a335a"], ["title", "Corrupti dolorum sed."], ["updated_at", "2014-09-22 18:53:33.579814"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_093a335a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_093a335a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:53:33.583032"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_093a335a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem autem aut dicta exercitationem iusto. Debitis aliquid qui aliquam est amet eum. Non veritatis sunt. Odit omnis cum aut voluptatem tenetur.\", \"Ut porro iste culpa nisi et ducimus. Nihil dolore veritatis architecto aut voluptate. In cum quidem voluptates dignissimos eum aut.\"]"], ["created_at", "2014-09-22 18:53:33.586807"], ["name", "joe"], ["title", "Corrupti dolorum sed."], ["updated_at", "2014-09-22 18:53:33.586807"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:53:33.589668"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_bac2b608') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo iure veniam voluptates. Sint voluptatem et. Nemo possimus nihil veritatis. Laudantium et dolores nisi explicabo ut tenetur debitis. Eum omnis sint et voluptate.\", \"Recusandae incidunt ratione ut qui laudantium. Unde amet quia temporibus ut iure impedit asperiores. Sint et eius iusto similique quibusdam. Accusamus qui est expedita. Commodi ad animi et.\"]"], ["created_at", "2014-09-22 18:53:33.593349"], ["name", "contract_bac2b608"], ["title", "Perferendis cumque et quia amet non similique rerum."], ["updated_at", "2014-09-22 18:53:33.593349"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bac2b608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_bac2b608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:53:33.597674"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bac2b608"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bac2b608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_bac2b608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:53:33.602850"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.609239"], ["updated_at", "2014-09-22 18:53:33.609239"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.610829"], ["updated_at", "2014-09-22 18:53:33.610829"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_abd015f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis nobis provident aut officiis nulla cum. Explicabo molestias totam laborum numquam. Facilis impedit dolorum asperiores velit perspiciatis dolores est.\", \"Consequatur voluptas quam labore enim. Nihil numquam facere quia modi asperiores. Odit sit aliquid possimus non.\"]"], ["created_at", "2014-09-22 18:53:33.614055"], ["name", "contract_abd015f1"], ["title", "Explicabo qui debitis quis."], ["updated_at", "2014-09-22 18:53:33.614055"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:53:33.620031"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:53:33.620031"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.624268"], ["updated_at", "2014-09-22 18:53:33.624268"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.625894"], ["updated_at", "2014-09-22 18:53:33.625894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_28c12e55') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat accusantium architecto fuga labore. Voluptate deserunt accusamus neque est et. Et autem eius cupiditate voluptatem. Adipisci magnam aut eligendi in. Aut temporibus illo.\", \"Maxime totam rerum quaerat. Velit porro fugiat iure cupiditate voluptate est molestias. Occaecati laudantium provident.\"]"], ["created_at", "2014-09-22 18:53:33.628493"], ["name", "contract_28c12e55"], ["title", "Quaerat in quia."], ["updated_at", "2014-09-22 18:53:33.628493"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.632366"], ["updated_at", "2014-09-22 18:53:33.632366"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.633772"], ["updated_at", "2014-09-22 18:53:33.633772"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6f7f5998') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur magni a iste enim et laboriosam. Et omnis necessitatibus assumenda soluta iusto distinctio officia. Ducimus voluptatem sunt aut.\", \"Autem deleniti adipisci assumenda ipsam est ea pariatur. Et non itaque. Quisquam et corrupti voluptas. Sequi perspiciatis molestiae atque est ipsa vero nisi. Aut ratione ad occaecati.\"]"], ["created_at", "2014-09-22 18:53:33.636391"], ["name", "contract_6f7f5998"], ["title", "Et adipisci rem dolorum et aut nihil et."], ["updated_at", "2014-09-22 18:53:33.636391"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f7f5998"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_6f7f5998') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:53:33.639661"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f7f5998"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_6f7f5998') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:53:33.645287"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.649977"], ["updated_at", "2014-09-22 18:53:33.649977"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.651559"], ["updated_at", "2014-09-22 18:53:33.651559"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ccd853d2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos rem sunt ad aspernatur. Laboriosam sint eius libero dolorum. Et molestiae et. Qui qui eum omnis. Mollitia illum architecto id neque provident.\", \"Et deserunt architecto. Ut nulla sit sed. Consequatur sunt consequatur rem. Nihil doloremque esse sed aut tenetur.\"]"], ["created_at", "2014-09-22 18:53:33.654542"], ["name", "contract_ccd853d2"], ["title", "At dolorem nihil ut."], ["updated_at", "2014-09-22 18:53:33.654542"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.660849"], ["updated_at", "2014-09-22 18:53:33.660849"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.662624"], ["updated_at", "2014-09-22 18:53:33.662624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_be1a34da') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam vel nostrum est quis nesciunt quod. Deserunt eum error quasi occaecati quas rerum provident. Et quas repellendus et et.\", \"Voluptatem quia facilis quisquam fugiat expedita earum laboriosam. Molestias beatae expedita fugit vel reiciendis et. Delectus quibusdam architecto aspernatur. Voluptas consequatur qui eaque beatae iusto. Corporis asperiores sunt dolores et.\"]"], ["created_at", "2014-09-22 18:53:33.665617"], ["name", "contract_be1a34da"], ["title", "Est sunt esse ex culpa nemo quibusdam."], ["updated_at", "2014-09-22 18:53:33.665617"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.670006"], ["updated_at", "2014-09-22 18:53:33.670006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.671491"], ["updated_at", "2014-09-22 18:53:33.671491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c530b709') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi occaecati incidunt et numquam itaque. Reprehenderit corrupti rerum delectus voluptates aperiam accusantium quod. Unde ut hic animi soluta eligendi dolore. Quaerat omnis beatae.\", \"Et in aut. Qui perferendis aut atque deserunt. Sunt in quo. Ipsam voluptate fugit.\"]"], ["created_at", "2014-09-22 18:53:33.674176"], ["name", "contract_c530b709"], ["title", "Porro sint harum magni tenetur deleniti."], ["updated_at", "2014-09-22 18:53:33.674176"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c530b709"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_c530b709') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:53:33.677336"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_c530b709' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.684293"], ["updated_at", "2014-09-22 18:53:33.684293"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.685783"], ["updated_at", "2014-09-22 18:53:33.685783"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_eba0dd93') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui deleniti eum nihil esse expedita consequatur aut. A sit qui. Molestias id ipsam rerum et voluptatem optio in. Laborum doloribus eveniet porro odit est. Consequatur voluptatem excepturi velit.\", \"Optio quidem autem eos. Reprehenderit sed facere. Consequuntur excepturi laudantium.\"]"], ["created_at", "2014-09-22 18:53:33.688381"], ["name", "contract_eba0dd93"], ["title", "Exercitationem facere voluptatem dolore quia fugiat corrupti."], ["updated_at", "2014-09-22 18:53:33.688381"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.693597"], ["updated_at", "2014-09-22 18:53:33.693597"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.695047"], ["updated_at", "2014-09-22 18:53:33.695047"]]  (0.4ms) commit transaction  (0.0ms) begin transaction 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_c62dcdf3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quisquam unde doloribus ut repudiandae sunt. Unde sed aut eius soluta sit aut repudiandae. Vitae et dolorem eos dolor sit. Aut amet facere. Sapiente mollitia ducimus totam repellat nihil ex.\", \"Aut quasi dolor magnam consequuntur. Quae praesentium ratione dolores illo. Enim in beatae repudiandae corporis quia fugiat ab. Quae ut eveniet maiores voluptatem optio rerum. Omnis aperiam praesentium.\"]"], ["created_at", "2014-09-22 18:53:33.697601"], ["name", "contract_c62dcdf3"], ["title", "Id unde beatae asperiores iste quasi rerum voluptatem."], ["updated_at", "2014-09-22 18:53:33.697601"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 19, 1, 13, 2, 7, 9, 20, 8, 6, 17, 4, 16, 22, 23, 25, 21, 5, 24, 3, 10, 12, 11, 15, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.709021"], ["updated_at", "2014-09-22 18:53:33.709021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.710763"], ["updated_at", "2014-09-22 18:53:33.710763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cefa128e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam provident modi consequuntur. Aut molestias qui praesentium tempore odit. Sit ratione non provident et ab. Repudiandae magnam expedita quas dolor doloribus optio.\", \"Minus culpa laboriosam. Alias iste et ratione sint at. Et possimus molestiae reprehenderit illum tempore velit. Officia beatae velit doloremque est. Earum est accusamus sed eos.\"]"], ["created_at", "2014-09-22 18:53:33.713766"], ["name", "contract_cefa128e"], ["title", "Rerum non aut dicta voluptatem laboriosam aut."], ["updated_at", "2014-09-22 18:53:33.713766"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.718320"], ["updated_at", "2014-09-22 18:53:33.718320"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.719915"], ["updated_at", "2014-09-22 18:53:33.719915"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_4ee76ff1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit amet cumque eos est et quod. Et sit dolor animi voluptas fuga eveniet officiis. Autem et id libero soluta. Molestias aut alias quo maiores consequatur.\", \"Rerum est itaque voluptates et sit voluptas adipisci. Ducimus officiis eum. Aspernatur voluptas qui officiis magnam cum.\"]"], ["created_at", "2014-09-22 18:53:33.722443"], ["name", "contract_4ee76ff1"], ["title", "Placeat voluptas omnis unde ut."], ["updated_at", "2014-09-22 18:53:33.722443"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4ee76ff1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_4ee76ff1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:53:33.725692"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.730661"], ["updated_at", "2014-09-22 18:53:33.730661"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.732112"], ["updated_at", "2014-09-22 18:53:33.732112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_14ca44a0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quia dolores perferendis dolor vero aperiam repudiandae. Ut est ut laborum. Nam quo iusto praesentium.\", \"In ullam dolores molestiae omnis. Sunt eveniet deleniti. Rerum cupiditate occaecati sequi magni vel. Necessitatibus et deleniti totam laborum dolorem dolore.\"]"], ["created_at", "2014-09-22 18:53:33.734762"], ["name", "contract_14ca44a0"], ["title", "Quia accusantium earum corporis quisquam praesentium ipsa."], ["updated_at", "2014-09-22 18:53:33.734762"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.740615"], ["updated_at", "2014-09-22 18:53:33.740615"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.742211"], ["updated_at", "2014-09-22 18:53:33.742211"]]  (0.4ms) commit transaction  (0.0ms) begin transaction 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_6ab4acb7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia quo iste vitae temporibus ullam quibusdam. Asperiores et eligendi sit magni exercitationem autem est. Rerum aliquam et. Enim maxime nam earum nihil enim unde.\", \"Nisi corporis omnis. Ducimus qui numquam nemo repudiandae sunt. Enim tempora ut nam.\"]"], ["created_at", "2014-09-22 18:53:33.744932"], ["name", "contract_6ab4acb7"], ["title", "Eum distinctio voluptatem architecto placeat enim repellat non."], ["updated_at", "2014-09-22 18:53:33.744932"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ab4acb7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_6ab4acb7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:53:33.749762"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.755064"], ["updated_at", "2014-09-22 18:53:33.755064"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.756723"], ["updated_at", "2014-09-22 18:53:33.756723"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_9fcdef96') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio consequatur expedita unde ad blanditiis. Esse voluptatem expedita enim ducimus maiores ut. Rerum nostrum quidem. Tempore hic et autem adipisci ut voluptatum eos. Voluptates eius vitae voluptatem neque cupiditate.\", \"Recusandae error eos. Aliquid laborum beatae vero dolorem suscipit. Maiores consequatur laboriosam sunt. Dicta nobis voluptas et. Quasi veritatis rerum ut tempore molestias ex sapiente.\"]"], ["created_at", "2014-09-22 18:53:33.759817"], ["name", "contract_9fcdef96"], ["title", "Reiciendis eligendi velit perspiciatis."], ["updated_at", "2014-09-22 18:53:33.759817"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9fcdef96"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_9fcdef96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:53:33.763018"], ["version", 1]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.769354"], ["updated_at", "2014-09-22 18:53:33.769354"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.770879"], ["updated_at", "2014-09-22 18:53:33.770879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e51d234d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et laboriosam eum nihil sapiente omnis vel beatae. Culpa sit sed eum et provident maxime quo. Possimus nostrum amet voluptas doloremque. Repellat ex dolorum. Cumque eos qui culpa.\", \"Est et eligendi est ut facere iste corrupti. Excepturi facilis et sed dignissimos iste dolorem explicabo. Qui quae explicabo. Culpa alias voluptatem error molestiae est maxime est.\"]"], ["created_at", "2014-09-22 18:53:33.773510"], ["name", "contract_e51d234d"], ["title", "Placeat magni temporibus."], ["updated_at", "2014-09-22 18:53:33.773510"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.778495"], ["updated_at", "2014-09-22 18:53:33.778495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.779982"], ["updated_at", "2014-09-22 18:53:33.779982"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_32bb4b99') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus nisi tempore totam mollitia nesciunt et. Corrupti ullam magnam cumque earum odio est et. Qui harum est sunt eos sit. Neque quibusdam dolor eligendi.\", \"Tempora ipsam veritatis dolores quam aspernatur. Quisquam dolores adipisci cupiditate mollitia sunt maiores ut. Dolor praesentium laudantium dicta doloribus et molestiae. Minus autem accusantium similique dolorem. Rerum et dolorem enim voluptatibus hic.\"]"], ["created_at", "2014-09-22 18:53:33.782439"], ["name", "contract_32bb4b99"], ["title", "Neque blanditiis perspiciatis."], ["updated_at", "2014-09-22 18:53:33.782439"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 32 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:53:33.786238"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.791636"], ["updated_at", "2014-09-22 18:53:33.791636"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.793596"], ["updated_at", "2014-09-22 18:53:33.793596"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_63741ab2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus eum et quas ut ex. Minus et sed molestiae ab quas aut. Sit ipsum expedita et. Cum vel vero architecto odio doloremque tempora voluptatibus. Doloribus architecto molestiae maxime aspernatur.\", \"Voluptatem illum atque aut. Consequuntur et voluptatem odit. Et officiis ex error ut. Placeat magni sunt ut pariatur sed aut. Illo porro quaerat eveniet.\"]"], ["created_at", "2014-09-22 18:53:33.797028"], ["name", "contract_63741ab2"], ["title", "Illo perspiciatis rerum nisi commodi et inventore."], ["updated_at", "2014-09-22 18:53:33.797028"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.801690"], ["updated_at", "2014-09-22 18:53:33.801690"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.803197"], ["updated_at", "2014-09-22 18:53:33.803197"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_f710d1f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Totam eaque aliquid. Voluptas eaque autem. Est nesciunt nisi occaecati earum doloribus dolorem dicta.\", \"Quas ut qui excepturi. Autem mollitia fugiat eveniet illum libero. Dolore odit ea nobis minima. Dignissimos aut dolorem voluptas omnis sunt natus sapiente.\"]"], ["created_at", "2014-09-22 18:53:33.805927"], ["name", "contract_f710d1f1"], ["title", "Rerum aut autem est repellendus similique omnis."], ["updated_at", "2014-09-22 18:53:33.805927"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 34]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 34]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 34 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.813568"], ["updated_at", "2014-09-22 18:53:33.813568"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.815129"], ["updated_at", "2014-09-22 18:53:33.815129"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9cfc0d94') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas non aut ut eius et. Nam officia qui impedit natus dolorem sit. Hic atque veritatis.\", \"Omnis rem dolorum. Pariatur et ad soluta quo. Aut numquam aliquam aspernatur.\"]"], ["created_at", "2014-09-22 18:53:33.817662"], ["name", "contract_9cfc0d94"], ["title", "In aliquam corporis cumque omnis."], ["updated_at", "2014-09-22 18:53:33.817662"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus fuga occaecati voluptas mollitia. Et reiciendis assumenda. Et nihil mollitia aut libero ea.\", \"Ea et ad corrupti ipsum. Vitae temporibus aut sint id. Amet facilis ea velit consectetur sequi. Ut aspernatur sint sunt non recusandae.\"]"], ["created_at", "2014-09-22 18:53:33.824077"], ["name", "alpha"], ["title", "Fuga et ea."], ["updated_at", "2014-09-22 18:53:33.824077"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:53:33.827915"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur assumenda voluptatem autem sint est. Eos quas esse vel recusandae minus distinctio. Est illum minima sunt.\", \"Mollitia illo at ipsum est consequatur maxime aut. Deleniti illo quos. Ea ullam odit minima cum nemo quam voluptatum. Expedita vel nemo mollitia sint cum et sint. Et qui qui impedit consequuntur.\"]"], ["created_at", "2014-09-22 18:53:33.832655"], ["name", "beta"], ["title", "Qui dolores ad nisi non et at."], ["updated_at", "2014-09-22 18:53:33.832655"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:53:33.836531"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.839080"], ["updated_at", "2014-09-22 18:53:33.839080"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:53:33.841919"], ["updated_at", "2014-09-22 18:53:33.841919"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:53:33.844483"], ["updated_at", "2014-09-22 18:53:33.844483"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:33.846783"], ["name", "alpha"], ["title", "Fuga et ea."], ["updated_at", "2014-09-22 18:53:33.846783"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:53:33.849856"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est ut harum assumenda. Non impedit delectus. Dicta architecto quo et ea id et modi. Repudiandae rerum accusamus sit quos aut reprehenderit sed.\", \"Ut sapiente sit. Et vel totam tempora. Rerum cum dolore est facere. Corporis corrupti non consequuntur eum totam.\"]"], ["created_at", "2014-09-22 18:53:33.857411"], ["name", "alpha"], ["title", "Expedita nihil eligendi autem ab odit."], ["updated_at", "2014-09-22 18:53:33.857411"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:53:33.860670"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore accusantium nam omnis praesentium. Magni distinctio dignissimos omnis. Animi ut repellendus et ducimus voluptatibus. Earum ipsam vitae vel reprehenderit autem ducimus.\", \"Laboriosam ut vero accusantium sunt error doloremque sint. Eveniet consectetur nostrum. Numquam blanditiis id error est voluptatibus quasi ea. Vero ullam eum laudantium et occaecati eaque aut. Doloremque aut quisquam.\"]"], ["created_at", "2014-09-22 18:53:33.864085"], ["name", "beta"], ["title", "Ea molestiae et ab omnis velit."], ["updated_at", "2014-09-22 18:53:33.864085"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:53:33.867128"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.869396"], ["updated_at", "2014-09-22 18:53:33.869396"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:53:33.872051"], ["updated_at", "2014-09-22 18:53:33.872051"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:53:33.874544"], ["updated_at", "2014-09-22 18:53:33.874544"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:33.877049"], ["name", "alpha"], ["title", "Expedita nihil eligendi autem ab odit."], ["updated_at", "2014-09-22 18:53:33.877049"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:53:33.880084"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab consequatur dolores et asperiores voluptates veniam voluptas. Voluptas iste enim voluptatem. Qui molestiae explicabo. In cum totam cupiditate voluptas omnis. Veritatis aut facilis consequatur.\", \"Sit ut et dolorem sed suscipit qui. Illum aliquam deserunt. Ipsa dicta unde expedita tempore et. Omnis asperiores vitae sed animi. Tenetur doloremque dolorem ea ducimus.\"]"], ["created_at", "2014-09-22 18:53:33.885500"], ["name", "alpha"], ["title", "Earum debitis est quaerat ut eaque."], ["updated_at", "2014-09-22 18:53:33.885500"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:53:33.888478"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa doloremque dicta voluptas velit. Voluptas et vitae sed magni amet non. Eum aut ullam qui necessitatibus aliquam.\", \"Cumque nemo ab ipsam ut. Enim excepturi tenetur quo natus aliquid sunt dolore. Qui aspernatur accusantium quia vel voluptates tempora.\"]"], ["created_at", "2014-09-22 18:53:33.892063"], ["name", "beta"], ["title", "In sunt molestias voluptatem praesentium alias qui."], ["updated_at", "2014-09-22 18:53:33.892063"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:53:33.895945"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.898493"], ["updated_at", "2014-09-22 18:53:33.898493"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:53:33.901560"], ["updated_at", "2014-09-22 18:53:33.901560"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:53:33.904163"], ["updated_at", "2014-09-22 18:53:33.904163"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:33.906525"], ["name", "alpha"], ["title", "Earum debitis est quaerat ut eaque."], ["updated_at", "2014-09-22 18:53:33.906525"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:53:33.909595"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:53:33.931431"], ["updated_at", "2014-09-22 18:53:33.931431"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi explicabo et. Ipsam est qui neque inventore ducimus ex. Impedit repellat ea. Tempora nisi sunt amet perspiciatis.\", \"Mollitia delectus architecto nihil aut repellat porro sint. Dolore asperiores numquam. Soluta et facere ut. Veniam recusandae quia et maxime veritatis rerum voluptatem.\"]"], ["created_at", "2014-09-22 18:53:33.946078"], ["name", "alpha"], ["title", "Ipsam maxime adipisci sed alias placeat voluptatem."], ["updated_at", "2014-09-22 18:53:33.946078"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:53:33.950298"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ea omnis perferendis ex eum porro ea. In et nostrum veniam rem. Pariatur sed autem voluptatem ea. Est in minus voluptatibus error. Blanditiis cum vel earum.\", \"Ad incidunt officia veniam. Aliquid dicta minima qui eum maxime. Minima ex velit non ea eligendi at. Et molestias et ut tempore asperiores esse nihil. Qui nulla et aut.\"]"], ["created_at", "2014-09-22 18:53:33.954171"], ["name", "beta"], ["title", "Molestiae nihil ut impedit et."], ["updated_at", "2014-09-22 18:53:33.954171"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:53:33.957891"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:33.960724"], ["updated_at", "2014-09-22 18:53:33.960724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:53:33.964274"], ["updated_at", "2014-09-22 18:53:33.964274"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:53:33.967356"], ["updated_at", "2014-09-22 18:53:33.967356"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:33.970703"], ["name", "alpha"], ["title", "Ipsam maxime adipisci sed alias placeat voluptatem."], ["updated_at", "2014-09-22 18:53:33.970703"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:53:33.974213"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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_df7ed9a5') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum adipisci debitis. Fugit architecto quia. Dignissimos enim consequatur. Ut ut et. Aut et repellat vel provident accusantium reprehenderit natus.\", \"Qui eum consectetur et amet. Quas sit consequatur aspernatur dolorum quisquam beatae. Earum dolores aut ea tempora enim quae.\"]"], ["created_at", "2014-09-22 18:53:50.658018"], ["name", "contract_df7ed9a5"], ["title", "Occaecati accusantium est autem."], ["updated_at", "2014-09-22 18:53:50.658018"]]  (1.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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_0be9e81a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil rerum harum quia aliquam aspernatur quos doloribus. Inventore et quos consequatur. In molestias voluptas officiis atque. Minima quo provident facilis libero voluptas totam.\", \"Delectus necessitatibus laborum aliquid aut adipisci sed. Autem maxime et doloremque ut animi amet. Asperiores sed earum nesciunt est tempore ullam quo. Aut eum itaque exercitationem nisi laudantium ut.\"]"], ["created_at", "2014-09-22 18:53:50.678842"], ["name", "contract_0be9e81a"], ["title", "Velit numquam est."], ["updated_at", "2014-09-22 18:53:50.678842"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0be9e81a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_0be9e81a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:53:50.683907"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.689982"], ["updated_at", "2014-09-22 18:53:50.689982"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos omnis ut suscipit eaque. Qui qui sapiente laudantium fugiat. Veniam dignissimos voluptates praesentium soluta minima eum est. Provident possimus natus temporibus.\", \"Voluptatum velit aperiam quia est laboriosam est provident. Omnis rerum praesentium molestias. Velit quia vitae in. Minima quidem et excepturi.\"]"], ["created_at", "2014-09-22 18:53:50.699103"], ["name", "alpha"], ["title", "Asperiores maiores aut dicta voluptas."], ["updated_at", "2014-09-22 18:53:50.699103"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:53:50.702549"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit nam qui ipsam. Maxime aut consectetur. Porro nihil mollitia et qui possimus ratione vel. Quo libero ut.\", \"Aliquam unde autem consequatur placeat id quos. Eveniet in et. Velit rerum id vel nam laboriosam ut. Aperiam qui recusandae.\"]"], ["created_at", "2014-09-22 18:53:50.707374"], ["name", "beta"], ["title", "Sed minima maiores velit."], ["updated_at", "2014-09-22 18:53:50.707374"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:53:50.710423"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.712739"], ["updated_at", "2014-09-22 18:53:50.712739"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:53:50.715542"], ["updated_at", "2014-09-22 18:53:50.715542"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:53:50.720722"], ["updated_at", "2014-09-22 18:53:50.720722"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:50.724896"], ["name", "alpha"], ["title", "Asperiores maiores aut dicta voluptas."], ["updated_at", "2014-09-22 18:53:50.724896"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:53:50.728367"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Blanditiis libero nisi cupiditate. Laboriosam repellat quia nobis. Vitae est similique. Animi possimus quasi maiores illum. Ipsum necessitatibus perferendis facere.\", \"Voluptatem consequatur non qui molestias quaerat necessitatibus vero. Quia cupiditate natus corporis voluptas. Sit quia autem.\"]"], ["created_at", "2014-09-22 18:53:50.738849"], ["name", "alpha"], ["title", "Natus quas amet eligendi omnis."], ["updated_at", "2014-09-22 18:53:50.738849"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:53:50.743180"], ["version", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil aut aspernatur nostrum harum accusamus. Quisquam omnis velit voluptatum voluptas. Et accusamus pariatur temporibus qui sint molestiae quam.\", \"Aperiam et magni et. Perferendis ea accusamus illo. Sit maxime aut.\"]"], ["created_at", "2014-09-22 18:53:50.747882"], ["name", "beta"], ["title", "Repellendus nisi error debitis a."], ["updated_at", "2014-09-22 18:53:50.747882"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:53:50.752009"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.754608"], ["updated_at", "2014-09-22 18:53:50.754608"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:53:50.758195"], ["updated_at", "2014-09-22 18:53:50.758195"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:53:50.760750"], ["updated_at", "2014-09-22 18:53:50.760750"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:50.763088"], ["name", "alpha"], ["title", "Natus quas amet eligendi omnis."], ["updated_at", "2014-09-22 18:53:50.763088"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:53:50.766257"], ["version", 4]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:53:50.786314"], ["updated_at", "2014-09-22 18:53:50.786314"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum aliquid sit nihil excepturi quasi. Et at harum minus veritatis sed veniam. Harum enim quia dolorum perspiciatis alias tempore nam.\", \"Esse qui dolor voluptas qui fugiat quia. Sed autem laudantium ut tempora nostrum. Itaque dolor eos pariatur consequuntur. At placeat quidem quod et ut.\"]"], ["created_at", "2014-09-22 18:53:50.800009"], ["name", "alpha"], ["title", "Totam voluptates inventore iusto dolore eos quia."], ["updated_at", "2014-09-22 18:53:50.800009"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:53:50.803109"], ["version", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At accusantium facilis voluptates pariatur accusamus. Minus quae dolor tempora facilis omnis. Iure delectus vel fuga voluptatibus laudantium et ratione. Qui deserunt labore quo. Iure quam minima amet vel quo.\", \"Harum non distinctio. Placeat enim natus voluptatem. Necessitatibus in modi non. Et minima culpa est aut sunt laboriosam numquam.\"]"], ["created_at", "2014-09-22 18:53:50.806517"], ["name", "beta"], ["title", "Odit ex recusandae."], ["updated_at", "2014-09-22 18:53:50.806517"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:53:50.809304"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.811585"], ["updated_at", "2014-09-22 18:53:50.811585"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:53:50.814085"], ["updated_at", "2014-09-22 18:53:50.814085"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:53:50.816501"], ["updated_at", "2014-09-22 18:53:50.816501"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:50.818647"], ["name", "alpha"], ["title", "Totam voluptates inventore iusto dolore eos quia."], ["updated_at", "2014-09-22 18:53:50.818647"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:53:50.821540"], ["version", 6]]  (2.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut esse quia quisquam amet quo facilis. Incidunt temporibus nesciunt vitae quam id sequi. Nobis et nisi cumque necessitatibus ut iusto. Sed hic dolores non dolorem.\", \"Est quia non. Quas sed odio. Aut error consequatur. Et soluta voluptatibus inventore laudantium.\"]"], ["created_at", "2014-09-22 18:53:50.828870"], ["name", "alpha"], ["title", "Officia consequuntur reprehenderit velit."], ["updated_at", "2014-09-22 18:53:50.828870"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:53:50.831896"], ["version", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia mollitia dicta natus et perferendis autem quae. Sit odit soluta doloribus fugit doloremque. Quasi qui aut ipsa aliquam. Qui repellat quia iste.\", \"Explicabo et quos laudantium consectetur aliquam velit error. Vel ullam similique qui temporibus error odit. Dolores debitis perferendis quisquam non sed placeat doloribus. Voluptatem rerum alias vero officiis.\"]"], ["created_at", "2014-09-22 18:53:50.835471"], ["name", "beta"], ["title", "Necessitatibus magni ratione possimus."], ["updated_at", "2014-09-22 18:53:50.835471"]]  (2.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:53:50.840567"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.843085"], ["updated_at", "2014-09-22 18:53:50.843085"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 18:53:50.846222"], ["updated_at", "2014-09-22 18:53:50.846222"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:53:50.849166"], ["updated_at", "2014-09-22 18:53:50.849166"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:53:50.852130"], ["name", "alpha"], ["title", "Officia consequuntur reprehenderit velit."], ["updated_at", "2014-09-22 18:53:50.852130"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:53:50.856080"], ["version", 8]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.862552"], ["updated_at", "2014-09-22 18:53:50.862552"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.864092"], ["updated_at", "2014-09-22 18:53:50.864092"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.869361"], ["updated_at", "2014-09-22 18:53:50.869361"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.870847"], ["updated_at", "2014-09-22 18:53:50.870847"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction 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_da638433') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis qui enim maiores. Expedita nemo quibusdam molestiae. At aliquam sed aut voluptatem. Sint illum ab ipsa commodi. Illo ut accusamus quia accusantium doloremque.\", \"Velit culpa molestiae harum sed totam dolorem. Repellendus est officiis qui quia. Non suscipit eius aut ea quis.\"]"], ["created_at", "2014-09-22 18:53:50.879340"], ["name", "contract_da638433"], ["title", "Aut possimus quia corrupti est sequi."], ["updated_at", "2014-09-22 18:53:50.879340"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da638433"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_da638433') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:53:50.882619"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.886239"], ["updated_at", "2014-09-22 18:53:50.886239"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 18:53:50.888505"], ["updated_at", "2014-09-22 18:53:50.888505"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_da638433') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da638433"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_da638433') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction 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_9418a460') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et pariatur voluptas omnis aut et animi. Dolores error quibusdam vitae ipsam autem. Provident autem aut ad. Aperiam praesentium ea voluptate suscipit accusamus molestias iste. Iusto sit dolor eos pariatur.\", \"Voluptatem ipsa libero ut. Et quod est consequatur repudiandae ex ratione rerum. Velit harum non ipsa quia qui quas.\"]"], ["created_at", "2014-09-22 18:53:50.898076"], ["name", "contract_9418a460"], ["title", "Vero minima cumque velit mollitia asperiores ipsum."], ["updated_at", "2014-09-22 18:53:50.898076"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9418a460"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_9418a460') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:53:50.901810"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9418a460' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et pariatur voluptas omnis aut et animi. Dolores error quibusdam vitae ipsam autem. Provident autem aut ad. Aperiam praesentium ea voluptate suscipit accusamus molestias iste. Iusto sit dolor eos pariatur.\", \"Voluptatem ipsa libero ut. Et quod est consequatur repudiandae ex ratione rerum. Velit harum non ipsa quia qui quas.\"]"], ["created_at", "2014-09-22 18:53:50.905663"], ["name", "joe"], ["title", "Vero minima cumque velit mollitia asperiores ipsum."], ["updated_at", "2014-09-22 18:53:50.905663"]]  (4.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:53:50.913756"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_bcc28589') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est et necessitatibus. Placeat earum repudiandae dicta odit sequi. Optio exercitationem delectus. Sed consequatur et.\", \"Quos sit ut magni eum. Odio ut qui facere. Autem sint iste. Nihil numquam omnis ipsum vero. Ex dicta nobis ea ducimus iste hic.\"]"], ["created_at", "2014-09-22 18:53:50.918482"], ["name", "contract_bcc28589"], ["title", "Vitae distinctio iusto voluptatem."], ["updated_at", "2014-09-22 18:53:50.918482"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bcc28589"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_bcc28589') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:53:50.921435"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_bcc28589' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_bcc28589') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est et necessitatibus. Placeat earum repudiandae dicta odit sequi. Optio exercitationem delectus. Sed consequatur et.\", \"Quos sit ut magni eum. Odio ut qui facere. Autem sint iste. Nihil numquam omnis ipsum vero. Ex dicta nobis ea ducimus iste hic.\"]"], ["created_at", "2014-09-22 18:53:50.924857"], ["name", "contract_bcc28589"], ["title", "Vitae distinctio iusto voluptatem."], ["updated_at", "2014-09-22 18:53:50.924857"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bcc28589"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_bcc28589') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:53:50.927876"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ccb9ab56') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis consequatur dolor. Suscipit pariatur at fuga distinctio quae. Animi omnis dolor ut qui ex dolores. Dignissimos voluptatibus alias ducimus error.\", \"Incidunt libero aperiam in perferendis. Optio non ducimus minima natus iste a. Maxime voluptatem soluta dicta officiis quaerat sit.\"]"], ["created_at", "2014-09-22 18:53:50.931745"], ["name", "contract_ccb9ab56"], ["title", "Animi in itaque velit laborum adipisci voluptatem provident."], ["updated_at", "2014-09-22 18:53:50.931745"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ccb9ab56"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ccb9ab56') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:53:50.936083"], ["version", 1]]  (5.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ccb9ab56"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ccb9ab56"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ccb9ab56') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:53:50.946718"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.949839"], ["updated_at", "2014-09-22 18:53:50.949839"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.951438"], ["updated_at", "2014-09-22 18:53:50.951438"]]  (5.6ms) commit transaction  (0.1ms) begin transaction 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_44b47aca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo consequatur et voluptatem. Expedita doloremque omnis aut. Pariatur possimus consequatur fugiat neque eligendi voluptatum.\", \"Beatae modi a corrupti. Eos asperiores distinctio. Enim sed in beatae corrupti. Expedita fuga quos eum et modi voluptate pariatur.\"]"], ["created_at", "2014-09-22 18:53:50.959406"], ["name", "contract_44b47aca"], ["title", "Vel eaque aut alias architecto."], ["updated_at", "2014-09-22 18:53:50.959406"]]  (3.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_44b47aca"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_44b47aca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:53:50.966855"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.970385"], ["updated_at", "2014-09-22 18:53:50.970385"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-22 18:53:50.972953"], ["updated_at", "2014-09-22 18:53:50.972953"], ["user_id", 13], ["user_type", "DummyUser"]]  (11.9ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:50.996561"], ["updated_at", "2014-09-22 18:53:50.996561"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.003584"], ["updated_at", "2014-09-22 18:53:51.003584"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_3631f098') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque et et nobis laudantium. Consequatur dolores vero. Consequatur est qui explicabo delectus. Soluta voluptates id ullam illum qui dolor. Eius vitae cum non.\", \"Et tenetur doloremque sed aut sunt. Quidem repellendus et exercitationem. Qui eius distinctio deleniti ratione incidunt dignissimos.\"]"], ["created_at", "2014-09-22 18:53:51.006673"], ["name", "contract_3631f098"], ["title", "Accusamus voluptatem repudiandae tenetur harum soluta omnis."], ["updated_at", "2014-09-22 18:53:51.006673"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3631f098"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_3631f098') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:53:51.009833"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.012335"], ["updated_at", "2014-09-22 18:53:51.012335"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 18:53:51.014549"], ["updated_at", "2014-09-22 18:53:51.014549"], ["user_id", 16], ["user_type", "DummyUser"]]  (3.2ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Redirected to http://test.host/fine_print/contracts/22/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 12 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.024832"], ["updated_at", "2014-09-22 18:53:51.024832"]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.028148"], ["updated_at", "2014-09-22 18:53:51.028148"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_77e41837') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis ipsum odio sint quam. Rem incidunt totam. Sunt maxime saepe magni. Et praesentium ullam. Omnis saepe nemo recusandae sint est architecto.\", \"Minus delectus labore ipsam velit cupiditate. Qui aliquid saepe perferendis. Sit quod nesciunt ea nulla nostrum non dolore.\"]"], ["created_at", "2014-09-22 18:53:51.031251"], ["name", "contract_77e41837"], ["title", "Reprehenderit possimus tempore neque."], ["updated_at", "2014-09-22 18:53:51.031251"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_77e41837"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_77e41837') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:53:51.034332"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.036835"], ["updated_at", "2014-09-22 18:53:51.036835"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:53:51.040300"], ["updated_at", "2014-09-22 18:53:51.040300"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"23"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.044160"], ["updated_at", "2014-09-22 18:53:51.044160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.045618"], ["updated_at", "2014-09-22 18:53:51.045618"]]  (3.6ms) commit transaction  (0.0ms) begin transaction 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_dd9318d6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt numquam velit eius vero eaque qui voluptatibus. Quae perferendis magni recusandae dolorem. Recusandae fugit dolorem harum tempore hic doloremque.\", \"Omnis minus quia aut iste exercitationem explicabo. Cum eligendi aut nulla ab quia et. Iste accusantium quas dolor praesentium. Doloremque et sed dolor non officia.\"]"], ["created_at", "2014-09-22 18:53:51.051591"], ["name", "contract_dd9318d6"], ["title", "Omnis unde occaecati ea dolorem iure."], ["updated_at", "2014-09-22 18:53:51.051591"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dd9318d6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_dd9318d6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:53:51.054895"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.057767"], ["updated_at", "2014-09-22 18:53:51.057767"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-22 18:53:51.060991"], ["updated_at", "2014-09-22 18:53:51.060991"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.066293"], ["updated_at", "2014-09-22 18:53:51.066293"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.067672"], ["updated_at", "2014-09-22 18:53:51.067672"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_830336d8') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut ut non tempora. Nobis cum eveniet tempora molestiae error sit. Dolorum dolorem ad vel dolor. Nihil et delectus illo tempora dolor. Maiores rerum doloremque voluptatem incidunt aspernatur.\", \"Voluptatem qui impedit voluptatem dignissimos et rerum. Aut praesentium distinctio magni accusantium sit enim incidunt. Natus vel optio et laborum est cum ab. Quia molestias ut autem asperiores. Ea ipsa eum dolor officia dolores nemo.\"]"], ["created_at", "2014-09-22 18:53:51.070756"], ["name", "contract_830336d8"], ["title", "Itaque et aut aut in libero."], ["updated_at", "2014-09-22 18:53:51.070756"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_830336d8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_830336d8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:53:51.074450"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.077508"], ["updated_at", "2014-09-22 18:53:51.077508"]]  (9.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 18:53:51.089005"], ["updated_at", "2014-09-22 18:53:51.089005"], ["user_id", 25], ["user_type", "DummyUser"]]  (16.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.111011"], ["updated_at", "2014-09-22 18:53:51.111011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.112525"], ["updated_at", "2014-09-22 18:53:51.112525"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_78d106b1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eaque cum et. In laudantium voluptatem possimus. Animi id qui illum est illo voluptas. Consequatur vitae doloribus molestiae sit omnis voluptas est.\", \"Ut dicta qui. Enim dolores in quasi. Minima quia provident ut perspiciatis sapiente.\"]"], ["created_at", "2014-09-22 18:53:51.115556"], ["name", "contract_78d106b1"], ["title", "Quidem vero neque officiis occaecati voluptatibus aliquam iure."], ["updated_at", "2014-09-22 18:53:51.115556"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78d106b1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_78d106b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:53:51.119461"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.122079"], ["updated_at", "2014-09-22 18:53:51.122079"]]  (1.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:53:51.125475"], ["updated_at", "2014-09-22 18:53:51.125475"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.130697"], ["updated_at", "2014-09-22 18:53:51.130697"]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.133000"], ["updated_at", "2014-09-22 18:53:51.133000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_32eb4017') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima excepturi dolor assumenda magni eum unde dignissimos. Eaque debitis et repellendus itaque. Id tempora quia quae esse libero reiciendis vero. Tempora ullam qui omnis quas sint dolor. Ad commodi consectetur amet dicta molestias itaque.\", \"Non voluptatem illum sit neque corporis ad ab. Facere porro corrupti perspiciatis. Doloribus repudiandae distinctio laborum quaerat nihil iusto voluptas.\"]"], ["created_at", "2014-09-22 18:53:51.135925"], ["name", "contract_32eb4017"], ["title", "Perspiciatis commodi quia dignissimos delectus cupiditate et."], ["updated_at", "2014-09-22 18:53:51.135925"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_32eb4017"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_32eb4017') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:53:51.138902"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.141293"], ["updated_at", "2014-09-22 18:53:51.141293"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-22 18:53:51.143804"], ["updated_at", "2014-09-22 18:53:51.143804"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"27"} Completed 500 Internal Server Error in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.147513"], ["updated_at", "2014-09-22 18:53:51.147513"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.149118"], ["updated_at", "2014-09-22 18:53:51.149118"]]  (33.4ms) commit transaction  (0.1ms) begin transaction 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_d9234b85') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem hic velit quos rerum quia ea. In ea perferendis maxime est et voluptatem voluptates. Distinctio et est ea velit. Ex quis voluptate neque voluptas totam. Modi minima voluptate officiis.\", \"Dolorem qui voluptates omnis ipsa vitae. Sapiente recusandae in. Dolor nihil et ducimus.\"]"], ["created_at", "2014-09-22 18:53:51.185510"], ["name", "contract_d9234b85"], ["title", "Eum et ut et totam."], ["updated_at", "2014-09-22 18:53:51.185510"]]  (6.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d9234b85"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_d9234b85') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:53:51.194769"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.197839"], ["updated_at", "2014-09-22 18:53:51.197839"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 18:53:51.200984"], ["updated_at", "2014-09-22 18:53:51.200984"], ["user_id", 34], ["user_type", "DummyUser"]]  (1.1ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"28"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.206620"], ["updated_at", "2014-09-22 18:53:51.206620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.208180"], ["updated_at", "2014-09-22 18:53:51.208180"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_5d61f926') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum perspiciatis recusandae. In id unde amet voluptatem itaque aut accusantium. Totam ea nam error mollitia. Expedita soluta fugiat ea. Molestias libero nemo necessitatibus quod.\", \"Dolores dolore et occaecati sunt vero voluptatem. Vel est labore sint dolore tempore. Vel autem quia voluptatem. Velit modi expedita animi dolor aut esse. Perspiciatis atque labore earum et beatae in.\"]"], ["created_at", "2014-09-22 18:53:51.211283"], ["name", "contract_5d61f926"], ["title", "Sit aut debitis."], ["updated_at", "2014-09-22 18:53:51.211283"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.216090"], ["updated_at", "2014-09-22 18:53:51.216090"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.217681"], ["updated_at", "2014-09-22 18:53:51.217681"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_328843b6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At iusto et suscipit. Praesentium ipsam et. Aut laudantium nemo et velit quia.\", \"Molestias repellat sapiente quibusdam explicabo rerum impedit. Nam fugit cumque et vero molestiae. Quo debitis accusantium molestias illum optio. Culpa veniam aut sit. Quo reprehenderit accusantium nobis.\"]"], ["created_at", "2014-09-22 18:53:51.220337"], ["name", "contract_328843b6"], ["title", "At voluptate illum adipisci ut in."], ["updated_at", "2014-09-22 18:53:51.220337"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_328843b6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_328843b6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:53:51.223333"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.228897"], ["updated_at", "2014-09-22 18:53:51.228897"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.230338"], ["updated_at", "2014-09-22 18:53:51.230338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a5cc15f7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis aperiam repellendus quia dolor. Ad sunt et laborum officia. Dolorum exercitationem sit.\", \"Mollitia necessitatibus minus maiores. Iusto ut dolores sint itaque vel saepe. Ab molestiae praesentium inventore ut error hic. Nobis saepe ut aut vel est.\"]"], ["created_at", "2014-09-22 18:53:51.232850"], ["name", "contract_a5cc15f7"], ["title", "Explicabo velit provident."], ["updated_at", "2014-09-22 18:53:51.232850"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a5cc15f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_a5cc15f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:53:51.235864"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a5cc15f7' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.243316"], ["updated_at", "2014-09-22 18:53:51.243316"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.244884"], ["updated_at", "2014-09-22 18:53:51.244884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b7e1ff6b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum voluptates non maiores. Eum minima repellendus corrupti quibusdam voluptatem sit. Dignissimos similique et. Est dolorem facilis iste.\", \"Voluptas illo et a occaecati ullam harum. Et ut in qui. Voluptatem eaque placeat sequi quis ut qui. Ut eaque maiores consequatur qui qui cupiditate corporis. Soluta qui suscipit quia perferendis qui.\"]"], ["created_at", "2014-09-22 18:53:51.247520"], ["name", "contract_b7e1ff6b"], ["title", "Hic non aut harum."], ["updated_at", "2014-09-22 18:53:51.247520"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b7e1ff6b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_b7e1ff6b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:53:51.250910"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.256789"], ["updated_at", "2014-09-22 18:53:51.256789"]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.258963"], ["updated_at", "2014-09-22 18:53:51.258963"]]  (2.8ms) commit transaction  (0.0ms) begin transaction 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_958e9db3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus aut quos magni sint sunt repellendus dolor. Reprehenderit culpa quas ea voluptatum. Sed aliquid eius et nesciunt ea. Ex voluptas exercitationem quia.\", \"Fuga dolor sapiente. Fugiat molestiae nulla id. Dolorem qui aspernatur exercitationem. Qui maxime debitis laudantium et magnam. Autem fugiat facilis expedita ut non culpa vitae.\"]"], ["created_at", "2014-09-22 18:53:51.263795"], ["name", "contract_958e9db3"], ["title", "Maiores sunt atque."], ["updated_at", "2014-09-22 18:53:51.263795"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.268654"], ["updated_at", "2014-09-22 18:53:51.268654"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.270229"], ["updated_at", "2014-09-22 18:53:51.270229"]]  (5.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_1ce9c548') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum doloremque sit animi inventore. Qui consequatur ut ratione quod sapiente. Voluptatibus dolore incidunt ut et. Id dolor perferendis sit alias in nemo optio.\", \"Aut natus sed dolorem voluptatem aut eum dolorem. Aliquam deleniti exercitationem in accusamus. Deleniti ratione illo corporis impedit iste enim ut. Neque non possimus temporibus placeat et quaerat.\"]"], ["created_at", "2014-09-22 18:53:51.278927"], ["name", "contract_1ce9c548"], ["title", "Amet qui eum vel."], ["updated_at", "2014-09-22 18:53:51.278927"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.288249"], ["updated_at", "2014-09-22 18:53:51.288249"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.295343"], ["updated_at", "2014-09-22 18:53:51.295343"]]  (6.0ms) commit transaction  (0.0ms) begin transaction 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_687acf4c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint voluptatum exercitationem delectus nesciunt natus. Sit reiciendis recusandae. Est quis facere aut ut. Possimus explicabo at voluptatem minus est. Quia delectus earum quod deleniti.\", \"Reiciendis ut aut sed qui ea itaque. Deserunt rerum nesciunt est ut voluptate quia. Similique laborum nihil optio quam minima ducimus. Quia et omnis at atque quis est eos. Et reprehenderit suscipit veritatis eveniet minima impedit.\"]"], ["created_at", "2014-09-22 18:53:51.303414"], ["name", "contract_687acf4c"], ["title", "Ratione inventore corporis consequatur."], ["updated_at", "2014-09-22 18:53:51.303414"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 35]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 35]]  (15.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 19ms (ActiveRecord: 16.2ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 35 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.327102"], ["updated_at", "2014-09-22 18:53:51.327102"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.328852"], ["updated_at", "2014-09-22 18:53:51.328852"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_4a4b07c7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque aspernatur natus perspiciatis et. Quo rerum velit qui eos. Labore voluptatem maxime. Voluptate omnis suscipit sit debitis excepturi. Iure sapiente quia pariatur saepe.\", \"Repudiandae commodi ipsam voluptatem dolores. Itaque libero rerum praesentium tenetur magni. Omnis minus adipisci aliquam neque repudiandae suscipit ut. Dolor deleniti sed.\"]"], ["created_at", "2014-09-22 18:53:51.331918"], ["name", "contract_4a4b07c7"], ["title", "Non aut reprehenderit deserunt rerum error iusto nisi."], ["updated_at", "2014-09-22 18:53:51.331918"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.336002"], ["updated_at", "2014-09-22 18:53:51.336002"]]  (4.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.341442"], ["updated_at", "2014-09-22 18:53:51.341442"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_14930ec0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quo quia sit. Sunt nemo iure in. Est qui ipsam sapiente et.\", \"Recusandae rerum vitae. Quia tempore assumenda labore consequatur aut nam. Non earum quia eos qui voluptas reprehenderit dignissimos. Ea exercitationem enim.\"]"], ["created_at", "2014-09-22 18:53:51.344002"], ["name", "contract_14930ec0"], ["title", "Consequatur architecto alias dolor rerum doloremque quidem."], ["updated_at", "2014-09-22 18:53:51.344002"]]  (3.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.350302"], ["updated_at", "2014-09-22 18:53:51.350302"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.351901"], ["updated_at", "2014-09-22 18:53:51.351901"]]  (5.8ms) commit transaction  (0.0ms) begin transaction 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_8216033b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates vel et est. Tempore quae maiores ipsam occaecati est sunt. Itaque ducimus vitae non velit animi. Nemo laudantium magni.\", \"Et omnis culpa eos aliquam. Nihil temporibus assumenda inventore occaecati quae veniam nihil. Voluptas nam maxime. Assumenda nihil quidem iste eum natus voluptas. Enim delectus vero ea dolorem rem rerum.\"]"], ["created_at", "2014-09-22 18:53:51.359709"], ["name", "contract_8216033b"], ["title", "Fugiat sunt sit aliquam modi accusamus blanditiis quo."], ["updated_at", "2014-09-22 18:53:51.359709"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:53:51.363411"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:53:51.363411"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/39 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.367389"], ["updated_at", "2014-09-22 18:53:51.367389"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.368898"], ["updated_at", "2014-09-22 18:53:51.368898"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_d445704b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste accusamus maxime et eligendi nisi. Laboriosam saepe porro. Deleniti quas iste eaque quia et tempora doloremque.\", \"Aut pariatur aut voluptatem sed quae. Voluptatem atque magni neque qui ex ipsam. Voluptatem quia maxime aut. Ipsa voluptas voluptas.\"]"], ["created_at", "2014-09-22 18:53:51.378592"], ["name", "contract_d445704b"], ["title", "Sapiente ut est."], ["updated_at", "2014-09-22 18:53:51.378592"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d445704b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_d445704b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:53:51.386839"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 9ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.393071"], ["updated_at", "2014-09-22 18:53:51.393071"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.394971"], ["updated_at", "2014-09-22 18:53:51.394971"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_929159a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta consequatur esse et eos ut. Ut perferendis ipsam reprehenderit exercitationem. Laudantium aspernatur veniam minus vitae non ut. Quidem culpa odit nobis velit illum est officia. Ipsam dolorem aperiam sequi laboriosam.\", \"Harum dolorum tempora vel et. Laboriosam adipisci qui dolorem rem ducimus facilis possimus. Fugit enim alias vero quae ut. Ullam porro nulla sint et et labore adipisci.\"]"], ["created_at", "2014-09-22 18:53:51.398230"], ["name", "contract_929159a4"], ["title", "Eum nam quia natus itaque quam ea et."], ["updated_at", "2014-09-22 18:53:51.398230"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_929159a4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_929159a4') LIMIT 1 FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:53:51.402510"], ["version", 1]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_929159a4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_929159a4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:53:51.410946"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.416913"], ["updated_at", "2014-09-22 18:53:51.416913"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.418924"], ["updated_at", "2014-09-22 18:53:51.418924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b6381330') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel non repellat voluptatem facere hic. Tempora et voluptates. Ut in nihil placeat adipisci ipsa. Quia corrupti non.\", \"Provident consectetur perferendis qui reiciendis deleniti. Sed et eum at cum eligendi aut reiciendis. Incidunt molestiae aut illum culpa aut doloremque quo. Aliquid eos quae explicabo enim et iusto. Illo voluptas et sunt quo.\"]"], ["created_at", "2014-09-22 18:53:51.422234"], ["name", "contract_b6381330"], ["title", "Ipsa quod consequatur."], ["updated_at", "2014-09-22 18:53:51.422234"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 42 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:53:51.427533"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/42 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.432634"], ["updated_at", "2014-09-22 18:53:51.432634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.434212"], ["updated_at", "2014-09-22 18:53:51.434212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d6c67c9f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel ipsum nesciunt. Vel nobis est eveniet architecto. Numquam earum officiis. Tenetur aut culpa natus ab laborum.\", \"Recusandae consequatur aut. Quam animi asperiores eaque modi porro et. Explicabo odio quam ut qui. Vel non sit est.\"]"], ["created_at", "2014-09-22 18:53:51.437358"], ["name", "contract_d6c67c9f"], ["title", "Deserunt ut quibusdam dolorum ut rerum est ut."], ["updated_at", "2014-09-22 18:53:51.437358"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3, 42, 13, 10, 7, 4, 2, 37, 34, 30, 27, 22, 21, 36, 29, 23, 26, 38, 25, 41, 16, 33, 31, 32, 19, 18, 20, 40, 43, 28, 15, 24, 1, 17, 39) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.445810"], ["updated_at", "2014-09-22 18:53:51.445810"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.448818"], ["updated_at", "2014-09-22 18:53:51.448818"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_476c6d2a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat quas unde. Rerum id reprehenderit voluptates voluptatibus. Voluptatem dolores aut. Et voluptatem quidem est.\", \"Facere et labore et sit a officia praesentium. Molestias nulla perspiciatis. Ipsa facere quia laboriosam illo quidem rerum consequatur. Tempore a sint neque corporis cum.\"]"], ["created_at", "2014-09-22 18:53:51.453492"], ["name", "contract_476c6d2a"], ["title", "Quis sint qui magni suscipit eaque ipsam."], ["updated_at", "2014-09-22 18:53:51.453492"]]  (9.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.470209"], ["updated_at", "2014-09-22 18:53:51.470209"]]  (24.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.495933"], ["updated_at", "2014-09-22 18:53:51.495933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_815d9583') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid et tempora sed voluptatem. Corrupti vitae possimus ab omnis. In quam qui impedit. Qui blanditiis quam cumque quidem delectus. Quia minima voluptas.\", \"Occaecati consequatur odio impedit. Provident voluptatum corrupti numquam. Facere voluptates vel accusamus repudiandae. Incidunt dignissimos voluptatem laboriosam molestiae velit repudiandae. Dolor sequi necessitatibus.\"]"], ["created_at", "2014-09-22 18:53:51.498871"], ["name", "contract_815d9583"], ["title", "Neque error magnam ut perspiciatis qui ipsam ipsa."], ["updated_at", "2014-09-22 18:53:51.498871"]]  (8.4ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.512050"], ["updated_at", "2014-09-22 18:53:51.512050"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.514236"], ["updated_at", "2014-09-22 18:53:51.514236"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_4ad30787') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit tenetur a aut unde dignissimos consequatur. Hic sed esse est. Ut quis exercitationem non. Id doloribus voluptatem incidunt voluptas exercitationem. Odio dignissimos totam doloremque.\", \"Saepe eveniet sit totam occaecati nam. Qui et est saepe numquam ut. Ratione culpa non voluptatibus quisquam nesciunt. Rem non velit vitae excepturi. Et quaerat voluptatum tenetur.\"]"], ["created_at", "2014-09-22 18:53:51.518118"], ["name", "contract_4ad30787"], ["title", "Voluptas voluptas in dolor."], ["updated_at", "2014-09-22 18:53:51.518118"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 1ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.525724"], ["updated_at", "2014-09-22 18:53:51.525724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:53:51.528226"], ["updated_at", "2014-09-22 18:53:51.528226"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cb04a3ad') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ex cupiditate deleniti quas. Dolorum aut assumenda qui. Harum perspiciatis doloribus occaecati nihil vel. Ducimus et tempora velit dolorum eum.\", \"Id odit a soluta et. Quibusdam nostrum corporis repellendus et asperiores optio laboriosam. Rerum ullam cum modi aut. Natus architecto quis dolore voluptatem perspiciatis. Fugit qui ut laborum accusamus rerum quidem.\"]"], ["created_at", "2014-09-22 18:53:51.531618"], ["name", "contract_cb04a3ad"], ["title", "Amet unde et occaecati aut rerum illo."], ["updated_at", "2014-09-22 18:53:51.531618"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.069045"], ["updated_at", "2014-09-22 18:56:46.069045"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.076176"], ["updated_at", "2014-09-22 18:56:46.076176"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.082749"], ["updated_at", "2014-09-22 18:56:46.082749"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.084452"], ["updated_at", "2014-09-22 18:56:46.084452"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.102094"], ["updated_at", "2014-09-22 18:56:46.102094"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.103810"], ["updated_at", "2014-09-22 18:56:46.103810"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_33908ea6') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus est ipsa hic maiores. Facilis eos quod voluptas iste. A quo temporibus sit nihil atque quia.\", \"Officia quos eum beatae. Sit voluptatem natus et ut ad sapiente repellat. Dolore sint et similique odio sequi et. Aperiam facilis laborum repellat.\"]"], ["created_at", "2014-09-22 18:56:46.326831"], ["name", "contract_33908ea6"], ["title", "Eaque magnam dolor sit itaque aliquam eius dolorum."], ["updated_at", "2014-09-22 18:56:46.326831"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_33908ea6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_33908ea6') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:56:46.337820"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.343865"], ["updated_at", "2014-09-22 18:56:46.343865"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:56:46.347171"], ["updated_at", "2014-09-22 18:56:46.347171"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"1"} Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.361821"], ["updated_at", "2014-09-22 18:56:46.361821"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.363788"], ["updated_at", "2014-09-22 18:56:46.363788"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d6bf6fe7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt soluta laborum nisi ratione voluptatem vero. Quidem alias vel voluptatum aut suscipit sit. Minus quod ut sapiente veniam similique dolor. Enim et eaque quidem voluptatem quaerat animi. Est recusandae earum.\", \"Aperiam repellendus eius sunt. Omnis enim a facere aut. Totam rem ut. Consectetur unde omnis est consequuntur. Accusantium voluptas blanditiis porro ut.\"]"], ["created_at", "2014-09-22 18:56:46.367046"], ["name", "contract_d6bf6fe7"], ["title", "Eius magni at in non."], ["updated_at", "2014-09-22 18:56:46.367046"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d6bf6fe7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_d6bf6fe7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:56:46.370792"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.373458"], ["updated_at", "2014-09-22 18:56:46.373458"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:56:46.375868"], ["updated_at", "2014-09-22 18:56:46.375868"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.382512"], ["updated_at", "2014-09-22 18:56:46.382512"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.384361"], ["updated_at", "2014-09-22 18:56:46.384361"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_31f9f041') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil recusandae dolorum voluptatem. Aliquid nemo eum. Omnis commodi atque est voluptates qui. Veniam repudiandae est labore in optio nulla. Enim placeat reprehenderit voluptate.\", \"Iusto autem molestiae. Dolor nesciunt veniam voluptatibus commodi non dolorum. Consequuntur ducimus nam quia. Quia amet in.\"]"], ["created_at", "2014-09-22 18:56:46.387435"], ["name", "contract_31f9f041"], ["title", "Aut laboriosam distinctio aut culpa vel fugit."], ["updated_at", "2014-09-22 18:56:46.387435"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_31f9f041"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_31f9f041') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:56:46.390618"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.393233"], ["updated_at", "2014-09-22 18:56:46.393233"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-22 18:56:46.395373"], ["updated_at", "2014-09-22 18:56:46.395373"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.404166"], ["updated_at", "2014-09-22 18:56:46.404166"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.405797"], ["updated_at", "2014-09-22 18:56:46.405797"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_132f6de6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed voluptatem molestias deserunt earum. Tenetur ut sequi. In recusandae sit. Aut dolorem dolores ad in sunt doloremque sed. Dolor ex a et quia incidunt.\", \"Provident harum quae laborum quia non perspiciatis soluta. Omnis delectus qui nobis. Sint sit et occaecati iusto amet. Cum sequi voluptates qui officia molestiae. Dicta quos necessitatibus iste et amet.\"]"], ["created_at", "2014-09-22 18:56:46.409125"], ["name", "contract_132f6de6"], ["title", "Error rerum autem odit sit."], ["updated_at", "2014-09-22 18:56:46.409125"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_132f6de6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_132f6de6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:56:46.412239"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.414908"], ["updated_at", "2014-09-22 18:56:46.414908"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:56:46.416982"], ["updated_at", "2014-09-22 18:56:46.416982"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"4"} Completed 500 Internal Server Error in 7ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.427297"], ["updated_at", "2014-09-22 18:56:46.427297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.428884"], ["updated_at", "2014-09-22 18:56:46.428884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f265ecff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse eos et aut cum quis ipsum. Beatae ut optio. Quis voluptatem sequi quod cupiditate laudantium nesciunt. Quidem debitis consequatur voluptatem.\", \"Doloribus quibusdam doloremque iste voluptatem velit in. Non dolore ipsa. Aut eius inventore eaque esse dolores impedit.\"]"], ["created_at", "2014-09-22 18:56:46.432125"], ["name", "contract_f265ecff"], ["title", "Omnis id aut voluptatibus."], ["updated_at", "2014-09-22 18:56:46.432125"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f265ecff"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_f265ecff') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:56:46.435673"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.439159"], ["updated_at", "2014-09-22 18:56:46.439159"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:56:46.441778"], ["updated_at", "2014-09-22 18:56:46.441778"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"5"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"5"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.446367"], ["updated_at", "2014-09-22 18:56:46.446367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.448401"], ["updated_at", "2014-09-22 18:56:46.448401"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e3d4d045') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor aperiam et rem. Est aliquid et pariatur autem atque repellendus. Ipsam nesciunt reiciendis a consequuntur. Et labore sed ipsa. Blanditiis doloremque sit.\", \"Recusandae eveniet quis velit. Sunt facilis qui magni quibusdam qui. Velit corrupti accusamus libero fugiat. Unde voluptates quisquam laborum quis est molestias nihil. Sed nostrum non.\"]"], ["created_at", "2014-09-22 18:56:46.452149"], ["name", "contract_e3d4d045"], ["title", "Consequuntur reprehenderit quis laboriosam porro non ex ut."], ["updated_at", "2014-09-22 18:56:46.452149"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e3d4d045"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_e3d4d045') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:56:46.455840"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.458518"], ["updated_at", "2014-09-22 18:56:46.458518"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-22 18:56:46.461338"], ["updated_at", "2014-09-22 18:56:46.461338"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Redirected to http://test.host/fine_print/contracts/6/signatures Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.472697"], ["updated_at", "2014-09-22 18:56:46.472697"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.474392"], ["updated_at", "2014-09-22 18:56:46.474392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_94ba9282') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque qui eaque magni. Totam et ducimus enim. Est amet laborum corrupti sint aliquid aut. Voluptas alias nemo beatae sed a. Provident atque dignissimos explicabo sed.\", \"Fugit eum quam inventore in reprehenderit odio fuga. Ut nulla aut cumque numquam unde. Eos aut nemo.\"]"], ["created_at", "2014-09-22 18:56:46.477598"], ["name", "contract_94ba9282"], ["title", "Minus saepe eum officia sed fuga."], ["updated_at", "2014-09-22 18:56:46.477598"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_94ba9282"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_94ba9282') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:56:46.481164"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.484164"], ["updated_at", "2014-09-22 18:56:46.484164"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:56:46.486572"], ["updated_at", "2014-09-22 18:56:46.486572"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.492063"], ["updated_at", "2014-09-22 18:56:46.492063"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.493460"], ["updated_at", "2014-09-22 18:56:46.493460"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0a82cbc3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis minima voluptatem quia soluta enim amet. Qui quasi voluptatem. Maiores illum ipsum laboriosam cumque quo sapiente. Est voluptates reprehenderit non corrupti. Id repellendus dolorem consequatur dolorem modi et.\", \"Iste fugiat quos rerum. Magni non recusandae deleniti voluptas. Omnis ut nihil est sed omnis mollitia. Molestias qui rem ut reprehenderit non.\"]"], ["created_at", "2014-09-22 18:56:46.496420"], ["name", "contract_0a82cbc3"], ["title", "Suscipit ea deleniti nostrum placeat."], ["updated_at", "2014-09-22 18:56:46.496420"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0a82cbc3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_0a82cbc3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:56:46.499394"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.501754"], ["updated_at", "2014-09-22 18:56:46.501754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:56:46.503813"], ["updated_at", "2014-09-22 18:56:46.503813"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur ut enim. Nemo et cupiditate. Expedita laudantium illo et et distinctio.\", \"Animi consequatur quis atque eum iure et. Delectus voluptates est ad inventore. Tempora hic et suscipit unde. Perspiciatis nam blanditiis eius magnam fuga sit rerum.\"]"], ["created_at", "2014-09-22 18:56:46.509948"], ["name", "alpha"], ["title", "At et consequatur dignissimos illum aut nulla accusamus."], ["updated_at", "2014-09-22 18:56:46.509948"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:56:46.512857"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo ex id. Debitis omnis voluptas labore itaque et qui placeat. Nemo natus error libero quis quia. Dolor quo sapiente numquam incidunt sequi impedit voluptas. Enim eum autem laboriosam dolores.\", \"Aut voluptatum aspernatur ad. Magnam omnis et consequatur aut qui. Esse possimus temporibus ut molestias. Ab ut consectetur ut. Tempore inventore sint excepturi qui aut eius.\"]"], ["created_at", "2014-09-22 18:56:46.516357"], ["name", "beta"], ["title", "Odio et harum."], ["updated_at", "2014-09-22 18:56:46.516357"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:56:46.519179"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.521498"], ["updated_at", "2014-09-22 18:56:46.521498"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:56:46.524029"], ["updated_at", "2014-09-22 18:56:46.524029"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:56:46.526710"], ["updated_at", "2014-09-22 18:56:46.526710"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:56:46.528973"], ["name", "alpha"], ["title", "At et consequatur dignissimos illum aut nulla accusamus."], ["updated_at", "2014-09-22 18:56:46.528973"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:56:46.532663"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut rerum labore harum voluptate adipisci. Non quisquam iste suscipit nihil velit laudantium omnis. Dicta est iusto unde excepturi aperiam corrupti.\", \"Excepturi suscipit nam non. Ut iste molestiae laudantium odio. Assumenda tempore voluptatem quisquam blanditiis sit voluptatibus autem.\"]"], ["created_at", "2014-09-22 18:56:46.539249"], ["name", "alpha"], ["title", "Itaque repellat a."], ["updated_at", "2014-09-22 18:56:46.539249"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:56:46.542309"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore dolor corrupti est temporibus enim iusto a. Cumque voluptatum a sunt harum temporibus. Voluptatibus error non. Minima sed assumenda numquam. Consequatur laboriosam eos et tenetur in autem.\", \"Nesciunt dolor vel at perspiciatis ab. Aliquid distinctio tenetur qui omnis odit. Minima est delectus.\"]"], ["created_at", "2014-09-22 18:56:46.545621"], ["name", "beta"], ["title", "Molestiae voluptas tempore autem officiis nihil qui."], ["updated_at", "2014-09-22 18:56:46.545621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:56:46.548711"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.550920"], ["updated_at", "2014-09-22 18:56:46.550920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 18:56:46.553462"], ["updated_at", "2014-09-22 18:56:46.553462"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-22 18:56:46.555839"], ["updated_at", "2014-09-22 18:56:46.555839"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:56:46.558021"], ["name", "alpha"], ["title", "Itaque repellat a."], ["updated_at", "2014-09-22 18:56:46.558021"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:56:46.561241"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-22 18:56:46.583646"], ["updated_at", "2014-09-22 18:56:46.583646"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nemo nulla aliquid laudantium. Ut voluptate ut id. Consequatur odit sit eligendi hic ut. Repellendus harum at.\", \"Occaecati animi laboriosam qui ut. Veniam omnis itaque ipsa accusantium et sunt tempore. A perspiciatis est rerum pariatur saepe. Cupiditate asperiores in qui.\"]"], ["created_at", "2014-09-22 18:56:46.596999"], ["name", "alpha"], ["title", "Vel quibusdam ullam itaque est ea quis aliquam."], ["updated_at", "2014-09-22 18:56:46.596999"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:56:46.600207"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis totam magnam quo iure ab. Expedita placeat perferendis quibusdam rerum. Quis aut nisi sit harum. Perferendis laudantium vitae quia commodi voluptate.\", \"Dicta itaque culpa fugiat doloribus aut aspernatur velit. Aspernatur repellendus in quas corrupti amet aut. Illo repudiandae doloribus quia molestiae aut quibusdam. Est ut cumque. Sit vitae repellendus quaerat deserunt.\"]"], ["created_at", "2014-09-22 18:56:46.603526"], ["name", "beta"], ["title", "Commodi aut in dolorum est doloremque perspiciatis."], ["updated_at", "2014-09-22 18:56:46.603526"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:56:46.606444"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.608650"], ["updated_at", "2014-09-22 18:56:46.608650"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-22 18:56:46.611163"], ["updated_at", "2014-09-22 18:56:46.611163"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 18:56:46.613574"], ["updated_at", "2014-09-22 18:56:46.613574"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:56:46.615826"], ["name", "alpha"], ["title", "Vel quibusdam ullam itaque est ea quis aliquam."], ["updated_at", "2014-09-22 18:56:46.615826"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:56:46.619070"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero porro earum ad dolores odio omnis. Iusto magnam omnis corrupti minima eius voluptate. Porro ut sed rerum officia assumenda repellat et.\", \"Vel expedita sed enim hic soluta cupiditate quisquam. Eos rem et. Odit voluptatem qui eaque nobis. Officia excepturi iure occaecati amet dicta ipsa.\"]"], ["created_at", "2014-09-22 18:56:46.625649"], ["name", "alpha"], ["title", "Aut et similique."], ["updated_at", "2014-09-22 18:56:46.625649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:56:46.628649"], ["version", 7]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam laudantium eligendi. Fugit at dolores nemo laboriosam. Molestiae sunt quae quia corrupti nihil. Sunt praesentium non qui est aut.\", \"Veniam maxime incidunt amet ut fugiat. Voluptatem quas dignissimos pariatur. Nam quaerat unde ut qui.\"]"], ["created_at", "2014-09-22 18:56:46.632256"], ["name", "beta"], ["title", "Fugit et aspernatur accusamus quo."], ["updated_at", "2014-09-22 18:56:46.632256"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-22 18:56:46.635667"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.637950"], ["updated_at", "2014-09-22 18:56:46.637950"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-22 18:56:46.640659"], ["updated_at", "2014-09-22 18:56:46.640659"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-22 18:56:46.643056"], ["updated_at", "2014-09-22 18:56:46.643056"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:56:46.645254"], ["name", "alpha"], ["title", "Aut et similique."], ["updated_at", "2014-09-22 18:56:46.645254"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:56:46.648291"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.653081"], ["updated_at", "2014-09-22 18:56:46.653081"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.654550"], ["updated_at", "2014-09-22 18:56:46.654550"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1308b9b7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui possimus minima inventore hic adipisci qui pariatur. Soluta sint nobis. Magnam et et ullam neque sunt. Eius voluptates fugiat incidunt quis. Et harum aperiam ex vero aliquid adipisci quis.\", \"Est dolorum maiores. Assumenda maxime rem ullam qui officia commodi. Pariatur consequuntur aliquam sequi non. Nobis et officia est excepturi dolorem. Accusamus dolor odit aliquid impedit quisquam.\"]"], ["created_at", "2014-09-22 18:56:46.657173"], ["name", "contract_1308b9b7"], ["title", "Et beatae consequatur quis aspernatur reiciendis in magni."], ["updated_at", "2014-09-22 18:56:46.657173"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 21 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:56:46.662144"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/21 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.667264"], ["updated_at", "2014-09-22 18:56:46.667264"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.668768"], ["updated_at", "2014-09-22 18:56:46.668768"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e57d6a45') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et sit et voluptate consequuntur ducimus nemo perferendis. Occaecati iusto dolores quidem ut labore fugiat. Illo voluptate enim beatae. Dolore unde exercitationem expedita tenetur dolorem voluptates. Aut sequi facere sit quam autem.\", \"Sapiente velit qui neque qui sed commodi. Reprehenderit dicta aut rem sunt provident architecto. Sit enim expedita nesciunt.\"]"], ["created_at", "2014-09-22 18:56:46.671304"], ["name", "contract_e57d6a45"], ["title", "Aut reprehenderit inventore nemo repellat laudantium est dolor."], ["updated_at", "2014-09-22 18:56:46.671304"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.675210"], ["updated_at", "2014-09-22 18:56:46.675210"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.676721"], ["updated_at", "2014-09-22 18:56:46.676721"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5566e521') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque aliquam dolorem. Nobis ut eligendi. Impedit et ad inventore quis. Dolorum nemo tempore. Tempore et porro ducimus aut sed.\", \"Ducimus et quia eos impedit aspernatur dolorum. Ut aut et voluptate veritatis enim. Voluptatem occaecati quod. Voluptas exercitationem beatae ratione.\"]"], ["created_at", "2014-09-22 18:56:46.679251"], ["name", "contract_5566e521"], ["title", "Iste molestiae aut esse minus deserunt odit omnis."], ["updated_at", "2014-09-22 18:56:46.679251"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9, 21, 19, 16, 13, 10, 8, 4, 3, 1, 23, 7, 2, 6, 22, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.686764"], ["updated_at", "2014-09-22 18:56:46.686764"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.688441"], ["updated_at", "2014-09-22 18:56:46.688441"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7421e622') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam voluptas aliquid voluptates nihil quam. Quasi esse fuga beatae consequatur architecto incidunt. Sint minima animi.\", \"Aut unde consectetur pariatur et cumque laboriosam. Quisquam enim officia sapiente enim. Voluptatem quibusdam impedit autem aspernatur nemo laudantium corrupti.\"]"], ["created_at", "2014-09-22 18:56:46.691187"], ["name", "contract_7421e622"], ["title", "Ut quae esse sit voluptatem nisi quibusdam."], ["updated_at", "2014-09-22 18:56:46.691187"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.696143"], ["updated_at", "2014-09-22 18:56:46.696143"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.698039"], ["updated_at", "2014-09-22 18:56:46.698039"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8344fefb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sit qui a adipisci voluptatibus voluptates at. Reprehenderit consequatur esse voluptatibus officiis cum molestiae ab. Et ipsam itaque cum aut. Et ut mollitia repellat iste.\", \"Rerum quia pariatur mollitia consequuntur. Officia rerum laborum non odit. Autem libero debitis.\"]"], ["created_at", "2014-09-22 18:56:46.700866"], ["name", "contract_8344fefb"], ["title", "In officiis omnis dolor repellendus."], ["updated_at", "2014-09-22 18:56:46.700866"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8344fefb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_8344fefb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:56:46.703908"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.709000"], ["updated_at", "2014-09-22 18:56:46.709000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.710529"], ["updated_at", "2014-09-22 18:56:46.710529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c89bc3ef') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet officia vel eos ducimus. Ut consequuntur voluptatem dolores a sapiente. Quisquam enim rerum qui. Voluptatum sapiente rerum sunt sint sequi.\", \"Ipsum id voluptas ducimus labore. Provident ut ut illum hic possimus tempora. Cumque unde quibusdam deserunt eaque cum nemo cupiditate. Rem est nostrum. Ut impedit omnis.\"]"], ["created_at", "2014-09-22 18:56:46.713197"], ["name", "contract_c89bc3ef"], ["title", "Non illo excepturi quo."], ["updated_at", "2014-09-22 18:56:46.713197"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.717679"], ["updated_at", "2014-09-22 18:56:46.717679"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.719145"], ["updated_at", "2014-09-22 18:56:46.719145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_55b700fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel aspernatur et enim dolores dolores est. Iusto rerum quia id ipsam saepe. Quia officia dolor vel. Qui et quos consequuntur iure dolores.\", \"Modi excepturi et laborum odit porro enim enim. Atque repellendus suscipit. At officia porro ut vel.\"]"], ["created_at", "2014-09-22 18:56:46.721700"], ["name", "contract_55b700fa"], ["title", "Voluptates quia totam eligendi quisquam blanditiis modi."], ["updated_at", "2014-09-22 18:56:46.721700"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.725477"], ["updated_at", "2014-09-22 18:56:46.725477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.726905"], ["updated_at", "2014-09-22 18:56:46.726905"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2bfff9e0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eveniet vitae consequatur. Voluptates deserunt sit itaque dolores quia. Odio eum aut voluptas.\", \"Quia rerum corporis. Veritatis accusamus impedit soluta. Consequatur quia aliquid qui eligendi perspiciatis repellat illum. Quidem quos qui quo. Reprehenderit saepe ut veniam fugit ex.\"]"], ["created_at", "2014-09-22 18:56:46.729390"], ["name", "contract_2bfff9e0"], ["title", "Quae ut ut eos."], ["updated_at", "2014-09-22 18:56:46.729390"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.734216"], ["updated_at", "2014-09-22 18:56:46.734216"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.735913"], ["updated_at", "2014-09-22 18:56:46.735913"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a77d8e7d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime et consequatur et sapiente eveniet occaecati. Earum eaque sit necessitatibus ut fuga voluptatem. Ab reiciendis enim amet vero architecto fuga modi. Doloremque aliquid aliquam et ipsam provident molestiae autem.\", \"Eum dicta magni nisi molestiae. Dolore nostrum earum iste vel eos ipsa aut. Dolore reiciendis laborum aut.\"]"], ["created_at", "2014-09-22 18:56:46.738589"], ["name", "contract_a77d8e7d"], ["title", "Aut qui occaecati fugiat magni excepturi quia itaque."], ["updated_at", "2014-09-22 18:56:46.738589"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a77d8e7d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_a77d8e7d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:56:46.741652"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.747487"], ["updated_at", "2014-09-22 18:56:46.747487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.748988"], ["updated_at", "2014-09-22 18:56:46.748988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_4b6e1910') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis deleniti provident expedita voluptas et non reprehenderit. Accusamus ut voluptatum facere neque est consectetur. Est aut architecto aspernatur nulla vel voluptas. Nihil deleniti similique officiis velit exercitationem quia et.\", \"Omnis vitae aut quibusdam. Facere quod enim velit exercitationem dolorum. Provident est dicta enim. Sint voluptatem neque minus. Autem nostrum suscipit aperiam assumenda labore et rerum.\"]"], ["created_at", "2014-09-22 18:56:46.751577"], ["name", "contract_4b6e1910"], ["title", "In qui deserunt voluptas."], ["updated_at", "2014-09-22 18:56:46.751577"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.758877"], ["updated_at", "2014-09-22 18:56:46.758877"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.760449"], ["updated_at", "2014-09-22 18:56:46.760449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7e0ccfdc') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sint vero eaque enim quas deserunt nihil. Consequatur reiciendis ullam a ratione. Magnam est voluptatem commodi. Soluta corrupti rerum quis.\", \"Voluptate neque aperiam quia pariatur. Similique quis et tempora saepe et illo mollitia. Nobis nam ipsam impedit molestias voluptatibus aut.\"]"], ["created_at", "2014-09-22 18:56:46.762970"], ["name", "contract_7e0ccfdc"], ["title", "Vero qui maxime aut similique."], ["updated_at", "2014-09-22 18:56:46.762970"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.769011"], ["updated_at", "2014-09-22 18:56:46.769011"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.770477"], ["updated_at", "2014-09-22 18:56:46.770477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1c00135c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum iure quaerat. Quia facere libero vel enim. Recusandae et molestiae atque hic et quidem. Quos ratione molestiae saepe cupiditate ut reiciendis qui. Qui saepe sit facilis distinctio et.\", \"Quia quisquam vero fugit aut non nam. Reprehenderit aperiam quia quo et voluptas animi sed. Quo autem provident voluptates sit. Sed similique sapiente perspiciatis culpa.\"]"], ["created_at", "2014-09-22 18:56:46.773131"], ["name", "contract_1c00135c"], ["title", "Similique veniam dignissimos est eum voluptate excepturi."], ["updated_at", "2014-09-22 18:56:46.773131"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.776902"], ["updated_at", "2014-09-22 18:56:46.776902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.778348"], ["updated_at", "2014-09-22 18:56:46.778348"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1ea82d0d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt vel animi. Qui dicta quaerat voluptatum. Qui illo qui. Quam blanditiis exercitationem. Dignissimos commodi non praesentium.\", \"Eius ipsum est error. Est non tempora fugiat neque autem velit. Voluptas omnis suscipit distinctio est sapiente deserunt rerum. Quod est voluptas sequi eos alias fugit.\"]"], ["created_at", "2014-09-22 18:56:46.781541"], ["name", "contract_1ea82d0d"], ["title", "Dolor voluptatem quibusdam asperiores vel voluptatem delectus."], ["updated_at", "2014-09-22 18:56:46.781541"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1ea82d0d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_1ea82d0d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:56:46.786625"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.790842"], ["updated_at", "2014-09-22 18:56:46.790842"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.792441"], ["updated_at", "2014-09-22 18:56:46.792441"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_c45e31b7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi maiores a. Est sed deserunt maiores quam. Corporis in molestias culpa inventore. Architecto sequi dolores reiciendis officia. Qui soluta culpa vitae porro.\", \"Rerum et beatae. Et rerum totam vero sequi sint. Rerum voluptas incidunt nesciunt eos. Doloribus consequatur rerum alias fugit doloremque. Veritatis itaque tempora et accusantium quibusdam consequatur.\"]"], ["created_at", "2014-09-22 18:56:46.795052"], ["name", "contract_c45e31b7"], ["title", "Ut sed aut veritatis totam ipsa debitis adipisci."], ["updated_at", "2014-09-22 18:56:46.795052"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.800528"], ["updated_at", "2014-09-22 18:56:46.800528"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.802300"], ["updated_at", "2014-09-22 18:56:46.802300"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_1e2bbbf7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi aut nemo et placeat magni sed. Sed ipsa dolore. Asperiores sit exercitationem. Temporibus porro dicta. Quisquam nobis voluptas cumque itaque rerum.\", \"Sed aspernatur maxime vitae est. Quia sed quidem voluptates suscipit est nisi reiciendis. Harum et itaque dolore nihil ratione. Non explicabo nostrum amet fugiat sapiente soluta. Dicta maiores incidunt facere pariatur eveniet.\"]"], ["created_at", "2014-09-22 18:56:46.805003"], ["name", "contract_1e2bbbf7"], ["title", "Quas eius minus cumque tempore."], ["updated_at", "2014-09-22 18:56:46.805003"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1e2bbbf7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_1e2bbbf7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:56:46.808145"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1e2bbbf7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_1e2bbbf7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:56:46.814018"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.818452"], ["updated_at", "2014-09-22 18:56:46.818452"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.819910"], ["updated_at", "2014-09-22 18:56:46.819910"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b071c7e7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium est dolores dolor. Odio et vero omnis in. Tempora quasi aperiam ab facilis. Deleniti eius ullam ratione maiores. Magnam saepe esse optio reiciendis delectus sint.\", \"Aut ipsa eaque ipsum enim temporibus. Incidunt ut maiores harum itaque aut fugiat qui. Autem quia doloribus sit minima quam est. Molestiae explicabo deserunt. Porro quis sed voluptates necessitatibus.\"]"], ["created_at", "2014-09-22 18:56:46.822534"], ["name", "contract_b071c7e7"], ["title", "Labore consequatur harum molestiae reiciendis qui autem."], ["updated_at", "2014-09-22 18:56:46.822534"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.827746"], ["updated_at", "2014-09-22 18:56:46.827746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.829205"], ["updated_at", "2014-09-22 18:56:46.829205"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_071edb81') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia et explicabo qui incidunt nam optio libero. Repellat enim et quia laudantium voluptatem expedita eligendi. Nemo doloribus aut omnis est quibusdam qui porro. Harum assumenda consequatur eius eum rerum ea natus. Veniam ut dolore dolor.\", \"Temporibus omnis commodi voluptate debitis dolores. Totam reprehenderit tenetur blanditiis. Ipsa perferendis id eaque maiores consequatur.\"]"], ["created_at", "2014-09-22 18:56:46.831829"], ["name", "contract_071edb81"], ["title", "Facilis labore id adipisci in sapiente dolor."], ["updated_at", "2014-09-22 18:56:46.831829"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_071edb81"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_071edb81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:56:46.834910"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_071edb81' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.841678"], ["updated_at", "2014-09-22 18:56:46.841678"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.843211"], ["updated_at", "2014-09-22 18:56:46.843211"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_0409c2a7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores nobis enim et sit voluptatem modi. Consequatur neque eveniet consequatur et. Eius nobis sint rerum.\", \"Deserunt voluptates aut numquam iusto quod. Dolorem et non. Sed voluptas sit fugiat cum corrupti.\"]"], ["created_at", "2014-09-22 18:56:46.845709"], ["name", "contract_0409c2a7"], ["title", "Est voluptatem eos hic eligendi."], ["updated_at", "2014-09-22 18:56:46.845709"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:56:46.848996"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:56:46.848996"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/39 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction 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_6c2875f7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam nisi sunt consequatur labore. Fuga sint rerum et modi in doloremque cum. Voluptate et aut temporibus laudantium.\", \"Architecto nesciunt quia ad sunt numquam et. Facere sunt asperiores. Necessitatibus cum maxime earum sit. Ut molestiae sit possimus.\"]"], ["created_at", "2014-09-22 18:56:46.853224"], ["name", "contract_6c2875f7"], ["title", "Beatae tenetur nulla dolor distinctio est possimus error."], ["updated_at", "2014-09-22 18:56:46.853224"]]  (1.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c2875f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_6c2875f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:56:46.858153"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c2875f7"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6c2875f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_6c2875f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:56:46.870808"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fd7c23fa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod veritatis eos. Harum aliquam incidunt voluptas. Et ducimus quidem voluptates earum aut eum.\", \"Voluptas natus mollitia ratione vel officiis. Quo sed molestias aliquid. Quidem qui et minus alias saepe commodi aut.\"]"], ["created_at", "2014-09-22 18:56:46.874858"], ["name", "contract_fd7c23fa"], ["title", "Excepturi praesentium velit cumque necessitatibus."], ["updated_at", "2014-09-22 18:56:46.874858"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fd7c23fa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_fd7c23fa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:56:46.878022"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_fd7c23fa' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod veritatis eos. Harum aliquam incidunt voluptas. Et ducimus quidem voluptates earum aut eum.\", \"Voluptas natus mollitia ratione vel officiis. Quo sed molestias aliquid. Quidem qui et minus alias saepe commodi aut.\"]"], ["created_at", "2014-09-22 18:56:46.881911"], ["name", "joe"], ["title", "Excepturi praesentium velit cumque necessitatibus."], ["updated_at", "2014-09-22 18:56:46.881911"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:56:46.886432"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aa7f0abe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis minima ut sed iure. Facere quo nulla. Sunt qui dolor nemo totam consectetur odit. Laborum et porro odit.\", \"Amet laborum esse id. Porro cumque enim ratione ipsam. Et quo nisi quis perferendis ad illum.\"]"], ["created_at", "2014-09-22 18:56:46.892041"], ["name", "contract_aa7f0abe"], ["title", "Enim eaque explicabo earum blanditiis."], ["updated_at", "2014-09-22 18:56:46.892041"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa7f0abe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_aa7f0abe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:56:46.895187"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.899642"], ["updated_at", "2014-09-22 18:56:46.899642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:56:46.902389"], ["updated_at", "2014-09-22 18:56:46.902389"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_aa7f0abe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa7f0abe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_aa7f0abe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction 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_b414e701') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis placeat repellendus. Repudiandae quaerat accusantium sit quia nemo libero. Hic qui facere aliquid perspiciatis ut ad qui.\", \"Commodi explicabo saepe laborum repellat libero veritatis et. Doloremque ut non aut modi odio. Voluptatem corporis eligendi velit architecto cumque ipsa.\"]"], ["created_at", "2014-09-22 18:56:46.915191"], ["name", "contract_b414e701"], ["title", "Quam labore iusto ab exercitationem iste dolorum qui."], ["updated_at", "2014-09-22 18:56:46.915191"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b414e701"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_b414e701') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:56:46.919531"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b414e701' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_b414e701') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis placeat repellendus. Repudiandae quaerat accusantium sit quia nemo libero. Hic qui facere aliquid perspiciatis ut ad qui.\", \"Commodi explicabo saepe laborum repellat libero veritatis et. Doloremque ut non aut modi odio. Voluptatem corporis eligendi velit architecto cumque ipsa.\"]"], ["created_at", "2014-09-22 18:56:46.923200"], ["name", "contract_b414e701"], ["title", "Quam labore iusto ab exercitationem iste dolorum qui."], ["updated_at", "2014-09-22 18:56:46.923200"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b414e701"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_b414e701') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:56:46.926288"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_93a5e629') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero numquam accusantium id et maiores nam. Aut natus expedita. Autem quibusdam similique quos magnam provident. Dicta et vel.\", \"Qui suscipit voluptas. Corporis sit eos qui et. Fugiat illo possimus est. Sed dolorum laboriosam beatae corporis quo et et. Ipsam nihil necessitatibus et dolores.\"]"], ["created_at", "2014-09-22 18:56:46.930683"], ["name", "contract_93a5e629"], ["title", "Molestias doloremque neque repellendus quia."], ["updated_at", "2014-09-22 18:56:46.930683"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.7ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction 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_e45a876a') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid nulla asperiores nihil accusantium non et. Illum voluptatem excepturi hic. Sed vitae vel quis ut sed aperiam corporis. Omnis dolore adipisci repudiandae aliquam unde placeat. Odit repellat distinctio molestiae provident.\", \"Culpa mollitia exercitationem. Ut repudiandae voluptatem. Et praesentium sint asperiores voluptatem sed dolorem.\"]"], ["created_at", "2014-09-22 18:56:46.937565"], ["name", "contract_e45a876a"], ["title", "Ea ut dicta deleniti qui."], ["updated_at", "2014-09-22 18:56:46.937565"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e45a876a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_e45a876a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:56:46.940888"], ["version", 1]]  (0.8ms) commit transaction  (0.5ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:56:46.945412"], ["updated_at", "2014-09-22 18:56:46.945412"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:21.917953"], ["updated_at", "2014-09-22 18:57:21.917953"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:21.925114"], ["updated_at", "2014-09-22 18:57:21.925114"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_8be12ad5') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel optio sunt. Iste suscipit voluptas quos ut quia. Ea nemo amet dolorem reiciendis exercitationem molestiae est. Dolores debitis ipsum non consequatur.\", \"Molestiae officia saepe. Saepe minus nesciunt et modi placeat maiores. Ab cumque veniam nobis error fugit unde accusantium. Non dolores alias.\"]"], ["created_at", "2014-09-22 18:57:22.155002"], ["name", "contract_8be12ad5"], ["title", "Veniam perferendis beatae incidunt aliquam ut."], ["updated_at", "2014-09-22 18:57:22.155002"]]  (1.2ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 1]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 17ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.182702"], ["updated_at", "2014-09-22 18:57:22.182702"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.184673"], ["updated_at", "2014-09-22 18:57:22.184673"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_24eb8bd4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero quae placeat et inventore et sed rerum. Nostrum aliquid esse nihil accusamus. Quis aut voluptas ratione maiores voluptatem mollitia quaerat. Veniam eveniet fugiat sit doloribus. Quia ab rerum et.\", \"Eum deserunt accusamus consequuntur consequatur eum. Temporibus at impedit nisi aut recusandae. Qui id voluptatem. Quia ab quia odio repellat velit incidunt.\"]"], ["created_at", "2014-09-22 18:57:22.188063"], ["name", "contract_24eb8bd4"], ["title", "Suscipit quo magni voluptatem non."], ["updated_at", "2014-09-22 18:57:22.188063"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.193453"], ["updated_at", "2014-09-22 18:57:22.193453"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.195249"], ["updated_at", "2014-09-22 18:57:22.195249"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1324db4b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio architecto natus et. Officia quis aut atque. Error vel esse explicabo temporibus.\", \"Nesciunt harum qui quae. Recusandae quam sint. Recusandae odio porro eum maiores voluptates voluptatibus quae.\"]"], ["created_at", "2014-09-22 18:57:22.198064"], ["name", "contract_1324db4b"], ["title", "Aut totam ut harum ipsa nesciunt pariatur excepturi."], ["updated_at", "2014-09-22 18:57:22.198064"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.202379"], ["updated_at", "2014-09-22 18:57:22.202379"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.203943"], ["updated_at", "2014-09-22 18:57:22.203943"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6870a1a5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum aperiam quibusdam sunt dolore quis architecto. Quia vero et nobis veritatis aperiam eos. Quisquam eos laudantium dolorem harum est rerum. Quidem voluptatem vero atque est quae est. Repellendus accusamus et molestiae.\", \"Ut labore temporibus officiis similique tempora qui. Quo ratione sit laudantium veniam aut. Odio beatae aspernatur ut sint modi placeat.\"]"], ["created_at", "2014-09-22 18:57:22.206690"], ["name", "contract_6870a1a5"], ["title", "Sit amet qui reprehenderit."], ["updated_at", "2014-09-22 18:57:22.206690"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.213360"], ["updated_at", "2014-09-22 18:57:22.213360"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.215032"], ["updated_at", "2014-09-22 18:57:22.215032"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_7674cbfa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi recusandae vitae veniam voluptatibus explicabo voluptas rerum. Beatae aut error ut necessitatibus. Ea explicabo sint eveniet quae. Distinctio in pariatur aut ut ipsa. Exercitationem ipsa est corrupti perspiciatis autem consequuntur.\", \"Unde odio natus autem velit nihil ad earum. A fugiat veritatis id nihil voluptatum aut exercitationem. Veritatis aut id hic saepe placeat ut. Qui commodi incidunt minus molestiae amet.\"]"], ["created_at", "2014-09-22 18:57:22.218082"], ["name", "contract_7674cbfa"], ["title", "Ut ipsum sunt."], ["updated_at", "2014-09-22 18:57:22.218082"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 5 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:57:22.224406"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/5 Completed 302 Found in 8ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.232787"], ["updated_at", "2014-09-22 18:57:22.232787"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.234811"], ["updated_at", "2014-09-22 18:57:22.234811"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_6a2e2c4d') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et doloribus qui voluptatem sed expedita vel quae. Praesentium eveniet distinctio qui similique molestiae nostrum. Aut unde tenetur. Ducimus nihil non enim. Non nulla quisquam aspernatur cum.\", \"Laudantium ut cumque alias. Dolor nihil nemo consequatur non sint ipsam. Qui similique quo.\"]"], ["created_at", "2014-09-22 18:57:22.238373"], ["name", "contract_6a2e2c4d"], ["title", "Impedit in libero eius."], ["updated_at", "2014-09-22 18:57:22.238373"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.243204"], ["updated_at", "2014-09-22 18:57:22.243204"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.244829"], ["updated_at", "2014-09-22 18:57:22.244829"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_ff712762') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure laboriosam perferendis doloribus consequatur expedita aut. Fuga provident cumque. Veniam nisi sapiente reprehenderit praesentium maiores eos.\", \"Et soluta eligendi et sed. Molestiae quae fugit facilis totam quia eos. Qui delectus illum. Dolorum necessitatibus est voluptatem.\"]"], ["created_at", "2014-09-22 18:57:22.247665"], ["name", "contract_ff712762"], ["title", "Esse nemo possimus sed ea corrupti rerum laudantium."], ["updated_at", "2014-09-22 18:57:22.247665"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.255751"], ["updated_at", "2014-09-22 18:57:22.255751"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.258035"], ["updated_at", "2014-09-22 18:57:22.258035"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_8d3e42c5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad non sequi minima facere sint quas. Accusantium et et autem commodi qui totam odit. Sunt ut velit minima quo totam. Doloribus nesciunt quia.\", \"Quis sed quo ullam eos consequatur. Vitae magnam distinctio facilis tenetur exercitationem. Molestias nam et. Voluptatem nesciunt ab voluptas.\"]"], ["created_at", "2014-09-22 18:57:22.262160"], ["name", "contract_8d3e42c5"], ["title", "Velit dolores quis impedit voluptate architecto."], ["updated_at", "2014-09-22 18:57:22.262160"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:57:22.266336"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:57:22.266336"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 4ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.270687"], ["updated_at", "2014-09-22 18:57:22.270687"]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.273750"], ["updated_at", "2014-09-22 18:57:22.273750"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6c4f4d1b') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo ipsum earum. Qui quas quae beatae quod nisi. Eos voluptatem aut et repellat quaerat.\", \"Error aut minus rem odio rerum. Sit qui et et est alias odit dolore. Perspiciatis quas maxime quo. Dolores aliquid sunt beatae ea. Illo doloremque fuga qui qui quidem.\"]"], ["created_at", "2014-09-22 18:57:22.276494"], ["name", "contract_6c4f4d1b"], ["title", "Nisi dolorem tempore dolore."], ["updated_at", "2014-09-22 18:57:22.276494"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.281906"], ["updated_at", "2014-09-22 18:57:22.281906"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.283726"], ["updated_at", "2014-09-22 18:57:22.283726"]]  (3.1ms) commit transaction  (0.0ms) begin transaction 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_1892491e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit eos ab rerum culpa sit. Dolore sint maiores. Maxime qui in magni fugiat non tempore facilis.\", \"Atque aperiam necessitatibus earum dicta minus laborum cumque. Hic et ut eaque dignissimos. Optio sit et quia in quos. Et et officia. Sint ab odit dicta impedit voluptatem.\"]"], ["created_at", "2014-09-22 18:57:22.290682"], ["name", "contract_1892491e"], ["title", "Quisquam quibusdam deleniti ut et iste saepe."], ["updated_at", "2014-09-22 18:57:22.290682"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.301465"], ["updated_at", "2014-09-22 18:57:22.301465"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.303188"], ["updated_at", "2014-09-22 18:57:22.303188"]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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_f00abdb3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est non quibusdam. Enim quaerat et distinctio provident veritatis. Impedit quia sit facilis laborum. Omnis aspernatur accusamus modi nesciunt rerum animi.\", \"Et voluptate odio nemo sint. Vel neque nesciunt iure. Asperiores omnis nam tenetur et. Dolores enim dolor quo voluptas quis velit accusantium. Eligendi fuga qui vel.\"]"], ["created_at", "2014-09-22 18:57:22.306260"], ["name", "contract_f00abdb3"], ["title", "Autem consequatur est numquam eaque amet ea nemo."], ["updated_at", "2014-09-22 18:57:22.306260"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f00abdb3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f00abdb3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:57:22.312703"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.317986"], ["updated_at", "2014-09-22 18:57:22.317986"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.319529"], ["updated_at", "2014-09-22 18:57:22.319529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e49f34bf') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi id voluptatem nam voluptatum ex. Asperiores ratione et expedita. Sit minima consequuntur placeat.\", \"Ut nemo sed omnis facere in. Aliquam aperiam nesciunt ut earum beatae illo. Maiores id veniam ea explicabo harum optio. Quas dolor quia. Ut dolore eaque quis et facilis voluptatem hic.\"]"], ["created_at", "2014-09-22 18:57:22.322330"], ["name", "contract_e49f34bf"], ["title", "Minus accusantium ducimus nihil fugit fuga consequatur quia."], ["updated_at", "2014-09-22 18:57:22.322330"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e49f34bf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_e49f34bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:57:22.325812"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e49f34bf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_e49f34bf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:57:22.331466"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.335795"], ["updated_at", "2014-09-22 18:57:22.335795"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.337214"], ["updated_at", "2014-09-22 18:57:22.337214"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_00f605c3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae minima aut quo et aliquam illum est. Illum cum labore nam dolor delectus. Ea aut et quo libero. Ipsum perferendis consequatur hic. Aut sint totam consequatur rerum quia.\", \"Numquam autem dolor sit exercitationem unde temporibus. Labore ut voluptas fuga molestiae est. Cumque enim repellendus ab qui et.\"]"], ["created_at", "2014-09-22 18:57:22.339665"], ["name", "contract_00f605c3"], ["title", "Ex neque corporis."], ["updated_at", "2014-09-22 18:57:22.339665"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00f605c3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_00f605c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:57:22.342578"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.347427"], ["updated_at", "2014-09-22 18:57:22.347427"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.348808"], ["updated_at", "2014-09-22 18:57:22.348808"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_73eca757') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse molestias ut hic rerum sint consequatur minus. Sapiente perspiciatis hic est. Fuga quae enim vel. Cum consequatur fugiat id suscipit et.\", \"Omnis quod ea sit hic velit. Dicta deserunt modi aut vero aut incidunt. Vero vitae iste qui.\"]"], ["created_at", "2014-09-22 18:57:22.351526"], ["name", "contract_73eca757"], ["title", "Aut omnis autem."], ["updated_at", "2014-09-22 18:57:22.351526"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73eca757"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_73eca757') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:57:22.354791"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_73eca757' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.361664"], ["updated_at", "2014-09-22 18:57:22.361664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.363472"], ["updated_at", "2014-09-22 18:57:22.363472"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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_68e4d13d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Debitis odio consequatur alias et pariatur dolorem. Sed dolorem voluptates sunt quod nobis velit eos. Et maxime exercitationem. Esse eum vel consequatur.\", \"Quidem sit illum neque numquam. Excepturi maxime accusantium nemo. Ut non omnis voluptas ut ex et et.\"]"], ["created_at", "2014-09-22 18:57:22.366508"], ["name", "contract_68e4d13d"], ["title", "Voluptatem id fugit magni voluptas."], ["updated_at", "2014-09-22 18:57:22.366508"]]  (4.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.375894"], ["updated_at", "2014-09-22 18:57:22.375894"]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.379827"], ["updated_at", "2014-09-22 18:57:22.379827"]]  (5.2ms) commit transaction  (0.0ms) begin transaction 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_ab1a72f6') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Saepe voluptatem rem ad tenetur modi sequi cumque. Error quidem praesentium deserunt nihil qui ut. Excepturi aperiam aut est. Aliquam temporibus nihil voluptatum porro illum iusto consequatur. Reprehenderit cupiditate esse quo voluptas et.\", \"Non voluptatum ipsa quia placeat. Ea enim ipsam. Praesentium consequatur et et.\"]"], ["created_at", "2014-09-22 18:57:22.387069"], ["name", "contract_ab1a72f6"], ["title", "In est quasi."], ["updated_at", "2014-09-22 18:57:22.387069"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ab1a72f6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_ab1a72f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:57:22.390067"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.395826"], ["updated_at", "2014-09-22 18:57:22.395826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.397425"], ["updated_at", "2014-09-22 18:57:22.397425"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_fd0fbdf2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi quis excepturi quos. Voluptas quam odit perspiciatis. Ab consequatur necessitatibus molestiae. Iure molestias consequatur et non quasi.\", \"At soluta similique est. Itaque dignissimos quia in laboriosam est soluta. Sequi quo consequuntur est facere earum natus id.\"]"], ["created_at", "2014-09-22 18:57:22.399968"], ["name", "contract_fd0fbdf2"], ["title", "Dolorem sed placeat maiores vel repellat quam."], ["updated_at", "2014-09-22 18:57:22.399968"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.405356"], ["updated_at", "2014-09-22 18:57:22.405356"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.407037"], ["updated_at", "2014-09-22 18:57:22.407037"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_d9244da7') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia voluptatibus quidem. Sunt voluptas voluptatem harum. Temporibus expedita eius tenetur et velit sapiente.\", \"Nulla consectetur omnis sit fuga sit. Soluta nostrum distinctio qui ex voluptatem modi. Soluta commodi provident eum ut eveniet numquam. Illum itaque rem sed voluptatem non delectus. Modi praesentium sed voluptatem dolorem maxime doloremque quisquam.\"]"], ["created_at", "2014-09-22 18:57:22.409807"], ["name", "contract_d9244da7"], ["title", "Omnis doloribus iste quae quaerat."], ["updated_at", "2014-09-22 18:57:22.409807"]]  (3.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 14, 3, 11, 2, 4, 16, 6, 10, 15, 8, 17, 19, 13, 12, 18, 7, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction 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_f9d4b046') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem labore iusto quis sunt porro minima et. Qui quo repudiandae. Ab autem quia et a velit sunt. Aut natus voluptas ullam aliquid aut.\", \"Facere velit voluptatum. A provident ut aspernatur. Voluptas eos dignissimos eum nihil ut.\"]"], ["created_at", "2014-09-22 18:57:22.423250"], ["name", "contract_f9d4b046"], ["title", "Deserunt numquam dolore id quis fugiat."], ["updated_at", "2014-09-22 18:57:22.423250"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction 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_db6b070f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et qui labore libero magnam nam hic iure. Quisquam architecto quas consequatur porro. Quam quia rerum aliquid omnis. Aut delectus quos enim placeat dolor.\", \"Et dolorum fugit. Dolores cum voluptatem animi nobis accusantium. Eaque temporibus perferendis ut saepe est magnam ut.\"]"], ["created_at", "2014-09-22 18:57:22.427623"], ["name", "contract_db6b070f"], ["title", "Error ipsam et."], ["updated_at", "2014-09-22 18:57:22.427623"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_db6b070f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_db6b070f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:57:22.430667"], ["version", 1]]  (5.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.439948"], ["updated_at", "2014-09-22 18:57:22.439948"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cupiditate vero nam sint et. Quas qui qui illo voluptatem. Ea dolore qui. Enim animi veniam reiciendis.\", \"Illum error quae velit repellendus eos dolor vel. Repellat corrupti et voluptatibus doloremque. Alias eius velit aut et. Est sed eligendi repellat perferendis quas. Voluptas dolorem dolores corporis est.\"]"], ["created_at", "2014-09-22 18:57:22.447340"], ["name", "alpha"], ["title", "Dolores tempora id fugit provident voluptas non dolorem."], ["updated_at", "2014-09-22 18:57:22.447340"]]  (24.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-22 18:57:22.474536"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut mollitia libero ab. Dolore autem ea. Fuga dicta rerum consequatur a. Ratione et placeat qui quia laboriosam optio.\", \"Omnis quia in id sed voluptate eum consectetur. Voluptatum nihil corrupti. Nobis repellat itaque accusantium sed quia.\"]"], ["created_at", "2014-09-22 18:57:22.477848"], ["name", "beta"], ["title", "Recusandae cum et rem doloremque ut."], ["updated_at", "2014-09-22 18:57:22.477848"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:57:22.483651"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.486625"], ["updated_at", "2014-09-22 18:57:22.486625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-22 18:57:22.489517"], ["updated_at", "2014-09-22 18:57:22.489517"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-22 18:57:22.495110"], ["updated_at", "2014-09-22 18:57:22.495110"], ["user_id", 38], ["user_type", "DummyUser"]]  (4.2ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:57:22.501513"], ["name", "alpha"], ["title", "Dolores tempora id fugit provident voluptas non dolorem."], ["updated_at", "2014-09-22 18:57:22.501513"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-22 18:57:22.504845"], ["version", 2]]  (1.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab veritatis molestiae laboriosam eveniet. Dolores nihil aut dolore. Est qui non voluptas nulla. Nisi explicabo rerum voluptates sint tempore cupiditate exercitationem. Minus maiores vitae in nihil atque ut.\", \"Quis qui ut placeat. Corporis reprehenderit voluptatibus consequatur. Quis enim atque excepturi provident labore.\"]"], ["created_at", "2014-09-22 18:57:22.512706"], ["name", "alpha"], ["title", "Iusto aut aut molestias itaque at inventore."], ["updated_at", "2014-09-22 18:57:22.512706"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-22 18:57:22.515684"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eos dolorem quisquam et corrupti nulla. Animi omnis ut molestias temporibus earum. Ipsa labore perspiciatis aut.\", \"Id accusantium voluptatem voluptates quisquam eum eos. Sit dolorem vitae. Quos ea id et voluptatem neque voluptatum. Laboriosam qui ipsam ut.\"]"], ["created_at", "2014-09-22 18:57:22.518920"], ["name", "beta"], ["title", "Debitis hic veniam voluptas ipsum vero."], ["updated_at", "2014-09-22 18:57:22.518920"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-22 18:57:22.521848"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.524020"], ["updated_at", "2014-09-22 18:57:22.524020"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-22 18:57:22.526532"], ["updated_at", "2014-09-22 18:57:22.526532"], ["user_id", 39], ["user_type", "DummyUser"]]  (2.1ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-22 18:57:22.530371"], ["updated_at", "2014-09-22 18:57:22.530371"], ["user_id", 39], ["user_type", "DummyUser"]]  (1.0ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:57:22.532880"], ["name", "alpha"], ["title", "Iusto aut aut molestias itaque at inventore."], ["updated_at", "2014-09-22 18:57:22.532880"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-22 18:57:22.535958"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum neque odit ad necessitatibus dolorem quis. Ipsam repellendus voluptatem adipisci ut rerum. Officiis nam alias.\", \"Non est nihil impedit nam enim. Ducimus delectus recusandae mollitia incidunt fugit. Soluta iusto laboriosam. Dicta rem aut suscipit.\"]"], ["created_at", "2014-09-22 18:57:22.542525"], ["name", "alpha"], ["title", "Quos consectetur iste non."], ["updated_at", "2014-09-22 18:57:22.542525"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:57:22.545707"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt exercitationem est magni ut cupiditate doloremque sit. Non repellat enim facere repellendus et quae aliquid. Nesciunt aliquid alias nostrum dolor aut. Expedita doloribus illum sapiente. Delectus voluptatibus unde non culpa praesentium reiciendis eum.\", \"Ex deserunt error maxime est velit qui ad. Atque et distinctio et ut repellendus. Vel est nam quod.\"]"], ["created_at", "2014-09-22 18:57:22.549288"], ["name", "beta"], ["title", "Sed aliquam fugiat saepe enim."], ["updated_at", "2014-09-22 18:57:22.549288"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-22 18:57:22.552845"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.555237"], ["updated_at", "2014-09-22 18:57:22.555237"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-22 18:57:22.557935"], ["updated_at", "2014-09-22 18:57:22.557935"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-22 18:57:22.560483"], ["updated_at", "2014-09-22 18:57:22.560483"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:57:22.562721"], ["name", "alpha"], ["title", "Quos consectetur iste non."], ["updated_at", "2014-09-22 18:57:22.562721"]]  (1.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-22 18:57:22.566808"], ["version", 6]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-22 18:57:22.581621"], ["updated_at", "2014-09-22 18:57:22.581621"], ["user_id", 40], ["user_type", "DummyUser"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29, 26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod et totam voluptas et soluta laudantium. Nihil inventore vero minus in sed doloremque. Aut culpa in ut veniam suscipit saepe. Quidem ut soluta praesentium quos sunt temporibus.\", \"Atque velit quas ut harum consequatur ex. Non quis sunt. Nam nihil laborum. Vero earum est autem sint harum voluptatem.\"]"], ["created_at", "2014-09-22 18:57:22.595777"], ["name", "alpha"], ["title", "Qui pariatur veritatis."], ["updated_at", "2014-09-22 18:57:22.595777"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:57:22.598850"], ["version", 7]]  (1.5ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit culpa optio aut. Eum atque consequuntur voluptatem rerum. Quisquam in ullam aspernatur beatae recusandae rem blanditiis. Aspernatur molestias minima magnam consequuntur delectus. Id dolorem aut quasi repellendus.\", \"In nostrum nihil quis officiis magnam. Inventore nihil expedita et id fugit. Nulla sunt enim impedit. Earum corrupti voluptatem suscipit dolorem ipsa in. Sit consequatur quo corrupti.\"]"], ["created_at", "2014-09-22 18:57:22.603900"], ["name", "beta"], ["title", "Ut perferendis natus voluptates modi."], ["updated_at", "2014-09-22 18:57:22.603900"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:57:22.607514"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.609821"], ["updated_at", "2014-09-22 18:57:22.609821"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-22 18:57:22.612493"], ["updated_at", "2014-09-22 18:57:22.612493"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 18:57:22.614908"], ["updated_at", "2014-09-22 18:57:22.614908"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:57:22.617174"], ["name", "alpha"], ["title", "Qui pariatur veritatis."], ["updated_at", "2014-09-22 18:57:22.617174"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:57:22.620404"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.625405"], ["updated_at", "2014-09-22 18:57:22.625405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.626865"], ["updated_at", "2014-09-22 18:57:22.626865"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_09cde4f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ratione recusandae reprehenderit optio deserunt aut. Mollitia architecto ratione est dolore. Molestiae rerum est aut veniam.\", \"Qui possimus culpa dolor nihil facilis inventore. Dolorem eaque veniam nulla quae. Modi rem voluptatem dolorem ut ipsa et.\"]"], ["created_at", "2014-09-22 18:57:22.630013"], ["name", "contract_09cde4f1"], ["title", "Non autem itaque quas."], ["updated_at", "2014-09-22 18:57:22.630013"]]  (6.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09cde4f1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_09cde4f1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:57:22.639166"], ["version", 1]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.646811"], ["updated_at", "2014-09-22 18:57:22.646811"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:57:22.648936"], ["updated_at", "2014-09-22 18:57:22.648936"], ["user_id", 44], ["user_type", "DummyUser"]]  (5.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"34"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.659057"], ["updated_at", "2014-09-22 18:57:22.659057"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.660655"], ["updated_at", "2014-09-22 18:57:22.660655"]]  (1.0ms) commit transaction  (0.0ms) begin transaction 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_91be20c1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium placeat odio et. Vel non vero dolor quia consequatur aperiam recusandae. Cum sit qui aut sed qui voluptates ea.\", \"Qui consectetur ipsa voluptatem aut quam doloremque. Eaque et dignissimos molestiae. Dolores explicabo aut tempore est.\"]"], ["created_at", "2014-09-22 18:57:22.664049"], ["name", "contract_91be20c1"], ["title", "Ipsum dolor sed."], ["updated_at", "2014-09-22 18:57:22.664049"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_91be20c1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_91be20c1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:57:22.667124"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.669564"], ["updated_at", "2014-09-22 18:57:22.669564"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 18:57:22.671596"], ["updated_at", "2014-09-22 18:57:22.671596"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"35"} Completed 500 Internal Server Error in 11ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.686794"], ["updated_at", "2014-09-22 18:57:22.686794"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.689299"], ["updated_at", "2014-09-22 18:57:22.689299"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_4f7a0fb2') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est est nesciunt autem et tempore. Voluptatibus illum reprehenderit natus consectetur. Est ut perspiciatis deleniti sequi. Natus quidem voluptas. Dolor aut omnis eveniet.\", \"Et expedita aspernatur. Blanditiis libero provident rerum. Itaque omnis omnis consequuntur quia expedita provident.\"]"], ["created_at", "2014-09-22 18:57:22.693572"], ["name", "contract_4f7a0fb2"], ["title", "Sunt laudantium nisi sit atque."], ["updated_at", "2014-09-22 18:57:22.693572"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4f7a0fb2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_4f7a0fb2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:57:22.697502"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.700252"], ["updated_at", "2014-09-22 18:57:22.700252"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:57:22.702423"], ["updated_at", "2014-09-22 18:57:22.702423"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"36"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.710367"], ["updated_at", "2014-09-22 18:57:22.710367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.711936"], ["updated_at", "2014-09-22 18:57:22.711936"]]  (1.4ms) commit transaction  (0.0ms) begin transaction 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_72c28def') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium tempore corrupti quam molestias unde. Aliquid alias molestiae delectus velit facilis sequi quo. Quia consequatur quis veritatis corrupti ut.\", \"Tempore sunt eos consequatur in. Possimus aut dolorem libero suscipit voluptas id. Exercitationem rerum nam. Magnam est quisquam voluptatum. Nihil et maiores dolores quia saepe eius qui.\"]"], ["created_at", "2014-09-22 18:57:22.715669"], ["name", "contract_72c28def"], ["title", "Delectus corrupti reprehenderit ut ut."], ["updated_at", "2014-09-22 18:57:22.715669"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72c28def"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_72c28def') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:57:22.718782"], ["version", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.721653"], ["updated_at", "2014-09-22 18:57:22.721653"]]  (2.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:57:22.725896"], ["updated_at", "2014-09-22 18:57:22.725896"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.731192"], ["updated_at", "2014-09-22 18:57:22.731192"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.732852"], ["updated_at", "2014-09-22 18:57:22.732852"]]  (5.5ms) commit transaction  (0.0ms) begin transaction 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_fa4effa8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et harum voluptatem soluta quis. Aut expedita omnis delectus qui magni ipsum mollitia. Neque odit eum natus omnis est dolorem aspernatur. Doloremque in incidunt maxime. Voluptates aut nam necessitatibus illo vitae.\", \"Officia omnis fugiat dolorem dolores ut incidunt. Hic sit et enim odio. Sunt odit quam vel nemo. Ut fuga veniam blanditiis vitae. Dolorem enim ut ut dolores occaecati aspernatur.\"]"], ["created_at", "2014-09-22 18:57:22.740768"], ["name", "contract_fa4effa8"], ["title", "Nam veniam molestias."], ["updated_at", "2014-09-22 18:57:22.740768"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fa4effa8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_fa4effa8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:57:22.744094"], ["version", 1]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.752414"], ["updated_at", "2014-09-22 18:57:22.752414"]]  (5.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 18:57:22.759957"], ["updated_at", "2014-09-22 18:57:22.759957"], ["user_id", 56], ["user_type", "DummyUser"]]  (7.1ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 14]]  (14.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Redirected to http://test.host/fine_print/contracts/38/signatures Completed 302 Found in 17ms (ActiveRecord: 15.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 14 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.787971"], ["updated_at", "2014-09-22 18:57:22.787971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.789487"], ["updated_at", "2014-09-22 18:57:22.789487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_be9a1a5f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem mollitia esse consectetur sequi. Soluta dolor quidem veniam error excepturi laudantium. Accusantium quos laborum et itaque. Quo ipsum et ab pariatur. Rerum aut voluptatem voluptas velit.\", \"Reprehenderit rem ut. Nihil optio eos nihil impedit. Ipsa repellat qui voluptatem corrupti exercitationem. Dolore doloribus qui velit quam est. Perferendis consequatur esse in in necessitatibus est suscipit.\"]"], ["created_at", "2014-09-22 18:57:22.792421"], ["name", "contract_be9a1a5f"], ["title", "Doloremque cum ratione mollitia."], ["updated_at", "2014-09-22 18:57:22.792421"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_be9a1a5f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_be9a1a5f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:57:22.795395"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.798349"], ["updated_at", "2014-09-22 18:57:22.798349"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:57:22.800549"], ["updated_at", "2014-09-22 18:57:22.800549"], ["user_id", 59], ["user_type", "DummyUser"]]  (2.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.808304"], ["updated_at", "2014-09-22 18:57:22.808304"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.809842"], ["updated_at", "2014-09-22 18:57:22.809842"]]  (5.7ms) commit transaction  (0.0ms) begin transaction 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_213eb37c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi occaecati nostrum numquam repellat nulla cum. Iusto beatae veritatis occaecati delectus commodi deserunt. Et maxime eius. In ut rerum et minima ut vitae odio. A repellat beatae quidem fugiat voluptatem.\", \"Neque quisquam amet aperiam quia porro distinctio quis. Sed sit sunt nobis tempora praesentium. Quia rerum libero possimus molestiae. Est et officia provident repellat tenetur amet.\"]"], ["created_at", "2014-09-22 18:57:22.817929"], ["name", "contract_213eb37c"], ["title", "Exercitationem libero incidunt ad aperiam dolor."], ["updated_at", "2014-09-22 18:57:22.817929"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_213eb37c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_213eb37c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:57:22.820943"], ["version", 1]]  (5.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.829178"], ["updated_at", "2014-09-22 18:57:22.829178"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:57:22.831800"], ["updated_at", "2014-09-22 18:57:22.831800"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.837209"], ["updated_at", "2014-09-22 18:57:22.837209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.838712"], ["updated_at", "2014-09-22 18:57:22.838712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_58e777b0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est qui excepturi dolore recusandae porro aliquid. Et dolor eos. Asperiores voluptas et. Voluptatibus illo vero quia rerum natus. Quas autem deleniti quos nostrum non similique.\", \"Cupiditate blanditiis similique natus ducimus qui praesentium voluptatem. Corrupti ut similique minima beatae ex qui velit. Facilis ut est veniam quae quo ducimus. Qui quae voluptas. Dicta officiis iste et cupiditate ut.\"]"], ["created_at", "2014-09-22 18:57:22.841741"], ["name", "contract_58e777b0"], ["title", "Ab quam veniam porro sapiente."], ["updated_at", "2014-09-22 18:57:22.841741"]]  (6.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58e777b0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_58e777b0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:57:22.850453"], ["version", 1]]  (23.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:22.875448"], ["updated_at", "2014-09-22 18:57:22.875448"]]  (15.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:57:22.893134"], ["updated_at", "2014-09-22 18:57:22.893134"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"41"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6017a33e') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed odio delectus aut atque. Ratione qui incidunt minima deserunt. Aut est est voluptatum pariatur commodi.\", \"Modi odit ut voluptatem et excepturi quam. Doloribus quaerat ipsa illo consequatur culpa. Dolore ut minus voluptate fuga aliquid incidunt et. Sunt numquam optio laudantium provident dolores.\"]"], ["created_at", "2014-09-22 18:57:22.908820"], ["name", "contract_6017a33e"], ["title", "Natus et et pariatur blanditiis excepturi."], ["updated_at", "2014-09-22 18:57:22.908820"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6017a33e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_6017a33e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:57:22.913902"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6017a33e"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6017a33e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_6017a33e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:57:22.920221"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ad15b2ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit porro alias minima dignissimos aut. Facilis commodi consectetur voluptas modi. Non sed vel. Mollitia laudantium repellat.\", \"Ducimus aperiam est quis mollitia. Et iste doloremque natus cumque quo distinctio. Sint officia voluptatibus similique nostrum quae dignissimos culpa. Qui voluptatum ex.\"]"], ["created_at", "2014-09-22 18:57:22.925057"], ["name", "contract_ad15b2ab"], ["title", "Ipsa expedita quas numquam est."], ["updated_at", "2014-09-22 18:57:22.925057"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ad15b2ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_ad15b2ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:57:22.929247"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ad15b2ab' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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_ad15b2ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit porro alias minima dignissimos aut. Facilis commodi consectetur voluptas modi. Non sed vel. Mollitia laudantium repellat.\", \"Ducimus aperiam est quis mollitia. Et iste doloremque natus cumque quo distinctio. Sint officia voluptatibus similique nostrum quae dignissimos culpa. Qui voluptatum ex.\"]"], ["created_at", "2014-09-22 18:57:22.933815"], ["name", "contract_ad15b2ab"], ["title", "Ipsa expedita quas numquam est."], ["updated_at", "2014-09-22 18:57:22.933815"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ad15b2ab"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.6ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_ad15b2ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:57:22.938344"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b67e9b25') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum illum exercitationem rem consequuntur soluta eius. Omnis vel omnis et expedita libero inventore. Consequatur consequatur provident facere.\", \"Excepturi similique quis illo. Consequatur aut ipsum alias pariatur. Vitae ipsum numquam rerum reprehenderit voluptatum. Aut voluptatum quis. In qui odit consequatur perferendis.\"]"], ["created_at", "2014-09-22 18:57:22.943187"], ["name", "contract_b67e9b25"], ["title", "Quia qui accusamus alias."], ["updated_at", "2014-09-22 18:57:22.943187"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b67e9b25"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_b67e9b25') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:57:22.947250"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b67e9b25' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum illum exercitationem rem consequuntur soluta eius. Omnis vel omnis et expedita libero inventore. Consequatur consequatur provident facere.\", \"Excepturi similique quis illo. Consequatur aut ipsum alias pariatur. Vitae ipsum numquam rerum reprehenderit voluptatum. Aut voluptatum quis. In qui odit consequatur perferendis.\"]"], ["created_at", "2014-09-22 18:57:22.951688"], ["name", "joe"], ["title", "Quia qui accusamus alias."], ["updated_at", "2014-09-22 18:57:22.951688"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:57:22.954752"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_238e61ab') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos laboriosam ut delectus maiores quis sed repellendus. Necessitatibus quisquam dignissimos recusandae. Perspiciatis delectus et voluptatem.\", \"Vel dolorem repellendus aperiam officia. Vero facere sit repudiandae sint eos consectetur quia. Magni quisquam quis soluta eos autem voluptatem atque.\"]"], ["created_at", "2014-09-22 18:57:22.960666"], ["name", "contract_238e61ab"], ["title", "Voluptate aut sint eligendi."], ["updated_at", "2014-09-22 18:57:22.960666"]]  (38.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_238e61ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_238e61ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:57:23.003386"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:23.008323"], ["updated_at", "2014-09-22 18:57:23.008323"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:57:23.010715"], ["updated_at", "2014-09-22 18:57:23.010715"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_238e61ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_238e61ab"]]  (0.4ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_238e61ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:23.020620"], ["updated_at", "2014-09-22 18:57:23.020620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:23.022199"], ["updated_at", "2014-09-22 18:57:23.022199"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:23.026613"], ["updated_at", "2014-09-22 18:57:23.026613"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:57:23.028416"], ["updated_at", "2014-09-22 18:57:23.028416"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction 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 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas doloribus nulla. Sapiente atque ab non quo sit. Quod in id.\", \"Exercitationem aut maiores. Sapiente amet quis qui quos similique et. Alias fugit officiis incidunt sed. Aliquam voluptate impedit consequatur cumque voluptas. At impedit sed cum nemo.\"]"], ["created_at", "2014-09-22 18:58:08.149201"], ["name", "alpha"], ["title", "Voluptas natus eveniet."], ["updated_at", "2014-09-22 18:58:08.149201"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:58:08.168748"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum qui aliquid fuga sed aut. Nobis culpa libero consequuntur et. Deleniti id accusantium repudiandae. Non cum eos vitae enim ut.\", \"Alias quas molestiae ut voluptatum doloribus. Ut et dignissimos aut ab mollitia. Incidunt ut quia dolore tenetur. Deserunt quod corrupti quis adipisci. Voluptas numquam non error iusto voluptatibus.\"]"], ["created_at", "2014-09-22 18:58:08.175850"], ["name", "beta"], ["title", "Et enim eveniet quis sit voluptatem quo aut."], ["updated_at", "2014-09-22 18:58:08.175850"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:58:08.179546"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.183301"], ["updated_at", "2014-09-22 18:58:08.183301"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:58:08.190954"], ["updated_at", "2014-09-22 18:58:08.190954"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:58:08.198207"], ["updated_at", "2014-09-22 18:58:08.198207"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:58:08.202550"], ["name", "alpha"], ["title", "Voluptas natus eveniet."], ["updated_at", "2014-09-22 18:58:08.202550"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:58:08.206056"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum laborum laboriosam nulla consectetur dignissimos nesciunt. Molestias molestiae vero dolores debitis aliquid. Expedita asperiores corrupti ut autem eius quod architecto. Quia corporis in sit eos nobis autem incidunt. Minus tempora ab aut ad voluptas facere.\", \"Id numquam nesciunt. Autem at doloremque et quia iste. Ut et et placeat.\"]"], ["created_at", "2014-09-22 18:58:08.215963"], ["name", "alpha"], ["title", "Possimus quo reiciendis assumenda."], ["updated_at", "2014-09-22 18:58:08.215963"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:58:08.219496"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem consequatur debitis adipisci. Incidunt velit distinctio laborum dolore numquam. Architecto est nam aut voluptate expedita.\", \"Consectetur libero asperiores natus accusantium harum omnis mollitia. Ut voluptas dolorum ea et enim officia molestiae. Illo iusto labore beatae nulla omnis facere. Nisi rerum fugiat velit expedita incidunt autem error. Enim nisi eaque.\"]"], ["created_at", "2014-09-22 18:58:08.223397"], ["name", "beta"], ["title", "Id qui ipsam."], ["updated_at", "2014-09-22 18:58:08.223397"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:58:08.226792"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.229703"], ["updated_at", "2014-09-22 18:58:08.229703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:58:08.232527"], ["updated_at", "2014-09-22 18:58:08.232527"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:58:08.235005"], ["updated_at", "2014-09-22 18:58:08.235005"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:58:08.237251"], ["name", "alpha"], ["title", "Possimus quo reiciendis assumenda."], ["updated_at", "2014-09-22 18:58:08.237251"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:58:08.240316"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et molestias sit autem omnis qui. Sit hic saepe id veniam velit quia. Vero rerum incidunt veritatis est. Et dolorum quaerat eos in necessitatibus vel.\", \"Repudiandae aut omnis ipsum cumque. Fugit ea dolorum iusto harum quo. Ea unde culpa.\"]"], ["created_at", "2014-09-22 18:58:08.250067"], ["name", "alpha"], ["title", "Dolor modi omnis sit et praesentium laudantium."], ["updated_at", "2014-09-22 18:58:08.250067"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:58:08.253565"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem quia placeat. Consequatur rerum cum facilis soluta eligendi. Dolorem autem sint atque pariatur.\", \"Quasi dicta provident fuga suscipit sunt consequuntur. Blanditiis aut et reprehenderit saepe ea aliquid. Unde placeat illum alias iste aut odio enim.\"]"], ["created_at", "2014-09-22 18:58:08.257439"], ["name", "beta"], ["title", "Accusamus dolor voluptatem iusto et sapiente quod iure."], ["updated_at", "2014-09-22 18:58:08.257439"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:58:08.261539"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.264289"], ["updated_at", "2014-09-22 18:58:08.264289"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:58:08.267392"], ["updated_at", "2014-09-22 18:58:08.267392"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:58:08.270075"], ["updated_at", "2014-09-22 18:58:08.270075"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:58:08.272560"], ["name", "alpha"], ["title", "Dolor modi omnis sit et praesentium laudantium."], ["updated_at", "2014-09-22 18:58:08.272560"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:58:08.275850"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est qui quo. Voluptates nam fuga adipisci. Delectus distinctio dolore beatae.\", \"Ad impedit et quod repudiandae minus et sed. Voluptatem qui beatae nihil omnis occaecati. Accusamus dignissimos ut aut ullam illum labore. Accusamus sed rem eaque aperiam sed soluta nisi.\"]"], ["created_at", "2014-09-22 18:58:08.282154"], ["name", "alpha"], ["title", "Nesciunt rerum occaecati quam autem."], ["updated_at", "2014-09-22 18:58:08.282154"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:58:08.285501"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque sequi id. Et et eveniet nulla exercitationem quia. Iure voluptas est dolores in sunt quam libero. Consequatur odio consectetur quae. Corporis dolores et necessitatibus in debitis maxime repudiandae.\", \"Aliquid et provident dicta eum atque sed. Ut aut nobis numquam tenetur accusamus asperiores. Totam eos vero officiis autem reprehenderit sit. Repudiandae provident voluptatem repellendus soluta aut libero. Porro perspiciatis tempore quisquam ut ut.\"]"], ["created_at", "2014-09-22 18:58:08.289084"], ["name", "beta"], ["title", "Deleniti animi fugit facilis aut dignissimos."], ["updated_at", "2014-09-22 18:58:08.289084"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:58:08.292255"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.294669"], ["updated_at", "2014-09-22 18:58:08.294669"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:58:08.297371"], ["updated_at", "2014-09-22 18:58:08.297371"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 18:58:08.299739"], ["updated_at", "2014-09-22 18:58:08.299739"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:58:08.301926"], ["name", "alpha"], ["title", "Nesciunt rerum occaecati quam autem."], ["updated_at", "2014-09-22 18:58:08.301926"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:58:08.304874"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-22 18:58:08.322281"], ["updated_at", "2014-09-22 18:58:08.322281"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction 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_5e6e2c44') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium eum illum id dolores saepe et at. Corrupti et aut ducimus. Sed laudantium veniam nam pariatur nostrum.\", \"Molestiae fuga dolor. Sunt soluta qui. Et vero voluptas qui. Incidunt rerum velit unde.\"]"], ["created_at", "2014-09-22 18:58:08.337260"], ["name", "contract_5e6e2c44"], ["title", "Molestiae quo est ea."], ["updated_at", "2014-09-22 18:58:08.337260"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5e6e2c44"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_5e6e2c44') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-22 18:58:08.340381"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5e6e2c44' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_5e6e2c44') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium eum illum id dolores saepe et at. Corrupti et aut ducimus. Sed laudantium veniam nam pariatur nostrum.\", \"Molestiae fuga dolor. Sunt soluta qui. Et vero voluptas qui. Incidunt rerum velit unde.\"]"], ["created_at", "2014-09-22 18:58:08.344900"], ["name", "contract_5e6e2c44"], ["title", "Molestiae quo est ea."], ["updated_at", "2014-09-22 18:58:08.344900"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5e6e2c44"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_5e6e2c44') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-22 18:58:08.349612"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e29edd96') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam architecto aperiam. Iste non quis exercitationem cum qui earum non. A expedita omnis error. Et ad consequatur laudantium ut expedita. Sed quibusdam odio nulla doloribus modi.\", \"In blanditiis laborum maiores debitis sequi ratione. Fugit voluptatum animi. At suscipit non qui ullam eum.\"]"], ["created_at", "2014-09-22 18:58:08.355124"], ["name", "contract_e29edd96"], ["title", "Commodi possimus qui velit mollitia maiores."], ["updated_at", "2014-09-22 18:58:08.355124"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e29edd96"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_e29edd96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:58:08.360475"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e29edd96"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e29edd96"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_e29edd96') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:58:08.365753"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6e2967d4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime magnam quo rerum laborum ea sunt. Repudiandae ex asperiores voluptas in. Qui qui esse quod.\", \"Et vitae soluta. Architecto odio quis non et eos. Nam in voluptate.\"]"], ["created_at", "2014-09-22 18:58:08.369398"], ["name", "contract_6e2967d4"], ["title", "Rerum est alias."], ["updated_at", "2014-09-22 18:58:08.369398"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e2967d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_6e2967d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-22 18:58:08.372538"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.376585"], ["updated_at", "2014-09-22 18:58:08.376585"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-22 18:58:08.379102"], ["updated_at", "2014-09-22 18:58:08.379102"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_6e2967d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e2967d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_6e2967d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction 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_e24f1e46') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio asperiores quibusdam. Aspernatur est beatae et earum qui voluptas. Sed mollitia eum vero. Itaque fugiat illum.\", \"Est qui reprehenderit ea aut. Eius inventore esse. Aut quia dolorem dolores odio itaque. Qui ab iusto ea.\"]"], ["created_at", "2014-09-22 18:58:08.388825"], ["name", "contract_e24f1e46"], ["title", "Quidem sit illum amet."], ["updated_at", "2014-09-22 18:58:08.388825"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e24f1e46"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_e24f1e46') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-22 18:58:08.391912"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e24f1e46' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio asperiores quibusdam. Aspernatur est beatae et earum qui voluptas. Sed mollitia eum vero. Itaque fugiat illum.\", \"Est qui reprehenderit ea aut. Eius inventore esse. Aut quia dolorem dolores odio itaque. Qui ab iusto ea.\"]"], ["created_at", "2014-09-22 18:58:08.395358"], ["name", "joe"], ["title", "Quidem sit illum amet."], ["updated_at", "2014-09-22 18:58:08.395358"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-22 18:58:08.398743"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_cb3e898a') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet repellendus sit ea. Autem ut numquam nam cumque molestias. Et dolores cumque error et. Dolor maxime amet ab. Aliquid voluptas qui et consectetur voluptas suscipit.\", \"Rerum fuga minima rem facilis. Et explicabo adipisci et voluptas ut quibusdam. Ea aut saepe. Quas quidem aspernatur porro dolore labore pariatur aut.\"]"], ["created_at", "2014-09-22 18:58:08.403094"], ["name", "contract_cb3e898a"], ["title", "Corporis iste aut sequi odit blanditiis."], ["updated_at", "2014-09-22 18:58:08.403094"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction 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_5099c3db') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta ea corrupti est. Et officiis nesciunt et neque amet suscipit assumenda. Quia aut ad nihil. Qui minima voluptatem dolor consequatur temporibus vel sit. Et voluptatum autem assumenda et mollitia ut.\", \"Ut modi dolorem nobis consequuntur facere animi velit. Fuga voluptas aut possimus minima dolorem sunt. Alias voluptates quos in iste dolorum ea. Atque pariatur nostrum repellendus. Sed rerum nisi ut.\"]"], ["created_at", "2014-09-22 18:58:08.407177"], ["name", "contract_5099c3db"], ["title", "Odio consectetur maiores atque."], ["updated_at", "2014-09-22 18:58:08.407177"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5099c3db"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_5099c3db') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:58:08.410420"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.412828"], ["updated_at", "2014-09-22 18:58:08.412828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.417713"], ["updated_at", "2014-09-22 18:58:08.417713"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.419057"], ["updated_at", "2014-09-22 18:58:08.419057"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_68cde14c') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima corrupti est officia aut recusandae vitae. Incidunt omnis dolor accusantium sint quisquam sint et. Eveniet numquam fugiat.\", \"Ab hic non aut dignissimos sapiente molestiae soluta. Molestiae omnis sequi. Dolorem eveniet expedita velit itaque.\"]"], ["created_at", "2014-09-22 18:58:08.421657"], ["name", "contract_68cde14c"], ["title", "Ut exercitationem id."], ["updated_at", "2014-09-22 18:58:08.421657"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_68cde14c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_68cde14c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:58:08.429414"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.434553"], ["updated_at", "2014-09-22 18:58:08.434553"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.436116"], ["updated_at", "2014-09-22 18:58:08.436116"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_aa26f7c9') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem at molestias. Assumenda voluptatibus est quis molestias animi. Doloremque exercitationem blanditiis rerum est omnis consequuntur. Accusamus dolor quia molestias quasi tempore est et.\", \"Ullam sint ut ut recusandae. Temporibus ut vel laboriosam quis dignissimos aut quisquam. Delectus numquam sint. Minima pariatur sunt cum. Sed expedita totam.\"]"], ["created_at", "2014-09-22 18:58:08.438918"], ["name", "contract_aa26f7c9"], ["title", "Sed a modi alias."], ["updated_at", "2014-09-22 18:58:08.438918"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.447676"], ["updated_at", "2014-09-22 18:58:08.447676"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.449328"], ["updated_at", "2014-09-22 18:58:08.449328"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_dae41ff8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Excepturi et rerum consequatur nihil. Ratione qui et ad qui sapiente quos voluptate. Veritatis voluptatem sapiente. Ullam eum accusamus repellat aut.\", \"Quaerat rem occaecati aliquid. Eveniet sint facere voluptatem illum. Dolore doloribus ut suscipit neque nihil. Aut et porro. Sit quas dolore tempore.\"]"], ["created_at", "2014-09-22 18:58:08.452072"], ["name", "contract_dae41ff8"], ["title", "Architecto ipsam et."], ["updated_at", "2014-09-22 18:58:08.452072"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_dae41ff8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_dae41ff8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-22 18:58:08.455155"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.461153"], ["updated_at", "2014-09-22 18:58:08.461153"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.462826"], ["updated_at", "2014-09-22 18:58:08.462826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_a222792e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet earum nihil eius ut perspiciatis. Corrupti aut voluptatem. Et harum rerum temporibus sit impedit et similique. Eum sequi quia sed perspiciatis. Et sunt est doloribus.\", \"Quam libero autem vero. Et omnis molestiae quia aliquid. Sunt et voluptates laborum quia voluptatem quo. Praesentium cupiditate beatae est minus voluptatem suscipit voluptatem. Rem cumque ea quidem maxime voluptas.\"]"], ["created_at", "2014-09-22 18:58:08.465603"], ["name", "contract_a222792e"], ["title", "Sed facilis cumque est rerum."], ["updated_at", "2014-09-22 18:58:08.465603"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.470016"], ["updated_at", "2014-09-22 18:58:08.470016"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.471543"], ["updated_at", "2014-09-22 18:58:08.471543"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_5bf66504') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro voluptatem itaque. Iure tempore in omnis impedit. Aut dolore eaque.\", \"Sed tenetur unde. Quia amet quam. Harum nulla occaecati soluta magnam vero. Illum enim minima omnis voluptas velit vitae harum. Corrupti qui necessitatibus doloremque.\"]"], ["created_at", "2014-09-22 18:58:08.474287"], ["name", "contract_5bf66504"], ["title", "Magni ea error quidem eius nulla voluptas."], ["updated_at", "2014-09-22 18:58:08.474287"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.478743"], ["updated_at", "2014-09-22 18:58:08.478743"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.480625"], ["updated_at", "2014-09-22 18:58:08.480625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_77ca74d3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem omnis aperiam distinctio modi ut animi. Voluptas numquam ut debitis blanditiis. Ut sit et quibusdam ducimus inventore praesentium.\", \"Vel dolor sunt voluptas exercitationem accusantium. Sit vitae expedita velit. Nihil nulla rem velit architecto.\"]"], ["created_at", "2014-09-22 18:58:08.483894"], ["name", "contract_77ca74d3"], ["title", "Quisquam ullam quibusdam eos non."], ["updated_at", "2014-09-22 18:58:08.483894"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:58:08.488078"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.493509"], ["updated_at", "2014-09-22 18:58:08.493509"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.495012"], ["updated_at", "2014-09-22 18:58:08.495012"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2d3e5883') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam accusantium sit occaecati tempore. Dolores maiores placeat adipisci nam modi ut corrupti. Velit commodi modi incidunt. Sed tenetur voluptas nesciunt similique.\", \"Praesentium numquam molestiae nisi aliquam aperiam delectus. Ea sunt sit ut. Nulla assumenda placeat ut. Non perferendis eligendi quod suscipit mollitia et. Suscipit tempore sint molestiae.\"]"], ["created_at", "2014-09-22 18:58:08.497727"], ["name", "contract_2d3e5883"], ["title", "Quia dolorem nostrum tempora ipsa omnis."], ["updated_at", "2014-09-22 18:58:08.497727"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 26, 11, 8, 5, 2, 27, 20, 25, 14, 13, 21, 16, 24, 22, 19, 23, 17, 15, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.505025"], ["updated_at", "2014-09-22 18:58:08.505025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.506646"], ["updated_at", "2014-09-22 18:58:08.506646"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_8e952773') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut eaque ipsum a necessitatibus molestiae molestias rerum. Aut quae sunt inventore dolor velit repudiandae qui. Esse quia officiis eveniet.\", \"Ratione vero sit et velit quibusdam. Quo et veritatis perspiciatis consequatur aspernatur. Et totam aut dolores facilis.\"]"], ["created_at", "2014-09-22 18:58:08.510103"], ["name", "contract_8e952773"], ["title", "Dolores sed fugit ipsum sunt."], ["updated_at", "2014-09-22 18:58:08.510103"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.516184"], ["updated_at", "2014-09-22 18:58:08.516184"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.517766"], ["updated_at", "2014-09-22 18:58:08.517766"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_e98dd3f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In optio fugit ut est totam quia. Voluptatem laboriosam dolorum cupiditate sed blanditiis dolorem. Laborum quo impedit aliquid. Quaerat voluptatibus in asperiores.\", \"Dolores veritatis velit ab. Et dolores sint officiis pariatur quod dolor reiciendis. Qui quis illo deleniti. Quia aliquam et atque rem. Ea dolorem iusto qui suscipit asperiores voluptatibus eum.\"]"], ["created_at", "2014-09-22 18:58:08.520520"], ["name", "contract_e98dd3f1"], ["title", "Magni deserunt doloremque."], ["updated_at", "2014-09-22 18:58:08.520520"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:58:08.523969"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:58:08.523969"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.527281"], ["updated_at", "2014-09-22 18:58:08.527281"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.528769"], ["updated_at", "2014-09-22 18:58:08.528769"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_278ed0e3') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sint et ut ipsam illum. Aut quisquam hic quae mollitia. Ad et sunt quod alias labore molestiae. Qui molestias et quidem et. Ab ea quas.\", \"Enim et et nulla. Ea sapiente ab nulla. Quia non qui eligendi ab placeat.\"]"], ["created_at", "2014-09-22 18:58:08.531237"], ["name", "contract_278ed0e3"], ["title", "Tempora cupiditate similique nam velit itaque."], ["updated_at", "2014-09-22 18:58:08.531237"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_278ed0e3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_278ed0e3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:58:08.534363"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_278ed0e3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.541481"], ["updated_at", "2014-09-22 18:58:08.541481"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.543347"], ["updated_at", "2014-09-22 18:58:08.543347"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_05e68d68') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et nulla placeat aut deleniti sapiente. Asperiores corrupti totam vel laboriosam voluptatem qui eos. Id eos aut incidunt impedit.\", \"Officiis porro quidem voluptatem. Ullam et quidem mollitia fuga. Non vel amet. Voluptatem dolore hic. Est vitae eveniet quo delectus unde cum ut.\"]"], ["created_at", "2014-09-22 18:58:08.546283"], ["name", "contract_05e68d68"], ["title", "Magni voluptatem aut optio vitae omnis alias eum."], ["updated_at", "2014-09-22 18:58:08.546283"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.550538"], ["updated_at", "2014-09-22 18:58:08.550538"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.552018"], ["updated_at", "2014-09-22 18:58:08.552018"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ca9dc145') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt eos modi ea architecto suscipit et nesciunt. Et illo aliquid sapiente voluptatum deleniti sunt. Quia sed consequuntur quod cupiditate aut aperiam recusandae. Harum et eius non a.\", \"Excepturi molestiae eos laudantium sed necessitatibus. Sed veritatis ut nostrum. Quidem pariatur in ipsum.\"]"], ["created_at", "2014-09-22 18:58:08.554604"], ["name", "contract_ca9dc145"], ["title", "Quasi animi in nam est."], ["updated_at", "2014-09-22 18:58:08.554604"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.558545"], ["updated_at", "2014-09-22 18:58:08.558545"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.560230"], ["updated_at", "2014-09-22 18:58:08.560230"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e57185a4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit dolorem aut ratione et unde iusto accusantium. Aut voluptas aliquam. Et voluptatem quis. Corrupti in ex animi voluptatibus esse.\", \"Velit perferendis sint et est dolores. Sit delectus voluptatem. Fugit et unde reprehenderit. Dicta minima similique placeat.\"]"], ["created_at", "2014-09-22 18:58:08.563233"], ["name", "contract_e57185a4"], ["title", "Commodi inventore ea exercitationem."], ["updated_at", "2014-09-22 18:58:08.563233"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e57185a4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_e57185a4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:58:08.566322"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.572197"], ["updated_at", "2014-09-22 18:58:08.572197"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.573693"], ["updated_at", "2014-09-22 18:58:08.573693"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_ff93e7e0') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit veniam omnis possimus illo iure delectus. Atque cumque corporis voluptas. Maxime rerum dolores.\", \"Ea suscipit exercitationem incidunt. Veritatis et ipsum illo quo possimus. Placeat perferendis repellat fugit sint consequatur nihil. Suscipit nihil quam ut et.\"]"], ["created_at", "2014-09-22 18:58:08.577100"], ["name", "contract_ff93e7e0"], ["title", "Numquam voluptatibus nesciunt et voluptatem et aut rem."], ["updated_at", "2014-09-22 18:58:08.577100"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ff93e7e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_ff93e7e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:58:08.580575"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ff93e7e0"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_ff93e7e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:58:08.588242"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.594585"], ["updated_at", "2014-09-22 18:58:08.594585"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.596652"], ["updated_at", "2014-09-22 18:58:08.596652"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_441ce20e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut rerum veritatis. Occaecati et recusandae non doloremque in excepturi nostrum. Optio iure consequatur quo et nostrum occaecati.\", \"Nobis sed et facere inventore impedit fugiat. Quis et et in sed. Optio sapiente dignissimos ad.\"]"], ["created_at", "2014-09-22 18:58:08.599974"], ["name", "contract_441ce20e"], ["title", "Eius minima non."], ["updated_at", "2014-09-22 18:58:08.599974"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 36]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 36]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 36 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.607774"], ["updated_at", "2014-09-22 18:58:08.607774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.609253"], ["updated_at", "2014-09-22 18:58:08.609253"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_ec2084f1') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim in aspernatur accusamus. Blanditiis error voluptatibus non illum similique quos quaerat. Temporibus veritatis in. Dolorem nesciunt unde aut ut provident.\", \"Occaecati et temporibus dolores facilis quo porro. Ipsum quam culpa repudiandae sed voluptatem. Amet reiciendis a voluptatibus maxime nihil magni qui. Incidunt molestias autem et. Quam recusandae quos ipsa perspiciatis.\"]"], ["created_at", "2014-09-22 18:58:08.611807"], ["name", "contract_ec2084f1"], ["title", "Aspernatur nesciunt nihil similique in."], ["updated_at", "2014-09-22 18:58:08.611807"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.616695"], ["updated_at", "2014-09-22 18:58:08.616695"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.618205"], ["updated_at", "2014-09-22 18:58:08.618205"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_83c19d94') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ut dicta unde odit iure sed. Rem quis eos autem. Ut consequatur voluptatem quis repellat sit. Cum aliquid tempora et ipsam numquam quis maxime. Rerum sunt nam.\", \"Et voluptatum molestiae quaerat soluta dolor temporibus. Unde sed totam. Nesciunt ea maiores. Assumenda maxime corrupti cupiditate ipsa accusamus natus nulla. Reprehenderit esse nemo.\"]"], ["created_at", "2014-09-22 18:58:08.620885"], ["name", "contract_83c19d94"], ["title", "Ut architecto adipisci illo qui."], ["updated_at", "2014-09-22 18:58:08.620885"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.625932"], ["updated_at", "2014-09-22 18:58:08.625932"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.627449"], ["updated_at", "2014-09-22 18:58:08.627449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_47444651') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam quasi sint deserunt porro sed nulla blanditiis. Ipsum voluptas cumque sapiente suscipit maxime illo quasi. Ad et tempora cum est. Et aut dolor. Minima non odio quam sed unde.\", \"Reiciendis voluptas placeat suscipit dolorem velit. Iusto quaerat in quos cumque vero. In nostrum a molestias.\"]"], ["created_at", "2014-09-22 18:58:08.630118"], ["name", "contract_47444651"], ["title", "Aut nostrum odio a perferendis consectetur quia est."], ["updated_at", "2014-09-22 18:58:08.630118"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.637336"], ["updated_at", "2014-09-22 18:58:08.637336"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.639060"], ["updated_at", "2014-09-22 18:58:08.639060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cc966f54') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis illum ut nam facere consequuntur asperiores et. Dolores ducimus eum sunt aliquam qui. Et aut beatae exercitationem reiciendis ut. Assumenda quas non eum. Est dolor similique qui nobis doloremque veritatis.\", \"Ipsum ut laudantium voluptas tempora quas ut quos. Enim temporibus voluptatem voluptas accusamus illum aspernatur ipsum. Eos omnis culpa.\"]"], ["created_at", "2014-09-22 18:58:08.642202"], ["name", "contract_cc966f54"], ["title", "Facere veritatis non unde quidem doloremque."], ["updated_at", "2014-09-22 18:58:08.642202"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc966f54"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_cc966f54') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-22 18:58:08.645345"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.647807"], ["updated_at", "2014-09-22 18:58:08.647807"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-22 18:58:08.649904"], ["updated_at", "2014-09-22 18:58:08.649904"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"40"} Completed 500 Internal Server Error in 11ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.665161"], ["updated_at", "2014-09-22 18:58:08.665161"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.666921"], ["updated_at", "2014-09-22 18:58:08.666921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_ab1a2be2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et atque aut voluptas. Perspiciatis ducimus occaecati. Sequi id sunt est illum.\", \"Qui distinctio placeat omnis quas. Excepturi explicabo consequatur omnis aut. Dolore quibusdam autem iste nemo harum cupiditate.\"]"], ["created_at", "2014-09-22 18:58:08.670021"], ["name", "contract_ab1a2be2"], ["title", "Aliquam et voluptate repellendus sapiente sed pariatur."], ["updated_at", "2014-09-22 18:58:08.670021"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ab1a2be2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_ab1a2be2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:58:08.673364"], ["version", 1]]  (0.6ms) commit transaction  (0.2ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.676450"], ["updated_at", "2014-09-22 18:58:08.676450"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-22 18:58:08.678903"], ["updated_at", "2014-09-22 18:58:08.678903"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.685522"], ["updated_at", "2014-09-22 18:58:08.685522"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.687204"], ["updated_at", "2014-09-22 18:58:08.687204"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_815df508') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti nihil rem neque. Consectetur repellat aut. Qui nihil sed. Quidem facere cumque accusantium. In et suscipit doloremque maiores quibusdam nobis.\", \"Molestiae qui dolor. Unde itaque delectus qui voluptatem et. Cum incidunt similique consequatur assumenda non minus labore. Sequi ducimus deserunt hic impedit ea. Sed fugit rerum voluptatem magnam omnis eveniet et.\"]"], ["created_at", "2014-09-22 18:58:08.690323"], ["name", "contract_815df508"], ["title", "Veritatis ullam est sunt incidunt magni et."], ["updated_at", "2014-09-22 18:58:08.690323"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_815df508"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_815df508') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:58:08.693469"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.695937"], ["updated_at", "2014-09-22 18:58:08.695937"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-22 18:58:08.698065"], ["updated_at", "2014-09-22 18:58:08.698065"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.707402"], ["updated_at", "2014-09-22 18:58:08.707402"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.709410"], ["updated_at", "2014-09-22 18:58:08.709410"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_15867b9d') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam repellat delectus qui voluptas accusamus minus. Modi dignissimos sint sunt. Facilis nam et illum rerum voluptatem maxime. Sit iste perferendis quia quis rerum voluptatem vitae. Veritatis perspiciatis quidem.\", \"Quia deserunt labore quas enim. Quis ullam voluptas vero molestiae voluptatem. Sed possimus ducimus amet facere vel eos cupiditate.\"]"], ["created_at", "2014-09-22 18:58:08.718936"], ["name", "contract_15867b9d"], ["title", "Debitis dolor et possimus ut."], ["updated_at", "2014-09-22 18:58:08.718936"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_15867b9d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_15867b9d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:58:08.723233"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.727140"], ["updated_at", "2014-09-22 18:58:08.727140"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-22 18:58:08.729593"], ["updated_at", "2014-09-22 18:58:08.729593"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.734733"], ["updated_at", "2014-09-22 18:58:08.734733"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.736280"], ["updated_at", "2014-09-22 18:58:08.736280"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ef484c16') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus occaecati voluptatem sit quidem ab. Repudiandae est corporis qui incidunt pariatur. Modi enim est.\", \"Tempore est consequatur. Explicabo nihil quis et commodi nam. Soluta qui eos.\"]"], ["created_at", "2014-09-22 18:58:08.739928"], ["name", "contract_ef484c16"], ["title", "Blanditiis dolorem ut nulla iste."], ["updated_at", "2014-09-22 18:58:08.739928"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef484c16"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_ef484c16') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:58:08.744255"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.747033"], ["updated_at", "2014-09-22 18:58:08.747033"]]  (0.6ms) commit transaction  (0.5ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-22 18:58:08.750127"], ["updated_at", "2014-09-22 18:58:08.750127"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.758617"], ["updated_at", "2014-09-22 18:58:08.758617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.760627"], ["updated_at", "2014-09-22 18:58:08.760627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_6077051f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta atque quasi. Aut et qui. Et aliquam quis vel expedita exercitationem. Qui nihil id recusandae labore ut hic.\", \"Velit quo eveniet. Temporibus quia sed ullam necessitatibus. Accusantium in et sit et eius reprehenderit placeat. Aut dolorem impedit quos asperiores et est aliquid.\"]"], ["created_at", "2014-09-22 18:58:08.765004"], ["name", "contract_6077051f"], ["title", "Consectetur expedita quod."], ["updated_at", "2014-09-22 18:58:08.765004"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6077051f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_6077051f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:58:08.768885"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.772494"], ["updated_at", "2014-09-22 18:58:08.772494"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 60) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-22 18:58:08.774797"], ["updated_at", "2014-09-22 18:58:08.774797"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.782303"], ["updated_at", "2014-09-22 18:58:08.782303"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.784581"], ["updated_at", "2014-09-22 18:58:08.784581"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_84eb7ed3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum amet esse iure est neque cum in. Sit qui maxime harum. Dolores quisquam debitis odit officia. Quae ad quo optio dolor numquam accusamus.\", \"Est soluta quisquam cumque incidunt in. Dolor assumenda ullam maiores minus rerum molestiae. Facilis exercitationem alias. Placeat nihil in non est inventore quis similique.\"]"], ["created_at", "2014-09-22 18:58:08.789073"], ["name", "contract_84eb7ed3"], ["title", "Nisi nobis voluptatem veritatis ut ratione ut."], ["updated_at", "2014-09-22 18:58:08.789073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_84eb7ed3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_84eb7ed3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:58:08.792889"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.796586"], ["updated_at", "2014-09-22 18:58:08.796586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-22 18:58:08.800020"], ["updated_at", "2014-09-22 18:58:08.800020"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.805625"], ["updated_at", "2014-09-22 18:58:08.805625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.807218"], ["updated_at", "2014-09-22 18:58:08.807218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f9f6868e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem animi nihil dolorem debitis et. Occaecati ad beatae voluptas provident quo. Dolore corrupti quaerat in. Voluptatem est voluptatem quasi itaque maxime voluptatum omnis. Maiores consectetur sit rerum nemo dolorem nihil.\", \"Nobis eveniet odio ut ut error et sed. Beatae omnis dolore fuga suscipit. Eum optio dicta distinctio quaerat.\"]"], ["created_at", "2014-09-22 18:58:08.811149"], ["name", "contract_f9f6868e"], ["title", "Adipisci corrupti velit."], ["updated_at", "2014-09-22 18:58:08.811149"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9f6868e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_f9f6868e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:58:08.818841"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.822005"], ["updated_at", "2014-09-22 18:58:08.822005"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:58:08.825036"], ["updated_at", "2014-09-22 18:58:08.825036"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 18]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] Redirected to http://test.host/fine_print/contracts/47/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 18 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.834343"], ["updated_at", "2014-09-22 18:58:08.834343"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.836170"], ["updated_at", "2014-09-22 18:58:08.836170"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.841885"], ["updated_at", "2014-09-22 18:58:08.841885"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:58:08.843470"], ["updated_at", "2014-09-22 18:58:08.843470"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:14.862372"], ["updated_at", "2014-09-22 18:59:14.862372"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:14.869469"], ["updated_at", "2014-09-22 18:59:14.869469"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:14.879049"], ["updated_at", "2014-09-22 18:59:14.879049"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:14.881024"], ["updated_at", "2014-09-22 18:59:14.881024"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis quod et vero voluptatibus quasi beatae sit. Libero quia eos optio suscipit occaecati dolorem. Rerum laborum nobis pariatur. Impedit iste est nostrum culpa est.\", \"Nam perspiciatis sunt. Facilis iure odio maxime et cupiditate aut ratione. Nihil dolor excepturi perspiciatis maiores. Doloribus illum dolorem ea facere laboriosam quod nihil.\"]"], ["created_at", "2014-09-22 18:59:15.113050"], ["name", "alpha"], ["title", "Voluptatem at doloribus."], ["updated_at", "2014-09-22 18:59:15.113050"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-22 18:59:15.132376"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A sequi sunt dolor deserunt aperiam velit. Et architecto ipsum aut magni. Eveniet quia quos et omnis. Necessitatibus fuga quia sed aut tenetur.\", \"Quisquam odio amet. Quis explicabo et dolorem commodi. Provident esse sit in odio magnam dolorum eum. Corrupti velit qui reprehenderit hic. Voluptatem nobis non.\"]"], ["created_at", "2014-09-22 18:59:15.139473"], ["name", "beta"], ["title", "Expedita itaque nam ratione sint."], ["updated_at", "2014-09-22 18:59:15.139473"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-22 18:59:15.142942"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.145753"], ["updated_at", "2014-09-22 18:59:15.145753"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-22 18:59:15.151473"], ["updated_at", "2014-09-22 18:59:15.151473"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-22 18:59:15.157022"], ["updated_at", "2014-09-22 18:59:15.157022"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:59:15.161992"], ["name", "alpha"], ["title", "Voluptatem at doloribus."], ["updated_at", "2014-09-22 18:59:15.161992"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-22 18:59:15.165677"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius aliquam velit et ad et rerum. Qui aliquid amet error ipsam nulla accusamus. Repellat tenetur quia. Sint iure blanditiis eaque eos sequi.\", \"Quod quis impedit occaecati labore illo minima. Quia odio ut. Sint enim rerum voluptatem nemo.\"]"], ["created_at", "2014-09-22 18:59:15.174865"], ["name", "alpha"], ["title", "At qui perferendis voluptatem cumque aut sed."], ["updated_at", "2014-09-22 18:59:15.174865"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-22 18:59:15.178811"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate et ut esse veniam perspiciatis ut. Iste rerum quia voluptatem explicabo excepturi illo consequatur. Dolorem dolores assumenda vel. Cum blanditiis eos cupiditate nesciunt autem ut. In pariatur adipisci occaecati.\", \"Aut aperiam consequatur voluptas magnam ut iure dolore. Dolor ut repellat at laudantium non incidunt dolorum. Exercitationem et et itaque. Assumenda qui officia tempora aut. Consequatur dolor dicta quia assumenda impedit voluptas.\"]"], ["created_at", "2014-09-22 18:59:15.182677"], ["name", "beta"], ["title", "Quidem rem saepe et."], ["updated_at", "2014-09-22 18:59:15.182677"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-22 18:59:15.185880"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.188513"], ["updated_at", "2014-09-22 18:59:15.188513"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-22 18:59:15.191328"], ["updated_at", "2014-09-22 18:59:15.191328"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-22 18:59:15.193957"], ["updated_at", "2014-09-22 18:59:15.193957"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:59:15.196402"], ["name", "alpha"], ["title", "At qui perferendis voluptatem cumque aut sed."], ["updated_at", "2014-09-22 18:59:15.196402"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-22 18:59:15.201245"], ["version", 4]]  (0.8ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident dicta molestias laboriosam ea architecto. Aut magni et voluptas reprehenderit vel. Et iusto molestiae ea excepturi. Deleniti temporibus iure qui accusantium.\", \"Debitis assumenda et veritatis laudantium a soluta. Ducimus est cupiditate rerum. Cupiditate maxime quo accusantium quidem ut ullam laudantium. Veritatis ut consequatur quo occaecati recusandae provident illo. Laboriosam delectus sed excepturi esse numquam reprehenderit.\"]"], ["created_at", "2014-09-22 18:59:15.212679"], ["name", "alpha"], ["title", "Optio adipisci et."], ["updated_at", "2014-09-22 18:59:15.212679"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-22 18:59:15.216016"], ["version", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut voluptatem autem modi repellendus. Iusto atque asperiores ipsam culpa corporis. Veritatis sit consequatur dolor voluptatibus pariatur et. Quos ratione nihil error.\", \"Accusantium deleniti doloribus corrupti expedita cupiditate. Nulla voluptatem reiciendis porro voluptate sit voluptatem. Non aut totam eius. Atque culpa quo ea temporibus.\"]"], ["created_at", "2014-09-22 18:59:15.220760"], ["name", "beta"], ["title", "Explicabo quos fugiat repellendus dolor est atque maxime."], ["updated_at", "2014-09-22 18:59:15.220760"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-22 18:59:15.224972"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.227555"], ["updated_at", "2014-09-22 18:59:15.227555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-22 18:59:15.231163"], ["updated_at", "2014-09-22 18:59:15.231163"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-22 18:59:15.233699"], ["updated_at", "2014-09-22 18:59:15.233699"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:59:15.236060"], ["name", "alpha"], ["title", "Optio adipisci et."], ["updated_at", "2014-09-22 18:59:15.236060"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-22 18:59:15.239328"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-22 18:59:15.259816"], ["updated_at", "2014-09-22 18:59:15.259816"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction 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 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est nostrum iste deserunt nam quis aut. Laboriosam earum doloribus. Maiores quas saepe. Sequi labore corrupti illo.\", \"Cum qui omnis ad possimus rerum facere aliquam. Voluptatem eveniet libero modi et. Doloremque soluta voluptatem ut et ratione sed repellat.\"]"], ["created_at", "2014-09-22 18:59:15.273801"], ["name", "alpha"], ["title", "Quia iure voluptatibus."], ["updated_at", "2014-09-22 18:59:15.273801"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-22 18:59:15.276911"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea et blanditiis magni quia et sit. Aspernatur vel odit voluptatem et. Voluptas unde voluptatibus rem vel.\", \"Dignissimos nobis sit ratione excepturi veniam veritatis. Culpa consequuntur dolorem. Corporis illo tempore a sit.\"]"], ["created_at", "2014-09-22 18:59:15.280186"], ["name", "beta"], ["title", "Asperiores non incidunt voluptatum quos esse modi ipsa."], ["updated_at", "2014-09-22 18:59:15.280186"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-22 18:59:15.283363"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.285634"], ["updated_at", "2014-09-22 18:59:15.285634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-22 18:59:15.288204"], ["updated_at", "2014-09-22 18:59:15.288204"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-22 18:59:15.290620"], ["updated_at", "2014-09-22 18:59:15.290620"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-22 18:59:15.292879"], ["name", "alpha"], ["title", "Quia iure voluptatibus."], ["updated_at", "2014-09-22 18:59:15.292879"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-22 18:59:15.295848"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_contracts"."name" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE (("fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser')) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.303521"], ["updated_at", "2014-09-22 18:59:15.303521"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.305126"], ["updated_at", "2014-09-22 18:59:15.305126"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_6cefa8bb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti quasi quis maiores voluptate expedita. Quo ullam et voluptates illo. Magnam iure labore accusamus quia eos voluptas officiis.\", \"Quam consequatur ea sapiente numquam. Dolor dolores consequatur recusandae soluta quisquam eos. Dolorem laborum voluptatem est asperiores quisquam. Non fuga doloribus aspernatur. Magnam quo ad non aut.\"]"], ["created_at", "2014-09-22 18:59:15.308333"], ["name", "contract_6cefa8bb"], ["title", "Omnis sint veritatis nam."], ["updated_at", "2014-09-22 18:59:15.308333"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.317961"], ["updated_at", "2014-09-22 18:59:15.317961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.319757"], ["updated_at", "2014-09-22 18:59:15.319757"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_7f47d64c') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Hic optio id molestiae vel sapiente eos sint. Ea labore vero accusamus. A molestiae fugiat pariatur. Aperiam cumque incidunt eum recusandae magnam laudantium exercitationem. Maiores odit quia numquam eveniet.\", \"Suscipit consequatur voluptate et sed aut recusandae. Temporibus omnis eos assumenda officiis. Impedit omnis consequatur at dolorem quia officiis. Nostrum illum dignissimos et natus. Excepturi maiores et.\"]"], ["created_at", "2014-09-22 18:59:15.322877"], ["name", "contract_7f47d64c"], ["title", "Omnis voluptatem voluptates qui nulla."], ["updated_at", "2014-09-22 18:59:15.322877"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.330556"], ["updated_at", "2014-09-22 18:59:15.330556"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.332350"], ["updated_at", "2014-09-22 18:59:15.332350"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_78053493') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates incidunt tenetur recusandae deserunt temporibus. Et et voluptatem aliquid adipisci. Repellendus accusantium dolor expedita fuga voluptas.\", \"Ea quod voluptates molestiae vitae et aperiam. Rem nihil sequi exercitationem dolore molestias qui itaque. Nam dolorem sed in sapiente. Est ratione est voluptate sunt consequuntur. Magnam eius a.\"]"], ["created_at", "2014-09-22 18:59:15.335601"], ["name", "contract_78053493"], ["title", "Sequi totam nihil quos laudantium quasi error."], ["updated_at", "2014-09-22 18:59:15.335601"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_78053493"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_78053493') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-22 18:59:15.338957"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_78053493' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.345812"], ["updated_at", "2014-09-22 18:59:15.345812"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.347341"], ["updated_at", "2014-09-22 18:59:15.347341"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_1007c572') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod voluptatem rerum sit molestiae doloremque quia ratione. Blanditiis repudiandae assumenda. Nihil sapiente aliquam qui iste eveniet. Vero quo nam velit. Qui est ducimus est esse dignissimos doloribus voluptatum.\", \"Dicta consequatur quibusdam nam dolores. Odit molestiae culpa. Nihil repellat in similique maxime. Voluptatem quia enim ipsum aut quos. Qui voluptates ut atque rerum.\"]"], ["created_at", "2014-09-22 18:59:15.349889"], ["name", "contract_1007c572"], ["title", "Occaecati officiis doloribus."], ["updated_at", "2014-09-22 18:59:15.349889"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 16]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 16]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 16 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.360853"], ["updated_at", "2014-09-22 18:59:15.360853"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.363287"], ["updated_at", "2014-09-22 18:59:15.363287"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_0e85f707') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta accusantium ipsam voluptates. Et est excepturi quisquam omnis. Voluptatem aut deserunt dolorum aut.\", \"Animi quia repellat. Voluptatem ducimus maxime dolorem sapiente modi. Cumque id placeat perspiciatis rerum.\"]"], ["created_at", "2014-09-22 18:59:15.367361"], ["name", "contract_0e85f707"], ["title", "Ad alias sit qui soluta nesciunt blanditiis."], ["updated_at", "2014-09-22 18:59:15.367361"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.376502"], ["updated_at", "2014-09-22 18:59:15.376502"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.378775"], ["updated_at", "2014-09-22 18:59:15.378775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_458c633e') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ratione repellat ipsam aut. Enim veritatis rerum et dignissimos et ipsum. Est vero beatae. Sunt neque corporis.\", \"Consequatur ratione beatae neque et. Veritatis illo quasi laboriosam saepe et et impedit. Aut provident eos modi aut. Aut quo reiciendis enim distinctio eligendi sed.\"]"], ["created_at", "2014-09-22 18:59:15.381659"], ["name", "contract_458c633e"], ["title", "Dicta nemo maxime."], ["updated_at", "2014-09-22 18:59:15.381659"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'another_name') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 18 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-22 18:59:15.385654"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.390746"], ["updated_at", "2014-09-22 18:59:15.390746"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.392208"], ["updated_at", "2014-09-22 18:59:15.392208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_baae7b37') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae culpa nulla dicta et maiores. Nisi neque voluptates impedit rem quis. Qui eligendi rerum est qui aut explicabo. Quasi quibusdam odit molestiae. Iste nulla odit in amet.\", \"Quos ipsam labore voluptatem natus ut perspiciatis aut. Quibusdam autem ducimus ipsam consequatur at. Dolor est aut praesentium et. Iste et cupiditate facilis exercitationem architecto.\"]"], ["created_at", "2014-09-22 18:59:15.395102"], ["name", "contract_baae7b37"], ["title", "Commodi cum molestiae officiis saepe eos."], ["updated_at", "2014-09-22 18:59:15.395102"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 18, 11, 8, 5, 2, 17, 13, 15, 14, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.402221"], ["updated_at", "2014-09-22 18:59:15.402221"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.404111"], ["updated_at", "2014-09-22 18:59:15.404111"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_20499d36') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit molestiae esse perspiciatis. Quo dicta ea iure laborum est. Iure et dolore omnis in asperiores. Voluptatibus dolores vel voluptatum veniam et ut.\", \"Blanditiis a animi mollitia. Est impedit ab nesciunt eligendi necessitatibus. Odit ratione eveniet voluptatem ab ea quia omnis. Labore fuga quia accusantium culpa tenetur velit et.\"]"], ["created_at", "2014-09-22 18:59:15.406844"], ["name", "contract_20499d36"], ["title", "Vel accusamus qui consequatur modi."], ["updated_at", "2014-09-22 18:59:15.406844"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_20499d36"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_20499d36') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-22 18:59:15.411175"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.419289"], ["updated_at", "2014-09-22 18:59:15.419289"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.421247"], ["updated_at", "2014-09-22 18:59:15.421247"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_a56d9fba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia iste corrupti id. Distinctio blanditiis provident neque libero necessitatibus ut. Accusamus eos earum dolorem ut sapiente voluptas. Deserunt temporibus reprehenderit esse. Qui dolorum aspernatur iusto quod corporis aut aperiam.\", \"Est velit commodi. Ipsa quod facere vel voluptatem non odio itaque. Rem quod neque aliquam eligendi.\"]"], ["created_at", "2014-09-22 18:59:15.424522"], ["name", "contract_a56d9fba"], ["title", "Repellat quasi aperiam beatae error."], ["updated_at", "2014-09-22 18:59:15.424522"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a56d9fba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_a56d9fba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-22 18:59:15.427666"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.432479"], ["updated_at", "2014-09-22 18:59:15.432479"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.433950"], ["updated_at", "2014-09-22 18:59:15.433950"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_cafbdcce') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi qui odio sed. Ut at voluptatem consequatur. Dolorem qui aliquam saepe voluptatibus nesciunt ut rerum. Et nulla alias et. Qui tempore autem itaque tenetur deleniti sit.\", \"Ut facilis ex et assumenda quisquam atque sunt. Hic saepe officia non rerum iure. Vel ea corrupti accusantium et omnis et fugit. Fuga velit aliquam voluptatum.\"]"], ["created_at", "2014-09-22 18:59:15.437205"], ["name", "contract_cafbdcce"], ["title", "Modi dolores est dolor provident quae pariatur nobis."], ["updated_at", "2014-09-22 18:59:15.437205"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.441647"], ["updated_at", "2014-09-22 18:59:15.441647"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.443181"], ["updated_at", "2014-09-22 18:59:15.443181"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_2b9adea2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dicta accusamus placeat vel sequi. At qui quos. Quia velit odit at qui ratione maxime ut.\", \"Molestiae eligendi est aliquid. Doloribus et eum adipisci saepe. Sapiente et esse ad quo nostrum omnis. Qui eum harum qui non deserunt est. Quae animi tempora.\"]"], ["created_at", "2014-09-22 18:59:15.445793"], ["name", "contract_2b9adea2"], ["title", "Beatae occaecati amet quasi molestias ad qui aspernatur."], ["updated_at", "2014-09-22 18:59:15.445793"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.449491"], ["updated_at", "2014-09-22 18:59:15.449491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.451003"], ["updated_at", "2014-09-22 18:59:15.451003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_9a8daba4') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eaque corrupti nesciunt ab. In eligendi dolorem quis ea laborum. Non ipsa eos eius totam architecto nam.\", \"Repudiandae nulla cum magnam ratione nihil inventore. Error est laborum autem amet saepe. Sunt iusto aliquid nisi occaecati tempore repellendus. Consequuntur error maxime voluptate laboriosam.\"]"], ["created_at", "2014-09-22 18:59:15.453708"], ["name", "contract_9a8daba4"], ["title", "Est repellat nobis totam quidem dignissimos laboriosam esse."], ["updated_at", "2014-09-22 18:59:15.453708"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.458273"], ["updated_at", "2014-09-22 18:59:15.458273"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.459756"], ["updated_at", "2014-09-22 18:59:15.459756"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_525a6874') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit quasi beatae ullam impedit assumenda porro. A reprehenderit vel dolorem. Adipisci eum et cum ipsam minima totam quia. Non ipsum impedit rerum vel.\", \"Non aut fugit non ipsa aperiam. Eum iste repellat. Et sed perferendis nihil minus dolore illo.\"]"], ["created_at", "2014-09-22 18:59:15.462165"], ["name", "contract_525a6874"], ["title", "Repellat ipsam qui."], ["updated_at", "2014-09-22 18:59:15.462165"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.467138"], ["updated_at", "2014-09-22 18:59:15.467138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.468585"], ["updated_at", "2014-09-22 18:59:15.468585"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_a9fcfba0') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo natus autem deleniti tenetur voluptatem beatae. Laudantium totam veritatis rerum accusantium nobis. Vitae est suscipit ipsum laudantium molestiae exercitationem.\", \"Inventore accusamus quia iusto neque et hic saepe. Maiores rerum aut ut quia et ea odio. Consectetur quibusdam rerum ut voluptas. A tenetur sint aut non. Autem neque nulla eum consectetur ut vitae.\"]"], ["created_at", "2014-09-22 18:59:15.471031"], ["name", "contract_a9fcfba0"], ["title", "Amet magni eveniet quaerat laudantium iusto quidem."], ["updated_at", "2014-09-22 18:59:15.471031"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.474757"], ["updated_at", "2014-09-22 18:59:15.474757"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.476261"], ["updated_at", "2014-09-22 18:59:15.476261"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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_63febca7') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem vero unde magni dicta tempora veniam est. Et doloremque ullam. Incidunt iure sed neque.\", \"Ab ipsa recusandae id minima ratione. Voluptatibus ut aliquam laudantium vero accusamus. Magnam voluptatem deleniti nulla. Voluptate ea a. Aperiam quia velit est porro et est libero.\"]"], ["created_at", "2014-09-22 18:59:15.479077"], ["name", "contract_63febca7"], ["title", "Quae cupiditate dolores tenetur quis iusto."], ["updated_at", "2014-09-22 18:59:15.479077"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.483254"], ["updated_at", "2014-09-22 18:59:15.483254"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.484704"], ["updated_at", "2014-09-22 18:59:15.484704"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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_f45b3c65') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet fugiat tempora laboriosam cumque autem inventore. Corrupti sit qui minus soluta fugit. Id asperiores cupiditate eius voluptas est. In qui quo minus inventore iusto autem tenetur. Laborum dolore qui.\", \"Quos qui porro enim temporibus quia. Necessitatibus quos sed. Consequatur autem temporibus. Autem odit perferendis at blanditiis aut rerum rerum. Eos omnis debitis fuga dolores.\"]"], ["created_at", "2014-09-22 18:59:15.487704"], ["name", "contract_f45b3c65"], ["title", "Quo explicabo quam."], ["updated_at", "2014-09-22 18:59:15.487704"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f45b3c65"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_f45b3c65') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:59:15.490826"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f45b3c65"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_f45b3c65') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-22 18:59:15.496773"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.501281"], ["updated_at", "2014-09-22 18:59:15.501281"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.502832"], ["updated_at", "2014-09-22 18:59:15.502832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f8e1fbff') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident rerum qui aperiam et perferendis sunt. Dolore modi quo minima cumque maxime voluptas necessitatibus. Vel qui vitae repellendus. Et minus aut.\", \"Et eum rem voluptatem consequatur nisi ut aliquid. Sed excepturi suscipit placeat qui asperiores. Maiores alias dolores et nihil. Mollitia consequuntur praesentium culpa.\"]"], ["created_at", "2014-09-22 18:59:15.505442"], ["name", "contract_f8e1fbff"], ["title", "Neque possimus accusantium."], ["updated_at", "2014-09-22 18:59:15.505442"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction 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" = 'some_name') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-22 18:59:15.508866"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-22 18:59:15.508866"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.512095"], ["updated_at", "2014-09-22 18:59:15.512095"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.513547"], ["updated_at", "2014-09-22 18:59:15.513547"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_aa9bceca') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut optio consequatur alias ullam perspiciatis molestiae ut. Ipsa voluptate et deserunt. Architecto repellat qui nemo non voluptas dolore.\", \"Sunt mollitia ipsa et recusandae doloremque sed sit. Temporibus illum sed voluptatum. Facere officia voluptate sunt neque voluptas aspernatur ut.\"]"], ["created_at", "2014-09-22 18:59:15.515934"], ["name", "contract_aa9bceca"], ["title", "Nesciunt officiis minus."], ["updated_at", "2014-09-22 18:59:15.515934"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_aa9bceca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_aa9bceca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-22 18:59:15.521379"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.526045"], ["updated_at", "2014-09-22 18:59:15.526045"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.527504"], ["updated_at", "2014-09-22 18:59:15.527504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_f9b2b547') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam tempora voluptas. Maxime fuga optio. Et qui eum qui est distinctio. Sit doloremque provident ut dignissimos eos porro nisi.\", \"Voluptatum dolore et exercitationem facilis aspernatur. Esse quo magni. Cumque tenetur autem facere dicta accusamus. Aut et ea dolorem accusamus est provident.\"]"], ["created_at", "2014-09-22 18:59:15.530498"], ["name", "contract_f9b2b547"], ["title", "Assumenda nam ipsa incidunt rerum et aliquid nihil."], ["updated_at", "2014-09-22 18:59:15.530498"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f9b2b547"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_f9b2b547') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-22 18:59:15.533471"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.535957"], ["updated_at", "2014-09-22 18:59:15.535957"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-22 18:59:15.538085"], ["updated_at", "2014-09-22 18:59:15.538085"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"32"} Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.544051"], ["updated_at", "2014-09-22 18:59:15.544051"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.545494"], ["updated_at", "2014-09-22 18:59:15.545494"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b50fe6e8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aperiam iure eum voluptas rem fugit. Dignissimos ullam maxime. Dolorum occaecati tenetur iure quo. Qui modi ut. Et perferendis delectus repellendus.\", \"Error magni vitae beatae molestiae distinctio optio nam. Dignissimos molestias consequuntur sunt maiores ut. Facere molestiae dicta natus itaque. Minima blanditiis et ab ipsa. Ea qui velit ut est sed molestiae rerum.\"]"], ["created_at", "2014-09-22 18:59:15.548531"], ["name", "contract_b50fe6e8"], ["title", "Et et natus distinctio culpa et fugit autem."], ["updated_at", "2014-09-22 18:59:15.548531"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b50fe6e8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_b50fe6e8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-22 18:59:15.551558"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.554135"], ["updated_at", "2014-09-22 18:59:15.554135"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-22 18:59:15.556314"], ["updated_at", "2014-09-22 18:59:15.556314"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.561979"], ["updated_at", "2014-09-22 18:59:15.561979"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.563491"], ["updated_at", "2014-09-22 18:59:15.563491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_cbef1069') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam nulla ex corrupti. Tempora officiis sit quo. Nostrum occaecati incidunt sint rerum.\", \"Repellat dolorem est. Et nam deserunt sed velit enim cum enim. Minus officia quos vero rerum corrupti in blanditiis. Quo modi repudiandae est eum voluptatem. Velit aut occaecati sapiente.\"]"], ["created_at", "2014-09-22 18:59:15.566459"], ["name", "contract_cbef1069"], ["title", "Cumque est commodi rerum beatae voluptatem dolorem facere."], ["updated_at", "2014-09-22 18:59:15.566459"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cbef1069"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_cbef1069') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-22 18:59:15.569870"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.572522"], ["updated_at", "2014-09-22 18:59:15.572522"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-22 18:59:15.575426"], ["updated_at", "2014-09-22 18:59:15.575426"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.581995"], ["updated_at", "2014-09-22 18:59:15.581995"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.584055"], ["updated_at", "2014-09-22 18:59:15.584055"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_e0e87198') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas ratione quia sed magnam commodi voluptate. Non repellendus optio sed tempore rem. Facilis pariatur voluptate.\", \"Odio et voluptatem inventore debitis illum quo. Perspiciatis at quo ut. Soluta omnis dolorem iste rem officiis rerum doloremque. Magni pariatur excepturi sit et voluptatibus. Consectetur quod libero distinctio.\"]"], ["created_at", "2014-09-22 18:59:15.588118"], ["name", "contract_e0e87198"], ["title", "Eligendi numquam iste voluptatem quidem vel accusamus reprehenderit."], ["updated_at", "2014-09-22 18:59:15.588118"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e0e87198"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_e0e87198') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-22 18:59:15.591661"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.594164"], ["updated_at", "2014-09-22 18:59:15.594164"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-22 18:59:15.596470"], ["updated_at", "2014-09-22 18:59:15.596470"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.600735"], ["updated_at", "2014-09-22 18:59:15.600735"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.602589"], ["updated_at", "2014-09-22 18:59:15.602589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_05c41b6f') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut ducimus debitis sit dolorem pariatur. Aut laborum ipsum quaerat rerum. Possimus aut minima sed. Dolorum explicabo totam facilis quia rerum vero amet.\", \"Eligendi porro incidunt nam tempore. Dolorum et quod occaecati minus excepturi. Enim sint qui harum voluptatem dignissimos. Perspiciatis fuga possimus. Corporis quia possimus et sint.\"]"], ["created_at", "2014-09-22 18:59:15.605836"], ["name", "contract_05c41b6f"], ["title", "Perspiciatis tempore est reiciendis nesciunt quidem illum."], ["updated_at", "2014-09-22 18:59:15.605836"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_05c41b6f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_05c41b6f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-22 18:59:15.608913"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.611346"], ["updated_at", "2014-09-22 18:59:15.611346"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-22 18:59:15.613522"], ["updated_at", "2014-09-22 18:59:15.613522"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"36"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.617143"], ["updated_at", "2014-09-22 18:59:15.617143"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.618598"], ["updated_at", "2014-09-22 18:59:15.618598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_1b0c995b') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo in est. Molestiae dignissimos aliquam doloribus totam. Sint eos excepturi similique quam consequatur ut.\", \"Repudiandae rem quas quae dolores nihil. Illum culpa possimus aliquam. Cumque vitae aut nihil ipsum repudiandae ut. Perspiciatis tenetur in reiciendis nisi ad accusamus omnis.\"]"], ["created_at", "2014-09-22 18:59:15.621650"], ["name", "contract_1b0c995b"], ["title", "Aliquid et impedit dolores saepe."], ["updated_at", "2014-09-22 18:59:15.621650"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1b0c995b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_1b0c995b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-22 18:59:15.624835"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.627298"], ["updated_at", "2014-09-22 18:59:15.627298"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-22 18:59:15.629477"], ["updated_at", "2014-09-22 18:59:15.629477"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"37"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.632856"], ["updated_at", "2014-09-22 18:59:15.632856"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.634297"], ["updated_at", "2014-09-22 18:59:15.634297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_b1f7c8cb') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis nulla nesciunt quia. Cum numquam voluptas adipisci atque sed nesciunt vitae. Qui eligendi voluptatem.\", \"Dicta ipsa accusamus quaerat molestiae. Nemo suscipit sunt qui doloremque dolor. Amet sit repudiandae tempore. Rerum temporibus quas inventore perspiciatis amet totam. Temporibus sint ipsam doloribus quis et.\"]"], ["created_at", "2014-09-22 18:59:15.637854"], ["name", "contract_b1f7c8cb"], ["title", "Dolores inventore et eaque recusandae voluptatum sit blanditiis."], ["updated_at", "2014-09-22 18:59:15.637854"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b1f7c8cb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_b1f7c8cb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-22 18:59:15.640990"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.643507"], ["updated_at", "2014-09-22 18:59:15.643507"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-22 18:59:15.645622"], ["updated_at", "2014-09-22 18:59:15.645622"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 16]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Redirected to http://test.host/fine_print/contracts/38/signatures Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 16 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.653050"], ["updated_at", "2014-09-22 18:59:15.653050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.654476"], ["updated_at", "2014-09-22 18:59:15.654476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_da413924') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem libero labore qui tenetur. Et fugit labore. Et aliquid ullam molestiae vitae.\", \"Omnis laboriosam rerum. Voluptatem vel voluptas tenetur voluptas suscipit qui. Molestias non autem temporibus.\"]"], ["created_at", "2014-09-22 18:59:15.657429"], ["name", "contract_da413924"], ["title", "Non qui ut itaque nostrum."], ["updated_at", "2014-09-22 18:59:15.657429"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_da413924"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_da413924') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-22 18:59:15.660403"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.662826"], ["updated_at", "2014-09-22 18:59:15.662826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-22 18:59:15.664935"], ["updated_at", "2014-09-22 18:59:15.664935"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction 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_529277ba') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis et quaerat repellendus eum. Quia quas fugit inventore iusto. Placeat tempora aut vero blanditiis perferendis et aut.\", \"Non labore dicta distinctio voluptates. Iusto quibusdam quo id. Nemo ut consectetur et quas vitae exercitationem sapiente. Accusantium atque temporibus eveniet.\"]"], ["created_at", "2014-09-22 18:59:15.670985"], ["name", "contract_529277ba"], ["title", "Soluta voluptatibus laudantium porro eos est ut minima."], ["updated_at", "2014-09-22 18:59:15.670985"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction 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_e20a2de5') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae et quidem. Sed sequi dolor et. Qui quas quam ut perspiciatis. Sed autem enim deleniti sit.\", \"Incidunt accusantium atque et excepturi ut. Saepe sed est et nihil consequatur et voluptatem. Veniam nemo nisi omnis autem.\"]"], ["created_at", "2014-09-22 18:59:15.675560"], ["name", "contract_e20a2de5"], ["title", "Delectus voluptatem aperiam totam nulla ea sapiente."], ["updated_at", "2014-09-22 18:59:15.675560"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e20a2de5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_e20a2de5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-22 18:59:15.678632"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.681081"], ["updated_at", "2014-09-22 18:59:15.681081"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction 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_e8c0c3f8') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et amet architecto. Exercitationem praesentium totam molestiae vitae. Et quia sit rerum laudantium sed quo odio. Quia voluptatem consequatur dolorem optio. Dignissimos eum vero quo ut aut.\", \"Sed ut ducimus a sequi. Voluptates consequatur consectetur sunt maiores sed incidunt eveniet. Sit harum optio explicabo.\"]"], ["created_at", "2014-09-22 18:59:15.686536"], ["name", "contract_e8c0c3f8"], ["title", "Eveniet et architecto."], ["updated_at", "2014-09-22 18:59:15.686536"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8c0c3f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_e8c0c3f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:59:15.697889"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8c0c3f8"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e8c0c3f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_e8c0c3f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-22 18:59:15.705138"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_2ed0be87') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem voluptatem eos at omnis numquam officiis. Amet nostrum voluptas ex quos incidunt eos quae. Vero fuga alias explicabo tempora recusandae. Nihil id incidunt. Et optio rerum omnis earum dicta velit eveniet.\", \"Et tenetur saepe. Quidem voluptatem sit est nesciunt. Sed cum sint voluptatem consequatur sed. Est quos nemo sunt magnam. Labore itaque eos quo minima.\"]"], ["created_at", "2014-09-22 18:59:15.709752"], ["name", "contract_2ed0be87"], ["title", "Praesentium facere in non rem expedita veniam beatae."], ["updated_at", "2014-09-22 18:59:15.709752"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ed0be87"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_2ed0be87') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-22 18:59:15.713852"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2ed0be87' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction 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_2ed0be87') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem voluptatem eos at omnis numquam officiis. Amet nostrum voluptas ex quos incidunt eos quae. Vero fuga alias explicabo tempora recusandae. Nihil id incidunt. Et optio rerum omnis earum dicta velit eveniet.\", \"Et tenetur saepe. Quidem voluptatem sit est nesciunt. Sed cum sint voluptatem consequatur sed. Est quos nemo sunt magnam. Labore itaque eos quo minima.\"]"], ["created_at", "2014-09-22 18:59:15.720714"], ["name", "contract_2ed0be87"], ["title", "Praesentium facere in non rem expedita veniam beatae."], ["updated_at", "2014-09-22 18:59:15.720714"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2ed0be87"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_2ed0be87') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-22 18:59:15.725986"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_ef5ffdb2') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto sed aut qui. Quis doloribus quia beatae corporis sed temporibus aut. Cupiditate ut molestiae aut quidem numquam.\", \"Reiciendis fugiat corrupti et esse. Quis esse quaerat beatae ipsum tempore molestiae maiores. Quia necessitatibus et repudiandae quo porro blanditiis. Exercitationem sed similique. Reiciendis numquam nisi.\"]"], ["created_at", "2014-09-22 18:59:15.731388"], ["name", "contract_ef5ffdb2"], ["title", "Sit nihil laudantium."], ["updated_at", "2014-09-22 18:59:15.731388"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef5ffdb2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_ef5ffdb2') LIMIT 1 FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-22 18:59:15.736385"], ["version", 1]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ef5ffdb2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction 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" = 'joe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto sed aut qui. Quis doloribus quia beatae corporis sed temporibus aut. Cupiditate ut molestiae aut quidem numquam.\", \"Reiciendis fugiat corrupti et esse. Quis esse quaerat beatae ipsum tempore molestiae maiores. Quia necessitatibus et repudiandae quo porro blanditiis. Exercitationem sed similique. Reiciendis numquam nisi.\"]"], ["created_at", "2014-09-22 18:59:15.742558"], ["name", "joe"], ["title", "Sit nihil laudantium."], ["updated_at", "2014-09-22 18:59:15.742558"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-22 18:59:15.747399"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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_8bc0d0c3') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut illum unde. Eligendi porro a totam aut natus unde. Corporis nemo sed.\", \"Provident blanditiis mollitia sed accusamus expedita nihil. Et consequatur a quam animi ut sit. Est velit laborum excepturi accusamus iusto. Et et fuga.\"]"], ["created_at", "2014-09-22 18:59:15.751979"], ["name", "contract_8bc0d0c3"], ["title", "Iure omnis maxime."], ["updated_at", "2014-09-22 18:59:15.751979"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8bc0d0c3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_8bc0d0c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-22 18:59:15.757228"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-22 18:59:15.762143"], ["updated_at", "2014-09-22 18:59:15.762143"]]  (8.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-22 18:59:15.774086"], ["updated_at", "2014-09-22 18:59:15.774086"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_8bc0d0c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8bc0d0c3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_8bc0d0c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos consequatur molestias. Enim pariatur blanditiis sit est eos. Aperiam blanditiis et occaecati consequatur quis dolor et. Accusantium dolorem fugit enim ipsam.\", \"Dignissimos accusamus dolor ipsum debitis facere. Id nulla odio. Id facere at debitis cumque suscipit. Fugiat blanditiis ad commodi fugit. Totam aut nisi voluptate provident.\"]"], ["created_at", "2014-09-23 00:42:05.144008"], ["name", "contract_daad3858"], ["title", "Eum quibusdam veniam repellendus molestiae et."], ["updated_at", "2014-09-23 00:42:05.144008"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et beatae non laborum quae minus omnis. Ad maiores quis distinctio est consectetur neque fugit. Perferendis vel ducimus quis sint sed consequatur dolores. Cum eos excepturi culpa esse error ea. Repellendus quasi sed perspiciatis.\", \"Blanditiis voluptatem quam. Alias delectus libero similique eos. Non qui modi ea omnis sit. Ut eum nihil doloremque.\"]"], ["created_at", "2014-09-23 00:42:05.163045"], ["name", "contract_76a257c6"], ["title", "Expedita rem debitis omnis omnis."], ["updated_at", "2014-09-23 00:42:05.163045"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_76a257c6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_76a257c6') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:42:05.168409"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.174592"], ["updated_at", "2014-09-23 00:42:05.174592"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis rerum iure. Dolor ex et ipsa sed. Pariatur officia blanditiis rerum sunt incidunt dolores. Facere enim quidem libero fugit.\", \"Commodi sed ut dolore non magnam. Laboriosam labore quia odit enim qui. Molestias expedita et deserunt minus praesentium debitis fugit. Reprehenderit minus eos asperiores quia harum. Molestiae dolorem quis aut itaque.\"]"], ["created_at", "2014-09-23 00:42:05.184169"], ["name", "alpha"], ["title", "Voluptas occaecati ea et cupiditate."], ["updated_at", "2014-09-23 00:42:05.184169"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:42:05.189777"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut aut quidem. Sequi sed non et voluptates totam. Fugit architecto veniam aliquid quia qui.\", \"Molestiae maiores at temporibus. Velit pariatur doloribus voluptatem. Optio molestias iure.\"]"], ["created_at", "2014-09-23 00:42:05.193144"], ["name", "beta"], ["title", "Expedita hic architecto necessitatibus aut nam qui sit."], ["updated_at", "2014-09-23 00:42:05.193144"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:42:05.196378"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.198916"], ["updated_at", "2014-09-23 00:42:05.198916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:42:05.201708"], ["updated_at", "2014-09-23 00:42:05.201708"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:42:05.207113"], ["updated_at", "2014-09-23 00:42:05.207113"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:42:05.211334"], ["name", "alpha"], ["title", "Voluptas occaecati ea et cupiditate."], ["updated_at", "2014-09-23 00:42:05.211334"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:42:05.214778"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:42:05.236374"], ["updated_at", "2014-09-23 00:42:05.236374"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil sapiente est. Quidem iusto doloremque nobis dolore ipsa tempora commodi. Laudantium occaecati et aspernatur non. Consequatur nam rerum ullam.\", \"Possimus odio vel occaecati nulla et dignissimos. Porro consequatur modi. Vel velit impedit.\"]"], ["created_at", "2014-09-23 00:42:05.250704"], ["name", "alpha"], ["title", "Commodi a quam vel at."], ["updated_at", "2014-09-23 00:42:05.250704"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:42:05.254507"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et porro facere est eius magni iusto soluta. Ducimus possimus doloribus dolor et iusto reprehenderit. Accusamus pariatur asperiores nobis. Aut repudiandae aspernatur qui. Animi assumenda provident quo.\", \"Ut aliquid et nemo quo voluptatum eos. Illo dolor fugit omnis quia rerum quia est. Quo atque est aspernatur animi voluptatem.\"]"], ["created_at", "2014-09-23 00:42:05.257878"], ["name", "beta"], ["title", "Et sed nesciunt placeat quam autem."], ["updated_at", "2014-09-23 00:42:05.257878"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:42:05.261192"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.263476"], ["updated_at", "2014-09-23 00:42:05.263476"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-23 00:42:05.266235"], ["updated_at", "2014-09-23 00:42:05.266235"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:42:05.268623"], ["updated_at", "2014-09-23 00:42:05.268623"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:42:05.270815"], ["name", "alpha"], ["title", "Commodi a quam vel at."], ["updated_at", "2014-09-23 00:42:05.270815"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:42:05.273872"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut praesentium minima consequatur cum sint expedita velit. Aut et corrupti ut nemo. Odit earum voluptatum ut neque quo delectus. Labore excepturi quas ea est aut eius.\", \"Iure in voluptatem molestias. Ipsa corrupti quidem vitae et dignissimos. Enim sed iusto ipsam earum blanditiis modi. Molestiae officia quis esse suscipit doloribus.\"]"], ["created_at", "2014-09-23 00:42:05.277178"], ["name", "alpha"], ["title", "Nemo quia repellat."], ["updated_at", "2014-09-23 00:42:05.277178"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:42:05.280173"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel voluptas sequi in non quam magni eaque. Velit delectus enim quidem. Sunt maxime ipsum ut impedit dignissimos natus iusto. Voluptas blanditiis ut magni voluptas ratione quia.\", \"Tenetur in quod explicabo. Nihil ex quis et repellendus qui commodi animi. Nemo harum rerum atque nulla quia ipsam.\"]"], ["created_at", "2014-09-23 00:42:05.282995"], ["name", "beta"], ["title", "Cumque provident exercitationem reprehenderit id nulla."], ["updated_at", "2014-09-23 00:42:05.282995"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:42:05.286160"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.288894"], ["updated_at", "2014-09-23 00:42:05.288894"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:42:05.292331"], ["updated_at", "2014-09-23 00:42:05.292331"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:42:05.294757"], ["updated_at", "2014-09-23 00:42:05.294757"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:42:05.297078"], ["name", "alpha"], ["title", "Nemo quia repellat."], ["updated_at", "2014-09-23 00:42:05.297078"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:42:05.300031"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit voluptatum consequatur sunt. Fugiat cupiditate qui. Facilis est aut ducimus. Et maiores et commodi labore id excepturi.\", \"Dolorem ex ipsam. Blanditiis labore provident ducimus quos pariatur repudiandae. Eius blanditiis dolorum temporibus unde voluptatem.\"]"], ["created_at", "2014-09-23 00:42:05.306143"], ["name", "alpha"], ["title", "Eius aut recusandae."], ["updated_at", "2014-09-23 00:42:05.306143"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:42:05.309184"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur occaecati perferendis. Quisquam voluptas eligendi delectus aut voluptatem. Maiores et et alias minus iure voluptatem sunt. Dolores voluptatem quis dolores. Corrupti dolore harum sunt consequatur.\", \"Et autem et sint. Ad occaecati aut dolores. Debitis possimus aliquam harum delectus ipsum quis ut. Cumque cum voluptas in. Nihil nesciunt laborum harum cum illo.\"]"], ["created_at", "2014-09-23 00:42:05.312167"], ["name", "beta"], ["title", "Asperiores ut aut assumenda eum."], ["updated_at", "2014-09-23 00:42:05.312167"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:42:05.315107"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.317308"], ["updated_at", "2014-09-23 00:42:05.317308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 00:42:05.319899"], ["updated_at", "2014-09-23 00:42:05.319899"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-23 00:42:05.322402"], ["updated_at", "2014-09-23 00:42:05.322402"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:42:05.324890"], ["name", "alpha"], ["title", "Eius aut recusandae."], ["updated_at", "2014-09-23 00:42:05.324890"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:42:05.327835"], ["version", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae aut ut qui officia quos et. Aut labore animi voluptas non et. Ab officia neque. Neque sed perferendis qui.\", \"Repellat libero ut ut. Accusamus quisquam id qui. Adipisci voluptatem nam sapiente veritatis vitae sed mollitia.\"]"], ["created_at", "2014-09-23 00:42:05.331306"], ["name", "contract_6f1f0460"], ["title", "Ratione quaerat assumenda qui sunt."], ["updated_at", "2014-09-23 00:42:05.331306"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f1f0460"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_6f1f0460') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:42:05.334214"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6f1f0460' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae aut ut qui officia quos et. Aut labore animi voluptas non et. Ab officia neque. Neque sed perferendis qui.\", \"Repellat libero ut ut. Accusamus quisquam id qui. Adipisci voluptatem nam sapiente veritatis vitae sed mollitia.\"]"], ["created_at", "2014-09-23 00:42:05.337177"], ["name", "joe"], ["title", "Ratione quaerat assumenda qui sunt."], ["updated_at", "2014-09-23 00:42:05.337177"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:42:05.340101"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus aut rem iure fugit. Qui deserunt quam rem animi. Aspernatur quis nihil quia voluptatem harum quae earum. Velit est ut saepe veniam est similique possimus. Ut eum aut.\", \"Vero voluptatem qui quibusdam. Voluptas alias et excepturi consequatur eligendi ducimus. Deserunt corrupti inventore natus. Et est consequatur libero quae. Et quo est qui.\"]"], ["created_at", "2014-09-23 00:42:05.343609"], ["name", "contract_60b9dc9c"], ["title", "Esse et est voluptas corrupti similique deserunt laudantium."], ["updated_at", "2014-09-23 00:42:05.343609"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_60b9dc9c"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_60b9dc9c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:42:05.347181"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_60b9dc9c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus aut rem iure fugit. Qui deserunt quam rem animi. Aspernatur quis nihil quia voluptatem harum quae earum. Velit est ut saepe veniam est similique possimus. Ut eum aut.\", \"Vero voluptatem qui quibusdam. Voluptas alias et excepturi consequatur eligendi ducimus. Deserunt corrupti inventore natus. Et est consequatur libero quae. Et quo est qui.\"]"], ["created_at", "2014-09-23 00:42:05.350584"], ["name", "contract_60b9dc9c"], ["title", "Esse et est voluptas corrupti similique deserunt laudantium."], ["updated_at", "2014-09-23 00:42:05.350584"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_60b9dc9c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_60b9dc9c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:42:05.353592"], ["version", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A atque quo nihil et id ea eos. Incidunt cumque hic qui rerum explicabo magnam id. Accusantium suscipit est perspiciatis deserunt quisquam dolore. Maiores nulla maxime. Nemo optio ad quisquam numquam suscipit.\", \"Ea explicabo et ut molestiae et. Dolores deleniti corporis. Rerum doloremque porro voluptatem velit. Est dicta qui blanditiis temporibus soluta nam et. Est quas nihil.\"]"], ["created_at", "2014-09-23 00:42:05.357115"], ["name", "contract_49fa2cf1"], ["title", "Impedit et provident iste."], ["updated_at", "2014-09-23 00:42:05.357115"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49fa2cf1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_49fa2cf1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:42:05.361228"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49fa2cf1"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49fa2cf1"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:42:05.365609"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est suscipit voluptas nulla laboriosam distinctio culpa. Molestias aperiam itaque. Qui sit sit. Et adipisci quia incidunt aut asperiores sit eos.\", \"Quae adipisci ut qui at consectetur perferendis et. Asperiores aut quo fugiat aliquam id. Dolores dolorem praesentium. Veniam cumque aut explicabo accusamus possimus.\"]"], ["created_at", "2014-09-23 00:42:05.368632"], ["name", "contract_7e9e7418"], ["title", "Placeat nisi ipsam aut repudiandae."], ["updated_at", "2014-09-23 00:42:05.368632"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e9e7418"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_7e9e7418') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:42:05.371564"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.375069"], ["updated_at", "2014-09-23 00:42:05.375069"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:42:05.377415"], ["updated_at", "2014-09-23 00:42:05.377415"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_7e9e7418') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7e9e7418"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.386694"], ["updated_at", "2014-09-23 00:42:05.386694"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.388470"], ["updated_at", "2014-09-23 00:42:05.388470"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut recusandae molestiae eos cupiditate dolor. Ducimus maiores sunt et. Quasi aut beatae et qui aut accusantium. Hic vitae eaque dolor magni.\", \"Vel consequatur labore. Facere quia delectus quia. Sit inventore fugit autem ipsam.\"]"], ["created_at", "2014-09-23 00:42:05.390984"], ["name", "contract_c950cb9e"], ["title", "Et accusantium asperiores quos."], ["updated_at", "2014-09-23 00:42:05.390984"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c950cb9e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_c950cb9e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:42:05.394079"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.396485"], ["updated_at", "2014-09-23 00:42:05.396485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 00:42:05.398628"], ["updated_at", "2014-09-23 00:42:05.398628"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (1.3ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Redirected to http://test.host/fine_print/contracts/21/signatures?r=NmNJNkwwOE9pVkNjWUp5aGNtMVkwdz09LS1NbXpOVldoTERWNjlFMDNnZ0hwcWdBPT0%3D--4bb31f3ed874f09cf9ea4e63e9a81cb72b2408aa Completed 302 Found in 194ms (ActiveRecord: 2.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.598457"], ["updated_at", "2014-09-23 00:42:05.598457"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.600062"], ["updated_at", "2014-09-23 00:42:05.600062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora labore ullam est vero. Omnis dicta molestiae. Nesciunt expedita omnis quis libero rerum perspiciatis. Ea molestiae praesentium et aliquid omnis eligendi autem. Ut ut facere et dolore.\", \"Quasi dolor incidunt accusamus atque est provident consectetur. Soluta culpa facilis. Quia nam in fuga rerum officiis. Ad est omnis et et illo porro.\"]"], ["created_at", "2014-09-23 00:42:05.602617"], ["name", "contract_f7fb942e"], ["title", "Rerum eum sunt et quaerat dolores dolorum."], ["updated_at", "2014-09-23 00:42:05.602617"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f7fb942e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_f7fb942e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:42:05.605598"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.608019"], ["updated_at", "2014-09-23 00:42:05.608019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-23 00:42:05.610195"], ["updated_at", "2014-09-23 00:42:05.610195"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.619807"], ["updated_at", "2014-09-23 00:42:05.619807"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.621498"], ["updated_at", "2014-09-23 00:42:05.621498"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et iste perspiciatis est molestiae. Minus cumque asperiores atque. Ut quas quia cupiditate dolores blanditiis. Quasi ullam et. Rerum quod dolorem aut.\", \"Unde in ea doloribus. Dignissimos numquam qui voluptas. Cupiditate explicabo aspernatur dignissimos autem recusandae. Necessitatibus incidunt ratione veniam aut qui.\"]"], ["created_at", "2014-09-23 00:42:05.624013"], ["name", "contract_bed57091"], ["title", "Architecto eum quo veritatis impedit autem voluptatibus dolorum."], ["updated_at", "2014-09-23 00:42:05.624013"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bed57091"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_bed57091') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:42:05.627191"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.629594"], ["updated_at", "2014-09-23 00:42:05.629594"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 00:42:05.631830"], ["updated_at", "2014-09-23 00:42:05.631830"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"23"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.635921"], ["updated_at", "2014-09-23 00:42:05.635921"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.637419"], ["updated_at", "2014-09-23 00:42:05.637419"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum hic illum corrupti ut est. Aut aut explicabo eveniet id et dolorum. Libero quia excepturi et sapiente quo illum. Dolor quisquam id quia nulla molestias est. Autem exercitationem est mollitia.\", \"Cupiditate rerum modi voluptate quibusdam est harum ex. Voluptas amet qui aut vel minus dolorem. Exercitationem eum error ratione. Commodi rerum officiis consequatur eaque. Inventore itaque et qui neque tempora explicabo ut.\"]"], ["created_at", "2014-09-23 00:42:05.640584"], ["name", "contract_eaa690d4"], ["title", "In sit est."], ["updated_at", "2014-09-23 00:42:05.640584"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eaa690d4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_eaa690d4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:42:05.644132"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.646520"], ["updated_at", "2014-09-23 00:42:05.646520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 00:42:05.648670"], ["updated_at", "2014-09-23 00:42:05.648670"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.655082"], ["updated_at", "2014-09-23 00:42:05.655082"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.656663"], ["updated_at", "2014-09-23 00:42:05.656663"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit aut nihil. Itaque reiciendis ad. Perspiciatis eligendi consequatur consequatur ipsa a. Labore ut voluptatem dolores quod.\", \"Maiores soluta repellat quasi a aut tenetur aliquam. Soluta voluptatem nesciunt. Ut voluptas ipsa accusantium eos nam necessitatibus. Voluptatem culpa et sapiente adipisci nihil. Pariatur sunt voluptatem eveniet.\"]"], ["created_at", "2014-09-23 00:42:05.659008"], ["name", "contract_6e034900"], ["title", "Impedit vel nemo ut quis atque."], ["updated_at", "2014-09-23 00:42:05.659008"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e034900"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_6e034900') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:42:05.662326"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.665626"], ["updated_at", "2014-09-23 00:42:05.665626"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-23 00:42:05.668341"], ["updated_at", "2014-09-23 00:42:05.668341"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"25"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.672957"], ["updated_at", "2014-09-23 00:42:05.672957"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.674799"], ["updated_at", "2014-09-23 00:42:05.674799"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia eos officiis dolores id. Et ipsa cupiditate consequatur accusantium voluptatem. Cumque sapiente illum adipisci minima repudiandae quia ut. Est autem et veritatis.\", \"Minima expedita rerum aut a. Accusamus aut reiciendis vitae. Necessitatibus culpa enim libero reprehenderit consequatur. Sapiente consequatur et. Ratione ut quas eius.\"]"], ["created_at", "2014-09-23 00:42:05.677365"], ["name", "contract_fa405167"], ["title", "Vel molestias dolor harum qui est amet."], ["updated_at", "2014-09-23 00:42:05.677365"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fa405167"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_fa405167') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:42:05.680546"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.682949"], ["updated_at", "2014-09-23 00:42:05.682949"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 00:42:05.684979"], ["updated_at", "2014-09-23 00:42:05.684979"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.688986"], ["updated_at", "2014-09-23 00:42:05.688986"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.690480"], ["updated_at", "2014-09-23 00:42:05.690480"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia ab enim eligendi officiis nobis. Cupiditate voluptate voluptatum magni adipisci. Repellat et voluptate architecto ipsum pariatur odit. Unde voluptas accusantium.\", \"Laborum nam vitae voluptatibus. Unde voluptatum sequi. Autem minima qui.\"]"], ["created_at", "2014-09-23 00:42:05.692896"], ["name", "contract_f5747f4a"], ["title", "Quia modi quidem odit dicta voluptas."], ["updated_at", "2014-09-23 00:42:05.692896"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5747f4a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_f5747f4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 00:42:05.695949"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.698392"], ["updated_at", "2014-09-23 00:42:05.698392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 00:42:05.700521"], ["updated_at", "2014-09-23 00:42:05.700521"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.705709"], ["updated_at", "2014-09-23 00:42:05.705709"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.707238"], ["updated_at", "2014-09-23 00:42:05.707238"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto optio quos. Illo ut inventore natus. Dolorem accusamus sequi fuga veritatis unde eos porro.\", \"Ut dolor recusandae sapiente itaque harum dolorem excepturi. Blanditiis et repellat. Eveniet ab et et autem similique id.\"]"], ["created_at", "2014-09-23 00:42:05.709702"], ["name", "contract_069b1e04"], ["title", "Officia ab aut similique facilis sit dicta voluptatem."], ["updated_at", "2014-09-23 00:42:05.709702"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_069b1e04"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_069b1e04') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:42:05.713005"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.716329"], ["updated_at", "2014-09-23 00:42:05.716329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-23 00:42:05.718569"], ["updated_at", "2014-09-23 00:42:05.718569"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"28"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.723735"], ["updated_at", "2014-09-23 00:42:05.723735"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.725271"], ["updated_at", "2014-09-23 00:42:05.725271"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum amet et sunt. Porro voluptas molestiae ducimus et eaque repudiandae. Et alias omnis distinctio.\", \"Labore dolor quas rerum hic. Eum ut asperiores maxime dolorem quis autem. Voluptas eligendi voluptatum aut nisi eius dolores facere. Asperiores distinctio corrupti ut possimus ut est voluptas. Laborum fuga beatae atque maxime cupiditate quisquam.\"]"], ["created_at", "2014-09-23 00:42:05.727490"], ["name", "contract_a67c9eaa"], ["title", "Provident vel quia."], ["updated_at", "2014-09-23 00:42:05.727490"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a67c9eaa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_a67c9eaa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 00:42:05.733412"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.737369"], ["updated_at", "2014-09-23 00:42:05.737369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.738923"], ["updated_at", "2014-09-23 00:42:05.738923"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui provident tempore aut eaque. Nisi quos occaecati dolore hic. Nisi eveniet sint dolorum culpa quia qui. Corrupti quod et cum. Velit hic porro sunt.\", \"Occaecati qui quia. Voluptatem repellat ex maiores dignissimos. Neque reprehenderit quisquam exercitationem corporis est nam.\"]"], ["created_at", "2014-09-23 00:42:05.740986"], ["name", "contract_c3627600"], ["title", "Esse quisquam labore."], ["updated_at", "2014-09-23 00:42:05.740986"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:42:05.743897"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:42:05.743897"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/31 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.747059"], ["updated_at", "2014-09-23 00:42:05.747059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.748500"], ["updated_at", "2014-09-23 00:42:05.748500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima voluptas asperiores pariatur cupiditate. Ipsam omnis illo dignissimos qui dolore aspernatur rerum. Perferendis asperiores illo molestiae. Fuga velit et. Possimus tenetur et non amet.\", \"Repellendus et velit accusantium molestiae nam. Porro aut eligendi libero. Aliquid velit earum ipsum asperiores sit architecto est. Qui nobis est autem nulla.\"]"], ["created_at", "2014-09-23 00:42:05.750568"], ["name", "contract_15a574b7"], ["title", "Cupiditate enim impedit ex repellat."], ["updated_at", "2014-09-23 00:42:05.750568"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 32]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 32]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.757355"], ["updated_at", "2014-09-23 00:42:05.757355"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.759020"], ["updated_at", "2014-09-23 00:42:05.759020"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quae et harum. Iste similique asperiores ut et itaque. Enim omnis ratione consectetur dolor quod. Suscipit numquam aut fugiat ut quod repellat blanditiis.\", \"Molestiae dignissimos possimus recusandae quas rem at. Quos reiciendis aut aut ad consectetur dolor velit. Quia et ab ipsa voluptatem.\"]"], ["created_at", "2014-09-23 00:42:05.761122"], ["name", "contract_43f7a5c6"], ["title", "Est nulla ducimus qui illo quaerat officiis."], ["updated_at", "2014-09-23 00:42:05.761122"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.765738"], ["updated_at", "2014-09-23 00:42:05.765738"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.767409"], ["updated_at", "2014-09-23 00:42:05.767409"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aspernatur rerum odit eos nobis eaque temporibus. Harum repellat nihil iusto quia nesciunt. Sed non voluptatem hic et sint saepe placeat. Doloremque commodi fugit ea pariatur incidunt.\", \"Nisi commodi ea. Sit dolore totam neque. Harum nostrum est et sed incidunt dolore enim.\"]"], ["created_at", "2014-09-23 00:42:05.769544"], ["name", "contract_f31090e2"], ["title", "Autem consectetur quia voluptates corporis."], ["updated_at", "2014-09-23 00:42:05.769544"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f31090e2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_f31090e2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 00:42:05.772764"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f31090e2"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 00:42:05.779556"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.785135"], ["updated_at", "2014-09-23 00:42:05.785135"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.787207"], ["updated_at", "2014-09-23 00:42:05.787207"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt eos doloremque tempora. Ut est perspiciatis. Et atque voluptatem. Dolorum et non ipsam libero.\", \"Ut mollitia et accusamus velit minus. Laboriosam eaque nam aliquid reprehenderit nihil. Dolor dignissimos animi. Atque quos optio explicabo quia mollitia.\"]"], ["created_at", "2014-09-23 00:42:05.790223"], ["name", "contract_84d1b208"], ["title", "Temporibus eum porro molestias a consequatur."], ["updated_at", "2014-09-23 00:42:05.790223"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.797459"], ["updated_at", "2014-09-23 00:42:05.797459"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.799894"], ["updated_at", "2014-09-23 00:42:05.799894"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui vero autem cum non facere. Atque eum corrupti illum. Ad veniam quasi occaecati debitis sed nulla distinctio. At assumenda autem occaecati tenetur dolorem nemo.\", \"Odio ut deserunt esse et. Vel sed vel nostrum veritatis excepturi. Omnis vel dolorem rerum et.\"]"], ["created_at", "2014-09-23 00:42:05.802634"], ["name", "contract_5ee98383"], ["title", "Dolorum hic dolorem in aliquid deserunt quis ullam."], ["updated_at", "2014-09-23 00:42:05.802634"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5ee98383"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_5ee98383') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:42:05.806518"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.812539"], ["updated_at", "2014-09-23 00:42:05.812539"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.814006"], ["updated_at", "2014-09-23 00:42:05.814006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam architecto laudantium et aut. Deserunt dolor aut. Ducimus aut quibusdam minus eum iste consequatur.\", \"Ducimus officiis qui aut. Quos officiis dolor voluptatem. Nostrum pariatur odio sunt ad nobis sint enim. Repellat adipisci est.\"]"], ["created_at", "2014-09-23 00:42:05.816070"], ["name", "contract_af399869"], ["title", "Quis ducimus non et."], ["updated_at", "2014-09-23 00:42:05.816070"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.820018"], ["updated_at", "2014-09-23 00:42:05.820018"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.821487"], ["updated_at", "2014-09-23 00:42:05.821487"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatem in aut voluptas saepe. Occaecati reprehenderit est veritatis quidem repudiandae voluptatum ut. Et atque necessitatibus exercitationem.\", \"Occaecati aspernatur nulla voluptatem totam dolorem. Officiis quia corrupti sapiente dolore explicabo nulla. Reprehenderit labore aliquid dolorem deserunt. Dolorum ut ea.\"]"], ["created_at", "2014-09-23 00:42:05.824367"], ["name", "contract_17a94e32"], ["title", "Expedita ullam nulla nemo eligendi beatae aut."], ["updated_at", "2014-09-23 00:42:05.824367"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3, 13, 10, 7, 4, 28, 38, 33, 19, 36, 18, 17, 25, 15, 2, 20, 35, 29, 37, 23, 30, 21, 1, 24, 34, 27, 22, 26, 16, 31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.833218"], ["updated_at", "2014-09-23 00:42:05.833218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.834845"], ["updated_at", "2014-09-23 00:42:05.834845"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt necessitatibus qui asperiores maxime et accusamus facere. Veniam quas ipsam similique. Provident sed molestiae voluptate laboriosam et. Et earum maxime tempore. Maiores et sequi.\", \"Aliquam odio non voluptas et ipsa id voluptates. Voluptate ea enim accusamus beatae deserunt dolorum. Sunt eum nam eius illo in. Officiis quis magnam. Minus aut expedita vel.\"]"], ["created_at", "2014-09-23 00:42:05.837005"], ["name", "contract_f3a64ac6"], ["title", "Incidunt esse rerum beatae cupiditate est sunt."], ["updated_at", "2014-09-23 00:42:05.837005"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3a64ac6"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_f3a64ac6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:42:05.840507"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f3a64ac6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.847937"], ["updated_at", "2014-09-23 00:42:05.847937"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.849529"], ["updated_at", "2014-09-23 00:42:05.849529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore consequatur voluptate dicta. Tempore et nulla. Nemo perferendis voluptatem.\", \"Eos aut voluptas nihil. Quia ut quae. Inventore nemo consectetur voluptatum dicta est.\"]"], ["created_at", "2014-09-23 00:42:05.851653"], ["name", "contract_a6435974"], ["title", "Assumenda sint aut accusantium nulla quo at."], ["updated_at", "2014-09-23 00:42:05.851653"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.855491"], ["updated_at", "2014-09-23 00:42:05.855491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.856945"], ["updated_at", "2014-09-23 00:42:05.856945"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ea quia dolorem deleniti sed. Eos earum ut. Voluptatum enim quos velit aut ipsam enim. Quidem architecto quasi aut ab eos perferendis nulla. Autem minus recusandae sit ut tenetur.\", \"Necessitatibus voluptas consequatur debitis eos. Qui libero et. Distinctio fugit repudiandae alias et voluptatem hic. Qui aut voluptatem sed praesentium nam ipsum.\"]"], ["created_at", "2014-09-23 00:42:05.858999"], ["name", "contract_579792d4"], ["title", "Consequatur porro exercitationem."], ["updated_at", "2014-09-23 00:42:05.858999"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.863980"], ["updated_at", "2014-09-23 00:42:05.863980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.865444"], ["updated_at", "2014-09-23 00:42:05.865444"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus qui facere iste expedita voluptatem repudiandae. Provident aperiam facilis laborum soluta dolore. Fuga delectus unde est. Ad et dolorem eum distinctio ut. Et quod reprehenderit autem nemo magnam sapiente hic.\", \"Neque placeat ad animi deleniti voluptas. Sed nam reiciendis quasi qui labore. Non qui aliquam enim itaque.\"]"], ["created_at", "2014-09-23 00:42:05.867604"], ["name", "contract_00f49a05"], ["title", "Accusantium quis sint aut corrupti sed eos."], ["updated_at", "2014-09-23 00:42:05.867604"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00f49a05"]]  (6.8ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_00f49a05') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:42:05.878202"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.883685"], ["updated_at", "2014-09-23 00:42:05.883685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.885590"], ["updated_at", "2014-09-23 00:42:05.885590"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsam corrupti adipisci non provident commodi. Quas non inventore recusandae accusamus est dolorem ab. Minima excepturi est error perferendis sint et. Et ut sed.\", \"Non eum exercitationem ipsum sunt consequatur. Assumenda sit autem vero reiciendis provident et. Quas non sed.\"]"], ["created_at", "2014-09-23 00:42:05.888046"], ["name", "contract_1c6a58a1"], ["title", "Qui sit ea non voluptas enim aspernatur provident."], ["updated_at", "2014-09-23 00:42:05.888046"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 1ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.894479"], ["updated_at", "2014-09-23 00:42:05.894479"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.896235"], ["updated_at", "2014-09-23 00:42:05.896235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti quis nisi repellat. Velit possimus numquam. Corrupti velit sunt aut architecto est nisi. Nostrum eligendi illum beatae. Repellendus consequatur aliquid aut enim dolores dicta aut.\", \"Eaque sint ea animi autem blanditiis dolorem. Consequuntur repudiandae nam. Corporis voluptates facere. Cupiditate occaecati impedit sed minus rem voluptate eaque. Aut officia voluptatum nostrum vero quasi aut.\"]"], ["created_at", "2014-09-23 00:42:05.899006"], ["name", "contract_a8dc6f8c"], ["title", "Officiis qui iure."], ["updated_at", "2014-09-23 00:42:05.899006"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.903032"], ["updated_at", "2014-09-23 00:42:05.903032"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.904548"], ["updated_at", "2014-09-23 00:42:05.904548"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae ipsum quia itaque distinctio ut perspiciatis. Vero et fugit sed dolore. Dolor aut qui est odit in consequatur. Asperiores similique modi in.\", \"Est hic repellendus. Magni iure delectus quod. Aliquid omnis quia sapiente. Quo expedita earum. Autem non assumenda expedita omnis enim.\"]"], ["created_at", "2014-09-23 00:42:05.906747"], ["name", "contract_a71a6476"], ["title", "Aut recusandae eaque sed fugit at rerum."], ["updated_at", "2014-09-23 00:42:05.906747"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.917342"], ["updated_at", "2014-09-23 00:42:05.917342"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.919245"], ["updated_at", "2014-09-23 00:42:05.919245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est omnis dolorem corrupti. Ipsa quae velit. Et rem ut optio aperiam voluptatem magnam.\", \"Aliquid eum id quidem. Suscipit sed dolor molestiae reiciendis alias. Alias vel ea. Dolorum praesentium unde.\"]"], ["created_at", "2014-09-23 00:42:05.921555"], ["name", "contract_8218c9d0"], ["title", "Quod incidunt dolorem."], ["updated_at", "2014-09-23 00:42:05.921555"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.927215"], ["updated_at", "2014-09-23 00:42:05.927215"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.928957"], ["updated_at", "2014-09-23 00:42:05.928957"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis minima omnis optio. Alias nihil beatae quod ratione voluptas numquam. Quasi numquam est est est molestiae sed.\", \"Laboriosam dolores natus dolorem at enim quos inventore. Veritatis quia explicabo velit. Earum ut ipsum cupiditate exercitationem esse facere perferendis. Expedita cum alias aspernatur dolores est.\"]"], ["created_at", "2014-09-23 00:42:05.931437"], ["name", "contract_6c29f3b0"], ["title", "Cupiditate et minus nostrum illo."], ["updated_at", "2014-09-23 00:42:05.931437"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 47 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:42:05.935039"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/47 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.942938"], ["updated_at", "2014-09-23 00:42:05.942938"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.945162"], ["updated_at", "2014-09-23 00:42:05.945162"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.951557"], ["updated_at", "2014-09-23 00:42:05.951557"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:42:05.953338"], ["updated_at", "2014-09-23 00:42:05.953338"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste ipsam temporibus nemo inventore quod qui adipisci. Id suscipit cupiditate quis eos voluptates dolorem. Quia beatae ea consequatur quia. Omnis provident consequuntur corrupti voluptatem quia.\", \"Labore nihil doloribus temporibus consequatur sit laborum. Autem ut odit. Quasi unde architecto at ipsa saepe. Nulla dolorem minus.\"]"], ["created_at", "2014-09-23 00:44:41.117359"], ["name", "contract_58739d96"], ["title", "Blanditiis ea quisquam corrupti ab officiis."], ["updated_at", "2014-09-23 00:44:41.117359"]]  (1.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque quia repellat dolorem dicta vero rerum. Temporibus qui ut assumenda velit. Itaque doloribus modi et cupiditate. Magnam nam ipsam quasi et.\", \"Et corrupti excepturi. Sunt voluptate provident perspiciatis. Voluptas cum dolorum qui dicta magni. Nam enim tenetur sit et. Et et voluptatem veniam.\"]"], ["created_at", "2014-09-23 00:44:41.136326"], ["name", "contract_df363c69"], ["title", "Nulla inventore molestiae voluptates incidunt est."], ["updated_at", "2014-09-23 00:44:41.136326"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_df363c69"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_df363c69') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:44:41.141073"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.147524"], ["updated_at", "2014-09-23 00:44:41.147524"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.155870"], ["updated_at", "2014-09-23 00:44:41.155870"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.157556"], ["updated_at", "2014-09-23 00:44:41.157556"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti qui corrupti voluptatem non praesentium veritatis saepe. Sit ipsum nam. Distinctio ut nobis qui dicta. Facilis et delectus.\", \"Repellendus illum a cumque error. Quidem velit et laudantium animi accusantium. Ea laboriosam occaecati.\"]"], ["created_at", "2014-09-23 00:44:41.160215"], ["name", "contract_1132fe2f"], ["title", "Non et culpa."], ["updated_at", "2014-09-23 00:44:41.160215"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1132fe2f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_1132fe2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:44:41.164884"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.167762"], ["updated_at", "2014-09-23 00:44:41.167762"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:44:41.170003"], ["updated_at", "2014-09-23 00:44:41.170003"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 200ms (Views: 5.7ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.377756"], ["updated_at", "2014-09-23 00:44:41.377756"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.380504"], ["updated_at", "2014-09-23 00:44:41.380504"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex magnam ea possimus eveniet. Eos cupiditate impedit voluptatem nulla laudantium. Nisi culpa odit possimus. Quis est animi facere. Autem eos hic non quae et eum.\", \"Quis reprehenderit voluptas expedita rerum veritatis quos. Debitis animi iusto nemo distinctio aliquam aspernatur. Adipisci eos cum nobis ut aliquid in cumque. Minus molestiae et.\"]"], ["created_at", "2014-09-23 00:44:41.383989"], ["name", "contract_b1150e6a"], ["title", "Tempora nobis molestias et dolorem repudiandae at et."], ["updated_at", "2014-09-23 00:44:41.383989"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b1150e6a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_b1150e6a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:44:41.387786"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.390165"], ["updated_at", "2014-09-23 00:44:41.390165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:44:41.392311"], ["updated_at", "2014-09-23 00:44:41.392311"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Redirected to http://test.host/fine_print/contracts/4/signatures?r=emdaMjBOcmlQZmF3M0R4OUxTVUFHdz09LS1BUnU4MG9IczM4Vzh5aENFRlptclFBPT0%3D--fa6d8008e44e5fa735dcc0cc686413f49d2321ee Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.400204"], ["updated_at", "2014-09-23 00:44:41.400204"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.401851"], ["updated_at", "2014-09-23 00:44:41.401851"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam similique architecto praesentium. Vitae beatae voluptas eius. Itaque aut ratione vitae libero eaque ut. Et aliquam adipisci. Et quasi iure et.\", \"Assumenda at molestias. Consequatur assumenda error. Voluptate eius nisi. Velit officiis ducimus. Architecto libero qui quidem accusantium.\"]"], ["created_at", "2014-09-23 00:44:41.404582"], ["name", "contract_0438eab9"], ["title", "Vel magnam qui dolores."], ["updated_at", "2014-09-23 00:44:41.404582"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0438eab9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_0438eab9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:44:41.408398"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.411394"], ["updated_at", "2014-09-23 00:44:41.411394"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:44:41.413886"], ["updated_at", "2014-09-23 00:44:41.413886"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.422315"], ["updated_at", "2014-09-23 00:44:41.422315"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.423933"], ["updated_at", "2014-09-23 00:44:41.423933"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem esse ut rerum atque natus. Libero quia provident. Earum quibusdam eligendi. Vitae qui voluptas omnis dolorem tempore dolor possimus. Id molestiae quia ea occaecati tempora consequatur iste.\", \"Et possimus tempore et impedit et. Modi omnis sit architecto velit tempore. Alias qui omnis eum. Est laborum aut dolores aliquam.\"]"], ["created_at", "2014-09-23 00:44:41.426447"], ["name", "contract_ade29ba3"], ["title", "Ut dolorum impedit."], ["updated_at", "2014-09-23 00:44:41.426447"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ade29ba3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_ade29ba3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:44:41.429613"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.432358"], ["updated_at", "2014-09-23 00:44:41.432358"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-23 00:44:41.434476"], ["updated_at", "2014-09-23 00:44:41.434476"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.438057"], ["updated_at", "2014-09-23 00:44:41.438057"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.439510"], ["updated_at", "2014-09-23 00:44:41.439510"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas debitis ullam perferendis ratione. Dolorem facere non repellendus. Itaque explicabo vel accusamus delectus officiis qui. Blanditiis quis rerum. Est eligendi et quia.\", \"Laboriosam qui deleniti. Et magni voluptas et. Architecto adipisci blanditiis minus perferendis ea dolorum. Voluptatum ea laboriosam vel sit consequatur nam recusandae. Cupiditate magni ab recusandae.\"]"], ["created_at", "2014-09-23 00:44:41.441952"], ["name", "contract_71fa1608"], ["title", "Et consequatur enim sint esse suscipit sed."], ["updated_at", "2014-09-23 00:44:41.441952"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_71fa1608"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_71fa1608') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:44:41.444996"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.447468"], ["updated_at", "2014-09-23 00:44:41.447468"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:44:41.449554"], ["updated_at", "2014-09-23 00:44:41.449554"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.453813"], ["updated_at", "2014-09-23 00:44:41.453813"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.455502"], ["updated_at", "2014-09-23 00:44:41.455502"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum in repellat omnis alias. Sit voluptatum illo quis sunt natus ut. Qui doloribus aut ut quam. Ratione ullam hic voluptas voluptatem.\", \"Voluptatibus veniam et. Placeat velit aliquam qui autem sint quam quod. Nihil doloribus quasi aut.\"]"], ["created_at", "2014-09-23 00:44:41.458441"], ["name", "contract_394ac25b"], ["title", "Quis modi voluptatem iste facilis non at."], ["updated_at", "2014-09-23 00:44:41.458441"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_394ac25b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_394ac25b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:44:41.461611"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.464011"], ["updated_at", "2014-09-23 00:44:41.464011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:44:41.466919"], ["updated_at", "2014-09-23 00:44:41.466919"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.471109"], ["updated_at", "2014-09-23 00:44:41.471109"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.472628"], ["updated_at", "2014-09-23 00:44:41.472628"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem expedita nulla quasi. Et praesentium earum enim non. Doloremque sunt natus quisquam adipisci nobis animi.\", \"Voluptas sed non. Perferendis accusantium nulla. Vitae nobis officia veritatis suscipit et eum. Et recusandae ratione.\"]"], ["created_at", "2014-09-23 00:44:41.475061"], ["name", "contract_7ba2ff8d"], ["title", "Pariatur culpa voluptas officia voluptatem libero."], ["updated_at", "2014-09-23 00:44:41.475061"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ba2ff8d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_7ba2ff8d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:44:41.478274"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.480655"], ["updated_at", "2014-09-23 00:44:41.480655"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:44:41.482837"], ["updated_at", "2014-09-23 00:44:41.482837"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.487642"], ["updated_at", "2014-09-23 00:44:41.487642"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.489148"], ["updated_at", "2014-09-23 00:44:41.489148"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta doloremque aut nemo natus quo quia rerum. Dolorem eligendi quibusdam consequatur. Et dolorum vitae laudantium quas suscipit. Molestiae est nemo non architecto earum et.\", \"Libero totam a ut. Eius temporibus corporis aut. Iure cum aut dolore natus velit quod.\"]"], ["created_at", "2014-09-23 00:44:41.491481"], ["name", "contract_89a8011b"], ["title", "Et quam sequi omnis aut voluptas consequatur voluptatem."], ["updated_at", "2014-09-23 00:44:41.491481"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_89a8011b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_89a8011b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:44:41.494569"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.497001"], ["updated_at", "2014-09-23 00:44:41.497001"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:44:41.499114"], ["updated_at", "2014-09-23 00:44:41.499114"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.504356"], ["updated_at", "2014-09-23 00:44:41.504356"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.505918"], ["updated_at", "2014-09-23 00:44:41.505918"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium porro et sequi ut. Qui aut illo corporis distinctio possimus aspernatur eum. Quod qui et et tempora quos autem totam. Ut dignissimos inventore voluptas itaque vitae autem. Minus id similique nihil aliquid et suscipit.\", \"Assumenda illum consequatur. Quod officiis fugiat beatae cupiditate odio. Quod assumenda facere quae sed iste qui. Ducimus et corporis illum. Quos qui nulla.\"]"], ["created_at", "2014-09-23 00:44:41.508202"], ["name", "contract_dd4ed7f1"], ["title", "Neque rem delectus dolore dolores."], ["updated_at", "2014-09-23 00:44:41.508202"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.513116"], ["updated_at", "2014-09-23 00:44:41.513116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.514727"], ["updated_at", "2014-09-23 00:44:41.514727"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In quam aut sed aut eius dolore. Nihil veniam qui amet. Et dolor blanditiis id. Modi quasi facere. Quos dolorem dolore illo quia.\", \"Dignissimos laborum atque. Necessitatibus ad temporibus animi quia. Sit nulla culpa.\"]"], ["created_at", "2014-09-23 00:44:41.517413"], ["name", "contract_3b6d4bee"], ["title", "Et rerum aut molestiae vel adipisci tenetur non."], ["updated_at", "2014-09-23 00:44:41.517413"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3b6d4bee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_3b6d4bee') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:44:41.522515"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.526470"], ["updated_at", "2014-09-23 00:44:41.526470"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.528010"], ["updated_at", "2014-09-23 00:44:41.528010"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam eos numquam voluptas ut temporibus et officia. Velit in quasi quis animi illum aperiam ut. Pariatur provident earum.\", \"Sapiente amet iusto error tenetur expedita. Delectus dicta quae voluptatem facilis excepturi. Velit autem sit excepturi est. Molestiae necessitatibus molestias.\"]"], ["created_at", "2014-09-23 00:44:41.530091"], ["name", "contract_1555cfa3"], ["title", "Laboriosam ipsa tempore."], ["updated_at", "2014-09-23 00:44:41.530091"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.534493"], ["updated_at", "2014-09-23 00:44:41.534493"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.536001"], ["updated_at", "2014-09-23 00:44:41.536001"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum vero dicta eum nemo nesciunt eaque maxime. Et quos labore unde vitae maiores reprehenderit iusto. Magni enim accusamus porro dolor quis ab rerum. Distinctio vitae facere et tempore debitis.\", \"Quasi porro est enim fugit sit explicabo. Sunt sit molestias sit a corrupti sint. Qui dolor sequi repudiandae et ipsa aut. Quia repudiandae fugiat ea odio.\"]"], ["created_at", "2014-09-23 00:44:41.538114"], ["name", "contract_218fe29b"], ["title", "Quidem consequatur consectetur quaerat aut modi fuga incidunt."], ["updated_at", "2014-09-23 00:44:41.538114"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.543209"], ["updated_at", "2014-09-23 00:44:41.543209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.544710"], ["updated_at", "2014-09-23 00:44:41.544710"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut officiis voluptatem repudiandae. Aut eum illum quia. Earum illum repellendus. Quis omnis sapiente quia ratione dolores.\", \"Omnis et distinctio vel nihil dolore. Fugiat molestiae culpa quis. Ea reiciendis saepe quo maiores facere voluptatem quasi.\"]"], ["created_at", "2014-09-23 00:44:41.547057"], ["name", "contract_d814c9cd"], ["title", "Saepe quos id deleniti sit."], ["updated_at", "2014-09-23 00:44:41.547057"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.553536"], ["updated_at", "2014-09-23 00:44:41.553536"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.555127"], ["updated_at", "2014-09-23 00:44:41.555127"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid quia id nam. Blanditiis et molestias explicabo et amet sequi soluta. Ipsam aut sint. Quo atque consequuntur quis aut corrupti. Similique id ullam et illo ducimus.\", \"Officiis eveniet tempora corporis sint excepturi. Non libero ipsa nulla voluptas. Est blanditiis delectus. Et laboriosam aspernatur similique officiis et asperiores aut.\"]"], ["created_at", "2014-09-23 00:44:41.557332"], ["name", "contract_9cff762d"], ["title", "Placeat quo sed omnis dicta."], ["updated_at", "2014-09-23 00:44:41.557332"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 16 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:44:41.561044"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.565570"], ["updated_at", "2014-09-23 00:44:41.565570"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.567036"], ["updated_at", "2014-09-23 00:44:41.567036"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit similique laborum. Quisquam illo debitis explicabo. Architecto ratione optio. Amet beatae nam repellendus at sint. Ut molestiae voluptatem dolores et recusandae.\", \"Qui in quibusdam et quia. Autem dignissimos minima placeat temporibus reprehenderit. Sapiente enim quia atque aut placeat.\"]"], ["created_at", "2014-09-23 00:44:41.569162"], ["name", "contract_ddc2ba66"], ["title", "Ex facilis voluptate qui."], ["updated_at", "2014-09-23 00:44:41.569162"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ddc2ba66"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_ddc2ba66') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:44:41.572277"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ddc2ba66' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.581032"], ["updated_at", "2014-09-23 00:44:41.581032"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.582644"], ["updated_at", "2014-09-23 00:44:41.582644"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores dicta quia. Enim explicabo saepe architecto voluptatem perspiciatis aut. Qui quo qui quisquam accusantium. Magni et exercitationem assumenda non eum omnis amet.\", \"Reiciendis labore magnam commodi non distinctio. Voluptatem voluptatem aperiam corporis. Ab error dolor est dolorum. Et rerum dicta impedit id. Nobis ipsa non non adipisci perferendis reiciendis dolor.\"]"], ["created_at", "2014-09-23 00:44:41.584784"], ["name", "contract_6931f53d"], ["title", "Quia tempora aut magnam velit."], ["updated_at", "2014-09-23 00:44:41.584784"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.589173"], ["updated_at", "2014-09-23 00:44:41.589173"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.590714"], ["updated_at", "2014-09-23 00:44:41.590714"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita blanditiis in eaque at quas qui error. Iure et reprehenderit ut cum voluptate dolorem labore. Molestias culpa rerum totam quia dolor excepturi. Officia dolor et et hic asperiores quia. Harum repellat perspiciatis consequatur officia eveniet.\", \"Hic expedita aut sunt eos ratione nulla velit. Sed corrupti nobis reiciendis. Nesciunt ducimus doloribus libero est. In sed et ut doloremque placeat commodi.\"]"], ["created_at", "2014-09-23 00:44:41.592962"], ["name", "contract_0dd0d2db"], ["title", "Ut repellat alias cum aperiam inventore magnam est."], ["updated_at", "2014-09-23 00:44:41.592962"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0dd0d2db"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_0dd0d2db') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:44:41.596214"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.602009"], ["updated_at", "2014-09-23 00:44:41.602009"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.603992"], ["updated_at", "2014-09-23 00:44:41.603992"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque eveniet veniam. Illo impedit minima dolore. Sunt sapiente beatae cum sed aperiam quas deserunt.\", \"Veritatis quia quod odio id pariatur quis. Sed enim nisi et aut laboriosam. Blanditiis iusto voluptas ut exercitationem. Dolore atque est.\"]"], ["created_at", "2014-09-23 00:44:41.606205"], ["name", "contract_de042063"], ["title", "Praesentium molestiae sit rerum."], ["updated_at", "2014-09-23 00:44:41.606205"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de042063"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_de042063') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:44:41.609344"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_de042063"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:44:41.614201"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.618118"], ["updated_at", "2014-09-23 00:44:41.618118"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.619632"], ["updated_at", "2014-09-23 00:44:41.619632"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi ducimus temporibus. Deleniti accusamus est. Illum consequuntur repudiandae.\", \"Voluptatum doloribus id. Dolore atque occaecati velit optio. Aut dolorem modi quis in quaerat. Ut repellendus tempora qui molestiae incidunt.\"]"], ["created_at", "2014-09-23 00:44:41.621844"], ["name", "contract_497bb3c4"], ["title", "Aliquam est aut."], ["updated_at", "2014-09-23 00:44:41.621844"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 5, 19, 3, 13, 14, 8, 12, 21, 1, 18, 7, 9, 10, 6, 4, 15, 11, 17, 20, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.635300"], ["updated_at", "2014-09-23 00:44:41.635300"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.637723"], ["updated_at", "2014-09-23 00:44:41.637723"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque ab est est. Aperiam culpa eum sint quae ea officiis. Natus quibusdam accusantium amet qui et cupiditate.\", \"Voluptatum eaque distinctio quae cum vero. Ipsa deleniti vel aspernatur. Officiis consequuntur quasi tenetur. Sequi quae magni. Ea non ipsum dolorum impedit.\"]"], ["created_at", "2014-09-23 00:44:41.641103"], ["name", "contract_490ab06c"], ["title", "Voluptatem sint earum blanditiis."], ["updated_at", "2014-09-23 00:44:41.641103"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_490ab06c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_490ab06c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:44:41.645152"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.651430"], ["updated_at", "2014-09-23 00:44:41.651430"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.652911"], ["updated_at", "2014-09-23 00:44:41.652911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit hic explicabo occaecati eius. Dicta est voluptas aliquam. Reiciendis qui nihil. Tenetur et eius quod.\", \"Nisi velit dicta cum dolores qui ratione repudiandae. Quidem veniam sint et id. Similique dolores in quisquam quia velit. Nesciunt laborum qui.\"]"], ["created_at", "2014-09-23 00:44:41.655048"], ["name", "contract_f81b5223"], ["title", "Eaque recusandae nam est culpa quasi veritatis."], ["updated_at", "2014-09-23 00:44:41.655048"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.660113"], ["updated_at", "2014-09-23 00:44:41.660113"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.661606"], ["updated_at", "2014-09-23 00:44:41.661606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et ut repellendus. Ut veritatis deserunt veniam quae. Officia vel sint. Incidunt eius nam at ad. Voluptas ea dolor dolor illum enim.\", \"Aspernatur ratione voluptas inventore omnis. Dolore quis nihil dicta qui delectus quae. Sunt molestiae sequi. Fuga sapiente nesciunt. Hic voluptatem doloribus provident nisi et.\"]"], ["created_at", "2014-09-23 00:44:41.663696"], ["name", "contract_d8b27b0b"], ["title", "Odio porro est quam ea mollitia excepturi."], ["updated_at", "2014-09-23 00:44:41.663696"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.667426"], ["updated_at", "2014-09-23 00:44:41.667426"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.668951"], ["updated_at", "2014-09-23 00:44:41.668951"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil error laudantium fugit itaque iusto. Libero autem quibusdam qui voluptates voluptas sit. Nesciunt repellat voluptatibus quas amet aut vitae est.\", \"Ab distinctio repudiandae. Deserunt et maiores magnam itaque unde recusandae. Illum consequatur repellat quia dolores ea corrupti consequatur.\"]"], ["created_at", "2014-09-23 00:44:41.671188"], ["name", "contract_20bcd58c"], ["title", "Blanditiis numquam dicta inventore itaque magni sed."], ["updated_at", "2014-09-23 00:44:41.671188"]]  (1.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.682696"], ["updated_at", "2014-09-23 00:44:41.682696"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.684555"], ["updated_at", "2014-09-23 00:44:41.684555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ab doloribus impedit recusandae nam explicabo. Quisquam nisi maxime nulla consequatur. Et libero sunt esse eius rerum possimus. Impedit atque repellendus dolorem officia aut.\", \"Voluptatem earum numquam aut aut dolorem voluptas. Ipsum dolorem deleniti. Molestiae facere natus. Impedit aut perspiciatis distinctio et debitis dolor facere.\"]"], ["created_at", "2014-09-23 00:44:41.686771"], ["name", "contract_1527efc4"], ["title", "Tempore odit libero et."], ["updated_at", "2014-09-23 00:44:41.686771"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:44:41.689870"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:44:41.689870"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/27 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.692791"], ["updated_at", "2014-09-23 00:44:41.692791"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.694186"], ["updated_at", "2014-09-23 00:44:41.694186"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus aut reiciendis accusamus ducimus id et. Et et est recusandae aut quibusdam. Assumenda impedit sint et velit excepturi. Vel magnam omnis praesentium voluptates delectus rerum. Blanditiis est deserunt voluptate.\", \"Architecto nam debitis nisi itaque magnam quasi eos. Et repudiandae et commodi quis. Maxime quia cum harum error quia ullam. Minus enim facilis qui commodi quidem est non. Saepe qui velit tempora sed dolores in aliquam.\"]"], ["created_at", "2014-09-23 00:44:41.696286"], ["name", "contract_4386695b"], ["title", "Veniam modi quaerat."], ["updated_at", "2014-09-23 00:44:41.696286"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.701147"], ["updated_at", "2014-09-23 00:44:41.701147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.702614"], ["updated_at", "2014-09-23 00:44:41.702614"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis rem ut aspernatur ipsa vel eum. Aspernatur occaecati similique. Illo cupiditate voluptatem deleniti. Odit occaecati qui praesentium minima. Perferendis voluptatem in quisquam voluptates quis molestiae.\", \"Nihil voluptatem dolores quia nihil. Qui nobis voluptates non temporibus ratione ipsam odio. Aut illo officiis deleniti cupiditate incidunt et. Quo neque et rerum harum porro. Voluptas fugiat reprehenderit reiciendis magni dolorem.\"]"], ["created_at", "2014-09-23 00:44:41.704700"], ["name", "contract_37cf70a3"], ["title", "Consequuntur omnis soluta temporibus quibusdam officia ab aut."], ["updated_at", "2014-09-23 00:44:41.704700"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 29]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 29]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et repellendus enim illum. Officiis beatae recusandae asperiores sed et culpa blanditiis. Aliquam explicabo necessitatibus et. Amet aut et. Et quidem quia laboriosam eos unde repellat cupiditate.\", \"Sit velit sunt rerum temporibus deserunt. Non sed magnam. Quia deserunt et itaque et et odio. Et asperiores commodi quo et aut est. Facilis aut voluptatem cum inventore eum.\"]"], ["created_at", "2014-09-23 00:44:41.712063"], ["name", "contract_f148cf49"], ["title", "Voluptatum laboriosam sint."], ["updated_at", "2014-09-23 00:44:41.712063"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f148cf49"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_f148cf49') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-23 00:44:41.715178"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f148cf49' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et repellendus enim illum. Officiis beatae recusandae asperiores sed et culpa blanditiis. Aliquam explicabo necessitatibus et. Amet aut et. Et quidem quia laboriosam eos unde repellat cupiditate.\", \"Sit velit sunt rerum temporibus deserunt. Non sed magnam. Quia deserunt et itaque et et odio. Et asperiores commodi quo et aut est. Facilis aut voluptatem cum inventore eum.\"]"], ["created_at", "2014-09-23 00:44:41.718503"], ["name", "contract_f148cf49"], ["title", "Voluptatum laboriosam sint."], ["updated_at", "2014-09-23 00:44:41.718503"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f148cf49"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_f148cf49') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 00:44:41.722303"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non et sint quod neque modi sed eos. Consectetur quidem consequatur rem mollitia doloribus voluptatem placeat. Totam est officia odit commodi sed aliquid. Rerum labore impedit. Omnis quod quae blanditiis velit possimus labore.\", \"Ipsum voluptatem et molestias unde dolore quod ut. Quae est qui culpa sed asperiores assumenda. Qui quam corporis est eos.\"]"], ["created_at", "2014-09-23 00:44:41.725847"], ["name", "contract_07be1c25"], ["title", "Recusandae molestias harum dicta sed."], ["updated_at", "2014-09-23 00:44:41.725847"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07be1c25"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_07be1c25') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:44:41.730044"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07be1c25"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07be1c25"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:44:41.734523"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia adipisci tempore eaque error. Consequatur aut pariatur. Accusantium corporis quasi nesciunt autem mollitia.\", \"Voluptatem velit corporis et ratione. Quae sint nisi. Quaerat voluptas odio vitae aut architecto iusto. Saepe molestiae odit at illo modi.\"]"], ["created_at", "2014-09-23 00:44:41.737520"], ["name", "contract_3f300585"], ["title", "Dolorem soluta voluptatem nulla repellendus ducimus."], ["updated_at", "2014-09-23 00:44:41.737520"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f300585"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_3f300585') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:44:41.740550"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.744174"], ["updated_at", "2014-09-23 00:44:41.744174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-23 00:44:41.746309"], ["updated_at", "2014-09-23 00:44:41.746309"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_3f300585') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f300585"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis sequi repellendus quod sunt earum. Quia similique sed. Animi nostrum doloremque. Sit est nemo accusamus corporis iure natus et.\", \"Quidem dolor sunt animi et molestias veniam. Consequatur natus voluptate sit. Debitis natus ut voluptatem mollitia vel atque eaque. Inventore harum perferendis eveniet dolor velit. Voluptates ea qui.\"]"], ["created_at", "2014-09-23 00:44:41.754137"], ["name", "contract_a6e6c9fe"], ["title", "Dignissimos autem aut maiores et tenetur commodi saepe."], ["updated_at", "2014-09-23 00:44:41.754137"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a6e6c9fe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_a6e6c9fe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 00:44:41.757292"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_a6e6c9fe' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reiciendis sequi repellendus quod sunt earum. Quia similique sed. Animi nostrum doloremque. Sit est nemo accusamus corporis iure natus et.\", \"Quidem dolor sunt animi et molestias veniam. Consequatur natus voluptate sit. Debitis natus ut voluptatem mollitia vel atque eaque. Inventore harum perferendis eveniet dolor velit. Voluptates ea qui.\"]"], ["created_at", "2014-09-23 00:44:41.760855"], ["name", "joe"], ["title", "Dignissimos autem aut maiores et tenetur commodi saepe."], ["updated_at", "2014-09-23 00:44:41.760855"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 00:44:41.764426"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti soluta impedit et molestiae et ea asperiores. Aut velit voluptate. Nam excepturi laudantium. Ipsum voluptates voluptate neque qui sed ut. Magnam harum sed ullam ad quia autem quam.\", \"Incidunt dolorem atque ratione. Quasi ut officiis molestiae atque voluptatum. Error sit et autem qui sapiente. Soluta rerum tempore. A nihil similique consequatur.\"]"], ["created_at", "2014-09-23 00:44:41.768726"], ["name", "alpha"], ["title", "Ipsum et ut est molestiae placeat."], ["updated_at", "2014-09-23 00:44:41.768726"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:44:41.772783"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At et quis qui iste quia deserunt. Illo voluptatem nemo in. Asperiores expedita dolore est eos facere nesciunt doloribus.\", \"Temporibus asperiores atque illo optio sed. Natus perspiciatis odit quo. Ut eligendi occaecati ea et ut voluptas. Mollitia voluptas molestias vitae eveniet voluptatibus. Aut voluptatem itaque voluptatem in est.\"]"], ["created_at", "2014-09-23 00:44:41.775812"], ["name", "beta"], ["title", "Labore nobis sunt natus expedita dolorum enim."], ["updated_at", "2014-09-23 00:44:41.775812"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-23 00:44:41.778815"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.781082"], ["updated_at", "2014-09-23 00:44:41.781082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-23 00:44:41.783768"], ["updated_at", "2014-09-23 00:44:41.783768"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-23 00:44:41.786189"], ["updated_at", "2014-09-23 00:44:41.786189"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:44:41.788450"], ["name", "alpha"], ["title", "Ipsum et ut est molestiae placeat."], ["updated_at", "2014-09-23 00:44:41.788450"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:44:41.791560"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi voluptatem impedit ex assumenda non. Assumenda qui numquam. Corrupti iure animi temporibus. Et omnis amet.\", \"Et ipsum sed sunt. Quod consequatur similique corporis autem ipsam distinctio odio. Dolorem sint pariatur accusamus est aut accusantium. Inventore alias odit qui veritatis.\"]"], ["created_at", "2014-09-23 00:44:41.794944"], ["name", "alpha"], ["title", "Itaque vel vitae recusandae tempora animi."], ["updated_at", "2014-09-23 00:44:41.794944"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:44:41.797953"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At dolorum dolor voluptatem atque velit ex. Minus vel aut rem qui error officia. Et rerum minima quia sed. Exercitationem aliquam iusto. Sed dignissimos ex sapiente molestias quibusdam est aliquid.\", \"Omnis quae quo perspiciatis minima. Maiores eos sed aspernatur. Ducimus ut fugit voluptatem quia quia quod.\"]"], ["created_at", "2014-09-23 00:44:41.801375"], ["name", "beta"], ["title", "Quos ipsam cupiditate placeat sed qui nihil libero."], ["updated_at", "2014-09-23 00:44:41.801375"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 00:44:41.804649"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.806946"], ["updated_at", "2014-09-23 00:44:41.806946"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 00:44:41.809532"], ["updated_at", "2014-09-23 00:44:41.809532"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 00:44:41.812072"], ["updated_at", "2014-09-23 00:44:41.812072"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:44:41.814379"], ["name", "alpha"], ["title", "Itaque vel vitae recusandae tempora animi."], ["updated_at", "2014-09-23 00:44:41.814379"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:44:41.818056"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur occaecati ea accusamus recusandae similique quo. Sapiente ut officiis deserunt. Sapiente quam cumque voluptatem. Inventore molestiae fuga beatae cum voluptas modi autem.\", \"Voluptatum cumque quis. Corporis aut incidunt. Neque mollitia deserunt corrupti error. Aperiam et error quae ipsa. Qui ullam sunt dolor et.\"]"], ["created_at", "2014-09-23 00:44:41.824290"], ["name", "alpha"], ["title", "Voluptatum odio a itaque voluptas."], ["updated_at", "2014-09-23 00:44:41.824290"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:44:41.827411"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia rerum nihil et aut culpa voluptas quaerat. Et sunt excepturi error veniam molestiae. Aspernatur quidem voluptatum eveniet exercitationem.\", \"Sunt magni tempora nihil porro unde reprehenderit alias. Consectetur maiores laborum neque dolores omnis. Velit ut suscipit aspernatur praesentium laborum quam distinctio. Est et molestias libero. Impedit ut architecto illum sed.\"]"], ["created_at", "2014-09-23 00:44:41.830310"], ["name", "beta"], ["title", "Labore in excepturi dolores quibusdam voluptatem."], ["updated_at", "2014-09-23 00:44:41.830310"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:44:41.833328"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.835631"], ["updated_at", "2014-09-23 00:44:41.835631"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-23 00:44:41.838288"], ["updated_at", "2014-09-23 00:44:41.838288"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-23 00:44:41.848263"], ["updated_at", "2014-09-23 00:44:41.848263"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:44:41.851119"], ["name", "alpha"], ["title", "Voluptatum odio a itaque voluptas."], ["updated_at", "2014-09-23 00:44:41.851119"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:44:41.854192"], ["version", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam amet illum ipsa. Est ut repudiandae ipsum consequatur iusto perspiciatis voluptas. Eos quis non. Dolor aut nemo vero nihil.\", \"Eligendi sed ut sequi aperiam itaque. Reprehenderit fugit doloremque incidunt dolorem cum pariatur. Dolores exercitationem ipsam non ipsa repudiandae recusandae. Quo tempora sunt. Enim ullam a occaecati repellendus aut incidunt est.\"]"], ["created_at", "2014-09-23 00:44:41.857720"], ["name", "alpha"], ["title", "Qui cumque enim explicabo accusantium voluptatem omnis."], ["updated_at", "2014-09-23 00:44:41.857720"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:44:41.861160"], ["version", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat est a qui. Iste aut pariatur earum id. Sit numquam molestiae.\", \"Asperiores quibusdam aspernatur reprehenderit molestiae debitis neque culpa. Quis consectetur delectus fugiat expedita. Cum laboriosam excepturi quia vero aperiam reprehenderit.\"]"], ["created_at", "2014-09-23 00:44:41.864544"], ["name", "beta"], ["title", "Odit ratione animi."], ["updated_at", "2014-09-23 00:44:41.864544"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 00:44:41.871152"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.875618"], ["updated_at", "2014-09-23 00:44:41.875618"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 00:44:41.880986"], ["updated_at", "2014-09-23 00:44:41.880986"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-23 00:44:41.885498"], ["updated_at", "2014-09-23 00:44:41.885498"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:44:41.888967"], ["name", "alpha"], ["title", "Qui cumque enim explicabo accusantium voluptatem omnis."], ["updated_at", "2014-09-23 00:44:41.888967"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:44:41.892167"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-23 00:44:41.910734"], ["updated_at", "2014-09-23 00:44:41.910734"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.925710"], ["updated_at", "2014-09-23 00:44:41.925710"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.927400"], ["updated_at", "2014-09-23 00:44:41.927400"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.932353"], ["updated_at", "2014-09-23 00:44:41.932353"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:44:41.934151"], ["updated_at", "2014-09-23 00:44:41.934151"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero repellat aliquid animi dolores. Ex nihil sequi autem. Labore cumque voluptatibus soluta qui eaque et minima.\", \"Quis dignissimos natus et qui tempora consequatur explicabo. Exercitationem pariatur deleniti laborum autem. Dolores neque sint sed dolores molestiae non eveniet. Optio tempora in mollitia minima.\"]"], ["created_at", "2014-09-23 00:45:13.801765"], ["name", "alpha"], ["title", "Eveniet et dicta."], ["updated_at", "2014-09-23 00:45:13.801765"]]  (1.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 00:45:13.819782"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia molestiae enim amet eaque tempora debitis. Beatae aut minus voluptates veritatis est voluptatem animi. Omnis beatae inventore amet minima iusto et. Officiis tempora sint eligendi. Quisquam atque qui amet dolores voluptatem repudiandae.\", \"Non cum aut sint. Illo et alias ab cum. Laborum voluptate ea molestiae occaecati eum. Sequi optio ut quibusdam.\"]"], ["created_at", "2014-09-23 00:45:13.825705"], ["name", "beta"], ["title", "Provident dolores mollitia totam voluptates odio."], ["updated_at", "2014-09-23 00:45:13.825705"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:45:13.829274"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.833256"], ["updated_at", "2014-09-23 00:45:13.833256"]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-23 00:45:13.840836"], ["updated_at", "2014-09-23 00:45:13.840836"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-23 00:45:13.847293"], ["updated_at", "2014-09-23 00:45:13.847293"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:45:13.851611"], ["name", "alpha"], ["title", "Eveniet et dicta."], ["updated_at", "2014-09-23 00:45:13.851611"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:45:13.855097"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae qui sit ipsum voluptas soluta vero. Voluptas libero itaque. Non rem voluptatibus odio quia maxime. Animi amet magnam commodi et et aut officiis. Molestias sequi omnis qui dolores laborum ipsum provident.\", \"Voluptatum ut incidunt et odio. Porro qui quae nesciunt autem et. Rerum corrupti laborum atque rerum illum. Dignissimos harum occaecati vero veniam. Facere totam dignissimos nulla id.\"]"], ["created_at", "2014-09-23 00:45:13.860207"], ["name", "alpha"], ["title", "Aut facilis nemo."], ["updated_at", "2014-09-23 00:45:13.860207"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:45:13.864014"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto culpa et. Repellat qui aut voluptas. Doloremque possimus quis. Rem cumque voluptas. Ut nobis ullam.\", \"Consequatur sunt ut autem dolorem voluptatem. Officia aperiam harum qui. Asperiores qui reprehenderit minus exercitationem enim nihil explicabo. Nesciunt officiis aut nemo ipsam sunt ea. Incidunt odit sequi et molestiae cupiditate voluptatem.\"]"], ["created_at", "2014-09-23 00:45:13.867937"], ["name", "beta"], ["title", "Totam repellat at esse."], ["updated_at", "2014-09-23 00:45:13.867937"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:45:13.871213"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.873682"], ["updated_at", "2014-09-23 00:45:13.873682"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:45:13.876430"], ["updated_at", "2014-09-23 00:45:13.876430"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:45:13.879335"], ["updated_at", "2014-09-23 00:45:13.879335"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:45:13.881582"], ["name", "alpha"], ["title", "Aut facilis nemo."], ["updated_at", "2014-09-23 00:45:13.881582"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:45:13.886095"], ["version", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit aut non. Facilis adipisci consequatur ipsam. Perferendis quas est laudantium excepturi.\", \"Dolor odio ipsum qui. Molestiae animi voluptatibus rerum tempora harum. Voluptate et nemo illo.\"]"], ["created_at", "2014-09-23 00:45:13.891032"], ["name", "alpha"], ["title", "Omnis architecto officia provident qui ut."], ["updated_at", "2014-09-23 00:45:13.891032"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:45:13.895201"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore adipisci consequatur perferendis eaque explicabo ex. Sed consequatur qui. Quos quo officiis quis velit corporis. Sint quasi est.\", \"Tempora numquam dolor quia iusto placeat. Quas quo voluptatem adipisci minima et ad. Sequi similique enim. Facilis nostrum velit neque quo. Ut qui ipsa eum modi sunt laborum non.\"]"], ["created_at", "2014-09-23 00:45:13.898737"], ["name", "beta"], ["title", "Qui ad ducimus est perspiciatis ea dolorem tempore."], ["updated_at", "2014-09-23 00:45:13.898737"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:45:13.902418"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.904813"], ["updated_at", "2014-09-23 00:45:13.904813"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:45:13.908075"], ["updated_at", "2014-09-23 00:45:13.908075"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:45:13.911772"], ["updated_at", "2014-09-23 00:45:13.911772"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:45:13.914466"], ["name", "alpha"], ["title", "Omnis architecto officia provident qui ut."], ["updated_at", "2014-09-23 00:45:13.914466"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:45:13.917621"], ["version", 6]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat dolore voluptatem nisi. Ut quibusdam animi magni perferendis sed in. Sunt vero dignissimos ut vel. Et eius consequatur. Quaerat qui et.\", \"Accusamus non nihil quidem dolores est esse occaecati. Mollitia nisi aperiam nam. Quia quia ipsum.\"]"], ["created_at", "2014-09-23 00:45:13.924430"], ["name", "alpha"], ["title", "Eum velit rerum sed aliquam eos."], ["updated_at", "2014-09-23 00:45:13.924430"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:45:13.928107"], ["version", 7]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint eveniet voluptas quia inventore laboriosam quasi. Quisquam non quis. Qui occaecati non omnis quos provident veniam et. Qui tenetur et esse. Ad et et corrupti aut dolores maxime omnis.\", \"Doloribus vel sint aliquam nihil. Nemo culpa et. Iure aut debitis soluta. Rerum nisi a ut.\"]"], ["created_at", "2014-09-23 00:45:13.931384"], ["name", "beta"], ["title", "Facere repellat tempore id et eius."], ["updated_at", "2014-09-23 00:45:13.931384"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:45:13.934384"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.936648"], ["updated_at", "2014-09-23 00:45:13.936648"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:45:13.939158"], ["updated_at", "2014-09-23 00:45:13.939158"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:45:13.941640"], ["updated_at", "2014-09-23 00:45:13.941640"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:45:13.943832"], ["name", "alpha"], ["title", "Eum velit rerum sed aliquam eos."], ["updated_at", "2014-09-23 00:45:13.943832"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:45:13.946795"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 00:45:13.965530"], ["updated_at", "2014-09-23 00:45:13.965530"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.982734"], ["updated_at", "2014-09-23 00:45:13.982734"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.984415"], ["updated_at", "2014-09-23 00:45:13.984415"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Incidunt illum labore cumque aspernatur. Est nesciunt tenetur perspiciatis laudantium voluptas aspernatur laborum. Amet sed quos beatae qui sit rerum eveniet. Vero blanditiis et asperiores atque earum.\", \"Eum eius qui quam. Corrupti harum id nulla. Animi dolorem omnis qui consectetur laborum et expedita.\"]"], ["created_at", "2014-09-23 00:45:13.987025"], ["name", "contract_fb57a60b"], ["title", "Officia et maxime."], ["updated_at", "2014-09-23 00:45:13.987025"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fb57a60b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_fb57a60b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:45:13.990230"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:13.992579"], ["updated_at", "2014-09-23 00:45:13.992579"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-23 00:45:13.994750"], ["updated_at", "2014-09-23 00:45:13.994750"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"13"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 190ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.190328"], ["updated_at", "2014-09-23 00:45:14.190328"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.193008"], ["updated_at", "2014-09-23 00:45:14.193008"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio est qui. Ad veritatis harum consequatur inventore totam autem ut. Itaque iusto nihil sed ad quisquam sequi odit.\", \"Voluptatem nulla pariatur mollitia commodi quam nesciunt. Officiis ut excepturi. Eos repellendus sit labore amet. Exercitationem inventore facilis veniam. Nobis fugiat est magnam animi voluptatem cupiditate.\"]"], ["created_at", "2014-09-23 00:45:14.196177"], ["name", "contract_4c7d77a2"], ["title", "Et dicta quibusdam ut reiciendis et qui temporibus."], ["updated_at", "2014-09-23 00:45:14.196177"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4c7d77a2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_4c7d77a2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:45:14.199863"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.202344"], ["updated_at", "2014-09-23 00:45:14.202344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-23 00:45:14.204535"], ["updated_at", "2014-09-23 00:45:14.204535"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.213956"], ["updated_at", "2014-09-23 00:45:14.213956"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.215620"], ["updated_at", "2014-09-23 00:45:14.215620"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur eaque dolor est. Natus dolorem ea error explicabo rerum et. Doloremque sunt tempora ut voluptatem. Exercitationem dolorum voluptatibus officiis molestias accusamus.\", \"Sit expedita sed illum tempore repellat consectetur. Ipsam praesentium quaerat qui et. Rerum nemo veniam sunt illo eveniet autem a. Ea sed laudantium quasi et debitis consectetur minima.\"]"], ["created_at", "2014-09-23 00:45:14.218109"], ["name", "contract_3f9715bb"], ["title", "Aut velit eligendi rerum itaque aut architecto voluptas."], ["updated_at", "2014-09-23 00:45:14.218109"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3f9715bb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_3f9715bb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:45:14.221336"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.223818"], ["updated_at", "2014-09-23 00:45:14.223818"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 00:45:14.226786"], ["updated_at", "2014-09-23 00:45:14.226786"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"15"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.230637"], ["updated_at", "2014-09-23 00:45:14.230637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.232152"], ["updated_at", "2014-09-23 00:45:14.232152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam voluptatem pariatur animi et earum et. Architecto quasi ut quaerat dolorem cupiditate ut sed. Harum sit tenetur laborum et et. Eos consequatur iusto consequatur omnis sed porro temporibus.\", \"Praesentium provident neque. Porro sint sequi iste. Est ea qui eligendi enim voluptates doloremque. Similique rerum dolores et. Sit sint non dolores suscipit iste.\"]"], ["created_at", "2014-09-23 00:45:14.234720"], ["name", "contract_86733aef"], ["title", "Autem saepe voluptates tempora."], ["updated_at", "2014-09-23 00:45:14.234720"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_86733aef"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_86733aef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:45:14.238012"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.240552"], ["updated_at", "2014-09-23 00:45:14.240552"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-23 00:45:14.242687"], ["updated_at", "2014-09-23 00:45:14.242687"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.247816"], ["updated_at", "2014-09-23 00:45:14.247816"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.249349"], ["updated_at", "2014-09-23 00:45:14.249349"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste illum et ducimus rem tempore. Corporis omnis qui consequatur veniam qui. Iste rerum doloribus et quaerat at fugiat.\", \"Et ab suscipit. Non quod odio accusamus ad. Omnis consequuntur et saepe velit. Explicabo quibusdam dolorum. A provident dolorum aut quasi et.\"]"], ["created_at", "2014-09-23 00:45:14.252492"], ["name", "contract_289e5348"], ["title", "Illum aperiam debitis."], ["updated_at", "2014-09-23 00:45:14.252492"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_289e5348"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_289e5348') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:45:14.256044"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.258447"], ["updated_at", "2014-09-23 00:45:14.258447"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-23 00:45:14.260559"], ["updated_at", "2014-09-23 00:45:14.260559"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.267035"], ["updated_at", "2014-09-23 00:45:14.267035"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.268648"], ["updated_at", "2014-09-23 00:45:14.268648"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem occaecati perspiciatis quia sed sapiente sit. Illum eius non iure. Fugiat vel et cupiditate illo ipsa et saepe. Expedita non nostrum neque illo nisi. Libero aut ratione labore et.\", \"Neque facere nihil. Minus quia ut fugiat et. Est voluptatum neque doloremque nihil cumque a pariatur. Sed sunt quasi. Alias libero id sit consequatur facilis amet possimus.\"]"], ["created_at", "2014-09-23 00:45:14.271296"], ["name", "contract_4a75d22f"], ["title", "Sint totam expedita quasi accusantium rerum."], ["updated_at", "2014-09-23 00:45:14.271296"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4a75d22f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_4a75d22f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:45:14.274550"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.277954"], ["updated_at", "2014-09-23 00:45:14.277954"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-23 00:45:14.280151"], ["updated_at", "2014-09-23 00:45:14.280151"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"18"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.285277"], ["updated_at", "2014-09-23 00:45:14.285277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.286857"], ["updated_at", "2014-09-23 00:45:14.286857"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui saepe rerum vel non commodi amet. Nihil beatae porro. Impedit quia ut repellat autem et. Neque praesentium esse officia consequatur. Illum nulla voluptatem vero expedita corrupti reprehenderit.\", \"Ea labore ut eum. Iste dignissimos quod eveniet. Laudantium ex adipisci et ut dicta et dolore. Delectus temporibus ratione illum iure autem dolorum et.\"]"], ["created_at", "2014-09-23 00:45:14.289473"], ["name", "contract_140c2313"], ["title", "Laboriosam optio et assumenda ea totam ad sint."], ["updated_at", "2014-09-23 00:45:14.289473"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_140c2313"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_140c2313') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:45:14.292691"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.295602"], ["updated_at", "2014-09-23 00:45:14.295602"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-23 00:45:14.298406"], ["updated_at", "2014-09-23 00:45:14.298406"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"19"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"19"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.302915"], ["updated_at", "2014-09-23 00:45:14.302915"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.304537"], ["updated_at", "2014-09-23 00:45:14.304537"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto at ut voluptates totam nulla. Quia nesciunt omnis dolores. At vero officiis corporis consequatur pariatur sunt.\", \"Fugiat ab et incidunt. Vero est qui. Ut quod sint sequi neque eos. Eligendi eos minima.\"]"], ["created_at", "2014-09-23 00:45:14.307065"], ["name", "contract_0661a3e1"], ["title", "Eos esse occaecati excepturi."], ["updated_at", "2014-09-23 00:45:14.307065"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0661a3e1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_0661a3e1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:45:14.310888"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.313464"], ["updated_at", "2014-09-23 00:45:14.313464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:45:14.315821"], ["updated_at", "2014-09-23 00:45:14.315821"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Redirected to http://test.host/fine_print/contracts/20/signatures?r=a280aUt0M2ZWYkY0MHNZVUFFUEF4UT09LS1yQ2hIcXdWbVpscjBNVHllYWo2Y2VRPT0%3D--ea5991054c3902276f231c18a266f3a297e00844 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 17 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi deleniti laborum illo. Cupiditate sint id. Sequi illo possimus quas dolores. Vero est sed voluptates voluptatibus.\", \"Occaecati sit maxime cupiditate maiores possimus. Sed distinctio eaque optio at voluptates quia nemo. Corrupti cumque quod incidunt. Iure id consequatur eos architecto omnis ut.\"]"], ["created_at", "2014-09-23 00:45:14.324767"], ["name", "contract_f3c824b4"], ["title", "Atque odio aperiam autem."], ["updated_at", "2014-09-23 00:45:14.324767"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3c824b4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_f3c824b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:45:14.328026"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f3c824b4' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi deleniti laborum illo. Cupiditate sint id. Sequi illo possimus quas dolores. Vero est sed voluptates voluptatibus.\", \"Occaecati sit maxime cupiditate maiores possimus. Sed distinctio eaque optio at voluptates quia nemo. Corrupti cumque quod incidunt. Iure id consequatur eos architecto omnis ut.\"]"], ["created_at", "2014-09-23 00:45:14.331167"], ["name", "contract_f3c824b4"], ["title", "Atque odio aperiam autem."], ["updated_at", "2014-09-23 00:45:14.331167"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f3c824b4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_f3c824b4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:45:14.334222"], ["version", 2]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo rerum atque hic quis. Facilis ea quo accusamus voluptatem qui quis. Consequatur laborum voluptatem.\", \"Est quisquam nesciunt. Ea perspiciatis omnis provident autem praesentium cumque facilis. Rem consectetur aperiam culpa eum. Quod commodi in odit provident.\"]"], ["created_at", "2014-09-23 00:45:14.337825"], ["name", "contract_6ea9a72a"], ["title", "Sit et dignissimos dolor a et possimus."], ["updated_at", "2014-09-23 00:45:14.337825"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ea9a72a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_6ea9a72a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:45:14.341214"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.345786"], ["updated_at", "2014-09-23 00:45:14.345786"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 00:45:14.347974"], ["updated_at", "2014-09-23 00:45:14.347974"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_6ea9a72a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6ea9a72a"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo officia laborum. Et explicabo adipisci facilis dicta. Cum et vitae molestiae unde explicabo. Voluptatem sit incidunt.\", \"Asperiores facilis qui et nesciunt et doloribus quaerat. Aut soluta quasi. Eveniet alias qui consequatur error molestiae omnis cum. Omnis eum aut et.\"]"], ["created_at", "2014-09-23 00:45:14.356370"], ["name", "contract_b916d62e"], ["title", "Expedita quis molestias odio quidem est."], ["updated_at", "2014-09-23 00:45:14.356370"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b916d62e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_b916d62e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:45:14.363246"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b916d62e"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b916d62e"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:45:14.369300"], ["version", nil]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore maxime dolor tenetur reprehenderit. Dolorem dolores qui. Quia deserunt non facere minus.\", \"Quibusdam impedit dolorem quidem aliquam. Vitae quidem et blanditiis sed provident. Ut rerum reprehenderit eveniet voluptatem.\"]"], ["created_at", "2014-09-23 00:45:14.372640"], ["name", "contract_5433de04"], ["title", "Adipisci dicta totam quam unde ea voluptate aut."], ["updated_at", "2014-09-23 00:45:14.372640"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5433de04"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_5433de04') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:45:14.376319"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5433de04' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore maxime dolor tenetur reprehenderit. Dolorem dolores qui. Quia deserunt non facere minus.\", \"Quibusdam impedit dolorem quidem aliquam. Vitae quidem et blanditiis sed provident. Ut rerum reprehenderit eveniet voluptatem.\"]"], ["created_at", "2014-09-23 00:45:14.379615"], ["name", "joe"], ["title", "Adipisci dicta totam quam unde ea voluptate aut."], ["updated_at", "2014-09-23 00:45:14.379615"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:45:14.382563"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa dolores id eos quia et ipsam molestiae. Ab dolorum vel omnis doloremque omnis aut. Ut veritatis et et harum est nihil. Minus vel natus id aliquid veniam voluptate officia.\", \"Architecto dolores rerum dignissimos est. In voluptatibus enim sunt nisi beatae. Aperiam autem vero sit quibusdam. Commodi dolores itaque officiis consequatur enim nesciunt. Accusantium officiis tenetur ducimus.\"]"], ["created_at", "2014-09-23 00:45:14.386019"], ["name", "contract_b0b60887"], ["title", "Temporibus sint qui maiores et suscipit quaerat."], ["updated_at", "2014-09-23 00:45:14.386019"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae amet est et. Doloribus consequatur magnam ipsum illo voluptatem tempora. Expedita id accusantium veritatis tempora doloribus. Earum maxime qui consequatur hic placeat et neque.\", \"Possimus accusantium fugiat libero. Et ut ratione nihil. Officia quaerat nesciunt. Nihil occaecati aut voluptates asperiores. Quam rerum unde voluptate consectetur nemo facere eius.\"]"], ["created_at", "2014-09-23 00:45:14.389595"], ["name", "contract_763b7c91"], ["title", "Minima ea deleniti."], ["updated_at", "2014-09-23 00:45:14.389595"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_763b7c91"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_763b7c91') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:45:14.392737"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.395251"], ["updated_at", "2014-09-23 00:45:14.395251"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.400002"], ["updated_at", "2014-09-23 00:45:14.400002"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.401445"], ["updated_at", "2014-09-23 00:45:14.401445"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.406061"], ["updated_at", "2014-09-23 00:45:14.406061"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.408276"], ["updated_at", "2014-09-23 00:45:14.408276"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.412266"], ["updated_at", "2014-09-23 00:45:14.412266"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.413705"], ["updated_at", "2014-09-23 00:45:14.413705"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolore est non qui. Autem praesentium dignissimos. Optio magnam earum ducimus incidunt amet quaerat. Repudiandae reprehenderit quia dolor. Quam sapiente aspernatur illum modi vel.\", \"Ducimus dignissimos reprehenderit. Ab repellendus rerum voluptate ex labore. Et molestiae quibusdam aspernatur rerum non tempora. Quos voluptatem non vitae aut dolorem. Quaerat quasi voluptatem facilis in est consequuntur.\"]"], ["created_at", "2014-09-23 00:45:14.416017"], ["name", "contract_7b15ae68"], ["title", "Reprehenderit possimus iste quod qui."], ["updated_at", "2014-09-23 00:45:14.416017"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.421794"], ["updated_at", "2014-09-23 00:45:14.421794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.423290"], ["updated_at", "2014-09-23 00:45:14.423290"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum velit in. Blanditiis non recusandae excepturi reiciendis enim repellat. Quos eum reprehenderit enim ex occaecati amet.\", \"Assumenda consequatur asperiores qui sapiente architecto error. Totam et illum dolor a. Est omnis dignissimos excepturi neque non est. Odit deserunt qui expedita ut saepe maiores. Voluptatem voluptas est id quos labore.\"]"], ["created_at", "2014-09-23 00:45:14.425414"], ["name", "contract_a910e9b0"], ["title", "Omnis quis occaecati aspernatur."], ["updated_at", "2014-09-23 00:45:14.425414"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.429352"], ["updated_at", "2014-09-23 00:45:14.429352"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.430815"], ["updated_at", "2014-09-23 00:45:14.430815"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum ipsum molestiae. Voluptatem aperiam est dicta pariatur. Dolores eum culpa omnis possimus ducimus atque voluptatem.\", \"Error omnis doloribus eligendi vero facere. At aliquam nobis libero quisquam. Expedita qui aspernatur facere neque magnam.\"]"], ["created_at", "2014-09-23 00:45:14.432843"], ["name", "contract_1470a63a"], ["title", "Facere occaecati delectus consequatur ipsam."], ["updated_at", "2014-09-23 00:45:14.432843"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 31]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 31]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 31 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.440215"], ["updated_at", "2014-09-23 00:45:14.440215"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.442082"], ["updated_at", "2014-09-23 00:45:14.442082"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id illo dicta ex expedita eos. Ea voluptas vel et. In eum et voluptatibus asperiores inventore ducimus ut.\", \"Sint sit optio perferendis dolores. Molestiae vero animi fugiat. Veritatis consequatur reprehenderit totam laudantium nostrum sint.\"]"], ["created_at", "2014-09-23 00:45:14.444300"], ["name", "contract_f4835aad"], ["title", "Vel aut officiis consequatur qui harum."], ["updated_at", "2014-09-23 00:45:14.444300"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4835aad"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_f4835aad') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:45:14.447590"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.453503"], ["updated_at", "2014-09-23 00:45:14.453503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.454997"], ["updated_at", "2014-09-23 00:45:14.454997"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea repellat nostrum nihil aut tempore. Corrupti soluta sit et dolorum ut. Quo reprehenderit eum.\", \"Repudiandae sequi suscipit non similique harum quaerat. Eveniet sint dolores est ut adipisci assumenda. Ut et dolore est.\"]"], ["created_at", "2014-09-23 00:45:14.457044"], ["name", "contract_3e3e86b1"], ["title", "Ut est ut quidem qui."], ["updated_at", "2014-09-23 00:45:14.457044"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3e3e86b1"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_3e3e86b1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:45:14.460128"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3e3e86b1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.467606"], ["updated_at", "2014-09-23 00:45:14.467606"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.469215"], ["updated_at", "2014-09-23 00:45:14.469215"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque et debitis minima dolores eos enim. Eligendi enim doloribus. Adipisci dolorem dolores iusto eveniet sed. Labore voluptatum sit tempora illum. Aut nesciunt ut autem illum sint.\", \"Et fugit et ducimus. Commodi inventore veritatis iusto harum deserunt. Ex ipsam ea iste.\"]"], ["created_at", "2014-09-23 00:45:14.471333"], ["name", "contract_2f524b3e"], ["title", "Porro aut est facere est totam laboriosam unde."], ["updated_at", "2014-09-23 00:45:14.471333"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.475114"], ["updated_at", "2014-09-23 00:45:14.475114"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.476559"], ["updated_at", "2014-09-23 00:45:14.476559"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et reprehenderit et tenetur magni qui. Incidunt quaerat adipisci. Molestiae voluptatibus modi beatae dolorem.\", \"Omnis eum excepturi est. Animi in nobis possimus tenetur. Est labore quo tempore consectetur.\"]"], ["created_at", "2014-09-23 00:45:14.478614"], ["name", "contract_d7bcb7ce"], ["title", "Ad pariatur ratione."], ["updated_at", "2014-09-23 00:45:14.478614"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d7bcb7ce"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_d7bcb7ce') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 00:45:14.481792"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.486916"], ["updated_at", "2014-09-23 00:45:14.486916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.488529"], ["updated_at", "2014-09-23 00:45:14.488529"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis et eos qui dicta aut laboriosam magni. Voluptatem tenetur esse quo ut. Earum maiores ullam minus occaecati. Sint consequuntur aperiam distinctio hic dolorum dolores quo. Illum aut nulla quaerat est.\", \"Non id sed perspiciatis enim. Exercitationem facere et qui et voluptas ex distinctio. Minima itaque ad nemo deserunt consequatur consequatur maiores.\"]"], ["created_at", "2014-09-23 00:45:14.490883"], ["name", "contract_3fee09af"], ["title", "Quod qui nihil voluptatem voluptas repellat aut."], ["updated_at", "2014-09-23 00:45:14.490883"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.497997"], ["updated_at", "2014-09-23 00:45:14.497997"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.499467"], ["updated_at", "2014-09-23 00:45:14.499467"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut qui qui recusandae iusto labore. Fuga exercitationem sit autem veritatis vitae quia. Quis explicabo odit reiciendis libero neque. Delectus molestiae quis et officiis quis.\", \"Tenetur corrupti cum sit in sunt. Omnis porro dolorum quis facilis in. Ex beatae optio repudiandae est quaerat nam.\"]"], ["created_at", "2014-09-23 00:45:14.501583"], ["name", "contract_1c519743"], ["title", "Recusandae et qui nemo."], ["updated_at", "2014-09-23 00:45:14.501583"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.506859"], ["updated_at", "2014-09-23 00:45:14.506859"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.508893"], ["updated_at", "2014-09-23 00:45:14.508893"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga harum fugiat soluta totam. Perferendis minima occaecati et non maiores perspiciatis. Sed ut exercitationem aut. Vero animi consectetur sapiente magni nam sed autem.\", \"Aut labore qui laudantium. Omnis commodi excepturi voluptas ipsum sed harum eligendi. Enim eum tenetur aut totam ut deserunt. Assumenda illum debitis. Quia vel asperiores animi sed.\"]"], ["created_at", "2014-09-23 00:45:14.519132"], ["name", "contract_4c46662d"], ["title", "Qui nihil sed voluptatibus."], ["updated_at", "2014-09-23 00:45:14.519132"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:45:14.522912"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:45:14.522912"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/39 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.527368"], ["updated_at", "2014-09-23 00:45:14.527368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.529193"], ["updated_at", "2014-09-23 00:45:14.529193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In delectus et voluptate velit porro quia deserunt. Ex aut et. Non ullam dolores nobis ea vero. Sit tempore et voluptatem dignissimos nobis.\", \"Atque est voluptate. Doloremque ipsum totam. Omnis tenetur autem nam.\"]"], ["created_at", "2014-09-23 00:45:14.531824"], ["name", "contract_f7243d9e"], ["title", "Est enim impedit quia."], ["updated_at", "2014-09-23 00:45:14.531824"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.536572"], ["updated_at", "2014-09-23 00:45:14.536572"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.538137"], ["updated_at", "2014-09-23 00:45:14.538137"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Error sint ducimus nihil. Atque totam quibusdam ad. Impedit nobis inventore debitis ut voluptatem. Magnam est hic.\", \"Aliquam maiores dolorem sit. Necessitatibus qui ut hic aut. Dolor nihil ea sit voluptas earum. Aperiam molestiae suscipit nisi sunt.\"]"], ["created_at", "2014-09-23 00:45:14.540716"], ["name", "contract_5d7ad438"], ["title", "Molestias impedit qui."], ["updated_at", "2014-09-23 00:45:14.540716"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.550764"], ["updated_at", "2014-09-23 00:45:14.550764"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.552449"], ["updated_at", "2014-09-23 00:45:14.552449"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Necessitatibus qui est id officia. Ratione qui harum non eos quidem voluptate dolor. In nostrum in et earum. Repellat sapiente aliquid totam nam voluptas qui. Neque aut explicabo quo ut eos facilis sunt.\", \"Saepe fuga temporibus. Quidem impedit doloribus laborum veniam. Molestiae optio cupiditate explicabo laboriosam pariatur. Quos reprehenderit laudantium debitis rerum.\"]"], ["created_at", "2014-09-23 00:45:14.554927"], ["name", "contract_452c3d2c"], ["title", "Doloribus ut illo consequuntur harum minus aliquam."], ["updated_at", "2014-09-23 00:45:14.554927"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 42 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:45:14.559958"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/42 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.566596"], ["updated_at", "2014-09-23 00:45:14.566596"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.568465"], ["updated_at", "2014-09-23 00:45:14.568465"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eaque eum voluptas qui nobis maiores. Ut sunt voluptatum omnis aut modi aut. Ab minima accusamus labore facere doloremque. Vitae sit rem perspiciatis. Minima quia fuga et dolore eligendi quidem in.\", \"Officia quisquam rerum vero voluptatem. Illo error dolorem pariatur nesciunt reiciendis eos. Reprehenderit provident veniam consectetur.\"]"], ["created_at", "2014-09-23 00:45:14.571002"], ["name", "contract_e92137d9"], ["title", "Quibusdam aut incidunt sequi non."], ["updated_at", "2014-09-23 00:45:14.571002"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.578784"], ["updated_at", "2014-09-23 00:45:14.578784"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.580775"], ["updated_at", "2014-09-23 00:45:14.580775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In modi consequuntur reiciendis qui aut rerum. Modi enim ducimus corporis aut repellendus culpa hic. Ipsam necessitatibus corrupti accusantium fugiat magnam veritatis porro. Soluta animi laudantium et consequatur distinctio aliquid. Voluptatem commodi ducimus.\", \"Velit molestiae neque qui voluptas. Ipsam soluta dolor aut tempora sequi quisquam. Reiciendis cumque nihil qui aperiam in commodi quo. Qui quisquam fuga.\"]"], ["created_at", "2014-09-23 00:45:14.583335"], ["name", "contract_a15958f7"], ["title", "Quo voluptatem voluptatem."], ["updated_at", "2014-09-23 00:45:14.583335"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a15958f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_a15958f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:45:14.589453"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.595490"], ["updated_at", "2014-09-23 00:45:14.595490"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.597024"], ["updated_at", "2014-09-23 00:45:14.597024"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellendus fuga similique. Aut minus et aliquid ex consectetur. Voluptates eos at nisi.\", \"Quia earum sit officiis tempore impedit vel doloribus. Vel dignissimos et ut quos voluptatem quia. Quibusdam molestias vel nesciunt. Est soluta laborum.\"]"], ["created_at", "2014-09-23 00:45:14.599127"], ["name", "contract_ce5cfc03"], ["title", "Perspiciatis repudiandae quia dolorem quo."], ["updated_at", "2014-09-23 00:45:14.599127"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.604880"], ["updated_at", "2014-09-23 00:45:14.604880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.607166"], ["updated_at", "2014-09-23 00:45:14.607166"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit consequatur nulla. Nam nihil harum sed ab aut. Eum nesciunt enim maiores asperiores. Aut qui sit iure laborum eius.\", \"Reprehenderit dolorem ex amet quae ut. Est laudantium dolorum consectetur. Consequatur iste non magnam corporis voluptas.\"]"], ["created_at", "2014-09-23 00:45:14.609361"], ["name", "contract_d769a0c7"], ["title", "Commodi ipsa quas."], ["updated_at", "2014-09-23 00:45:14.609361"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 42, 11, 8, 5, 2, 20, 19, 37, 17, 34, 33, 15, 36, 18, 38, 14, 25, 41, 23, 28, 29, 16, 44, 30, 27, 24, 45, 46, 35, 43, 22, 21, 32, 40, 13, 26, 39) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.620597"], ["updated_at", "2014-09-23 00:45:14.620597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:45:14.622832"], ["updated_at", "2014-09-23 00:45:14.622832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio reprehenderit et in esse iusto aut. Iste facere aut eum rerum. Id beatae perferendis exercitationem voluptates. Et ratione eum provident dolorem sit eligendi.\", \"Voluptatem commodi rerum odit tempora accusamus non. Est et accusamus. Ullam quos eius et. Suscipit officia voluptas quia et molestiae eveniet quibusdam.\"]"], ["created_at", "2014-09-23 00:45:14.625812"], ["name", "contract_9d337216"], ["title", "Velit autem et."], ["updated_at", "2014-09-23 00:45:14.625812"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d337216"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_9d337216') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:45:14.629700"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"47"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9d337216"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:45:14.635700"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et repudiandae expedita aspernatur quas. Eos aut corrupti vitae nisi quibusdam. Sed quod impedit culpa ut iusto assumenda. Illo dolore quia excepturi veritatis sint. Eos voluptate qui doloribus quod ea voluptatem recusandae.\", \"Temporibus iste et eius consequatur natus aut. Autem voluptas et. Quae qui velit. Molestias facere quos at sint enim aut. Earum voluptates optio expedita dolores.\"]"], ["created_at", "2014-09-23 00:47:13.678023"], ["name", "alpha"], ["title", "Eum eaque in."], ["updated_at", "2014-09-23 00:47:13.678023"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 00:47:13.696546"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis incidunt eum atque maxime quisquam quo quas. Velit reprehenderit recusandae possimus et doloribus libero. Rerum repellat mollitia beatae sapiente ut fuga in. Est maxime neque porro dignissimos ab culpa commodi. Officia sit sit nostrum repellendus molestiae natus.\", \"Quaerat vel quas eligendi. Commodi ut facilis atque sint eaque. Ducimus itaque quo fuga quae.\"]"], ["created_at", "2014-09-23 00:47:13.703919"], ["name", "beta"], ["title", "Aut doloribus odit incidunt tempore ipsum qui fugiat."], ["updated_at", "2014-09-23 00:47:13.703919"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:47:13.708913"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.713076"], ["updated_at", "2014-09-23 00:47:13.713076"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-23 00:47:13.721804"], ["updated_at", "2014-09-23 00:47:13.721804"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-23 00:47:13.727497"], ["updated_at", "2014-09-23 00:47:13.727497"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:13.733039"], ["name", "alpha"], ["title", "Eum eaque in."], ["updated_at", "2014-09-23 00:47:13.733039"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:47:13.736987"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:47:13.758471"], ["updated_at", "2014-09-23 00:47:13.758471"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis natus facilis. Et deserunt nihil velit quia itaque ipsa. Saepe pariatur corporis. Eos explicabo quia ut et maiores id ea. Excepturi magnam et soluta praesentium impedit.\", \"Aliquid ut ea voluptates quod quis. Dolore minima quia labore id hic. Itaque sed minima nulla. Natus sapiente ut recusandae voluptatem temporibus veniam sequi. Laborum illo magnam impedit fuga porro blanditiis.\"]"], ["created_at", "2014-09-23 00:47:13.773774"], ["name", "alpha"], ["title", "Molestias nihil minima vero et."], ["updated_at", "2014-09-23 00:47:13.773774"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:47:13.777692"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut voluptatibus id nam. Nisi quia perspiciatis. Et illo itaque.\", \"Et magnam quis in possimus. Sint dolorem et repellendus porro in occaecati neque. Odio dicta est eaque atque. Quis consequatur vero. Animi ab qui id incidunt eligendi est.\"]"], ["created_at", "2014-09-23 00:47:13.781445"], ["name", "beta"], ["title", "Repellendus aut adipisci hic neque ipsum cupiditate."], ["updated_at", "2014-09-23 00:47:13.781445"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:47:13.785060"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.787666"], ["updated_at", "2014-09-23 00:47:13.787666"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:47:13.790577"], ["updated_at", "2014-09-23 00:47:13.790577"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:47:13.793428"], ["updated_at", "2014-09-23 00:47:13.793428"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:13.795825"], ["name", "alpha"], ["title", "Molestias nihil minima vero et."], ["updated_at", "2014-09-23 00:47:13.795825"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:47:13.799285"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus perspiciatis temporibus non. Quis rerum vel. Exercitationem est repellendus ullam dolorem ut et.\", \"Laborum nostrum minus. Quia repellendus et expedita nisi. Alias ut et incidunt illum et. Distinctio et aut dolorem dicta aut ea. Ut accusamus molestias similique placeat quia dolorem et.\"]"], ["created_at", "2014-09-23 00:47:13.803207"], ["name", "alpha"], ["title", "Voluptatem repellendus quo quaerat consequuntur magnam ad ea."], ["updated_at", "2014-09-23 00:47:13.803207"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:47:13.806907"], ["version", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum harum nihil vel et eius. Exercitationem numquam unde debitis iusto. Suscipit magni autem itaque et voluptas officia impedit.\", \"Minima quae aut iusto molestiae possimus. Rem et non incidunt maxime aut eaque. Ut error dolores et maiores facilis et qui. Ipsam repudiandae cumque. Autem cum impedit nesciunt quia autem voluptas.\"]"], ["created_at", "2014-09-23 00:47:13.811582"], ["name", "beta"], ["title", "Voluptatem consequatur aliquam sed sapiente repudiandae quia omnis."], ["updated_at", "2014-09-23 00:47:13.811582"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:47:13.815137"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.817517"], ["updated_at", "2014-09-23 00:47:13.817517"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:47:13.820192"], ["updated_at", "2014-09-23 00:47:13.820192"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:47:13.822674"], ["updated_at", "2014-09-23 00:47:13.822674"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:13.824975"], ["name", "alpha"], ["title", "Voluptatem repellendus quo quaerat consequuntur magnam ad ea."], ["updated_at", "2014-09-23 00:47:13.824975"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:47:13.827950"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi minima sequi hic et nihil aut sapiente. In velit eum. Ullam et eius voluptas tenetur. Aspernatur autem accusantium.\", \"Doloribus quia itaque laboriosam dignissimos. Impedit veritatis sapiente exercitationem reiciendis voluptate. Consequatur enim consectetur doloribus rem nostrum reprehenderit minima.\"]"], ["created_at", "2014-09-23 00:47:13.834285"], ["name", "alpha"], ["title", "Rerum explicabo et sequi ea."], ["updated_at", "2014-09-23 00:47:13.834285"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:47:13.837385"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi consequuntur et rerum. Veritatis dolores velit adipisci ut. Asperiores ea sint et non rerum ea. Et atque et exercitationem eligendi eos.\", \"Reiciendis nisi illo et molestias sed enim in. Qui sed deserunt. Et error dolorum ab sed.\"]"], ["created_at", "2014-09-23 00:47:13.840295"], ["name", "beta"], ["title", "Modi quis repellat eos ducimus ut quam iure."], ["updated_at", "2014-09-23 00:47:13.840295"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:47:13.843284"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.845540"], ["updated_at", "2014-09-23 00:47:13.845540"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:47:13.848097"], ["updated_at", "2014-09-23 00:47:13.848097"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:47:13.850680"], ["updated_at", "2014-09-23 00:47:13.850680"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:13.852896"], ["name", "alpha"], ["title", "Rerum explicabo et sequi ea."], ["updated_at", "2014-09-23 00:47:13.852896"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:47:13.855881"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed fugit repellendus et doloribus modi sapiente nemo. Voluptatem animi quo. Et sed dignissimos repudiandae totam adipisci tempora. Eos ea dolorem accusamus dolores ullam tenetur asperiores. Aspernatur est laudantium.\", \"Id illo et optio nihil autem mollitia odio. Iure laboriosam nobis amet architecto ut voluptas aut. Quae aliquam aut est reiciendis quia asperiores quibusdam. Saepe placeat aliquam. Repudiandae reprehenderit dolor totam reiciendis.\"]"], ["created_at", "2014-09-23 00:47:13.862583"], ["name", "contract_304a70f6"], ["title", "Reprehenderit quaerat vel sed eum molestias qui minima."], ["updated_at", "2014-09-23 00:47:13.862583"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_304a70f6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_304a70f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:47:13.865770"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_304a70f6' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed fugit repellendus et doloribus modi sapiente nemo. Voluptatem animi quo. Et sed dignissimos repudiandae totam adipisci tempora. Eos ea dolorem accusamus dolores ullam tenetur asperiores. Aspernatur est laudantium.\", \"Id illo et optio nihil autem mollitia odio. Iure laboriosam nobis amet architecto ut voluptas aut. Quae aliquam aut est reiciendis quia asperiores quibusdam. Saepe placeat aliquam. Repudiandae reprehenderit dolor totam reiciendis.\"]"], ["created_at", "2014-09-23 00:47:13.869018"], ["name", "joe"], ["title", "Reprehenderit quaerat vel sed eum molestias qui minima."], ["updated_at", "2014-09-23 00:47:13.869018"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:47:13.872027"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laborum vero laboriosam nam aliquam molestiae similique. Impedit adipisci quo doloribus asperiores culpa similique qui. Nisi cumque quia sit est. Laborum voluptatem qui eligendi numquam recusandae.\", \"Quis repudiandae quasi aut dolorem. Maxime veniam laboriosam. Earum iure modi. Voluptatem et aut quod officiis. Qui sunt enim voluptas non numquam.\"]"], ["created_at", "2014-09-23 00:47:13.876709"], ["name", "contract_12cdc2e5"], ["title", "Quia voluptate nulla maiores autem."], ["updated_at", "2014-09-23 00:47:13.876709"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_12cdc2e5"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_12cdc2e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:47:13.879808"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.883421"], ["updated_at", "2014-09-23 00:47:13.883421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 00:47:13.885534"], ["updated_at", "2014-09-23 00:47:13.885534"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_12cdc2e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_12cdc2e5"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia corporis cupiditate sit. Et et dolorem iste ut cum dolores. Aut ipsa velit suscipit praesentium voluptatem sit repudiandae.\", \"Excepturi nesciunt exercitationem accusamus ut reiciendis adipisci nulla. Maxime id itaque explicabo. Consequatur a libero. Ipsa reiciendis rerum totam impedit. Sit pariatur sit sint dolores et.\"]"], ["created_at", "2014-09-23 00:47:13.893759"], ["name", "contract_897706b8"], ["title", "Vero necessitatibus a nam id nihil aliquid."], ["updated_at", "2014-09-23 00:47:13.893759"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_897706b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_897706b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:47:13.897904"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_897706b8"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_897706b8"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:47:13.902429"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In sint laudantium veniam ullam. Dolor temporibus ad. Quaerat occaecati sed veritatis repudiandae odit impedit. Quis cum at sit eligendi reprehenderit ducimus. Facere laborum sapiente maiores.\", \"Id aut sed. Delectus et veniam qui qui culpa dignissimos tempora. Voluptatem corrupti eligendi aliquam.\"]"], ["created_at", "2014-09-23 00:47:13.905548"], ["name", "contract_778e4e3a"], ["title", "Minima nobis voluptas id eos dicta."], ["updated_at", "2014-09-23 00:47:13.905548"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_778e4e3a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_778e4e3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:47:13.908547"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_778e4e3a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In sint laudantium veniam ullam. Dolor temporibus ad. Quaerat occaecati sed veritatis repudiandae odit impedit. Quis cum at sit eligendi reprehenderit ducimus. Facere laborum sapiente maiores.\", \"Id aut sed. Delectus et veniam qui qui culpa dignissimos tempora. Voluptatem corrupti eligendi aliquam.\"]"], ["created_at", "2014-09-23 00:47:13.911885"], ["name", "contract_778e4e3a"], ["title", "Minima nobis voluptas id eos dicta."], ["updated_at", "2014-09-23 00:47:13.911885"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_778e4e3a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_778e4e3a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:47:13.914868"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.918335"], ["updated_at", "2014-09-23 00:47:13.918335"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.919916"], ["updated_at", "2014-09-23 00:47:13.919916"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo eum quia nesciunt autem voluptas suscipit accusamus. Architecto maiores veniam aliquam voluptatem. Necessitatibus deserunt distinctio consequatur alias nam quasi aut.\", \"Sit excepturi necessitatibus repellat aliquid similique quaerat amet. Officia eaque rem sint qui. Sapiente veritatis totam voluptatem quos nostrum pariatur repellat. Vitae tempora ratione sed impedit.\"]"], ["created_at", "2014-09-23 00:47:13.922576"], ["name", "contract_46e9c670"], ["title", "Minus id ut voluptas quibusdam consequatur labore officia."], ["updated_at", "2014-09-23 00:47:13.922576"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_46e9c670"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_46e9c670') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:47:13.926432"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:13.928991"], ["updated_at", "2014-09-23 00:47:13.928991"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-23 00:47:13.931089"], ["updated_at", "2014-09-23 00:47:13.931089"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 198ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.134556"], ["updated_at", "2014-09-23 00:47:14.134556"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.137276"], ["updated_at", "2014-09-23 00:47:14.137276"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui necessitatibus adipisci et enim sint voluptatem dolorem. Nihil ut et cum voluptas similique repellendus. Aut et qui.\", \"Eos et voluptatem quis maxime voluptatem voluptas saepe. Nisi cumque consequatur laudantium voluptatibus et aut illum. Et ut eius occaecati ut.\"]"], ["created_at", "2014-09-23 00:47:14.140446"], ["name", "contract_7ed0dbef"], ["title", "Et qui ut."], ["updated_at", "2014-09-23 00:47:14.140446"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ed0dbef"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_7ed0dbef') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:47:14.143968"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.146352"], ["updated_at", "2014-09-23 00:47:14.146352"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:47:14.148523"], ["updated_at", "2014-09-23 00:47:14.148523"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"20"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.152205"], ["updated_at", "2014-09-23 00:47:14.152205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.153738"], ["updated_at", "2014-09-23 00:47:14.153738"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque beatae eius numquam ea. Quibusdam natus vel minus. Quasi est omnis vero illo nostrum sunt. Placeat enim culpa neque. Aut sunt molestias libero.\", \"Atque soluta fugiat consequuntur. Sit hic ex sint odio illum laborum. Delectus pariatur qui voluptatem et nulla omnis.\"]"], ["created_at", "2014-09-23 00:47:14.156206"], ["name", "contract_a3832628"], ["title", "Et soluta quia ipsam."], ["updated_at", "2014-09-23 00:47:14.156206"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a3832628"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_a3832628') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:47:14.159279"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.161627"], ["updated_at", "2014-09-23 00:47:14.161627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 00:47:14.163807"], ["updated_at", "2014-09-23 00:47:14.163807"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 13]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Redirected to http://test.host/fine_print/contracts/21/signatures?r=UC8vZm55SU9jaFJvMkIwN0c3a2JXQT09LS1pVjBvYSt5WVI2SGhlYm11di9VbkZBPT0%3D--f77597591b94915c750a9cb72bbe448f5a53ce6a Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 13 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.173632"], ["updated_at", "2014-09-23 00:47:14.173632"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.175751"], ["updated_at", "2014-09-23 00:47:14.175751"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo asperiores dolorem voluptatum itaque deserunt. Sed aliquid possimus vero consequatur fugiat ut. Sed id cumque porro velit debitis eos exercitationem.\", \"Libero voluptates ab quis eveniet. Dicta aut aut repudiandae. Omnis voluptatem reiciendis minima corporis porro maxime eligendi. Voluptatem et error.\"]"], ["created_at", "2014-09-23 00:47:14.179055"], ["name", "contract_9bfa79a3"], ["title", "Repudiandae consectetur occaecati."], ["updated_at", "2014-09-23 00:47:14.179055"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9bfa79a3"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_9bfa79a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:47:14.183285"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.186221"], ["updated_at", "2014-09-23 00:47:14.186221"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-23 00:47:14.188666"], ["updated_at", "2014-09-23 00:47:14.188666"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.193675"], ["updated_at", "2014-09-23 00:47:14.193675"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.195427"], ["updated_at", "2014-09-23 00:47:14.195427"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore error quam sed aliquid a ut id. Architecto explicabo soluta illum. Nihil natus ullam aperiam voluptas aliquid placeat.\", \"Sint sint eveniet. Magnam quas molestiae. Labore corporis nihil. Placeat dolores et cumque magnam voluptate aliquid. Veniam fugit commodi dolore veritatis alias expedita quos.\"]"], ["created_at", "2014-09-23 00:47:14.198121"], ["name", "contract_0c48a6ba"], ["title", "Quas eum perferendis ducimus quis voluptatem sed aliquid."], ["updated_at", "2014-09-23 00:47:14.198121"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0c48a6ba"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_0c48a6ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:47:14.201378"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.203859"], ["updated_at", "2014-09-23 00:47:14.203859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 00:47:14.205992"], ["updated_at", "2014-09-23 00:47:14.205992"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"23"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.210567"], ["updated_at", "2014-09-23 00:47:14.210567"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.212832"], ["updated_at", "2014-09-23 00:47:14.212832"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In maxime vel officia. Et sed saepe nam aspernatur nobis voluptatem. Consequatur ducimus exercitationem et. Qui nam nemo fugiat doloremque consectetur minima a.\", \"Recusandae aut odit qui. Et iure repudiandae repellat non deserunt. Quia vitae aut. Excepturi perferendis est. Ab voluptatibus dolor.\"]"], ["created_at", "2014-09-23 00:47:14.215672"], ["name", "contract_369d6ea7"], ["title", "Velit aut unde nisi."], ["updated_at", "2014-09-23 00:47:14.215672"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_369d6ea7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_369d6ea7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:47:14.218890"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.221366"], ["updated_at", "2014-09-23 00:47:14.221366"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 23) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 00:47:14.223464"], ["updated_at", "2014-09-23 00:47:14.223464"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.228393"], ["updated_at", "2014-09-23 00:47:14.228393"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.230004"], ["updated_at", "2014-09-23 00:47:14.230004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia voluptate occaecati. Dolore et voluptas esse illo dolorem reprehenderit. Eius in dolorum sed est veniam dolor velit.\", \"Vero eaque et labore cupiditate velit ab. Consequatur autem qui odio qui totam dicta minus. Nulla omnis ut autem. Temporibus qui porro eos et sunt.\"]"], ["created_at", "2014-09-23 00:47:14.232447"], ["name", "contract_2d890324"], ["title", "Et aut ea veniam cumque exercitationem et."], ["updated_at", "2014-09-23 00:47:14.232447"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2d890324"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_2d890324') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:47:14.235565"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.238087"], ["updated_at", "2014-09-23 00:47:14.238087"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-23 00:47:14.240195"], ["updated_at", "2014-09-23 00:47:14.240195"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"25"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"25"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.245406"], ["updated_at", "2014-09-23 00:47:14.245406"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.247042"], ["updated_at", "2014-09-23 00:47:14.247042"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum rerum a facere consectetur mollitia delectus consequatur. Ea sapiente possimus quisquam aut. Iste dolorem hic error reiciendis dolorum. Ullam itaque animi nihil dicta. Qui doloremque voluptate saepe ipsam.\", \"Architecto iure natus inventore dolorem doloribus. Enim sunt hic. Ut corporis sit soluta. Praesentium voluptates cum voluptate aut. Temporibus id quia et voluptas consequatur.\"]"], ["created_at", "2014-09-23 00:47:14.249581"], ["name", "contract_92ba39b9"], ["title", "Velit sed fuga eum nostrum et."], ["updated_at", "2014-09-23 00:47:14.249581"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_92ba39b9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_92ba39b9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:47:14.252775"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.255203"], ["updated_at", "2014-09-23 00:47:14.255203"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 00:47:14.258110"], ["updated_at", "2014-09-23 00:47:14.258110"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.264012"], ["updated_at", "2014-09-23 00:47:14.264012"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.265454"], ["updated_at", "2014-09-23 00:47:14.265454"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.269688"], ["updated_at", "2014-09-23 00:47:14.269688"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.271171"], ["updated_at", "2014-09-23 00:47:14.271171"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.275170"], ["updated_at", "2014-09-23 00:47:14.275170"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.276886"], ["updated_at", "2014-09-23 00:47:14.276886"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum non animi. Voluptatum praesentium quod. Deleniti dignissimos voluptates praesentium. Non doloribus vel dolorem possimus deleniti error id.\", \"Quia ut suscipit aliquam. Similique ducimus nihil quis laboriosam eius quos. Odit est id.\"]"], ["created_at", "2014-09-23 00:47:14.279297"], ["name", "contract_a1e95503"], ["title", "Cumque fuga perferendis aut consequatur."], ["updated_at", "2014-09-23 00:47:14.279297"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a1e95503"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_a1e95503') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 00:47:14.282768"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.289945"], ["updated_at", "2014-09-23 00:47:14.289945"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.291535"], ["updated_at", "2014-09-23 00:47:14.291535"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Cum mollitia consequatur et maxime recusandae est. Velit sed nihil. Aut dignissimos ut ipsam qui. Libero autem tenetur veritatis doloribus qui non. Rerum illum ut repudiandae iusto possimus.\", \"Impedit totam aut ut assumenda. Natus dignissimos molestiae et impedit. Autem asperiores nihil deleniti vel. Occaecati reiciendis ea velit voluptatem.\"]"], ["created_at", "2014-09-23 00:47:14.293877"], ["name", "contract_98429c1c"], ["title", "Id fuga non quis et modi."], ["updated_at", "2014-09-23 00:47:14.293877"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98429c1c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_98429c1c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:47:14.298247"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_98429c1c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.305776"], ["updated_at", "2014-09-23 00:47:14.305776"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.307308"], ["updated_at", "2014-09-23 00:47:14.307308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Optio id consequuntur in. Non voluptatem ipsam. Et vitae non ea eos. Sed in quod est. Rerum dolore quo dolorem doloremque.\", \"Repellendus nobis nemo quasi pariatur. Consequatur sunt ut nihil. Cum ex nesciunt nemo amet sint facere dolorem.\"]"], ["created_at", "2014-09-23 00:47:14.309389"], ["name", "contract_97a5331f"], ["title", "Reiciendis quam molestiae enim in facere."], ["updated_at", "2014-09-23 00:47:14.309389"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.314220"], ["updated_at", "2014-09-23 00:47:14.314220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.315664"], ["updated_at", "2014-09-23 00:47:14.315664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem aut unde quia laboriosam. Maiores et odio. Id veniam hic quia. Beatae amet quaerat est voluptas et.\", \"Officia omnis sint neque et sequi. Sapiente labore cupiditate. Odio voluptatem sunt. Cum aut exercitationem rerum deserunt at sit rerum. A minus est.\"]"], ["created_at", "2014-09-23 00:47:14.317676"], ["name", "contract_8cd33c4f"], ["title", "Laboriosam officia veniam optio ratione totam consectetur distinctio."], ["updated_at", "2014-09-23 00:47:14.317676"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8cd33c4f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_8cd33c4f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-23 00:47:14.320754"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8cd33c4f"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-23 00:47:14.326011"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.331367"], ["updated_at", "2014-09-23 00:47:14.331367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.332892"], ["updated_at", "2014-09-23 00:47:14.332892"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem nihil sit. Consectetur ullam quo. Et omnis cumque amet ipsam excepturi rerum dolores. Debitis labore libero rerum optio sapiente voluptatum. Ut quod nostrum magnam mollitia.\", \"Quod adipisci reiciendis repudiandae dicta. Qui maxime est vel placeat est et tempora. Nemo ea velit facilis corporis. Repellat ducimus aut occaecati.\"]"], ["created_at", "2014-09-23 00:47:14.335014"], ["name", "contract_d2e4081e"], ["title", "Rerum aut qui sint quidem cum eveniet."], ["updated_at", "2014-09-23 00:47:14.335014"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 31]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 31]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 31 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.342623"], ["updated_at", "2014-09-23 00:47:14.342623"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.344093"], ["updated_at", "2014-09-23 00:47:14.344093"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nam nostrum maiores veniam vel numquam voluptatum. Accusamus expedita praesentium aspernatur et ea. Voluptatem ut quia totam ducimus. Amet vitae exercitationem minima. Quidem neque libero est tempora.\", \"Totam aliquid aut officia eligendi. Voluptate iste qui. Ea dicta dolorum facilis rem possimus.\"]"], ["created_at", "2014-09-23 00:47:14.346177"], ["name", "contract_e2da71f3"], ["title", "Odit libero corrupti aperiam sed."], ["updated_at", "2014-09-23 00:47:14.346177"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 11, 8, 5, 2, 23, 15, 25, 13, 24, 19, 18, 17, 20, 16, 30, 26, 29, 28, 22, 27, 21, 32, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.353664"], ["updated_at", "2014-09-23 00:47:14.353664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.355218"], ["updated_at", "2014-09-23 00:47:14.355218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi eos et dolor odio debitis. Consequatur praesentium officia explicabo. Alias accusamus dolores qui. Enim eaque recusandae dolores.\", \"Repellendus eos tenetur. Placeat enim dolores architecto omnis laboriosam velit. Qui voluptas doloribus impedit recusandae occaecati ratione reiciendis. Illo praesentium rem voluptatem explicabo. Voluptatibus beatae consequuntur voluptatum explicabo.\"]"], ["created_at", "2014-09-23 00:47:14.357338"], ["name", "contract_77098aab"], ["title", "Cupiditate sit doloribus voluptas nobis."], ["updated_at", "2014-09-23 00:47:14.357338"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.361830"], ["updated_at", "2014-09-23 00:47:14.361830"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.363388"], ["updated_at", "2014-09-23 00:47:14.363388"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure aspernatur magni dolorem eaque occaecati. Placeat non qui nihil. Totam consequatur facilis harum id repudiandae veritatis pariatur. Ex vel commodi maiores. Velit ut repellat.\", \"Eius dignissimos aspernatur error a ipsa voluptate et. Culpa est minima atque. Quidem hic incidunt veritatis delectus. A qui culpa aut itaque sit voluptatem assumenda. Totam voluptas rem ut libero nulla.\"]"], ["created_at", "2014-09-23 00:47:14.365822"], ["name", "contract_d2e46334"], ["title", "Delectus odio voluptatem ut commodi architecto enim eos."], ["updated_at", "2014-09-23 00:47:14.365822"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:47:14.369684"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:47:14.369684"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.378559"], ["updated_at", "2014-09-23 00:47:14.378559"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.380320"], ["updated_at", "2014-09-23 00:47:14.380320"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse quam quo voluptatibus. Illum ipsum porro ut dolorem voluptatum quos repudiandae. Temporibus ullam autem dolores est et. Totam deserunt voluptas necessitatibus atque et sit. Qui magnam quod maiores.\", \"Enim voluptatem dolorem aliquid. Voluptates ut eaque enim quae saepe aut necessitatibus. Id mollitia ut. Consequatur omnis qui quo aspernatur voluptatem atque veritatis. Quis nihil molestiae illo qui dolore.\"]"], ["created_at", "2014-09-23 00:47:14.382429"], ["name", "contract_0d4c635f"], ["title", "Soluta id eos."], ["updated_at", "2014-09-23 00:47:14.382429"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0d4c635f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_0d4c635f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:47:14.387297"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.391583"], ["updated_at", "2014-09-23 00:47:14.391583"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.393054"], ["updated_at", "2014-09-23 00:47:14.393054"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia magni voluptas. Error commodi cum ipsum. Impedit quo magnam rerum. Repellat autem aperiam expedita aut vitae illo aut.\", \"Dignissimos eum aut. Et ut dolor blanditiis in velit consequuntur et. Dignissimos et magni cumque quod ea animi dolorem.\"]"], ["created_at", "2014-09-23 00:47:14.395079"], ["name", "contract_e511bb14"], ["title", "Fugit quia ea."], ["updated_at", "2014-09-23 00:47:14.395079"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.400412"], ["updated_at", "2014-09-23 00:47:14.400412"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.401815"], ["updated_at", "2014-09-23 00:47:14.401815"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet numquam rerum omnis iusto at nesciunt nam. Nobis corporis officiis cupiditate dolorum aut non. Alias voluptate sed.\", \"Consequuntur quidem nemo qui quis qui aperiam. Inventore dicta sit non quos quidem ut et. A totam repellat. Voluptatem id autem molestias consequatur et ullam.\"]"], ["created_at", "2014-09-23 00:47:14.403809"], ["name", "contract_ba27d1c4"], ["title", "Ut maxime vel."], ["updated_at", "2014-09-23 00:47:14.403809"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.408318"], ["updated_at", "2014-09-23 00:47:14.408318"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.409783"], ["updated_at", "2014-09-23 00:47:14.409783"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim eius provident nulla officia hic commodi et. Rerum veniam quia eligendi distinctio qui sunt. Est sit pariatur autem. Ea molestias quasi deleniti laudantium.\", \"Illo fuga voluptatem hic neque tempore porro quo. Ut qui et debitis dicta. Eveniet est a dolor quia voluptas molestias ipsam. Quia dolorem assumenda rerum molestiae. Qui eius dolor est illum corrupti.\"]"], ["created_at", "2014-09-23 00:47:14.411862"], ["name", "contract_5ccc7059"], ["title", "Itaque animi deleniti in facilis."], ["updated_at", "2014-09-23 00:47:14.411862"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.416178"], ["updated_at", "2014-09-23 00:47:14.416178"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.417779"], ["updated_at", "2014-09-23 00:47:14.417779"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Earum vel atque voluptatibus dolor sed dolore. Non saepe ut sit nam placeat. Ex eaque et autem omnis accusamus dolore. Voluptatum aut ab tempore.\", \"Et magni ut nihil nihil. Laudantium voluptas sed. Quia ratione at nisi veritatis deserunt vel. Consequatur consectetur quam eum optio atque a sint. Esse rem molestiae voluptatum quis qui ullam sapiente.\"]"], ["created_at", "2014-09-23 00:47:14.419858"], ["name", "contract_0a5d292e"], ["title", "Voluptatem omnis velit eum sed nostrum."], ["updated_at", "2014-09-23 00:47:14.419858"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 40 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:47:14.423913"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/40 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.435684"], ["updated_at", "2014-09-23 00:47:14.435684"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.437382"], ["updated_at", "2014-09-23 00:47:14.437382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo aut quod enim cum dolor et sed. Quisquam consequatur aut suscipit alias blanditiis aperiam. Voluptatem at quae expedita. Delectus ut libero.\", \"Aut natus ratione dicta quae facilis doloribus. Et dolorem praesentium quidem aspernatur nesciunt aut enim. Dolor consectetur est sapiente ut eos.\"]"], ["created_at", "2014-09-23 00:47:14.439685"], ["name", "contract_01d74c0c"], ["title", "Quae laboriosam qui."], ["updated_at", "2014-09-23 00:47:14.439685"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.446260"], ["updated_at", "2014-09-23 00:47:14.446260"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.448036"], ["updated_at", "2014-09-23 00:47:14.448036"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi ut nihil accusamus placeat vero laboriosam unde. Temporibus et velit. Ratione omnis occaecati qui et. Facere tempora voluptatem labore voluptatum occaecati.\", \"Sint aut autem maiores hic adipisci. Non eveniet non deleniti. Ratione quia amet mollitia vero impedit. Quis sint autem odit eum asperiores. Vel laudantium architecto numquam recusandae et.\"]"], ["created_at", "2014-09-23 00:47:14.451725"], ["name", "contract_8f971e27"], ["title", "Dolorem reiciendis fugit quidem nemo praesentium natus."], ["updated_at", "2014-09-23 00:47:14.451725"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.458879"], ["updated_at", "2014-09-23 00:47:14.458879"]]  (0.6ms) commit transaction  (0.3ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.461356"], ["updated_at", "2014-09-23 00:47:14.461356"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nobis quo maxime sapiente minus. Nobis necessitatibus maxime. Quaerat tempore et in repellendus sit ipsum temporibus. Quos voluptate quae dolores perspiciatis maxime.\", \"Optio eligendi quae aut animi in ea. Et iusto ut quo. Ea ipsa unde esse eaque ducimus. Quibusdam nesciunt tenetur expedita sunt fuga reprehenderit.\"]"], ["created_at", "2014-09-23 00:47:14.463948"], ["name", "contract_febed358"], ["title", "Suscipit et nihil iste quam error."], ["updated_at", "2014-09-23 00:47:14.463948"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.471533"], ["updated_at", "2014-09-23 00:47:14.471533"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.473840"], ["updated_at", "2014-09-23 00:47:14.473840"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt reprehenderit eum. Ipsum id culpa dolores minus nulla sed commodi. Sed similique et quia nobis qui omnis.\", \"Nisi minus fugit dolores. Veritatis repudiandae alias odio adipisci non et. Officia et sequi facere est repellendus.\"]"], ["created_at", "2014-09-23 00:47:14.476428"], ["name", "contract_e07b1e50"], ["title", "Velit officiis laborum."], ["updated_at", "2014-09-23 00:47:14.476428"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.481026"], ["updated_at", "2014-09-23 00:47:14.481026"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.482947"], ["updated_at", "2014-09-23 00:47:14.482947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae aliquam voluptatum ut necessitatibus minus nesciunt. Dolor doloribus omnis atque est iure earum dolor. Eos officia perspiciatis eius nemo error maxime.\", \"Libero consequuntur quod nisi et maiores sint. Fugiat esse iste accusamus cum qui et est. Excepturi voluptatem sunt iure aut aut asperiores perspiciatis. Quisquam illum cum.\"]"], ["created_at", "2014-09-23 00:47:14.485531"], ["name", "contract_919e2276"], ["title", "In sapiente iste."], ["updated_at", "2014-09-23 00:47:14.485531"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_919e2276"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_919e2276') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.7ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:47:14.489362"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et culpa excepturi mollitia aut. Delectus ut voluptas non modi odio. Tempore dolorem eaque quasi voluptatem est accusamus. Similique veniam aut amet nostrum perspiciatis accusantium.\", \"Non modi odit quia sunt suscipit aut tempore. Odio asperiores illum harum ipsa vero sed magni. Molestiae incidunt at.\"]"], ["created_at", "2014-09-23 00:47:14.497455"], ["name", "contract_d86c81d3"], ["title", "Autem reprehenderit voluptas dolores."], ["updated_at", "2014-09-23 00:47:14.497455"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia magnam voluptatibus sed quam vel. Eveniet et quasi occaecati ipsam. Officiis magni qui ducimus voluptatem voluptate. Labore recusandae iste molestiae tempore architecto beatae totam.\", \"Consectetur et facere non fuga. Sed temporibus consequatur quis nulla voluptates omnis rerum. Qui hic asperiores similique eum fugiat earum qui.\"]"], ["created_at", "2014-09-23 00:47:14.502792"], ["name", "contract_555cf0e0"], ["title", "Qui est esse ut."], ["updated_at", "2014-09-23 00:47:14.502792"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_555cf0e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_555cf0e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:47:14.506695"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:14.509457"], ["updated_at", "2014-09-23 00:47:14.509457"]]  (1.3ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem facere quisquam doloremque alias necessitatibus earum beatae. Est cumque dolores facere dignissimos sint non qui. Modi ab et culpa. Alias rem nostrum. Illum officia quaerat delectus enim ex tenetur.\", \"Veniam magni quas. Occaecati cumque nostrum et. Labore iusto earum reprehenderit et. Harum aut quidem.\"]"], ["created_at", "2014-09-23 00:47:55.453137"], ["name", "contract_55a0e755"], ["title", "Repellat omnis id."], ["updated_at", "2014-09-23 00:47:55.453137"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit molestiae earum odio. Ipsum odio alias quibusdam. Aut repellendus eum pariatur nihil suscipit optio. Odio nihil omnis.\", \"Voluptatem accusamus facilis amet voluptatem facere. Ea qui animi. Nihil illo explicabo sit quaerat. Maiores quos sapiente totam.\"]"], ["created_at", "2014-09-23 00:47:55.472454"], ["name", "contract_bd45eb24"], ["title", "Atque hic aut nostrum."], ["updated_at", "2014-09-23 00:47:55.472454"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bd45eb24"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_bd45eb24') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:47:55.478012"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.484574"], ["updated_at", "2014-09-23 00:47:55.484574"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minus ullam rerum ad ratione blanditiis ut. Voluptatum aut ipsa soluta et voluptas perferendis. Maxime aut optio qui minima beatae dicta. Ducimus expedita ut esse sunt odio dolorem consequuntur. Vel non reiciendis quae quia aut ea.\", \"Voluptates pariatur sed. Aut quae nobis adipisci illo enim. Et veritatis eveniet. Officiis architecto nostrum ea eos quod voluptate.\"]"], ["created_at", "2014-09-23 00:47:55.493391"], ["name", "contract_05fd5161"], ["title", "Incidunt suscipit fugit et corporis ut."], ["updated_at", "2014-09-23 00:47:55.493391"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_05fd5161"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_05fd5161') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:47:55.497030"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.502005"], ["updated_at", "2014-09-23 00:47:55.502005"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:47:55.504324"], ["updated_at", "2014-09-23 00:47:55.504324"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_05fd5161') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_05fd5161"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima aperiam autem inventore dolor. Iusto molestiae est labore. Quo fugiat qui optio nemo qui. Rem laborum ex similique.\", \"Omnis eveniet quod asperiores qui eius. Corrupti quo harum optio aut. Quod similique tempora maxime provident ea sit aliquid. Dolor aut placeat dolor qui. Ullam doloribus maiores nobis ipsum aliquid et accusantium.\"]"], ["created_at", "2014-09-23 00:47:55.516294"], ["name", "contract_471cc1a3"], ["title", "Temporibus architecto commodi cumque facilis."], ["updated_at", "2014-09-23 00:47:55.516294"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_471cc1a3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_471cc1a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:47:55.519686"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_471cc1a3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima aperiam autem inventore dolor. Iusto molestiae est labore. Quo fugiat qui optio nemo qui. Rem laborum ex similique.\", \"Omnis eveniet quod asperiores qui eius. Corrupti quo harum optio aut. Quod similique tempora maxime provident ea sit aliquid. Dolor aut placeat dolor qui. Ullam doloribus maiores nobis ipsum aliquid et accusantium.\"]"], ["created_at", "2014-09-23 00:47:55.525094"], ["name", "contract_471cc1a3"], ["title", "Temporibus architecto commodi cumque facilis."], ["updated_at", "2014-09-23 00:47:55.525094"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_471cc1a3"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_471cc1a3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:47:55.530398"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae qui tempora. Eveniet et officia. Harum et voluptatum officiis et. Qui id eius pariatur a quis.\", \"Voluptatem quia dolorem dolores. Ea iure maxime. Eaque perspiciatis rerum.\"]"], ["created_at", "2014-09-23 00:47:55.535953"], ["name", "contract_49a21d57"], ["title", "Voluptatem et sunt delectus eveniet id."], ["updated_at", "2014-09-23 00:47:55.535953"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_49a21d57"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_49a21d57') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:47:55.539737"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_49a21d57' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae qui tempora. Eveniet et officia. Harum et voluptatum officiis et. Qui id eius pariatur a quis.\", \"Voluptatem quia dolorem dolores. Ea iure maxime. Eaque perspiciatis rerum.\"]"], ["created_at", "2014-09-23 00:47:55.543119"], ["name", "joe"], ["title", "Voluptatem et sunt delectus eveniet id."], ["updated_at", "2014-09-23 00:47:55.543119"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:47:55.546694"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui facilis ad sed quisquam nulla aut assumenda. Voluptatibus animi corporis libero aut itaque quisquam est. Eaque autem quae.\", \"Enim sint dolores ratione et dolores quia asperiores. Inventore minima minus praesentium consectetur est animi. Excepturi blanditiis magni error autem saepe qui ea. Nobis sed officiis reprehenderit asperiores perspiciatis id. Quis aspernatur qui.\"]"], ["created_at", "2014-09-23 00:47:55.551627"], ["name", "contract_52a8a456"], ["title", "Inventore deleniti officiis autem ratione modi praesentium ab."], ["updated_at", "2014-09-23 00:47:55.551627"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52a8a456"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_52a8a456') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:47:55.556592"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52a8a456"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52a8a456"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:47:55.561696"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.565177"], ["updated_at", "2014-09-23 00:47:55.565177"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.566829"], ["updated_at", "2014-09-23 00:47:55.566829"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.573418"], ["updated_at", "2014-09-23 00:47:55.573418"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.575356"], ["updated_at", "2014-09-23 00:47:55.575356"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.581167"], ["updated_at", "2014-09-23 00:47:55.581167"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.582874"], ["updated_at", "2014-09-23 00:47:55.582874"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium nesciunt repellendus est et dignissimos occaecati. Quia consequatur qui dolorem aut suscipit. Optio repellendus ut. Voluptatem quos molestiae et.\", \"Error ratione veniam illum. Aut ut velit nam tenetur. Nulla quos aut earum fugit omnis est consequatur. Ea et dolore fuga sapiente consequatur temporibus architecto.\"]"], ["created_at", "2014-09-23 00:47:55.586138"], ["name", "contract_725273d9"], ["title", "Maxime quisquam dolorum."], ["updated_at", "2014-09-23 00:47:55.586138"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_725273d9"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_725273d9') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:47:55.589661"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.592226"], ["updated_at", "2014-09-23 00:47:55.592226"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:47:55.594512"], ["updated_at", "2014-09-23 00:47:55.594512"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Redirected to http://test.host/fine_print/contracts/9/signatures?r=L2o4aVY4SVNxS2N5aFNLSEhXZXpiQT09LS1ZQVNNNnFYbC9Xa2ZITW5ndXJ4a2RBPT0%3D--7880cb43a3e579bec94e85c7472458b85db13cf4 Completed 302 Found in 199ms (ActiveRecord: 1.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.799319"], ["updated_at", "2014-09-23 00:47:55.799319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.801000"], ["updated_at", "2014-09-23 00:47:55.801000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel magni quia laudantium saepe. Dignissimos ab dolores. Quidem corrupti est dolores.\", \"Sint reprehenderit corporis unde accusamus est est. Ut delectus ut ex. Voluptatem eveniet velit. Qui hic eum.\"]"], ["created_at", "2014-09-23 00:47:55.803543"], ["name", "contract_d480d8e5"], ["title", "Est tempora blanditiis eaque ratione omnis odio."], ["updated_at", "2014-09-23 00:47:55.803543"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d480d8e5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_d480d8e5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:47:55.806823"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.809629"], ["updated_at", "2014-09-23 00:47:55.809629"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:47:55.812360"], ["updated_at", "2014-09-23 00:47:55.812360"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.821838"], ["updated_at", "2014-09-23 00:47:55.821838"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.823480"], ["updated_at", "2014-09-23 00:47:55.823480"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae quam est nesciunt vel. Enim doloremque vel tenetur molestias. Ea laboriosam ut reprehenderit id iusto. Ea est eum rerum totam cupiditate temporibus.\", \"Et et non sed. Inventore vero reprehenderit quod ut et et cum. Ducimus quia laborum. Similique ullam culpa ea.\"]"], ["created_at", "2014-09-23 00:47:55.826063"], ["name", "contract_b275a47c"], ["title", "Eligendi qui perferendis."], ["updated_at", "2014-09-23 00:47:55.826063"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b275a47c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_b275a47c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:47:55.829313"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.831844"], ["updated_at", "2014-09-23 00:47:55.831844"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:47:55.834090"], ["updated_at", "2014-09-23 00:47:55.834090"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.3ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.840425"], ["updated_at", "2014-09-23 00:47:55.840425"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.842205"], ["updated_at", "2014-09-23 00:47:55.842205"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt perferendis nobis. Ipsa et iusto eaque totam autem. Quas neque accusantium enim. Voluptas omnis eveniet quaerat enim.\", \"Temporibus vitae qui. Eos dignissimos iste animi ducimus deserunt. Dolore autem officia minima.\"]"], ["created_at", "2014-09-23 00:47:55.844859"], ["name", "contract_f0212737"], ["title", "Aut iusto et."], ["updated_at", "2014-09-23 00:47:55.844859"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f0212737"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_f0212737') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:47:55.848185"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.850879"], ["updated_at", "2014-09-23 00:47:55.850879"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 00:47:55.853078"], ["updated_at", "2014-09-23 00:47:55.853078"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.858920"], ["updated_at", "2014-09-23 00:47:55.858920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.860433"], ["updated_at", "2014-09-23 00:47:55.860433"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse culpa vel. Quos et doloremque suscipit. Consequatur magni aliquam qui reiciendis. Impedit rerum sed esse. Voluptates quis numquam possimus eligendi praesentium.\", \"Quis saepe et ex voluptatem nulla omnis voluptates. Et nihil quod nihil quas veritatis. A minus voluptas odit voluptas assumenda quasi. Occaecati eum et ex sint possimus. Ut omnis aliquam.\"]"], ["created_at", "2014-09-23 00:47:55.862944"], ["name", "contract_22cfa5dd"], ["title", "Voluptatem velit aspernatur omnis."], ["updated_at", "2014-09-23 00:47:55.862944"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_22cfa5dd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_22cfa5dd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:47:55.866142"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.868677"], ["updated_at", "2014-09-23 00:47:55.868677"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-23 00:47:55.870815"], ["updated_at", "2014-09-23 00:47:55.870815"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"13"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.875844"], ["updated_at", "2014-09-23 00:47:55.875844"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.877413"], ["updated_at", "2014-09-23 00:47:55.877413"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui cum vitae quia inventore nostrum. Cupiditate qui quia aut. Voluptatem eum repellat unde et.\", \"Nemo iure labore. Sunt vel consequatur ut sequi. Et fugiat dignissimos in similique molestiae voluptas ipsam. Nihil quia et molestias dolorum sunt enim. Dolores ipsa iste.\"]"], ["created_at", "2014-09-23 00:47:55.879949"], ["name", "contract_52c4ec0b"], ["title", "Ratione dolor asperiores ipsam est deserunt nihil."], ["updated_at", "2014-09-23 00:47:55.879949"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_52c4ec0b"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_52c4ec0b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:47:55.883793"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.886524"], ["updated_at", "2014-09-23 00:47:55.886524"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-23 00:47:55.888846"], ["updated_at", "2014-09-23 00:47:55.888846"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"14"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.892641"], ["updated_at", "2014-09-23 00:47:55.892641"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.894184"], ["updated_at", "2014-09-23 00:47:55.894184"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit est omnis temporibus natus et hic. Sit non veritatis eos. Laborum dolor laboriosam esse modi delectus. Dolor qui rerum et et quam. Dolor tempora pariatur deserunt ad.\", \"Est ratione sed. Qui dolores numquam unde amet. Molestiae recusandae ipsa exercitationem et.\"]"], ["created_at", "2014-09-23 00:47:55.896714"], ["name", "contract_adf93781"], ["title", "Odit in aliquid ipsum."], ["updated_at", "2014-09-23 00:47:55.896714"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_adf93781"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_adf93781') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:47:55.899891"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.902427"], ["updated_at", "2014-09-23 00:47:55.902427"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 00:47:55.904572"], ["updated_at", "2014-09-23 00:47:55.904572"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"15"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.910362"], ["updated_at", "2014-09-23 00:47:55.910362"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.912595"], ["updated_at", "2014-09-23 00:47:55.912595"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusamus aut molestias ad. Porro qui voluptatem autem vel ut quaerat ut. Perferendis adipisci dignissimos sit ex. Eveniet assumenda est hic exercitationem odit. Quos amet ea reiciendis eos sit ut dolorum.\", \"Natus vitae porro vel. Pariatur nam ut earum. Quos vero et minima sit sint. Rerum recusandae quo omnis est enim sed.\"]"], ["created_at", "2014-09-23 00:47:55.916945"], ["name", "contract_ecc8c67c"], ["title", "Fuga rerum sunt ut beatae voluptatem quia excepturi."], ["updated_at", "2014-09-23 00:47:55.916945"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ecc8c67c"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_ecc8c67c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:47:55.921526"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.924585"], ["updated_at", "2014-09-23 00:47:55.924585"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-23 00:47:55.927083"], ["updated_at", "2014-09-23 00:47:55.927083"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"16"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.931144"], ["updated_at", "2014-09-23 00:47:55.931144"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.932683"], ["updated_at", "2014-09-23 00:47:55.932683"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus eligendi dolore et sunt ea. Illum et perspiciatis vel odit placeat sunt. Excepturi et adipisci. Voluptas eos non.\", \"Nobis dignissimos enim quam aut animi. Voluptas beatae mollitia iure neque ut. Dolorum nesciunt sit quo.\"]"], ["created_at", "2014-09-23 00:47:55.934836"], ["name", "contract_37981a89"], ["title", "Et id vero ex est doloremque est."], ["updated_at", "2014-09-23 00:47:55.934836"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 17]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 17]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 17 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.943844"], ["updated_at", "2014-09-23 00:47:55.943844"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.945328"], ["updated_at", "2014-09-23 00:47:55.945328"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati id deleniti ut. Voluptas voluptatem aut eum harum cupiditate facilis voluptas. Molestiae rerum velit dolorem numquam delectus. Est necessitatibus quod. Commodi tempora vel et voluptatem possimus quis.\", \"Est blanditiis ratione esse deserunt beatae. Enim eligendi quia nam deleniti. Et facilis inventore.\"]"], ["created_at", "2014-09-23 00:47:55.947483"], ["name", "contract_21391f02"], ["title", "Ad voluptates ex consequatur."], ["updated_at", "2014-09-23 00:47:55.947483"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_21391f02"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_21391f02') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:47:55.952357"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.956724"], ["updated_at", "2014-09-23 00:47:55.956724"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.958210"], ["updated_at", "2014-09-23 00:47:55.958210"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae est dolor ut similique perferendis est. Non velit nam vel omnis impedit et est. Ab occaecati quo. Necessitatibus est beatae ad porro modi dolor dolore. Quasi sunt doloribus harum accusantium.\", \"Dolore doloremque ea est provident. Vel voluptatem necessitatibus iste voluptatem doloremque consequatur. Perspiciatis commodi quis cumque adipisci et error amet. Quae cupiditate atque ipsam aut totam voluptatibus ullam. Architecto dolores atque enim accusantium ad.\"]"], ["created_at", "2014-09-23 00:47:55.960407"], ["name", "contract_aea59f9b"], ["title", "Sit facere consequatur et autem ducimus ad aut."], ["updated_at", "2014-09-23 00:47:55.960407"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.965787"], ["updated_at", "2014-09-23 00:47:55.965787"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.967522"], ["updated_at", "2014-09-23 00:47:55.967522"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur corporis accusamus non reiciendis. Voluptatum quidem ut at. Qui quasi est rerum distinctio.\", \"Autem temporibus quo consequuntur aperiam est enim. A id cum natus molestiae libero quasi. Vero non praesentium et. Eligendi quo cupiditate quis ut voluptatem rerum non.\"]"], ["created_at", "2014-09-23 00:47:55.970104"], ["name", "contract_ac8013da"], ["title", "Eaque earum quaerat cum."], ["updated_at", "2014-09-23 00:47:55.970104"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ac8013da"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_ac8013da') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:47:55.974063"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.980879"], ["updated_at", "2014-09-23 00:47:55.980879"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.982491"], ["updated_at", "2014-09-23 00:47:55.982491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi fugiat inventore sit et ea. Voluptatem quo eos aut ut. Sed itaque sed est veritatis quod porro. Ex rerum qui delectus facilis.\", \"Rerum doloremque sed eligendi facilis. Autem voluptatem voluptatem consequatur dicta aspernatur id non. Minima accusantium vitae. Nisi cupiditate molestias provident. A est et amet inventore.\"]"], ["created_at", "2014-09-23 00:47:55.984769"], ["name", "contract_98377970"], ["title", "Et assumenda tenetur et."], ["updated_at", "2014-09-23 00:47:55.984769"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98377970"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_98377970') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:47:55.987956"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98377970"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:47:55.993152"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.997400"], ["updated_at", "2014-09-23 00:47:55.997400"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:55.998938"], ["updated_at", "2014-09-23 00:47:55.998938"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et assumenda eveniet eaque. Sit ea saepe eos magni ea hic. Ut earum aut suscipit ducimus ad repellat similique. Consequatur praesentium consequatur est eaque et quibusdam aut.\", \"Quaerat unde minima. Veniam quas aliquam. Impedit eveniet laborum et recusandae sequi necessitatibus repellat. Illo sit dolore mollitia iure reprehenderit sed. Voluptatem quos aut tempore.\"]"], ["created_at", "2014-09-23 00:47:56.001192"], ["name", "contract_96f13c7d"], ["title", "Qui eligendi maiores."], ["updated_at", "2014-09-23 00:47:56.001192"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.008165"], ["updated_at", "2014-09-23 00:47:56.008165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.009935"], ["updated_at", "2014-09-23 00:47:56.009935"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat velit animi est qui repudiandae. Rerum sed unde dolorem est consequatur. Totam quaerat inventore in ipsa. Quis dicta culpa ipsa molestiae ut non. Fuga magnam minus et et voluptas illo quis.\", \"Quia et ipsam. Et qui dicta repellat. Tenetur voluptatem ut non animi molestias in illum. Quisquam doloribus non. Soluta sed officia accusantium aliquam et omnis in.\"]"], ["created_at", "2014-09-23 00:47:56.012480"], ["name", "contract_696d7003"], ["title", "Blanditiis et illo aperiam est quos voluptatem."], ["updated_at", "2014-09-23 00:47:56.012480"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.017084"], ["updated_at", "2014-09-23 00:47:56.017084"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.018654"], ["updated_at", "2014-09-23 00:47:56.018654"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In suscipit sed nam delectus enim. Est eligendi nesciunt mollitia voluptas. Ut voluptas recusandae possimus et. Dolores at autem.\", \"Impedit blanditiis deserunt libero quia distinctio cum. Occaecati molestiae perferendis et numquam eligendi earum. Qui voluptas vero delectus et. Ut reprehenderit quia aut perferendis pariatur consequuntur. Aspernatur sequi deleniti delectus.\"]"], ["created_at", "2014-09-23 00:47:56.020765"], ["name", "contract_80b1dac3"], ["title", "Voluptatem quia ut eum nobis qui quam."], ["updated_at", "2014-09-23 00:47:56.020765"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.025049"], ["updated_at", "2014-09-23 00:47:56.025049"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.026548"], ["updated_at", "2014-09-23 00:47:56.026548"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Beatae optio iste quibusdam ut quisquam. Id tempora rerum omnis et dolore repellendus sit. Est voluptas pariatur repudiandae cupiditate. Nobis et blanditiis.\", \"Est blanditiis vel consequatur eligendi ut. Vel eaque nisi similique dignissimos fuga. Aut aut necessitatibus sapiente.\"]"], ["created_at", "2014-09-23 00:47:56.028730"], ["name", "contract_26de91f0"], ["title", "Aut vel quae sequi quam."], ["updated_at", "2014-09-23 00:47:56.028730"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:47:56.031679"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:47:56.031679"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.035454"], ["updated_at", "2014-09-23 00:47:56.035454"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.037014"], ["updated_at", "2014-09-23 00:47:56.037014"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore quidem dolores natus explicabo autem sit excepturi. Sit sint pariatur consectetur eos et. Ratione aspernatur pariatur.\", \"Et eos sunt velit fugit dolore quasi. Illo asperiores nemo laudantium. Quam mollitia suscipit pariatur ea.\"]"], ["created_at", "2014-09-23 00:47:56.039081"], ["name", "contract_8fdea618"], ["title", "Assumenda nihil reprehenderit numquam repudiandae."], ["updated_at", "2014-09-23 00:47:56.039081"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.044692"], ["updated_at", "2014-09-23 00:47:56.044692"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.046478"], ["updated_at", "2014-09-23 00:47:56.046478"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel culpa sint et aut. Voluptatem vitae ut. Rerum reprehenderit id aspernatur earum quos quia.\", \"Dolorum tenetur illum maxime omnis debitis. Officia eos reprehenderit suscipit et et autem. Eius delectus et. Quo ex dolores accusantium molestiae sint. Minus neque qui excepturi consequatur odit.\"]"], ["created_at", "2014-09-23 00:47:56.049407"], ["name", "contract_73b9c600"], ["title", "Voluptatum vitae molestiae animi quis minima nam."], ["updated_at", "2014-09-23 00:47:56.049407"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 28 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:47:56.053742"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.058670"], ["updated_at", "2014-09-23 00:47:56.058670"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.060407"], ["updated_at", "2014-09-23 00:47:56.060407"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam est quisquam repudiandae eligendi deserunt dolorem. Et sunt enim non. Ratione neque adipisci laborum.\", \"Et sed soluta enim. Consectetur occaecati dolores unde rerum consequatur natus. Dolore velit ducimus quis molestiae et fugiat.\"]"], ["created_at", "2014-09-23 00:47:56.062970"], ["name", "contract_3795344a"], ["title", "Aperiam eos labore tempora quaerat consequatur."], ["updated_at", "2014-09-23 00:47:56.062970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3795344a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_3795344a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 00:47:56.066304"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3795344a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.075914"], ["updated_at", "2014-09-23 00:47:56.075914"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.077953"], ["updated_at", "2014-09-23 00:47:56.077953"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam nihil qui aperiam. Voluptatum molestias expedita eaque impedit tempore. Nam nostrum voluptas aliquid quis tempora. Quas rerum et et. Mollitia asperiores et aut voluptas facilis amet nisi.\", \"Suscipit beatae vero quisquam distinctio et. Iure labore qui consequatur omnis. Sed non voluptas neque nobis ab esse. Eius eum voluptatem fugit et atque et. Quis eum explicabo consequatur.\"]"], ["created_at", "2014-09-23 00:47:56.080772"], ["name", "contract_d3e9040a"], ["title", "Est officiis veniam et."], ["updated_at", "2014-09-23 00:47:56.080772"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.087462"], ["updated_at", "2014-09-23 00:47:56.087462"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.089158"], ["updated_at", "2014-09-23 00:47:56.089158"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos deserunt perferendis sequi consequatur voluptatem hic odio. Tempora culpa natus et illo est nisi. Qui doloribus in eaque neque eveniet vel.\", \"Quos dolores dignissimos ducimus quidem saepe. Blanditiis hic ipsa maxime tenetur rerum ipsum. Distinctio eum assumenda itaque et.\"]"], ["created_at", "2014-09-23 00:47:56.091418"], ["name", "contract_3edcd49c"], ["title", "Ratione perferendis quis sequi culpa dolor quasi."], ["updated_at", "2014-09-23 00:47:56.091418"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.095567"], ["updated_at", "2014-09-23 00:47:56.095567"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.097152"], ["updated_at", "2014-09-23 00:47:56.097152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia consequatur sit officia omnis rerum ad. Consequatur voluptatem delectus. Excepturi est doloremque eveniet distinctio rerum. Qui suscipit unde.\", \"Ab odio velit qui voluptate at. Ab error repellat laborum. Fugit accusamus nam error aut voluptatem delectus expedita. Omnis eligendi assumenda rem quia ut pariatur.\"]"], ["created_at", "2014-09-23 00:47:56.099597"], ["name", "contract_ec29a70e"], ["title", "Ut eligendi nihil unde ea."], ["updated_at", "2014-09-23 00:47:56.099597"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 3, 18, 13, 25, 29, 31, 5, 4, 6, 8, 14, 1, 23, 9, 24, 27, 22, 21, 20, 15, 19, 11, 2, 30, 10, 32, 16, 12, 7, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 5.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.114579"], ["updated_at", "2014-09-23 00:47:56.114579"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.116232"], ["updated_at", "2014-09-23 00:47:56.116232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui doloribus nihil enim. Et cum est. Et atque et quaerat voluptas. Omnis ut sint qui dolorem voluptas tempore. Aperiam eum est quam.\", \"Rerum voluptas laboriosam ea quibusdam inventore aspernatur. Consequatur molestiae ratione vel eos maiores nesciunt. Et rem beatae quibusdam tempora maxime et. Sapiente perspiciatis ut necessitatibus repellat odit dolorum reprehenderit.\"]"], ["created_at", "2014-09-23 00:47:56.118551"], ["name", "contract_aaf9d71a"], ["title", "Iure sit qui qui unde ducimus qui reiciendis."], ["updated_at", "2014-09-23 00:47:56.118551"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.123302"], ["updated_at", "2014-09-23 00:47:56.123302"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.125049"], ["updated_at", "2014-09-23 00:47:56.125049"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores eaque ex omnis saepe. Voluptas non esse rerum est quae atque. Rem dolorem qui. Rem id sed ea eaque. Sunt quo est neque aut maxime et.\", \"Qui ex et quisquam fugiat quos at. Modi qui sint mollitia. Quos vitae facere corrupti quis rerum.\"]"], ["created_at", "2014-09-23 00:47:56.127508"], ["name", "contract_d99c4b88"], ["title", "Et delectus nostrum est quas necessitatibus exercitationem."], ["updated_at", "2014-09-23 00:47:56.127508"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d99c4b88"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_d99c4b88') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 00:47:56.131027"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.136368"], ["updated_at", "2014-09-23 00:47:56.136368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.137920"], ["updated_at", "2014-09-23 00:47:56.137920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia a qui. Et voluptatibus voluptas. Autem aperiam consequatur ratione et et.\", \"Nemo consectetur ducimus alias corrupti. Velit quia molestiae tempora voluptatibus et. Esse provident blanditiis sunt pariatur nostrum commodi error.\"]"], ["created_at", "2014-09-23 00:47:56.140063"], ["name", "contract_7084a7ec"], ["title", "Quia tempore ut fugiat necessitatibus enim."], ["updated_at", "2014-09-23 00:47:56.140063"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae officia optio vel. Hic in deserunt eos. Pariatur aut ut quia eos. Earum omnis dolor sunt repudiandae. Esse fuga voluptatem amet earum veritatis sed accusamus.\", \"Totam eaque sed repellendus consequuntur. Ipsum ea provident iusto eius. Non nam fuga eos. Et iste ad.\"]"], ["created_at", "2014-09-23 00:47:56.145820"], ["name", "alpha"], ["title", "Esse ab neque adipisci mollitia culpa expedita."], ["updated_at", "2014-09-23 00:47:56.145820"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:47:56.149237"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident error magni excepturi non et possimus. Dolores saepe eveniet quia sed possimus aut ipsa. Enim provident cum eum quisquam qui. Molestiae aut hic magnam ut quam esse repudiandae. Velit et aut mollitia consequatur culpa dolore molestiae.\", \"Non voluptas molestiae. Laboriosam doloremque non voluptatum in voluptas consectetur aut. Maiores cumque in sit voluptatem vel voluptas quo. A ut vero et nulla labore hic praesentium. Tempora qui deserunt.\"]"], ["created_at", "2014-09-23 00:47:56.152992"], ["name", "beta"], ["title", "Dolore et dignissimos est."], ["updated_at", "2014-09-23 00:47:56.152992"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-23 00:47:56.156586"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.159164"], ["updated_at", "2014-09-23 00:47:56.159164"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-23 00:47:56.161950"], ["updated_at", "2014-09-23 00:47:56.161950"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-23 00:47:56.164476"], ["updated_at", "2014-09-23 00:47:56.164476"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.9ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:56.167280"], ["name", "alpha"], ["title", "Esse ab neque adipisci mollitia culpa expedita."], ["updated_at", "2014-09-23 00:47:56.167280"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:47:56.170631"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consectetur iure consequuntur. Illo dicta in repellendus. Laborum assumenda quos.\", \"Vitae esse ratione atque facilis culpa qui magni. Vel dicta placeat dolore inventore sint repudiandae aspernatur. Sed facilis voluptates sit sequi. Ipsam velit sint quo ut pariatur quibusdam.\"]"], ["created_at", "2014-09-23 00:47:56.174287"], ["name", "alpha"], ["title", "Omnis pariatur rerum nemo."], ["updated_at", "2014-09-23 00:47:56.174287"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:47:56.177504"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut aperiam quia. Eius recusandae soluta ut et quisquam et qui. Repellendus non ducimus id voluptatem in consequatur.\", \"Molestiae eos minus vel consequatur est animi. Et occaecati at voluptatibus. Et sapiente sed voluptas. Ea harum omnis alias mollitia aut praesentium natus.\"]"], ["created_at", "2014-09-23 00:47:56.180583"], ["name", "beta"], ["title", "Ut reiciendis possimus dolores."], ["updated_at", "2014-09-23 00:47:56.180583"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 00:47:56.183716"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.186031"], ["updated_at", "2014-09-23 00:47:56.186031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 00:47:56.188746"], ["updated_at", "2014-09-23 00:47:56.188746"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 00:47:56.191596"], ["updated_at", "2014-09-23 00:47:56.191596"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:56.193837"], ["name", "alpha"], ["title", "Omnis pariatur rerum nemo."], ["updated_at", "2014-09-23 00:47:56.193837"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:47:56.196997"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At optio ea. Aut quasi qui. Rerum minima molestiae.\", \"Qui rerum et inventore officiis possimus sit velit. Mollitia sit voluptatem voluptas accusantium ea aspernatur debitis. Laborum eligendi cupiditate quas error aliquid. Voluptas dolorem beatae omnis aliquam.\"]"], ["created_at", "2014-09-23 00:47:56.200673"], ["name", "alpha"], ["title", "Doloremque perspiciatis expedita consequatur voluptatem cupiditate qui molestiae."], ["updated_at", "2014-09-23 00:47:56.200673"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:47:56.203768"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor est adipisci architecto aut officia. Ea ullam iusto esse ut delectus beatae. Omnis necessitatibus dignissimos sunt illo numquam. Nihil quia cumque sed aut eius. Quis eum quos qui quia eos ut quae.\", \"Voluptatem quia voluptas harum inventore libero quibusdam. Dolorum sit velit commodi. Et rerum vel ipsa.\"]"], ["created_at", "2014-09-23 00:47:56.206707"], ["name", "beta"], ["title", "Ut facere blanditiis in et et voluptas."], ["updated_at", "2014-09-23 00:47:56.206707"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:47:56.210093"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.212563"], ["updated_at", "2014-09-23 00:47:56.212563"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-23 00:47:56.215231"], ["updated_at", "2014-09-23 00:47:56.215231"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-23 00:47:56.218359"], ["updated_at", "2014-09-23 00:47:56.218359"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:56.220798"], ["name", "alpha"], ["title", "Doloremque perspiciatis expedita consequatur voluptatem cupiditate qui molestiae."], ["updated_at", "2014-09-23 00:47:56.220798"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:47:56.224084"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-23 00:47:56.246434"], ["updated_at", "2014-09-23 00:47:56.246434"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 42]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 43]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum rerum at aut dignissimos ab. Et eius in ad iusto architecto ea aut. Odio sapiente nam deleniti et ad aut.\", \"Doloribus pariatur accusamus quam fugit aperiam id in. Ut eius consequatur. Quae porro vel eveniet dolorum. Qui consequatur hic sunt et sint mollitia. Cupiditate nostrum dolore molestiae non beatae aliquid.\"]"], ["created_at", "2014-09-23 00:47:56.264379"], ["name", "alpha"], ["title", "Nam ipsa sit."], ["updated_at", "2014-09-23 00:47:56.264379"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:47:56.268484"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam iusto eos. Amet eos mollitia omnis occaecati natus. Qui numquam accusamus. Accusamus aut dolores corrupti explicabo sed optio. Corporis nostrum ducimus.\", \"Officia at quibusdam nisi autem eum. Itaque pariatur et libero ratione sint. Incidunt iusto possimus iure non odio explicabo officia. Occaecati et quo. Est nobis quo recusandae aspernatur.\"]"], ["created_at", "2014-09-23 00:47:56.272898"], ["name", "beta"], ["title", "Voluptatem qui cum excepturi officiis eius explicabo et."], ["updated_at", "2014-09-23 00:47:56.272898"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 00:47:56.276878"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:47:56.279795"], ["updated_at", "2014-09-23 00:47:56.279795"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 00:47:56.283465"], ["updated_at", "2014-09-23 00:47:56.283465"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-23 00:47:56.286691"], ["updated_at", "2014-09-23 00:47:56.286691"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:47:56.289783"], ["name", "alpha"], ["title", "Nam ipsa sit."], ["updated_at", "2014-09-23 00:47:56.289783"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:47:56.294148"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.319852"], ["updated_at", "2014-09-23 00:48:12.319852"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.326804"], ["updated_at", "2014-09-23 00:48:12.326804"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.333092"], ["updated_at", "2014-09-23 00:48:12.333092"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.334693"], ["updated_at", "2014-09-23 00:48:12.334693"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut mollitia iure dicta est. Dolor et animi. Id molestias voluptate itaque iure maiores. Reiciendis voluptatem et excepturi harum commodi sed illum. A nemo debitis accusamus.\", \"Esse nisi dolores eligendi mollitia. Rerum rerum iusto sed. Dolor iure ut. Repudiandae qui doloremque velit reprehenderit dolore eum.\"]"], ["created_at", "2014-09-23 00:48:12.563211"], ["name", "alpha"], ["title", "Voluptatem molestiae at itaque voluptas et nostrum."], ["updated_at", "2014-09-23 00:48:12.563211"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 00:48:12.576705"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil totam maxime ea nihil non aut ratione. Dolores adipisci assumenda dolore similique blanditiis sunt perspiciatis. Non minima consequatur. Cum ut quia beatae.\", \"Ad in et voluptatem eaque quia ducimus. Id expedita ipsam esse natus sapiente deserunt. Nostrum deleniti cumque dolorem.\"]"], ["created_at", "2014-09-23 00:48:12.582929"], ["name", "beta"], ["title", "Nihil impedit possimus."], ["updated_at", "2014-09-23 00:48:12.582929"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:48:12.587970"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.591675"], ["updated_at", "2014-09-23 00:48:12.591675"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-23 00:48:12.599772"], ["updated_at", "2014-09-23 00:48:12.599772"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-23 00:48:12.606398"], ["updated_at", "2014-09-23 00:48:12.606398"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:12.612558"], ["name", "alpha"], ["title", "Voluptatem molestiae at itaque voluptas et nostrum."], ["updated_at", "2014-09-23 00:48:12.612558"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:48:12.616408"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (3, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius alias ut. Sed id laboriosam dolores sed voluptatem a. Eum sed mollitia aut optio dolores. Corporis ex aut corrupti dolorum consequatur.\", \"Ut earum cupiditate nihil quo voluptatem exercitationem quasi. Perspiciatis explicabo consequatur nemo quidem. Aliquid error et. Id et voluptatem sunt nihil sed eum. At officia similique laborum aliquam asperiores.\"]"], ["created_at", "2014-09-23 00:48:12.624769"], ["name", "alpha"], ["title", "Saepe aut quam cum ipsum quo ut animi."], ["updated_at", "2014-09-23 00:48:12.624769"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:48:12.628332"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur veritatis et fugiat possimus unde doloribus quas. Quo ullam iure fuga dolorum ex voluptatem. Modi laudantium debitis doloribus aut quisquam. Magni eius odit est eos.\", \"Eos non consequatur dicta eaque. Sed repudiandae similique. Aut et nihil necessitatibus aut. Quia fugiat eos saepe. At neque aperiam iure modi quis odit.\"]"], ["created_at", "2014-09-23 00:48:12.631912"], ["name", "beta"], ["title", "Non nisi harum praesentium quis."], ["updated_at", "2014-09-23 00:48:12.631912"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:48:12.634946"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.637128"], ["updated_at", "2014-09-23 00:48:12.637128"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:48:12.640079"], ["updated_at", "2014-09-23 00:48:12.640079"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:48:12.642513"], ["updated_at", "2014-09-23 00:48:12.642513"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:12.644642"], ["name", "alpha"], ["title", "Saepe aut quam cum ipsum quo ut animi."], ["updated_at", "2014-09-23 00:48:12.644642"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:48:12.647525"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo qui cum aspernatur enim omnis suscipit doloremque. Doloribus quas molestias. Veniam harum veritatis ut. Ut qui laboriosam molestias odio excepturi iure et.\", \"Voluptatem earum eum laboriosam ea eos totam. Officia repellat magni quo debitis et sapiente et. Vitae non iure autem fugiat aut voluptatem quis. Ipsa modi non.\"]"], ["created_at", "2014-09-23 00:48:12.653353"], ["name", "alpha"], ["title", "Porro rerum facere."], ["updated_at", "2014-09-23 00:48:12.653353"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:48:12.656305"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dignissimos ut voluptates. Amet et voluptatum officiis et aut. Repellendus et est. Laudantium quae sit non modi. Et nam dolores mollitia rerum.\", \"Doloremque voluptatem in optio enim. Nam eaque inventore adipisci nemo at dolorem vitae. Autem necessitatibus quia et illum reprehenderit et tenetur. Incidunt soluta voluptatem accusantium repellendus voluptate.\"]"], ["created_at", "2014-09-23 00:48:12.659333"], ["name", "beta"], ["title", "Animi ex molestias quas laboriosam."], ["updated_at", "2014-09-23 00:48:12.659333"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:48:12.662384"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.664626"], ["updated_at", "2014-09-23 00:48:12.664626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:48:12.667155"], ["updated_at", "2014-09-23 00:48:12.667155"], ["user_id", 7], ["user_type", "DummyUser"]]  (1.1ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:48:12.670966"], ["updated_at", "2014-09-23 00:48:12.670966"], ["user_id", 7], ["user_type", "DummyUser"]]  (6.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:12.680184"], ["name", "alpha"], ["title", "Porro rerum facere."], ["updated_at", "2014-09-23 00:48:12.680184"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:48:12.684442"], ["version", 6]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:48:12.704970"], ["updated_at", "2014-09-23 00:48:12.704970"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere architecto tempore eius accusamus et magnam et. Est fugit hic cupiditate. Necessitatibus est aut dolores molestiae. Tempore necessitatibus eligendi corporis omnis.\", \"Quam aut quis nobis ut ut. Libero similique aperiam nulla perferendis autem optio ea. Est non quia quas odio optio. Quaerat nostrum dignissimos. Voluptas dolorem eligendi.\"]"], ["created_at", "2014-09-23 00:48:12.718948"], ["name", "alpha"], ["title", "Et qui eveniet."], ["updated_at", "2014-09-23 00:48:12.718948"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:48:12.722339"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis rerum repudiandae aliquam corporis rerum enim. Doloribus et omnis praesentium. Et nobis blanditiis veritatis ea sapiente. Reprehenderit quo temporibus illum eius aut minima quos.\", \"Ea fuga nostrum. Debitis sed dicta ipsam et quibusdam in quam. Ex consequatur possimus iure sequi amet enim. Maiores consectetur facilis at voluptatem occaecati ex laborum. Vitae mollitia asperiores sapiente quia consequatur sint.\"]"], ["created_at", "2014-09-23 00:48:12.725621"], ["name", "beta"], ["title", "Sit voluptas recusandae."], ["updated_at", "2014-09-23 00:48:12.725621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:48:12.728558"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.731141"], ["updated_at", "2014-09-23 00:48:12.731141"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:48:12.734214"], ["updated_at", "2014-09-23 00:48:12.734214"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:48:12.736686"], ["updated_at", "2014-09-23 00:48:12.736686"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:12.738885"], ["name", "alpha"], ["title", "Et qui eveniet."], ["updated_at", "2014-09-23 00:48:12.738885"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:48:12.741893"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (1, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.745984"], ["updated_at", "2014-09-23 00:48:12.745984"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.747422"], ["updated_at", "2014-09-23 00:48:12.747422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo voluptates vel. Neque et odit. Sunt explicabo rerum quasi. Eum est explicabo minima recusandae quod enim.\", \"Quis enim velit natus. Corporis ut illum eaque laboriosam facilis quas. Deleniti illum quo quasi qui.\"]"], ["created_at", "2014-09-23 00:48:12.749794"], ["name", "contract_d86248d3"], ["title", "Corporis minima et rerum aut rerum."], ["updated_at", "2014-09-23 00:48:12.749794"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.755004"], ["updated_at", "2014-09-23 00:48:12.755004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.756634"], ["updated_at", "2014-09-23 00:48:12.756634"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore qui exercitationem rerum dolores. Voluptas culpa quaerat corporis voluptas voluptatem itaque minima. Ex eos veritatis suscipit ut molestiae quidem impedit.\", \"Repellat sed sed architecto dolorum. Perferendis ut commodi. Est incidunt velit mollitia ut impedit dolorem cum. Hic ea eveniet omnis maxime non maiores.\"]"], ["created_at", "2014-09-23 00:48:12.758765"], ["name", "contract_dd7afcba"], ["title", "Dolores rerum possimus."], ["updated_at", "2014-09-23 00:48:12.758765"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 14]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 14]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 14 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.766375"], ["updated_at", "2014-09-23 00:48:12.766375"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.767855"], ["updated_at", "2014-09-23 00:48:12.767855"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eaque molestiae consequatur. Ut atque vero eius quod quia. Consequatur amet distinctio fugiat.\", \"Impedit explicabo odit nemo. Nulla quo molestias quia ut molestiae voluptatem. Voluptas iusto ducimus error debitis. Esse modi omnis tenetur dolore. Voluptatem voluptatem soluta aut voluptas et quibusdam deserunt.\"]"], ["created_at", "2014-09-23 00:48:12.770661"], ["name", "contract_98e9e51c"], ["title", "Aperiam iure molestias."], ["updated_at", "2014-09-23 00:48:12.770661"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98e9e51c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_98e9e51c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:48:12.774102"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_98e9e51c"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:48:12.779141"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.783264"], ["updated_at", "2014-09-23 00:48:12.783264"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.784683"], ["updated_at", "2014-09-23 00:48:12.784683"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex qui explicabo dicta itaque incidunt voluptate. Deserunt debitis nisi voluptas ut molestiae. Sunt aspernatur voluptatum nihil non doloribus. Sint enim exercitationem totam sit qui.\", \"Est voluptas reiciendis rerum. Explicabo in vero. Provident eos ex alias eos. Et neque voluptatem enim dicta blanditiis iusto fuga. Ullam sit quia ipsam ut consectetur.\"]"], ["created_at", "2014-09-23 00:48:12.786809"], ["name", "contract_1d6c1a21"], ["title", "Ut enim quasi sit aliquid sapiente culpa."], ["updated_at", "2014-09-23 00:48:12.786809"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.794079"], ["updated_at", "2014-09-23 00:48:12.794079"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.795981"], ["updated_at", "2014-09-23 00:48:12.795981"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur explicabo vel eaque itaque. In quaerat est officiis nam. Omnis sed aut eos aliquam.\", \"Vel necessitatibus non iusto quis sit. At mollitia quam. Qui dolor et atque et.\"]"], ["created_at", "2014-09-23 00:48:12.798167"], ["name", "contract_0542fad5"], ["title", "Qui nemo incidunt similique vero maiores voluptate velit."], ["updated_at", "2014-09-23 00:48:12.798167"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 11, 8, 5, 2, 17, 16, 15, 13) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.809334"], ["updated_at", "2014-09-23 00:48:12.809334"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.811203"], ["updated_at", "2014-09-23 00:48:12.811203"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate maiores eius laboriosam et aperiam voluptatum tempora. Eveniet qui distinctio consequatur veritatis ut. Maiores quos et itaque. Delectus tempora omnis autem est id accusamus quo. Aut nisi in totam harum fugit perferendis qui.\", \"Sit nobis qui aspernatur ipsum a reprehenderit. Earum et quis ad nostrum. Est pariatur debitis ut inventore quae. Error qui et quia vel eaque ullam asperiores.\"]"], ["created_at", "2014-09-23 00:48:12.813472"], ["name", "contract_eb4c2289"], ["title", "Dolorem aut omnis ratione asperiores quasi adipisci."], ["updated_at", "2014-09-23 00:48:12.813472"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.818806"], ["updated_at", "2014-09-23 00:48:12.818806"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.820277"], ["updated_at", "2014-09-23 00:48:12.820277"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates et cupiditate impedit beatae. Hic vel itaque deleniti dolorem sit error voluptates. Voluptas distinctio amet odio nulla et aut.\", \"Molestiae reprehenderit ex. Qui expedita aut aut eos. Nisi dolorum autem reprehenderit omnis. Neque veniam fuga dolorem impedit perferendis tempora quia. Ducimus animi nulla odit aut nihil.\"]"], ["created_at", "2014-09-23 00:48:12.822283"], ["name", "contract_4bfb5094"], ["title", "Fuga dolore quaerat esse et."], ["updated_at", "2014-09-23 00:48:12.822283"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.827064"], ["updated_at", "2014-09-23 00:48:12.827064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.828680"], ["updated_at", "2014-09-23 00:48:12.828680"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum quia aperiam. Similique dolores hic et ut quas neque doloribus. Laudantium qui et dolorem aliquam corrupti modi.\", \"Minus reprehenderit dolore voluptatem est rerum nihil non. Iste quibusdam impedit et vel odit. Omnis eligendi error qui occaecati et. Repellat reprehenderit et hic dolorem enim sequi ipsa. Non exercitationem voluptatem eum ut eum.\"]"], ["created_at", "2014-09-23 00:48:12.830810"], ["name", "contract_cecf3808"], ["title", "Rem impedit nisi."], ["updated_at", "2014-09-23 00:48:12.830810"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cecf3808"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_cecf3808') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:48:12.835701"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.841140"], ["updated_at", "2014-09-23 00:48:12.841140"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.842986"], ["updated_at", "2014-09-23 00:48:12.842986"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa ex alias. Omnis nihil placeat et qui rerum. Sit iusto earum sed placeat. Quis exercitationem commodi corporis animi magni et eos. Veritatis est pariatur dolorum et vitae ea.\", \"Et quia ullam illum non exercitationem. Tempore neque ut ratione exercitationem facilis maiores mollitia. Qui laboriosam consequatur id est labore modi.\"]"], ["created_at", "2014-09-23 00:48:12.845489"], ["name", "contract_12696063"], ["title", "Sunt ex possimus ad minus quisquam."], ["updated_at", "2014-09-23 00:48:12.845489"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.851978"], ["updated_at", "2014-09-23 00:48:12.851978"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.853373"], ["updated_at", "2014-09-23 00:48:12.853373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit voluptatum voluptatem reiciendis perferendis est error. Quas et perferendis porro neque ut. Dolorem dolor dolore quia. Id eveniet accusamus totam dicta tempore nihil consectetur. Quo autem ut sed praesentium minima.\", \"Distinctio in corporis eum provident et fugiat. Eaque dolores non. Aspernatur consectetur sunt impedit. Accusamus officiis unde nihil. Animi consequatur doloribus tenetur placeat ipsum atque quo.\"]"], ["created_at", "2014-09-23 00:48:12.855525"], ["name", "contract_eb87f114"], ["title", "Sit omnis molestiae."], ["updated_at", "2014-09-23 00:48:12.855525"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.859989"], ["updated_at", "2014-09-23 00:48:12.859989"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.861414"], ["updated_at", "2014-09-23 00:48:12.861414"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet qui ea sapiente. Cumque minus corrupti error autem quis et quae. Adipisci voluptatibus ducimus delectus in debitis rem. Qui quia sint vero corrupti quos error aliquid. Et qui est maiores facilis.\", \"Voluptatem a ullam et et quis doloribus. Dignissimos omnis dolorem velit quia sunt quisquam vero. Quia et nulla debitis sit est magni. Esse adipisci aut aut. Temporibus provident fugiat sunt eos similique maxime.\"]"], ["created_at", "2014-09-23 00:48:12.863604"], ["name", "contract_f07174fb"], ["title", "Nisi nesciunt dignissimos."], ["updated_at", "2014-09-23 00:48:12.863604"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f07174fb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_f07174fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:48:12.866755"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.872302"], ["updated_at", "2014-09-23 00:48:12.872302"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.873765"], ["updated_at", "2014-09-23 00:48:12.873765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio molestiae quam quia in ut vitae nisi. Quibusdam voluptatem maiores recusandae nobis ipsam. Voluptates repellat eaque vel ut est delectus.\", \"Et mollitia autem similique in. Ea ducimus fugiat ut architecto vel nisi. Quia possimus repellendus non provident. Non et reprehenderit aut quas et.\"]"], ["created_at", "2014-09-23 00:48:12.876002"], ["name", "contract_a55ae601"], ["title", "Eos facere deserunt."], ["updated_at", "2014-09-23 00:48:12.876002"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:48:12.878989"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:48:12.878989"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/25 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.882837"], ["updated_at", "2014-09-23 00:48:12.882837"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.884450"], ["updated_at", "2014-09-23 00:48:12.884450"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt labore et accusamus. Sit quia fuga eum corrupti iste. A voluptatem voluptates provident omnis officiis quae molestias.\", \"Aut nulla mollitia maiores. Rem voluptas quod repellat. Et quia sit eaque ducimus commodi. Est assumenda quia aut exercitationem nobis.\"]"], ["created_at", "2014-09-23 00:48:12.887191"], ["name", "contract_34b2d68b"], ["title", "Dolorem fugiat architecto voluptatum doloribus consectetur."], ["updated_at", "2014-09-23 00:48:12.887191"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:48:12.890851"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.895567"], ["updated_at", "2014-09-23 00:48:12.895567"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.897078"], ["updated_at", "2014-09-23 00:48:12.897078"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deserunt qui vitae modi. Ad id atque eligendi quia non. Facilis ducimus velit corrupti. Et asperiores optio ullam vitae quia. Itaque officia suscipit.\", \"Qui perspiciatis iusto. Quod ducimus aliquam. Velit quia autem laboriosam error perspiciatis.\"]"], ["created_at", "2014-09-23 00:48:12.899180"], ["name", "contract_dc6cae95"], ["title", "Nesciunt cupiditate est voluptates est aut molestias."], ["updated_at", "2014-09-23 00:48:12.899180"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.903060"], ["updated_at", "2014-09-23 00:48:12.903060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.904495"], ["updated_at", "2014-09-23 00:48:12.904495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quis voluptatem perferendis sunt ea amet. Ea dolorem dolor id assumenda atque. Sint facilis nihil vero debitis quidem unde iste.\", \"Qui voluptates beatae aut. Aut quibusdam quia nihil aliquam nemo officiis. Facere dolores corporis et a aut ut nihil. Ad ut exercitationem.\"]"], ["created_at", "2014-09-23 00:48:12.906520"], ["name", "contract_86f0da16"], ["title", "Repellat at consectetur blanditiis ut voluptas."], ["updated_at", "2014-09-23 00:48:12.906520"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_86f0da16"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_86f0da16') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:48:12.909701"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.914374"], ["updated_at", "2014-09-23 00:48:12.914374"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.915898"], ["updated_at", "2014-09-23 00:48:12.915898"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ipsa debitis laboriosam in. Aut fugiat qui est neque error. Non fugit facilis et iusto est adipisci.\", \"Nobis debitis fugit quasi necessitatibus voluptas tempora. Qui et at molestias. Ut numquam rerum quis et quia dolorem.\"]"], ["created_at", "2014-09-23 00:48:12.918005"], ["name", "contract_997d7008"], ["title", "Qui sapiente officia laudantium qui illum impedit ratione."], ["updated_at", "2014-09-23 00:48:12.918005"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_997d7008"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_997d7008') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 00:48:12.921858"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_997d7008' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.929116"], ["updated_at", "2014-09-23 00:48:12.929116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.930736"], ["updated_at", "2014-09-23 00:48:12.930736"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam dolorum et occaecati dolore facere in. Minima nemo optio. Accusantium mollitia nostrum non animi. Placeat nam et maiores facere distinctio minus.\", \"Dolorum explicabo iure fugit quas ratione rerum. Nobis odio in voluptatem consectetur sunt libero. Recusandae vel et possimus magni. Tempora labore dignissimos delectus vitae.\"]"], ["created_at", "2014-09-23 00:48:12.932840"], ["name", "contract_6337e53c"], ["title", "Consectetur est quasi vitae quis."], ["updated_at", "2014-09-23 00:48:12.932840"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.936908"], ["updated_at", "2014-09-23 00:48:12.936908"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.938409"], ["updated_at", "2014-09-23 00:48:12.938409"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis voluptas laboriosam aut voluptatem sit earum aut. Sunt enim eos voluptas ut. Odit fugiat repellendus est officia provident laborum. Accusantium velit est aliquam dolores maxime suscipit. Temporibus dolorum sit et non qui qui.\", \"Laborum illum beatae ullam blanditiis consectetur voluptatibus. Molestiae doloribus tempore. Est et adipisci velit aspernatur consequuntur.\"]"], ["created_at", "2014-09-23 00:48:12.940455"], ["name", "contract_e8c42ab0"], ["title", "Aspernatur nam ipsam ipsum beatae."], ["updated_at", "2014-09-23 00:48:12.940455"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut dolores ab ipsam reprehenderit. Quo incidunt modi quaerat id aut. Harum unde placeat sunt et. Ab qui fugiat dolorum ipsa.\", \"Sapiente nostrum voluptas mollitia aut quod. Consequatur omnis repellendus modi. Exercitationem dicta neque voluptatibus labore id. Soluta ut quis. Et molestiae velit autem sint odit.\"]"], ["created_at", "2014-09-23 00:48:12.944865"], ["name", "contract_efabbddb"], ["title", "Animi excepturi dolorem neque id unde qui."], ["updated_at", "2014-09-23 00:48:12.944865"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_efabbddb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_efabbddb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:48:12.948069"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:12.951625"], ["updated_at", "2014-09-23 00:48:12.951625"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-23 00:48:12.953834"], ["updated_at", "2014-09-23 00:48:12.953834"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_efabbddb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_efabbddb"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae provident officia culpa aliquid hic libero animi. Eligendi eum fugit nam est modi ut. Provident voluptatibus autem vel tempore nemo. Fugit eos quod repudiandae inventore esse eum voluptas. Sit dolor assumenda qui ex illum.\", \"Facilis ut asperiores placeat voluptatem quam nam. Consequuntur ut sit dolor sit. Autem laborum repellat dolorem consequatur modi quae numquam. Sapiente est commodi.\"]"], ["created_at", "2014-09-23 00:48:12.961757"], ["name", "contract_8b43de5a"], ["title", "Tempore voluptas ut."], ["updated_at", "2014-09-23 00:48:12.961757"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8b43de5a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_8b43de5a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:48:12.966265"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8b43de5a"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8b43de5a"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:48:12.971334"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum quidem aut numquam harum. Enim rem nisi deleniti praesentium. Vel ut corporis occaecati facere eaque est in. Quos sapiente provident. Quia consectetur omnis iste est esse possimus voluptatem.\", \"Consequatur iusto laudantium ab quo qui optio atque. Recusandae consequatur aut unde beatae autem. Et et sint quis. Voluptatem ut dolorem aut quod veritatis officia. Eum quisquam repellendus autem neque debitis.\"]"], ["created_at", "2014-09-23 00:48:12.974703"], ["name", "contract_84967f79"], ["title", "Dolorum sapiente quisquam consequuntur consequatur non."], ["updated_at", "2014-09-23 00:48:12.974703"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_84967f79"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_84967f79') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 00:48:12.978183"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_84967f79' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum quidem aut numquam harum. Enim rem nisi deleniti praesentium. Vel ut corporis occaecati facere eaque est in. Quos sapiente provident. Quia consectetur omnis iste est esse possimus voluptatem.\", \"Consequatur iusto laudantium ab quo qui optio atque. Recusandae consequatur aut unde beatae autem. Et et sint quis. Voluptatem ut dolorem aut quod veritatis officia. Eum quisquam repellendus autem neque debitis.\"]"], ["created_at", "2014-09-23 00:48:12.981294"], ["name", "joe"], ["title", "Dolorum sapiente quisquam consequuntur consequatur non."], ["updated_at", "2014-09-23 00:48:12.981294"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 00:48:12.984648"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi id ex. Animi ut deleniti aliquid. Voluptatem et sapiente.\", \"Sed eaque quos quidem ea saepe. Consequuntur rerum eos. Natus accusantium repellendus quas unde doloremque quos. In dolorem ea vel ratione.\"]"], ["created_at", "2014-09-23 00:48:12.988342"], ["name", "contract_6fcf1d67"], ["title", "Aperiam et praesentium rerum."], ["updated_at", "2014-09-23 00:48:12.988342"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6fcf1d67"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_6fcf1d67') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:48:12.992125"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6fcf1d67' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi id ex. Animi ut deleniti aliquid. Voluptatem et sapiente.\", \"Sed eaque quos quidem ea saepe. Consequuntur rerum eos. Natus accusantium repellendus quas unde doloremque quos. In dolorem ea vel ratione.\"]"], ["created_at", "2014-09-23 00:48:12.995466"], ["name", "contract_6fcf1d67"], ["title", "Aperiam et praesentium rerum."], ["updated_at", "2014-09-23 00:48:12.995466"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6fcf1d67"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_6fcf1d67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-23 00:48:12.998588"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.001730"], ["updated_at", "2014-09-23 00:48:13.001730"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.003227"], ["updated_at", "2014-09-23 00:48:13.003227"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut harum sint. Doloremque quae placeat eaque sint. Ex voluptas voluptatem molestiae. Velit a nostrum harum cupiditate accusamus.\", \"Saepe eum consequatur molestiae consequatur non. Inventore officia reiciendis doloribus eos asperiores. Ea earum molestiae. Ea aliquid nobis architecto praesentium libero at ex.\"]"], ["created_at", "2014-09-23 00:48:13.005666"], ["name", "contract_09be7725"], ["title", "Quo porro reiciendis veritatis vel itaque aut quibusdam."], ["updated_at", "2014-09-23 00:48:13.005666"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_09be7725"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_09be7725') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:48:13.009020"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.011503"], ["updated_at", "2014-09-23 00:48:13.011503"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 48) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-23 00:48:13.013646"], ["updated_at", "2014-09-23 00:48:13.013646"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Completed 200 OK in 194ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.211366"], ["updated_at", "2014-09-23 00:48:13.211366"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.214074"], ["updated_at", "2014-09-23 00:48:13.214074"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aut consequatur rerum. Aut inventore dolor. Ducimus deserunt voluptatem doloribus harum aut voluptas distinctio.\", \"Non pariatur ut quia est iure. Nostrum quidem sit qui totam rerum quibusdam vitae. Sequi temporibus a facere quia.\"]"], ["created_at", "2014-09-23 00:48:13.217154"], ["name", "contract_0ee82014"], ["title", "Vero reiciendis omnis et."], ["updated_at", "2014-09-23 00:48:13.217154"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0ee82014"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_0ee82014') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:48:13.220447"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.222801"], ["updated_at", "2014-09-23 00:48:13.222801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 51) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 00:48:13.224932"], ["updated_at", "2014-09-23 00:48:13.224932"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"39"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.229920"], ["updated_at", "2014-09-23 00:48:13.229920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.231485"], ["updated_at", "2014-09-23 00:48:13.231485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut porro fugit qui. Praesentium quia repudiandae nisi quia minima necessitatibus qui. Dolore labore adipisci in aut aut. Harum et et est. Cum laborum aut non saepe in hic.\", \"Fuga dolorum earum consectetur ut quo ab. Amet maxime tempora dolor alias qui. Molestiae nesciunt et praesentium consequatur nam.\"]"], ["created_at", "2014-09-23 00:48:13.233950"], ["name", "contract_5574b691"], ["title", "Voluptatem deserunt aspernatur accusantium quibusdam tempora."], ["updated_at", "2014-09-23 00:48:13.233950"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5574b691"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_5574b691') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 00:48:13.244106"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.247014"], ["updated_at", "2014-09-23 00:48:13.247014"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 54) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 00:48:13.249217"], ["updated_at", "2014-09-23 00:48:13.249217"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 1ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.254680"], ["updated_at", "2014-09-23 00:48:13.254680"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.256343"], ["updated_at", "2014-09-23 00:48:13.256343"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse soluta et. Velit aliquam provident cupiditate officiis ut in. Maxime ullam fugiat est.\", \"Minus consequatur perferendis. Nisi explicabo accusantium quia quis. Recusandae laborum ullam. Possimus reprehenderit voluptas eos voluptatem. Aut ullam laboriosam repellendus.\"]"], ["created_at", "2014-09-23 00:48:13.259114"], ["name", "contract_9cffc9c5"], ["title", "Et quam qui."], ["updated_at", "2014-09-23 00:48:13.259114"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9cffc9c5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_9cffc9c5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:48:13.262792"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.265308"], ["updated_at", "2014-09-23 00:48:13.265308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 57) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-23 00:48:13.267591"], ["updated_at", "2014-09-23 00:48:13.267591"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.277882"], ["updated_at", "2014-09-23 00:48:13.277882"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.279831"], ["updated_at", "2014-09-23 00:48:13.279831"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati ad enim exercitationem. Sit facere voluptas quasi ad excepturi rerum quis. Optio tempora laborum fuga vel. Eius numquam debitis. In iste quasi pariatur suscipit velit.\", \"Adipisci nesciunt doloribus ab voluptatem atque est. Ea et aspernatur consequuntur est. Asperiores nesciunt et velit.\"]"], ["created_at", "2014-09-23 00:48:13.282799"], ["name", "contract_f2ba4e17"], ["title", "Qui tempore animi nesciunt ut nihil quas."], ["updated_at", "2014-09-23 00:48:13.282799"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f2ba4e17"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_f2ba4e17') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:48:13.286198"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.289326"], ["updated_at", "2014-09-23 00:48:13.289326"]]  (0.6ms) commit transaction  (0.5ms) begin transaction FinePrint::Signature Exists (0.3ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 60) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-23 00:48:13.292492"], ["updated_at", "2014-09-23 00:48:13.292492"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.297414"], ["updated_at", "2014-09-23 00:48:13.297414"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.299232"], ["updated_at", "2014-09-23 00:48:13.299232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut dolores ut molestiae qui veritatis ad aut. Libero modi inventore delectus. Consectetur doloremque ut magni necessitatibus cupiditate.\", \"Maiores eum non quo aut. Tenetur cupiditate eos quibusdam aut sed. Cupiditate natus laboriosam qui vitae velit. Est temporibus quae ut nemo odio enim eaque.\"]"], ["created_at", "2014-09-23 00:48:13.303249"], ["name", "contract_f8bc3128"], ["title", "Sapiente repudiandae quod."], ["updated_at", "2014-09-23 00:48:13.303249"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f8bc3128"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_f8bc3128') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:48:13.307332"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.310845"], ["updated_at", "2014-09-23 00:48:13.310845"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-23 00:48:13.313806"], ["updated_at", "2014-09-23 00:48:13.313806"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 16]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Redirected to http://test.host/fine_print/contracts/43/signatures?r=VHM2WUdqV2tLc1RBMTBxT25EQUdoUT09LS1HRDBCQ1daTTlFUFF1RWpZa2FXanNnPT0%3D--fa122e53c3c962b23c54a5e1ebc8b38bd34c7eb6 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 16 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.322540"], ["updated_at", "2014-09-23 00:48:13.322540"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.324664"], ["updated_at", "2014-09-23 00:48:13.324664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo aperiam doloremque incidunt similique. Mollitia dicta qui omnis. Praesentium in blanditiis eveniet corrupti. Illo quis ut maiores perferendis.\", \"Perspiciatis et consequatur nesciunt optio saepe. Nesciunt sunt labore nihil earum quis enim aut. Laudantium adipisci aut ad sunt dolorum rerum ex. Asperiores et dolor culpa. Facere et sequi doloribus veniam impedit eum expedita.\"]"], ["created_at", "2014-09-23 00:48:13.328048"], ["name", "contract_b88025f0"], ["title", "Ipsam et eveniet perspiciatis omnis amet qui."], ["updated_at", "2014-09-23 00:48:13.328048"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b88025f0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_b88025f0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:48:13.331702"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.335108"], ["updated_at", "2014-09-23 00:48:13.335108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-23 00:48:13.337734"], ["updated_at", "2014-09-23 00:48:13.337734"], ["user_id", 66], ["user_type", "DummyUser"]]  (1.0ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.344855"], ["updated_at", "2014-09-23 00:48:13.344855"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.346529"], ["updated_at", "2014-09-23 00:48:13.346529"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae deleniti fuga vel autem. Doloremque beatae voluptatem iusto est nemo est. Non velit repudiandae et odio distinctio.\", \"Fugiat qui numquam saepe reprehenderit quisquam sapiente voluptas. Perferendis et sequi facere molestiae pariatur occaecati esse. Suscipit quia rem hic aliquam soluta accusamus. Et nihil non tempore enim perferendis adipisci.\"]"], ["created_at", "2014-09-23 00:48:13.349395"], ["name", "contract_680dfb5a"], ["title", "Animi quaerat veritatis sequi dolorem voluptatem."], ["updated_at", "2014-09-23 00:48:13.349395"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_680dfb5a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_680dfb5a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:48:13.354029"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.357924"], ["updated_at", "2014-09-23 00:48:13.357924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 00:48:13.360202"], ["updated_at", "2014-09-23 00:48:13.360202"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis quia at eveniet sunt. Ea et quam suscipit et magni. Vitae hic blanditiis placeat alias.\", \"Quam vel dolor tempora eum quia tenetur veritatis. Unde libero dicta id dignissimos eveniet eum. Provident aut nemo sapiente aperiam est.\"]"], ["created_at", "2014-09-23 00:48:13.366697"], ["name", "contract_c0cce6d5"], ["title", "Ipsam iste et maiores tenetur cum omnis sint."], ["updated_at", "2014-09-23 00:48:13.366697"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui optio non ex sit. Iure sed saepe expedita. Modi et natus rerum id. Voluptatem fuga fugiat soluta. Sint ut corrupti voluptatibus nisi dolorem.\", \"Id quam et. Suscipit enim debitis. Id rerum numquam blanditiis.\"]"], ["created_at", "2014-09-23 00:48:13.370414"], ["name", "contract_b65ebe1c"], ["title", "Voluptatum ea nulla expedita temporibus nemo et."], ["updated_at", "2014-09-23 00:48:13.370414"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b65ebe1c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_b65ebe1c') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:48:13.374066"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:13.376509"], ["updated_at", "2014-09-23 00:48:13.376509"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:53.994318"], ["updated_at", "2014-09-23 00:48:53.994318"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.001425"], ["updated_at", "2014-09-23 00:48:54.001425"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit est vel perspiciatis consequuntur facilis. Velit quasi eligendi natus voluptas rerum odio. Eum quibusdam qui corrupti. Aliquam velit dolores earum dignissimos. Quis praesentium quas magnam repellendus hic vel.\", \"Doloremque rem placeat. Dignissimos fuga aliquid nobis omnis minima non aperiam. Ratione voluptatem sit rem culpa in ut. Vel dignissimos dicta reprehenderit sit ut sit.\"]"], ["created_at", "2014-09-23 00:48:54.234418"], ["name", "contract_e5e4f77f"], ["title", "Voluptatem non fuga."], ["updated_at", "2014-09-23 00:48:54.234418"]]  (1.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:48:54.242370"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:48:54.242370"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.248380"], ["updated_at", "2014-09-23 00:48:54.248380"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.250282"], ["updated_at", "2014-09-23 00:48:54.250282"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit harum voluptatem. Ut voluptate modi aut libero. Provident suscipit vel sint.\", \"Iste molestiae consequatur rerum dolores ipsa. Officiis ratione aliquid nulla eaque ipsa quia porro. Et neque et unde et assumenda. Voluptatem iure dolorem modi doloribus.\"]"], ["created_at", "2014-09-23 00:48:54.252633"], ["name", "contract_9213bee5"], ["title", "Incidunt ut harum unde eius temporibus nisi."], ["updated_at", "2014-09-23 00:48:54.252633"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.261060"], ["updated_at", "2014-09-23 00:48:54.261060"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.262818"], ["updated_at", "2014-09-23 00:48:54.262818"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fuga qui impedit tempore. Tempora quia eveniet quis facere. Repellendus porro neque iure soluta.\", \"Est necessitatibus nemo minima exercitationem. Et qui et. Facilis nihil amet omnis illum reprehenderit. Sequi adipisci dignissimos tenetur autem sint voluptatem.\"]"], ["created_at", "2014-09-23 00:48:54.265315"], ["name", "contract_723881b1"], ["title", "Magnam nihil sint dolorem."], ["updated_at", "2014-09-23 00:48:54.265315"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.271581"], ["updated_at", "2014-09-23 00:48:54.271581"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.273108"], ["updated_at", "2014-09-23 00:48:54.273108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum quis perferendis nesciunt corrupti voluptatem eligendi qui. Officia tempora unde sint sequi soluta eos a. Quia culpa molestiae. Sit tempora qui quaerat expedita nihil non consequatur. Odio ratione tempore voluptas velit.\", \"Tempore et ipsum molestiae sit recusandae omnis sint. Sed et quia quis et. Quis corporis quia harum aut et est. Et sapiente aut magni soluta reprehenderit qui aliquid.\"]"], ["created_at", "2014-09-23 00:48:54.275676"], ["name", "contract_7085c945"], ["title", "Et nihil dolores facilis alias aut sed."], ["updated_at", "2014-09-23 00:48:54.275676"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7085c945"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_7085c945') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:48:54.286956"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.296187"], ["updated_at", "2014-09-23 00:48:54.296187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.297815"], ["updated_at", "2014-09-23 00:48:54.297815"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis provident totam omnis et aut voluptates minus. Sed praesentium eos non ea non facere unde. Corporis dolorem dolores ea optio. Ipsa et omnis. Doloremque quos expedita perspiciatis.\", \"Ipsa rerum illo dolorem deleniti. Temporibus vero nostrum a occaecati dolor saepe. Delectus ut aut.\"]"], ["created_at", "2014-09-23 00:48:54.300180"], ["name", "contract_41e8a4ca"], ["title", "Temporibus ut repudiandae delectus ab."], ["updated_at", "2014-09-23 00:48:54.300180"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.304120"], ["updated_at", "2014-09-23 00:48:54.304120"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.305605"], ["updated_at", "2014-09-23 00:48:54.305605"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quasi reiciendis fugiat rerum sed eos aut. Officiis pariatur adipisci. Ut et id rem pariatur blanditiis quidem sint. Laudantium vero sit laboriosam. Nulla culpa cum.\", \"Omnis commodi voluptas et fugit iusto. Non aut aut molestiae placeat similique id vero. Est officiis voluptatem voluptatem sed ea itaque. Veritatis qui aut illum sed. Quae ipsa fugiat velit unde adipisci totam aperiam.\"]"], ["created_at", "2014-09-23 00:48:54.307988"], ["name", "contract_10375058"], ["title", "Nemo aut repellat ea."], ["updated_at", "2014-09-23 00:48:54.307988"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 6, 5, 4, 3, 1, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.322367"], ["updated_at", "2014-09-23 00:48:54.322367"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.324166"], ["updated_at", "2014-09-23 00:48:54.324166"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut id minima ut quia sit beatae sed. Quas asperiores voluptatem sit molestias. Commodi voluptatem ut quia officia voluptatibus totam. Saepe dignissimos est quo quasi recusandae ut et. Ut ut ut maxime voluptatem.\", \"Sunt impedit unde porro eum distinctio. Cumque pariatur aut dolor qui error sed suscipit. Sunt magnam ullam quia.\"]"], ["created_at", "2014-09-23 00:48:54.326461"], ["name", "contract_5dcbedb8"], ["title", "Expedita nostrum quae quia veniam."], ["updated_at", "2014-09-23 00:48:54.326461"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.331474"], ["updated_at", "2014-09-23 00:48:54.331474"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.333084"], ["updated_at", "2014-09-23 00:48:54.333084"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iure eum corrupti hic ut nihil. Veritatis quae tempore itaque et dolorum. Voluptatem libero illum. Aspernatur nulla ea quis dignissimos.\", \"Velit ipsum quos. Alias vel quam rerum omnis odio possimus eos. Doloremque modi dolor sint impedit praesentium. Totam libero earum quaerat occaecati et architecto. Vitae exercitationem labore repudiandae tempora eum voluptate.\"]"], ["created_at", "2014-09-23 00:48:54.335368"], ["name", "contract_84a48bc8"], ["title", "Aperiam esse natus."], ["updated_at", "2014-09-23 00:48:54.335368"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_84a48bc8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_84a48bc8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:48:54.342263"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.347060"], ["updated_at", "2014-09-23 00:48:54.347060"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.348689"], ["updated_at", "2014-09-23 00:48:54.348689"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur odio id blanditiis odit consequatur et. Qui molestias a ipsa adipisci praesentium. Ad occaecati iusto ex nobis. Voluptates eaque voluptatem rerum.\", \"Dolor occaecati quo numquam quaerat. Maiores dolores ipsum et perferendis aperiam porro velit. Autem quibusdam et nesciunt laboriosam. Occaecati libero nobis dicta illum architecto excepturi. Est qui quas quis nemo.\"]"], ["created_at", "2014-09-23 00:48:54.351157"], ["name", "contract_017fd5e0"], ["title", "Quia aliquam odio nobis voluptas architecto sequi."], ["updated_at", "2014-09-23 00:48:54.351157"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_017fd5e0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_017fd5e0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:48:54.354587"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_017fd5e0"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:48:54.359912"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.363968"], ["updated_at", "2014-09-23 00:48:54.363968"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.365505"], ["updated_at", "2014-09-23 00:48:54.365505"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Minima doloribus repudiandae laudantium. Doloribus et similique ex at. Aut harum commodi pariatur blanditiis laborum sapiente quis.\", \"Rerum dolor voluptas saepe tenetur qui est similique. Dolore voluptates eaque. Tempora dolor alias optio non. Tempore consequatur soluta ut minus. Corrupti deleniti consequatur officiis in non.\"]"], ["created_at", "2014-09-23 00:48:54.368127"], ["name", "contract_59dfc723"], ["title", "Error asperiores nam non."], ["updated_at", "2014-09-23 00:48:54.368127"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.373046"], ["updated_at", "2014-09-23 00:48:54.373046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.374770"], ["updated_at", "2014-09-23 00:48:54.374770"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quas architecto. Iure illo ipsum ratione quasi corporis nihil. Eaque officia maxime exercitationem molestias consequuntur atque.\", \"Est et ab at delectus aspernatur aut. Aut magnam qui accusantium. Sed aperiam dolorem necessitatibus officiis qui sed voluptatem.\"]"], ["created_at", "2014-09-23 00:48:54.376958"], ["name", "contract_4967c0dd"], ["title", "Consectetur qui debitis perferendis voluptatibus id deleniti quia."], ["updated_at", "2014-09-23 00:48:54.376958"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4967c0dd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_4967c0dd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:48:54.380180"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.385960"], ["updated_at", "2014-09-23 00:48:54.385960"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.387444"], ["updated_at", "2014-09-23 00:48:54.387444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In sed ducimus. Voluptatem et voluptas labore quae quia accusamus deleniti. Aut aperiam dolor.\", \"Repellendus numquam ipsam voluptatem quae. Autem pariatur quaerat reprehenderit provident molestias ut. Aut aliquid laboriosam quia incidunt et.\"]"], ["created_at", "2014-09-23 00:48:54.389437"], ["name", "contract_82d1f327"], ["title", "Occaecati laboriosam soluta sint tempora temporibus."], ["updated_at", "2014-09-23 00:48:54.389437"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 13 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:48:54.392750"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/13 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.397355"], ["updated_at", "2014-09-23 00:48:54.397355"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.398908"], ["updated_at", "2014-09-23 00:48:54.398908"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quibusdam quasi sed dicta autem. Nihil cumque modi repudiandae. Aut ipsa eos iure unde asperiores. Neque et deleniti unde qui sed ut. Impedit soluta maxime.\", \"Tempore fugit iste. Et non et qui delectus hic laborum. Qui provident non vel commodi. Sunt dolor occaecati. Quibusdam incidunt aut voluptatem et occaecati.\"]"], ["created_at", "2014-09-23 00:48:54.401136"], ["name", "contract_58782b69"], ["title", "Sed eos accusamus ea labore."], ["updated_at", "2014-09-23 00:48:54.401136"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.404923"], ["updated_at", "2014-09-23 00:48:54.404923"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.406503"], ["updated_at", "2014-09-23 00:48:54.406503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quam velit nemo. Provident qui non aliquid. Consectetur deleniti ut fugiat occaecati.\", \"Molestiae expedita eligendi aperiam. Aliquid eum molestias officia enim. Ut dolor qui officiis est nihil alias et. Dicta aut quis sunt commodi.\"]"], ["created_at", "2014-09-23 00:48:54.408706"], ["name", "contract_4340e0ce"], ["title", "Minus soluta nostrum possimus."], ["updated_at", "2014-09-23 00:48:54.408706"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 15]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 15]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 15 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.418181"], ["updated_at", "2014-09-23 00:48:54.418181"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.419853"], ["updated_at", "2014-09-23 00:48:54.419853"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda in aut quo unde velit sequi aut. Placeat deleniti repellat. Assumenda sit qui ut dolore enim iste.\", \"Doloremque error quia nobis sint natus. In excepturi voluptas quo omnis. In id sint et necessitatibus. Voluptas molestias dolor qui. Quis ut voluptatem et consequatur.\"]"], ["created_at", "2014-09-23 00:48:54.422350"], ["name", "contract_c566cff4"], ["title", "Possimus et vel quos."], ["updated_at", "2014-09-23 00:48:54.422350"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.427769"], ["updated_at", "2014-09-23 00:48:54.427769"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.429296"], ["updated_at", "2014-09-23 00:48:54.429296"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus suscipit nam optio exercitationem et et. Dicta consequatur corrupti voluptas voluptatem fugiat earum atque. Cupiditate dolores nam natus et sit. Voluptas voluptatibus qui inventore dicta sed omnis.\", \"Id rerum eos laborum distinctio quisquam. Provident est aut quasi. Sint qui molestiae perspiciatis qui eveniet. At voluptas qui voluptatum nam. Quaerat voluptatum molestiae laudantium.\"]"], ["created_at", "2014-09-23 00:48:54.431519"], ["name", "contract_b9571a02"], ["title", "Ipsam esse at."], ["updated_at", "2014-09-23 00:48:54.431519"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.435412"], ["updated_at", "2014-09-23 00:48:54.435412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.436919"], ["updated_at", "2014-09-23 00:48:54.436919"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur a quidem excepturi quo sit ut eum. Omnis eos voluptatibus libero nihil ducimus illum. Molestiae nemo veritatis magni.\", \"Assumenda similique ducimus et itaque. Quidem cupiditate temporibus necessitatibus ut in. Voluptas qui quod aut.\"]"], ["created_at", "2014-09-23 00:48:54.438951"], ["name", "contract_ccc079c3"], ["title", "Quia sit quod quis blanditiis corporis."], ["updated_at", "2014-09-23 00:48:54.438951"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ccc079c3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'contract_ccc079c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:48:54.442229"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ccc079c3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.448952"], ["updated_at", "2014-09-23 00:48:54.448952"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.450523"], ["updated_at", "2014-09-23 00:48:54.450523"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis similique tempora atque suscipit nihil. Non nam ut culpa. Odit ea id delectus quia. Fugit et et nisi et natus. Architecto pariatur dicta sit dolor maxime.\", \"Non aliquam qui dolorum. Cum corrupti perferendis. Quaerat aut ut debitis qui dignissimos. Rem et repellendus.\"]"], ["created_at", "2014-09-23 00:48:54.453140"], ["name", "contract_6105ca5d"], ["title", "Consequatur quod quibusdam aspernatur voluptatibus ab dolore ratione."], ["updated_at", "2014-09-23 00:48:54.453140"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem quam perferendis accusamus consequuntur ducimus. Et nihil id voluptas expedita exercitationem aut. Dolorem soluta saepe dolor autem quaerat. Earum dolores molestiae repellendus.\", \"Dolores ut voluptatem ut natus temporibus. Nihil officiis est omnis nulla. Occaecati quos et. Quis architecto reprehenderit.\"]"], ["created_at", "2014-09-23 00:48:54.460154"], ["name", "contract_55b7e16d"], ["title", "Ducimus nesciunt molestiae fugiat non sit."], ["updated_at", "2014-09-23 00:48:54.460154"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_55b7e16d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_55b7e16d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:48:54.464173"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.470324"], ["updated_at", "2014-09-23 00:48:54.470324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:48:54.473219"], ["updated_at", "2014-09-23 00:48:54.473219"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'contract_55b7e16d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_55b7e16d"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae voluptates quaerat exercitationem blanditiis consequatur. Excepturi qui molestias beatae ea repellendus consequatur. Mollitia quia debitis iste repellendus ducimus.\", \"Distinctio ullam atque. Omnis eos et. Sint nobis perspiciatis ut cumque suscipit quia. Unde et quam dolor voluptas porro voluptates officia. Harum repudiandae qui dolorum ut excepturi et labore.\"]"], ["created_at", "2014-09-23 00:48:54.484108"], ["name", "contract_0a9eb61c"], ["title", "Ullam cupiditate magnam vel."], ["updated_at", "2014-09-23 00:48:54.484108"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0a9eb61c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_0a9eb61c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:48:54.487189"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0a9eb61c' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae voluptates quaerat exercitationem blanditiis consequatur. Excepturi qui molestias beatae ea repellendus consequatur. Mollitia quia debitis iste repellendus ducimus.\", \"Distinctio ullam atque. Omnis eos et. Sint nobis perspiciatis ut cumque suscipit quia. Unde et quam dolor voluptas porro voluptates officia. Harum repudiandae qui dolorum ut excepturi et labore.\"]"], ["created_at", "2014-09-23 00:48:54.490528"], ["name", "contract_0a9eb61c"], ["title", "Ullam cupiditate magnam vel."], ["updated_at", "2014-09-23 00:48:54.490528"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0a9eb61c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'contract_0a9eb61c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:48:54.493635"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit reprehenderit eius qui adipisci molestiae. Dolor qui aut aliquid blanditiis. Repudiandae quia delectus officia. Asperiores aut et atque voluptas. Et possimus sed facilis dolore reprehenderit.\", \"Odio consequatur doloremque iste debitis commodi. Eos quo et molestias quibusdam est dolores minus. Non ex quia dolorem corporis. Dolore aut dolor temporibus.\"]"], ["created_at", "2014-09-23 00:48:54.497307"], ["name", "contract_ce72f4dd"], ["title", "Fugiat quo odit."], ["updated_at", "2014-09-23 00:48:54.497307"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce72f4dd"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'contract_ce72f4dd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:48:54.504032"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce72f4dd"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ce72f4dd"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:48:54.511806"], ["version", nil]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et adipisci at reiciendis. Dolorem ut earum. Officia et necessitatibus. Quisquam dolor asperiores nam velit.\", \"Et magni explicabo. Itaque laudantium a odit est. Saepe facere et eum nostrum repellat vel sed. Voluptates veniam temporibus quis dolores qui nam ut.\"]"], ["created_at", "2014-09-23 00:48:54.516190"], ["name", "contract_51237a49"], ["title", "Quaerat animi asperiores voluptatum odit hic repellendus."], ["updated_at", "2014-09-23 00:48:54.516190"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_51237a49"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_51237a49') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:48:54.519838"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_51237a49' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut et adipisci at reiciendis. Dolorem ut earum. Officia et necessitatibus. Quisquam dolor asperiores nam velit.\", \"Et magni explicabo. Itaque laudantium a odit est. Saepe facere et eum nostrum repellat vel sed. Voluptates veniam temporibus quis dolores qui nam ut.\"]"], ["created_at", "2014-09-23 00:48:54.523036"], ["name", "joe"], ["title", "Quaerat animi asperiores voluptatum odit hic repellendus."], ["updated_at", "2014-09-23 00:48:54.523036"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:48:54.525805"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.528987"], ["updated_at", "2014-09-23 00:48:54.528987"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.530376"], ["updated_at", "2014-09-23 00:48:54.530376"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.534981"], ["updated_at", "2014-09-23 00:48:54.534981"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.536564"], ["updated_at", "2014-09-23 00:48:54.536564"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.540569"], ["updated_at", "2014-09-23 00:48:54.540569"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.542170"], ["updated_at", "2014-09-23 00:48:54.542170"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut voluptas praesentium facere rerum temporibus rerum itaque. Est aut cumque voluptatem sunt. Laudantium facere nisi rem quidem possimus. Occaecati harum corrupti autem voluptatum velit minima.\", \"Est aut vel doloribus sunt enim at. Ducimus neque et est voluptas. Harum saepe et est.\"]"], ["created_at", "2014-09-23 00:48:54.544877"], ["name", "contract_9c92a39f"], ["title", "Voluptas quis molestiae non aliquam consequatur et."], ["updated_at", "2014-09-23 00:48:54.544877"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c92a39f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'contract_9c92a39f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:48:54.549078"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.552314"], ["updated_at", "2014-09-23 00:48:54.552314"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 00:48:54.554807"], ["updated_at", "2014-09-23 00:48:54.554807"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"26"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.559918"], ["updated_at", "2014-09-23 00:48:54.559918"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.561737"], ["updated_at", "2014-09-23 00:48:54.561737"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat voluptatem quisquam vel. Ea iusto quis ipsa magnam sed nemo pariatur. Sapiente soluta nemo sunt perspiciatis ipsam aspernatur qui. Odit voluptatem id tempora enim et veniam. Aut et temporibus vero delectus itaque quis.\", \"Accusantium blanditiis sed rerum. Occaecati velit ad est enim quis aliquid. Numquam assumenda a autem eos et sed. Aut possimus cumque cupiditate quae molestias ut labore. Quia doloremque ratione.\"]"], ["created_at", "2014-09-23 00:48:54.564346"], ["name", "contract_a026166a"], ["title", "In deserunt maxime autem cumque repellendus alias."], ["updated_at", "2014-09-23 00:48:54.564346"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a026166a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'contract_a026166a') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 00:48:54.567548"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.570332"], ["updated_at", "2014-09-23 00:48:54.570332"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 00:48:54.573039"], ["updated_at", "2014-09-23 00:48:54.573039"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Completed 200 OK in 189ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.765595"], ["updated_at", "2014-09-23 00:48:54.765595"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.768319"], ["updated_at", "2014-09-23 00:48:54.768319"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam eos eius. Nisi dolorum quos nulla quia quo. At accusantium et ut officiis iure ad architecto.\", \"Distinctio molestiae placeat et. Consectetur vitae nihil rerum exercitationem et adipisci. Accusamus molestias eligendi pariatur corrupti.\"]"], ["created_at", "2014-09-23 00:48:54.771464"], ["name", "contract_ff423c5f"], ["title", "Quos minima perferendis a corrupti quam consequatur."], ["updated_at", "2014-09-23 00:48:54.771464"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ff423c5f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_ff423c5f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:48:54.774742"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.777179"], ["updated_at", "2014-09-23 00:48:54.777179"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-23 00:48:54.779588"], ["updated_at", "2014-09-23 00:48:54.779588"], ["user_id", 50], ["user_type", "DummyUser"]]  (1.0ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"28"} Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.784859"], ["updated_at", "2014-09-23 00:48:54.784859"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.786454"], ["updated_at", "2014-09-23 00:48:54.786454"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi perferendis commodi qui rerum dolorum. Repudiandae non quam et. Similique aperiam et nesciunt. Inventore voluptates minus.\", \"Est enim inventore molestiae sunt necessitatibus. Fuga atque cum reiciendis debitis ab odio distinctio. Animi dolor aliquid hic recusandae tempore commodi.\"]"], ["created_at", "2014-09-23 00:48:54.789003"], ["name", "contract_bd9ec102"], ["title", "Omnis porro commodi voluptatum exercitationem eum et necessitatibus."], ["updated_at", "2014-09-23 00:48:54.789003"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bd9ec102"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_bd9ec102') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 00:48:54.792183"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.794628"], ["updated_at", "2014-09-23 00:48:54.794628"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-23 00:48:54.796777"], ["updated_at", "2014-09-23 00:48:54.796777"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"29"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.800412"], ["updated_at", "2014-09-23 00:48:54.800412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.801989"], ["updated_at", "2014-09-23 00:48:54.801989"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quam odit dolor et numquam non magnam ut. Nihil voluptas sed dicta totam. Iusto aliquid nisi.\", \"Qui quidem voluptatem molestiae deserunt est. Id tempora dolores illo quia. A repellendus vitae nulla eos incidunt. Qui eum consequatur autem aut molestias hic quia.\"]"], ["created_at", "2014-09-23 00:48:54.804520"], ["name", "contract_bcd2e3c3"], ["title", "Inventore ad qui earum nulla."], ["updated_at", "2014-09-23 00:48:54.804520"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bcd2e3c3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'contract_bcd2e3c3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-23 00:48:54.808726"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.811659"], ["updated_at", "2014-09-23 00:48:54.811659"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-23 00:48:54.813882"], ["updated_at", "2014-09-23 00:48:54.813882"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.819312"], ["updated_at", "2014-09-23 00:48:54.819312"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.820801"], ["updated_at", "2014-09-23 00:48:54.820801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro possimus autem corporis qui. Sit ut dolor quam. Dolores dolorem assumenda fuga doloribus. Perferendis voluptatem a consectetur ut qui. Recusandae ut aut dolore reprehenderit.\", \"Velit recusandae omnis ad ab debitis labore. Ullam et architecto perspiciatis placeat. Qui voluptas voluptas id dignissimos aut iusto beatae. Animi totam fuga veniam voluptatibus.\"]"], ["created_at", "2014-09-23 00:48:54.823286"], ["name", "contract_cfdb63d3"], ["title", "Repudiandae voluptas ex qui culpa."], ["updated_at", "2014-09-23 00:48:54.823286"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cfdb63d3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_cfdb63d3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 00:48:54.826418"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.828867"], ["updated_at", "2014-09-23 00:48:54.828867"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-23 00:48:54.830975"], ["updated_at", "2014-09-23 00:48:54.830975"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.836918"], ["updated_at", "2014-09-23 00:48:54.836918"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.838698"], ["updated_at", "2014-09-23 00:48:54.838698"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus sint vel voluptate quo aut perferendis. In illum nostrum ipsum mollitia ducimus. Quis iusto explicabo consequatur assumenda nam.\", \"Dicta consequatur ullam fugit. Facere omnis aliquam autem unde nulla tempore et. Est aspernatur iste occaecati nihil illum. Omnis dolor perferendis tempora beatae quos praesentium rem. Nihil nihil et rerum.\"]"], ["created_at", "2014-09-23 00:48:54.841370"], ["name", "contract_63fdd1a0"], ["title", "Corrupti qui numquam consectetur harum magni aut."], ["updated_at", "2014-09-23 00:48:54.841370"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_63fdd1a0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_63fdd1a0') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:48:54.844632"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.847117"], ["updated_at", "2014-09-23 00:48:54.847117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-23 00:48:54.849259"], ["updated_at", "2014-09-23 00:48:54.849259"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"32"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.852903"], ["updated_at", "2014-09-23 00:48:54.852903"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.854431"], ["updated_at", "2014-09-23 00:48:54.854431"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo repellat ipsa molestiae cupiditate omnis ut. Similique omnis maiores et cupiditate ratione natus dicta. Quibusdam maiores rerum ex dolores perspiciatis. Quo sunt eos ut harum architecto consequatur.\", \"Perspiciatis quia placeat neque animi alias nesciunt. Et earum ipsum aspernatur nam et laboriosam. Ipsa animi cupiditate doloribus architecto.\"]"], ["created_at", "2014-09-23 00:48:54.856909"], ["name", "contract_08c6a188"], ["title", "Inventore quibusdam dolor mollitia omnis."], ["updated_at", "2014-09-23 00:48:54.856909"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_08c6a188"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_08c6a188') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:48:54.860159"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.862588"], ["updated_at", "2014-09-23 00:48:54.862588"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-23 00:48:54.864724"], ["updated_at", "2014-09-23 00:48:54.864724"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 9]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] Redirected to http://test.host/fine_print/contracts/33/signatures?r=TU1HbGljMkhmU05YTk5GODY1M1Y1UT09LS1xL2dZYVNnbVlCR2h5OE1ReW1XMnNnPT0%3D--f3efee34df6c4fffaf969786a0f6fe7e3bbab86b Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 9 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem velit sapiente eos. Rerum delectus eos aliquid consequatur ut dignissimos. Quibusdam ipsa praesentium. Repudiandae ad expedita. Asperiores expedita dignissimos et et.\", \"Sapiente porro quia sit itaque consequatur. Quos aspernatur et aliquid debitis. Itaque est quisquam. Ut aliquid a voluptas. Sed amet veritatis.\"]"], ["created_at", "2014-09-23 00:48:54.877505"], ["name", "contract_45c0731f"], ["title", "Eligendi sit quae in illo eum quaerat dignissimos."], ["updated_at", "2014-09-23 00:48:54.877505"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae saepe nihil nemo libero sunt tenetur at. Ea recusandae a voluptates unde molestiae praesentium est. Ipsa et totam doloremque a ea rem quia. Maxime veniam velit temporibus voluptatem accusantium voluptate.\", \"Et consequatur explicabo ut. Non ut animi debitis ad dignissimos. Et est mollitia.\"]"], ["created_at", "2014-09-23 00:48:54.882213"], ["name", "contract_ef754924"], ["title", "Sint dolor aspernatur et id unde."], ["updated_at", "2014-09-23 00:48:54.882213"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ef754924"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_ef754924') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 00:48:54.886137"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.888697"], ["updated_at", "2014-09-23 00:48:54.888697"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui ut debitis laudantium ex explicabo. Quo voluptate occaecati qui adipisci magni. Qui nesciunt est ratione occaecati enim doloribus. Et enim sit blanditiis sit quis dolores quam.\", \"Non dolorem architecto qui ipsum omnis. Ullam ratione mollitia veniam sit sed sed. Cupiditate exercitationem sit minima et ratione eum dolor.\"]"], ["created_at", "2014-09-23 00:48:54.895723"], ["name", "alpha"], ["title", "Hic ut vel iusto quis eaque officiis."], ["updated_at", "2014-09-23 00:48:54.895723"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:48:54.900590"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quisquam exercitationem nobis minus eum vel. Quos vel ullam ut qui ad. Aut omnis et doloribus. Quod eligendi nihil dolores commodi et aut vero. In alias magni voluptas vero voluptatem quia.\", \"Nihil porro officiis provident maiores excepturi veniam. Qui vel rerum laudantium enim nostrum saepe. Nulla repudiandae voluptatem officiis facilis. Mollitia voluptates quia quae eos suscipit vero. Qui eveniet odio.\"]"], ["created_at", "2014-09-23 00:48:54.905026"], ["name", "beta"], ["title", "Voluptate officiis porro."], ["updated_at", "2014-09-23 00:48:54.905026"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-23 00:48:54.909108"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.912741"], ["updated_at", "2014-09-23 00:48:54.912741"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-23 00:48:54.916456"], ["updated_at", "2014-09-23 00:48:54.916456"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-23 00:48:54.919643"], ["updated_at", "2014-09-23 00:48:54.919643"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:54.922442"], ["name", "alpha"], ["title", "Hic ut vel iusto quis eaque officiis."], ["updated_at", "2014-09-23 00:48:54.922442"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:48:54.926294"], ["version", 2]]  (0.6ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (38, 37, 33, 22, 12, 24, 20, 32, 5, 9, 26, 27, 30, 29, 18, 31, 35, 28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta reiciendis eum ipsum nam. Ut maiores in alias quo. Porro laborum illum consequatur. Voluptatem aperiam voluptatem nam. Ex quis velit ratione recusandae accusamus cumque aut.\", \"Impedit incidunt id voluptate qui repellat sapiente. Sint cum quisquam est. Veritatis debitis eaque provident.\"]"], ["created_at", "2014-09-23 00:48:54.938202"], ["name", "alpha"], ["title", "Voluptas quia tempore vel dignissimos."], ["updated_at", "2014-09-23 00:48:54.938202"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:48:54.941925"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium est excepturi fugit nisi aut. Repudiandae deserunt excepturi rerum hic. Voluptas quis eum. Vel consequatur molestias.\", \"Rerum rerum aut animi non. Pariatur enim culpa consequatur odio eveniet maiores. Magnam sequi laudantium id fugit ut minus neque. Eius nam distinctio quas.\"]"], ["created_at", "2014-09-23 00:48:54.944993"], ["name", "beta"], ["title", "Ipsum blanditiis odio quia."], ["updated_at", "2014-09-23 00:48:54.944993"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 00:48:54.948129"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.950328"], ["updated_at", "2014-09-23 00:48:54.950328"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 00:48:54.952918"], ["updated_at", "2014-09-23 00:48:54.952918"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 00:48:54.955411"], ["updated_at", "2014-09-23 00:48:54.955411"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:54.957794"], ["name", "alpha"], ["title", "Voluptas quia tempore vel dignissimos."], ["updated_at", "2014-09-23 00:48:54.957794"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:48:54.960892"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (41, 40, 33, 22, 12, 24, 20, 32, 5, 9, 26, 27, 30, 29, 18, 31, 35, 28, 25) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero deserunt nobis culpa. Dolorem cupiditate quia. Quia aut itaque nam dolores consequatur.\", \"Facere cupiditate ut quod et quo molestiae minima. Ex sint inventore modi. Sit dolorem quo atque ut modi placeat. Voluptas omnis eos eum qui. Temporibus quia quod illo.\"]"], ["created_at", "2014-09-23 00:48:54.966384"], ["name", "alpha"], ["title", "Aspernatur molestias eaque aut tempora doloribus ea quae."], ["updated_at", "2014-09-23 00:48:54.966384"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:48:54.969433"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit consequuntur officia saepe qui voluptas dolores. Saepe recusandae velit qui enim aut dolores delectus. Totam aliquam labore quas quo nam quis doloremque.\", \"Ullam unde doloribus aliquam qui. Veritatis temporibus voluptas reprehenderit. Illo aut officia et ex. Eius omnis eveniet voluptate aperiam porro dolor.\"]"], ["created_at", "2014-09-23 00:48:54.972571"], ["name", "beta"], ["title", "Voluptas sint similique sint earum."], ["updated_at", "2014-09-23 00:48:54.972571"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:48:54.984138"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:54.986977"], ["updated_at", "2014-09-23 00:48:54.986977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-23 00:48:54.989673"], ["updated_at", "2014-09-23 00:48:54.989673"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-23 00:48:54.992290"], ["updated_at", "2014-09-23 00:48:54.992290"], ["user_id", 69], ["user_type", "DummyUser"]]  (1.3ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:54.995332"], ["name", "alpha"], ["title", "Aspernatur molestias eaque aut tempora doloribus ea quae."], ["updated_at", "2014-09-23 00:48:54.995332"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:48:54.999429"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed eos voluptatem consequatur vero. Dolor quam dolorem facilis totam et veritatis. Dolorum non laudantium atque nihil cum dolore. Distinctio mollitia illo aut nam itaque delectus.\", \"Quo sequi et nemo. Officia fugiat delectus hic architecto ea aut magnam. Ipsam libero blanditiis quia dolores quo sed. Laboriosam aut occaecati corporis. Quo ut facere mollitia.\"]"], ["created_at", "2014-09-23 00:48:55.007768"], ["name", "alpha"], ["title", "Suscipit minus eius est porro tenetur."], ["updated_at", "2014-09-23 00:48:55.007768"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:48:55.011040"], ["version", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et corporis aspernatur. Animi libero inventore. Recusandae et aperiam in.\", \"Repellat occaecati ex. Vel placeat repellendus et. Ea totam ducimus repellendus. Culpa omnis enim accusamus id porro doloribus tempore. Error ipsam recusandae architecto aperiam debitis.\"]"], ["created_at", "2014-09-23 00:48:55.014678"], ["name", "beta"], ["title", "Ea aut magni sed."], ["updated_at", "2014-09-23 00:48:55.014678"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 00:48:55.018284"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:48:55.021052"], ["updated_at", "2014-09-23 00:48:55.021052"]]  (1.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 00:48:55.024288"], ["updated_at", "2014-09-23 00:48:55.024288"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-23 00:48:55.027850"], ["updated_at", "2014-09-23 00:48:55.027850"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:48:55.030722"], ["name", "alpha"], ["title", "Suscipit minus eius est porro tenetur."], ["updated_at", "2014-09-23 00:48:55.030722"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:48:55.034235"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-23 00:48:55.054226"], ["updated_at", "2014-09-23 00:48:55.054226"], ["user_id", 70], ["user_type", "DummyUser"]]  (1.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.6ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 70 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id nostrum ut sed rerum debitis. Omnis dolorem et fugiat. Vitae assumenda provident qui.\", \"Quae accusantium in explicabo. Sapiente quisquam assumenda. Enim consequuntur harum sit nam perspiciatis id. Et inventore minus vel ut qui iure eos.\"]"], ["created_at", "2014-09-23 00:50:07.539665"], ["name", "contract_5f569bba"], ["title", "Odio est unde dignissimos."], ["updated_at", "2014-09-23 00:50:07.539665"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5f569bba"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5f569bba') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 00:50:07.557512"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5f569bba' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id nostrum ut sed rerum debitis. Omnis dolorem et fugiat. Vitae assumenda provident qui.\", \"Quae accusantium in explicabo. Sapiente quisquam assumenda. Enim consequuntur harum sit nam perspiciatis id. Et inventore minus vel ut qui iure eos.\"]"], ["created_at", "2014-09-23 00:50:07.566209"], ["name", "contract_5f569bba"], ["title", "Odio est unde dignissimos."], ["updated_at", "2014-09-23 00:50:07.566209"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5f569bba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) 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_5f569bba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:50:07.570004"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est dolor soluta autem fuga ipsum ex. Iste voluptate nulla et et ad sint. Sed laborum repudiandae dolorum sunt. Laborum eius cupiditate sit rerum eum ad. Quidem suscipit neque labore.\", \"Unde et incidunt quisquam quibusdam. Facere ut ut excepturi. Eaque sunt est unde recusandae. Et illum libero quam sed nihil voluptatibus amet.\"]"], ["created_at", "2014-09-23 00:50:07.574252"], ["name", "contract_8e8c4f4a"], ["title", "Quibusdam architecto aut recusandae nam eligendi a voluptates."], ["updated_at", "2014-09-23 00:50:07.574252"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8e8c4f4a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_8e8c4f4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:50:07.577866"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.588436"], ["updated_at", "2014-09-23 00:50:07.588436"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:50:07.595991"], ["updated_at", "2014-09-23 00:50:07.595991"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_8e8c4f4a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8e8c4f4a"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo consectetur minus cupiditate. Architecto assumenda consectetur. Et repellendus quia explicabo non. Qui magni aspernatur dolorem voluptates et repellat velit. Voluptas exercitationem nisi dolores ipsam sint possimus voluptas.\", \"Quia molestiae adipisci non laudantium sed ut. Tempora magnam animi quo fugiat pariatur consequatur molestias. Ut vitae ea totam. Eum quas omnis tempora. Debitis maxime et sunt.\"]"], ["created_at", "2014-09-23 00:50:07.610220"], ["name", "contract_ebfbcfda"], ["title", "Eligendi quo cumque voluptate eaque."], ["updated_at", "2014-09-23 00:50:07.610220"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ebfbcfda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_ebfbcfda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:50:07.613807"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_ebfbcfda' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo consectetur minus cupiditate. Architecto assumenda consectetur. Et repellendus quia explicabo non. Qui magni aspernatur dolorem voluptates et repellat velit. Voluptas exercitationem nisi dolores ipsam sint possimus voluptas.\", \"Quia molestiae adipisci non laudantium sed ut. Tempora magnam animi quo fugiat pariatur consequatur molestias. Ut vitae ea totam. Eum quas omnis tempora. Debitis maxime et sunt.\"]"], ["created_at", "2014-09-23 00:50:07.618108"], ["name", "joe"], ["title", "Eligendi quo cumque voluptate eaque."], ["updated_at", "2014-09-23 00:50:07.618108"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:50:07.621334"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A autem est. Quod sit aspernatur placeat. Et qui perferendis laboriosam ut ab fugit sit.\", \"Ducimus et nihil. Voluptatem asperiores temporibus at laborum magnam adipisci. In rem consequatur porro.\"]"], ["created_at", "2014-09-23 00:50:07.625069"], ["name", "contract_45bdec77"], ["title", "Vitae dolor et omnis maxime hic mollitia velit."], ["updated_at", "2014-09-23 00:50:07.625069"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45bdec77"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_45bdec77') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:50:07.629578"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45bdec77"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45bdec77"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:50:07.634156"], ["version", nil]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.637574"], ["updated_at", "2014-09-23 00:50:07.637574"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.639206"], ["updated_at", "2014-09-23 00:50:07.639206"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.645465"], ["updated_at", "2014-09-23 00:50:07.645465"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.649060"], ["updated_at", "2014-09-23 00:50:07.649060"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim totam quibusdam nobis consectetur. Accusamus quisquam reprehenderit sunt eaque. Consectetur voluptatum voluptatem ut aliquid qui tempore asperiores. Quae vel omnis vel facilis deserunt rerum. A quos quam id mollitia et.\", \"Fugit commodi dolorem delectus tempora et. Eum id laudantium consequatur et laborum delectus et. Quisquam aut aspernatur.\"]"], ["created_at", "2014-09-23 00:50:07.655340"], ["name", "contract_32eb81eb"], ["title", "Quae sit iure."], ["updated_at", "2014-09-23 00:50:07.655340"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit ex aut voluptatem quia est aliquam. Consequatur dolores esse ut nihil voluptas saepe. Dolorem non ut repellat accusantium perferendis fugit dolor. Facere adipisci optio earum corrupti.\", \"Voluptates pariatur sint est blanditiis sunt. Aut adipisci voluptatibus corrupti non laborum consequuntur. Veritatis consequatur ut quibusdam dicta ratione deserunt. Illo fuga saepe et enim suscipit consequuntur sed.\"]"], ["created_at", "2014-09-23 00:50:07.660960"], ["name", "contract_fcfe877e"], ["title", "Laborum dolores est odit sed."], ["updated_at", "2014-09-23 00:50:07.660960"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fcfe877e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_fcfe877e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:50:07.665172"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.668120"], ["updated_at", "2014-09-23 00:50:07.668120"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.673526"], ["updated_at", "2014-09-23 00:50:07.673526"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.675087"], ["updated_at", "2014-09-23 00:50:07.675087"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio deleniti rem sed atque sit et aut. Ab nihil officiis quia ut. Ullam maxime explicabo mollitia et voluptatem. Itaque sunt aliquam.\", \"Veritatis necessitatibus mollitia illo natus. Repudiandae asperiores dolorem itaque reprehenderit in. Fugit voluptas earum corporis. Accusantium ut sed sunt assumenda quas. Ipsum omnis architecto sit vitae occaecati officia.\"]"], ["created_at", "2014-09-23 00:50:07.677817"], ["name", "contract_97163295"], ["title", "Enim rem tempore."], ["updated_at", "2014-09-23 00:50:07.677817"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_97163295"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_97163295') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:50:07.681733"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.684423"], ["updated_at", "2014-09-23 00:50:07.684423"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:50:07.687166"], ["updated_at", "2014-09-23 00:50:07.687166"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} Completed 200 OK in 198ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.890057"], ["updated_at", "2014-09-23 00:50:07.890057"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.892710"], ["updated_at", "2014-09-23 00:50:07.892710"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et consequatur nostrum sit. Ab officia magnam. Enim consequatur ullam mollitia vel eaque consequuntur et.\", \"Placeat eos dolore similique magnam. Consectetur laudantium sint unde rerum autem doloribus. Mollitia vel voluptatem placeat beatae. Ut harum qui ipsa eum.\"]"], ["created_at", "2014-09-23 00:50:07.895681"], ["name", "contract_0fd240ad"], ["title", "Animi perspiciatis expedita ipsa amet et sequi."], ["updated_at", "2014-09-23 00:50:07.895681"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0fd240ad"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_0fd240ad') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:50:07.899142"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.901582"], ["updated_at", "2014-09-23 00:50:07.901582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:50:07.903713"], ["updated_at", "2014-09-23 00:50:07.903713"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.909678"], ["updated_at", "2014-09-23 00:50:07.909678"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.911190"], ["updated_at", "2014-09-23 00:50:07.911190"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nam eum nemo. Et qui quo quae quia optio. Et error eos aut ut ducimus iusto sit. Eos a occaecati vero aut ut. Voluptatem qui sed dolor.\", \"Itaque dolor quisquam. Placeat earum porro corporis dolores et. Et praesentium rerum velit perferendis impedit numquam. Quia natus consequatur aut sequi sunt omnis et.\"]"], ["created_at", "2014-09-23 00:50:07.914708"], ["name", "contract_f4f69b73"], ["title", "Delectus quos tenetur aut iusto quibusdam incidunt veritatis."], ["updated_at", "2014-09-23 00:50:07.914708"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f4f69b73"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_f4f69b73') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:50:07.918362"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.920834"], ["updated_at", "2014-09-23 00:50:07.920834"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:50:07.923179"], ["updated_at", "2014-09-23 00:50:07.923179"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.929374"], ["updated_at", "2014-09-23 00:50:07.929374"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.931171"], ["updated_at", "2014-09-23 00:50:07.931171"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Reprehenderit voluptatem dolor consequatur omnis ut sed. Quos fugiat soluta. Architecto tenetur et labore vel fugiat.\", \"Reprehenderit hic laboriosam cumque tempora recusandae. Sunt consectetur aut sapiente. Sapiente itaque provident.\"]"], ["created_at", "2014-09-23 00:50:07.933793"], ["name", "contract_0554cc60"], ["title", "Autem nostrum dolores quo consectetur unde eos."], ["updated_at", "2014-09-23 00:50:07.933793"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0554cc60"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_0554cc60') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:50:07.936861"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.939289"], ["updated_at", "2014-09-23 00:50:07.939289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 00:50:07.941388"], ["updated_at", "2014-09-23 00:50:07.941388"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] Redirected to http://test.host/fine_print/contracts/12/signatures?r=WHRNUUJXa0p5QnZ0YkRtL1RXa1FXUT09LS1pVmgvL0dkVUJrQ1JLc1hYRXZTM0NBPT0%3D--9aecad6c914e103c31ca2657e448826fd3a5da80 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 5 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.949396"], ["updated_at", "2014-09-23 00:50:07.949396"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.950969"], ["updated_at", "2014-09-23 00:50:07.950969"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In distinctio illo. Aut non molestias. Modi soluta saepe voluptatem.\", \"Velit perspiciatis nemo ut. Praesentium eveniet quia a ratione. Et aut sed in qui. Possimus qui distinctio id doloremque asperiores. Sed molestias maxime.\"]"], ["created_at", "2014-09-23 00:50:07.953379"], ["name", "contract_17ee4012"], ["title", "Nulla architecto repellendus."], ["updated_at", "2014-09-23 00:50:07.953379"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_17ee4012"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_17ee4012') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:50:07.956449"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.958922"], ["updated_at", "2014-09-23 00:50:07.958922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-23 00:50:07.961038"], ["updated_at", "2014-09-23 00:50:07.961038"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"13"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.965430"], ["updated_at", "2014-09-23 00:50:07.965430"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.967161"], ["updated_at", "2014-09-23 00:50:07.967161"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Modi omnis ab velit aliquid sequi quibusdam voluptas. Adipisci consequatur modi rem aut excepturi. Dolorum qui necessitatibus velit aliquid. Quasi id in incidunt nisi.\", \"Nihil voluptas vel aut error reiciendis nemo. Maxime qui ipsa ab. Delectus quibusdam quia asperiores repellendus voluptatem sed in. Eos nobis est ut. Et sed ut et molestias.\"]"], ["created_at", "2014-09-23 00:50:07.970342"], ["name", "contract_daba658f"], ["title", "Esse eos inventore a et alias suscipit voluptatem."], ["updated_at", "2014-09-23 00:50:07.970342"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_daba658f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_daba658f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:50:07.973693"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.976180"], ["updated_at", "2014-09-23 00:50:07.976180"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-23 00:50:07.978314"], ["updated_at", "2014-09-23 00:50:07.978314"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.983309"], ["updated_at", "2014-09-23 00:50:07.983309"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.984838"], ["updated_at", "2014-09-23 00:50:07.984838"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vitae et placeat et nulla. Nesciunt et tempora soluta vel alias quos rerum. Nesciunt non facilis. Aut perferendis quaerat alias quibusdam aliquam quae. Mollitia corporis quis.\", \"Magnam ut recusandae quia sunt deleniti. Sed dolorem nemo et enim. In aut quidem id est corporis quas. Consequatur officiis rem.\"]"], ["created_at", "2014-09-23 00:50:07.987246"], ["name", "contract_e0f993be"], ["title", "Voluptate et non sed quae eaque eum."], ["updated_at", "2014-09-23 00:50:07.987246"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e0f993be"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_e0f993be') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:50:07.990685"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.993159"], ["updated_at", "2014-09-23 00:50:07.993159"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 00:50:07.995277"], ["updated_at", "2014-09-23 00:50:07.995277"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"15"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:07.998784"], ["updated_at", "2014-09-23 00:50:07.998784"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.000286"], ["updated_at", "2014-09-23 00:50:08.000286"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Amet fuga hic similique aspernatur ea. Non voluptas eligendi. Nulla molestiae in aut et iste facere quis. Ut dicta omnis fugiat veritatis rerum sed quia.\", \"Ea et atque qui saepe molestias magnam corrupti. Voluptate enim ex harum veniam maxime rerum omnis. Sed praesentium quis consectetur non corporis est et.\"]"], ["created_at", "2014-09-23 00:50:08.003365"], ["name", "contract_7ba92472"], ["title", "Tempora eius doloremque qui ducimus libero."], ["updated_at", "2014-09-23 00:50:08.003365"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7ba92472"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_7ba92472') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:50:08.006958"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.009386"], ["updated_at", "2014-09-23 00:50:08.009386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-23 00:50:08.011488"], ["updated_at", "2014-09-23 00:50:08.011488"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat rem sunt nisi. Quod ullam harum velit in. Voluptate sed consequatur consequatur minus ut quia quibusdam.\", \"In aperiam nulla quia voluptatum id. Autem voluptatibus aliquid ea. Et nihil magnam ex. Vero aut voluptas ut et. Molestiae voluptate nobis necessitatibus consequatur rerum voluptas.\"]"], ["created_at", "2014-09-23 00:50:08.019352"], ["name", "alpha"], ["title", "Facilis esse recusandae cupiditate qui pariatur."], ["updated_at", "2014-09-23 00:50:08.019352"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:50:08.023558"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut tempore vitae illum quos id neque. Et reiciendis illum perferendis nam totam. Nobis iste perspiciatis laborum in. Reiciendis earum veritatis beatae.\", \"Quaerat distinctio nobis est repellat. Ipsum aut placeat consectetur. Nisi dolores sapiente deserunt facere at in. Eligendi et qui id ab omnis.\"]"], ["created_at", "2014-09-23 00:50:08.027214"], ["name", "beta"], ["title", "Voluptatem et labore dolores nemo est nam commodi."], ["updated_at", "2014-09-23 00:50:08.027214"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:50:08.030525"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.033294"], ["updated_at", "2014-09-23 00:50:08.033294"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-23 00:50:08.036143"], ["updated_at", "2014-09-23 00:50:08.036143"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-23 00:50:08.038559"], ["updated_at", "2014-09-23 00:50:08.038559"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:08.040769"], ["name", "alpha"], ["title", "Facilis esse recusandae cupiditate qui pariatur."], ["updated_at", "2014-09-23 00:50:08.040769"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:50:08.043925"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (19, 18, 12, 10, 13, 2, 16, 3, 9, 14, 15, 4, 11, 8, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non praesentium explicabo et. Illum quos doloribus et. Enim repellat quam qui aut. Unde id id adipisci.\", \"Commodi quo eius maiores voluptatem dolorem explicabo perferendis. Nisi quia qui sequi nesciunt ut. Corporis qui cumque ducimus sint soluta occaecati.\"]"], ["created_at", "2014-09-23 00:50:08.052142"], ["name", "alpha"], ["title", "Perspiciatis quos nihil sed saepe delectus sed."], ["updated_at", "2014-09-23 00:50:08.052142"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:50:08.055582"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et quis corrupti incidunt sed officiis. Ut fuga expedita repellendus quia commodi et facere. Hic odit voluptatem. Velit qui consequatur eos distinctio.\", \"Nesciunt laborum porro totam dolores voluptatem veritatis. Ea odit est occaecati ut. Sit quasi dolores et soluta doloremque.\"]"], ["created_at", "2014-09-23 00:50:08.058566"], ["name", "beta"], ["title", "Et sapiente porro nulla quo qui amet consequatur."], ["updated_at", "2014-09-23 00:50:08.058566"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:50:08.061482"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.063802"], ["updated_at", "2014-09-23 00:50:08.063802"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:50:08.066381"], ["updated_at", "2014-09-23 00:50:08.066381"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 00:50:08.068751"], ["updated_at", "2014-09-23 00:50:08.068751"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:08.070979"], ["name", "alpha"], ["title", "Perspiciatis quos nihil sed saepe delectus sed."], ["updated_at", "2014-09-23 00:50:08.070979"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:50:08.073912"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (22, 21, 12, 10, 13, 2, 16, 3, 9, 14, 15, 4, 11, 8, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio cum corrupti ut. Laboriosam vero voluptatem quam. Impedit nesciunt magni ut ea quidem et amet. Dolores sequi ut iste adipisci laudantium enim aperiam. Voluptatem labore repellendus dolorum delectus.\", \"Tenetur laborum quidem quae ipsa eos. Eligendi officiis dolor unde qui sint. Reiciendis assumenda aut dolorem nihil sed voluptates fuga. Voluptas reprehenderit nisi.\"]"], ["created_at", "2014-09-23 00:50:08.079248"], ["name", "alpha"], ["title", "Qui nisi enim qui."], ["updated_at", "2014-09-23 00:50:08.079248"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:50:08.082518"], ["version", 5]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A dignissimos dolorem. Incidunt eius facere. Sed repellat rerum quo quidem quaerat. Iusto omnis mollitia qui reprehenderit et. Quia reprehenderit consectetur maiores in beatae omnis.\", \"Occaecati accusantium sint rem aperiam commodi. Itaque ex voluptates voluptatum magni veniam. Dolores praesentium ex.\"]"], ["created_at", "2014-09-23 00:50:08.085502"], ["name", "beta"], ["title", "Veniam a modi."], ["updated_at", "2014-09-23 00:50:08.085502"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:50:08.088574"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.090794"], ["updated_at", "2014-09-23 00:50:08.090794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 00:50:08.093337"], ["updated_at", "2014-09-23 00:50:08.093337"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 00:50:08.095739"], ["updated_at", "2014-09-23 00:50:08.095739"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:08.098583"], ["name", "alpha"], ["title", "Qui nisi enim qui."], ["updated_at", "2014-09-23 00:50:08.098583"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:50:08.101934"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-23 00:50:08.119992"], ["updated_at", "2014-09-23 00:50:08.119992"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore omnis magni illo. Quia ut consequatur eum est ipsa aut voluptatibus. Harum eaque iste non. Temporibus asperiores ut et quam. Quia voluptatem porro.\", \"Iure molestiae quaerat id nam expedita. Atque consequuntur velit placeat id et ut illo. Fugiat ipsa nisi quod pariatur quidem quo voluptatem. Voluptatem ut culpa aut et cupiditate.\"]"], ["created_at", "2014-09-23 00:50:08.133377"], ["name", "alpha"], ["title", "Pariatur dolores expedita totam."], ["updated_at", "2014-09-23 00:50:08.133377"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:50:08.137801"], ["version", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sit rerum. Sed perspiciatis est et nostrum qui. Provident quo dolore rerum. Aut hic et. Quia unde odio dolorem consequatur ipsum repellat quo.\", \"Officiis qui nihil asperiores vero ad laboriosam. Quaerat molestias consequatur suscipit iusto. Quaerat nihil et optio quia consequatur odio. Et ab velit consequuntur. Est sed tempore quia impedit aspernatur quaerat.\"]"], ["created_at", "2014-09-23 00:50:08.141666"], ["name", "beta"], ["title", "Minima architecto facere soluta est aut."], ["updated_at", "2014-09-23 00:50:08.141666"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 00:50:08.145028"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.147344"], ["updated_at", "2014-09-23 00:50:08.147344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 00:50:08.149891"], ["updated_at", "2014-09-23 00:50:08.149891"], ["user_id", 34], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 00:50:08.152376"], ["updated_at", "2014-09-23 00:50:08.152376"], ["user_id", 34], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:08.154564"], ["name", "alpha"], ["title", "Pariatur dolores expedita totam."], ["updated_at", "2014-09-23 00:50:08.154564"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:50:08.157748"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.163785"], ["updated_at", "2014-09-23 00:50:08.163785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.165364"], ["updated_at", "2014-09-23 00:50:08.165364"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel libero dolorum quo tempore enim non. Eveniet non excepturi occaecati sequi et. Quo sint beatae exercitationem provident amet. Nihil in non numquam dicta sed quod. Temporibus vel in est.\", \"Vitae doloremque maxime molestias. Qui facere qui numquam inventore in eos. Optio provident et sed saepe harum eligendi velit. Quaerat nesciunt possimus error. Sit natus sed laudantium ab laboriosam quia vero.\"]"], ["created_at", "2014-09-23 00:50:08.168039"], ["name", "contract_bc9a4a86"], ["title", "Ullam eos in sed ad voluptate voluptatibus."], ["updated_at", "2014-09-23 00:50:08.168039"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.173162"], ["updated_at", "2014-09-23 00:50:08.173162"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.174731"], ["updated_at", "2014-09-23 00:50:08.174731"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates corrupti totam quo vitae. Consectetur voluptate aut blanditiis amet illum harum aut. Ducimus itaque quia non dignissimos expedita ex praesentium. Vitae tempora eius eos in dolore optio. Blanditiis quae repudiandae est assumenda aperiam exercitationem aliquid.\", \"Repellat eveniet officiis. Vel repudiandae autem ipsam delectus sit. Qui ratione et nam animi laborum asperiores quam. Alias quo sint non qui. Totam est voluptates itaque et eum quasi soluta.\"]"], ["created_at", "2014-09-23 00:50:08.176878"], ["name", "contract_b0b46408"], ["title", "Voluptatum quibusdam adipisci."], ["updated_at", "2014-09-23 00:50:08.176878"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.184495"], ["updated_at", "2014-09-23 00:50:08.184495"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.186117"], ["updated_at", "2014-09-23 00:50:08.186117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et non minima qui rerum vel consequatur vitae. Consequuntur explicabo quod minima aliquam itaque. Sed optio quia possimus qui magnam ad ea.\", \"Facilis ea nisi perspiciatis quam fugiat. Saepe ratione vitae sit. Culpa aliquid rerum ex ut aut. Eum est quam magnam ut ut dolorum.\"]"], ["created_at", "2014-09-23 00:50:08.188227"], ["name", "contract_960db4dc"], ["title", "Nostrum aperiam enim vel."], ["updated_at", "2014-09-23 00:50:08.188227"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.194538"], ["updated_at", "2014-09-23 00:50:08.194538"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.196063"], ["updated_at", "2014-09-23 00:50:08.196063"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Inventore vero earum possimus libero incidunt debitis. Omnis eum voluptates ipsa quis reiciendis in totam. Consequatur accusantium laboriosam molestiae ullam rerum. Nobis aut tempora rerum a consectetur.\", \"Eius commodi a. Id qui eos. Dolorem a vel rerum minima consequatur aliquid.\"]"], ["created_at", "2014-09-23 00:50:08.198114"], ["name", "contract_e035f28c"], ["title", "Qui assumenda quia voluptas qui quo quis."], ["updated_at", "2014-09-23 00:50:08.198114"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e035f28c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_e035f28c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:50:08.201136"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e035f28c"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:50:08.205887"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.210466"], ["updated_at", "2014-09-23 00:50:08.210466"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.211942"], ["updated_at", "2014-09-23 00:50:08.211942"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est sit culpa et. In consequatur aperiam dolorem nihil aliquid. Beatae nemo quisquam atque quasi molestias.\", \"Eum ea assumenda. Dolore consequatur animi. Temporibus aut libero. Cumque nihil qui fugiat asperiores. Et sit repellat.\"]"], ["created_at", "2014-09-23 00:50:08.214055"], ["name", "contract_911d6934"], ["title", "Sit quo rerum."], ["updated_at", "2014-09-23 00:50:08.214055"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_911d6934"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_911d6934') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 00:50:08.217861"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.224043"], ["updated_at", "2014-09-23 00:50:08.224043"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.225513"], ["updated_at", "2014-09-23 00:50:08.225513"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta repudiandae commodi molestiae eius praesentium facere reprehenderit. Distinctio consectetur natus voluptatum. Ea ut qui. Voluptatem ipsam excepturi sed officiis expedita.\", \"Commodi repellendus numquam eaque. Eveniet quia qui et quia in rerum. Quia et suscipit et nam qui.\"]"], ["created_at", "2014-09-23 00:50:08.227570"], ["name", "contract_737696a9"], ["title", "A at velit eos dicta qui."], ["updated_at", "2014-09-23 00:50:08.227570"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:50:08.230479"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:50:08.230479"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.234195"], ["updated_at", "2014-09-23 00:50:08.234195"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.235621"], ["updated_at", "2014-09-23 00:50:08.235621"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem praesentium omnis cumque. Et aperiam porro perspiciatis. Sint id at ut amet.\", \"Quam atque dolorem odio est ipsa aut. Id animi illo repudiandae saepe. Recusandae maiores harum explicabo.\"]"], ["created_at", "2014-09-23 00:50:08.237616"], ["name", "contract_f1fd08f6"], ["title", "Necessitatibus cumque quia alias aperiam occaecati aliquid."], ["updated_at", "2014-09-23 00:50:08.237616"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f1fd08f6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_f1fd08f6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:50:08.242546"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.246909"], ["updated_at", "2014-09-23 00:50:08.246909"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.248679"], ["updated_at", "2014-09-23 00:50:08.248679"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Libero pariatur in rerum eum nisi vero. Nihil qui aut vero saepe in. Libero eius eos. Dolores optio et fugiat delectus fuga aut nobis. Dolores et ad alias dolorem.\", \"Tenetur cum sunt inventore eum dolore quidem voluptas. Eum aut accusamus et aut sunt accusantium. Ut iste in beatae voluptas deserunt sint. Aperiam est veniam. Aut fuga quis.\"]"], ["created_at", "2014-09-23 00:50:08.251092"], ["name", "contract_10277d1e"], ["title", "Quasi ab aut quam rerum quidem."], ["updated_at", "2014-09-23 00:50:08.251092"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:50:08.254966"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.259776"], ["updated_at", "2014-09-23 00:50:08.259776"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.261232"], ["updated_at", "2014-09-23 00:50:08.261232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus non consectetur consequuntur. Voluptas at sit. Magni vel id quo qui omnis pariatur voluptate.\", \"Aut animi voluptatem iusto corporis qui molestiae error. Animi earum fugiat dolor. Labore accusamus expedita. Laborum expedita et quia cum repellat.\"]"], ["created_at", "2014-09-23 00:50:08.263338"], ["name", "contract_d9dcfcc7"], ["title", "Inventore perspiciatis et iure."], ["updated_at", "2014-09-23 00:50:08.263338"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 37, 27, 24, 21, 18, 12, 10, 13, 7, 6, 2, 1, 34, 16, 3, 33, 31, 9, 29, 38, 14, 32, 15, 4, 36, 11, 8, 5, 35) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.270843"], ["updated_at", "2014-09-23 00:50:08.270843"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.272438"], ["updated_at", "2014-09-23 00:50:08.272438"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum repudiandae omnis. Quidem cumque possimus debitis in est. Dolorem rem autem numquam ut. Eum accusantium est vel laborum consequatur quod. Dignissimos iure quia qui facilis at.\", \"At qui accusamus. Odit dicta beatae provident eaque laborum at. Ea ab voluptatem provident minus maxime.\"]"], ["created_at", "2014-09-23 00:50:08.274555"], ["name", "contract_35a17c99"], ["title", "Libero corporis voluptatibus voluptatem repellendus quaerat quam est."], ["updated_at", "2014-09-23 00:50:08.274555"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.279333"], ["updated_at", "2014-09-23 00:50:08.279333"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.280789"], ["updated_at", "2014-09-23 00:50:08.280789"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit eum tempore ea doloremque odio hic. Aut corporis ut quod sit. Temporibus porro reiciendis. Omnis corporis nostrum ut quibusdam.\", \"Vitae dignissimos rerum cupiditate exercitationem quaerat voluptatem molestias. Eveniet in ea. Sint accusamus est voluptatem. Corrupti officia vel optio quos cumque qui.\"]"], ["created_at", "2014-09-23 00:50:08.290023"], ["name", "contract_6c640bb4"], ["title", "Deleniti aliquid velit."], ["updated_at", "2014-09-23 00:50:08.290023"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.295089"], ["updated_at", "2014-09-23 00:50:08.295089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.297202"], ["updated_at", "2014-09-23 00:50:08.297202"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi porro quidem dolorum est. Dicta sint libero. Qui adipisci deleniti.\", \"Totam magnam voluptatum eos nobis dolor. Dicta aut eum iusto. Omnis cum vel modi sed omnis possimus.\"]"], ["created_at", "2014-09-23 00:50:08.299488"], ["name", "contract_669079bd"], ["title", "Vel asperiores corporis repellat."], ["updated_at", "2014-09-23 00:50:08.299488"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_669079bd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_669079bd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:50:08.303348"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_669079bd' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.312013"], ["updated_at", "2014-09-23 00:50:08.312013"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.313976"], ["updated_at", "2014-09-23 00:50:08.313976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Magnam nostrum itaque nihil blanditiis nemo architecto dolorum. Quam animi expedita ducimus. Nihil aliquid voluptatem. Earum unde ut saepe magni inventore possimus quas. Impedit maxime saepe occaecati assumenda excepturi.\", \"Qui voluptatem illum praesentium. Reprehenderit quis nihil. Vel dolore ipsum repellat.\"]"], ["created_at", "2014-09-23 00:50:08.316130"], ["name", "contract_97008699"], ["title", "Non enim et sequi quo."], ["updated_at", "2014-09-23 00:50:08.316130"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.320714"], ["updated_at", "2014-09-23 00:50:08.320714"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.322383"], ["updated_at", "2014-09-23 00:50:08.322383"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tenetur quis ullam porro. Iusto facilis sit. Sit odit ut et repellendus quod. Numquam aut in excepturi velit sed. Voluptatibus aut laudantium et dolor recusandae.\", \"Quidem odio asperiores. Dolores magni mollitia nobis dolorem modi consequatur. Quis asperiores et doloremque officia qui eos sit.\"]"], ["created_at", "2014-09-23 00:50:08.324667"], ["name", "contract_6cf4d549"], ["title", "Aspernatur aut quo asperiores eius doloremque ut."], ["updated_at", "2014-09-23 00:50:08.324667"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6cf4d549"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_6cf4d549') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:50:08.328133"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.335358"], ["updated_at", "2014-09-23 00:50:08.335358"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.337952"], ["updated_at", "2014-09-23 00:50:08.337952"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Explicabo sed dolor et. Maiores recusandae sed consectetur consequatur aliquid. In aut distinctio eveniet maiores quis et. At accusamus voluptas iure. Est dolorum aspernatur non non.\", \"Ea nemo qui deserunt recusandae ad aliquam. Aut dolores inventore aspernatur dolor architecto. Fugit rem et suscipit dolorem eveniet corporis dolorum.\"]"], ["created_at", "2014-09-23 00:50:08.342616"], ["name", "contract_47a057e0"], ["title", "Rerum omnis delectus eaque hic deleniti."], ["updated_at", "2014-09-23 00:50:08.342616"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.350222"], ["updated_at", "2014-09-23 00:50:08.350222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.352257"], ["updated_at", "2014-09-23 00:50:08.352257"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel assumenda rem aliquam libero totam odio. Quam adipisci voluptas architecto. Eveniet sint tempora eius eos aliquid aperiam. At tempora aut et non consequatur qui laboriosam. Ut sed autem voluptatem itaque aperiam.\", \"Qui incidunt voluptatum. Itaque sunt expedita perspiciatis. Nobis dolorem earum sit qui accusamus soluta. Sed neque vero facilis.\"]"], ["created_at", "2014-09-23 00:50:08.355044"], ["name", "contract_0c791ff6"], ["title", "Ratione sit sit quod doloremque distinctio libero."], ["updated_at", "2014-09-23 00:50:08.355044"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.361428"], ["updated_at", "2014-09-23 00:50:08.361428"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.362856"], ["updated_at", "2014-09-23 00:50:08.362856"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere doloribus iure id earum voluptatem sunt. Laudantium aut voluptatem dolorem asperiores sunt illo iusto. Consequatur recusandae doloremque libero aut rem quae consequatur. Libero eos similique velit esse dolores id accusantium.\", \"In beatae dolorem omnis maiores. Iusto non sequi qui corrupti totam. Minima quas quaerat voluptas sunt officia repellendus.\"]"], ["created_at", "2014-09-23 00:50:08.365544"], ["name", "contract_5708b32e"], ["title", "Esse accusantium omnis odit qui minima."], ["updated_at", "2014-09-23 00:50:08.365544"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.375582"], ["updated_at", "2014-09-23 00:50:08.375582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:08.377946"], ["updated_at", "2014-09-23 00:50:08.377946"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Adipisci et veniam et. Fugiat ea nesciunt quia sequi temporibus dicta commodi. Tempora libero accusantium ut ipsam sequi quo omnis. Reiciendis corporis soluta quam quos. Ratione repellendus officia sint quas blanditiis.\", \"Ratione alias cum. Dolorum quos culpa. Eos impedit et nostrum modi voluptates. Repellat in id alias voluptatum. Iste temporibus minima et fugit quis dicta.\"]"], ["created_at", "2014-09-23 00:50:08.380494"], ["name", "contract_5bda5ee2"], ["title", "Aut eveniet quidem cum voluptatem architecto quibusdam blanditiis."], ["updated_at", "2014-09-23 00:50:08.380494"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt quos laudantium. Suscipit quibusdam modi quia nobis eos et qui. Quia sed laborum et sit nam quis cumque. Repudiandae fuga et esse consequatur non.\", \"Quo quod enim ea porro dolor sint. Fugiat earum aliquid. Velit aliquid et quis.\"]"], ["created_at", "2014-09-23 00:50:34.597904"], ["name", "alpha"], ["title", "Dolorum consequuntur ex labore."], ["updated_at", "2014-09-23 00:50:34.597904"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 00:50:34.614825"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facilis rerum iure nemo necessitatibus est. Tempore velit id officia dicta ipsum aut asperiores. Vel perspiciatis commodi voluptatibus aut est quia hic. Blanditiis facere et rem repellendus. Consequatur sit harum et impedit unde.\", \"Quisquam aut dolores tempore dignissimos sapiente expedita cupiditate. Dolor ratione aut doloremque. Omnis et facilis rerum et rerum.\"]"], ["created_at", "2014-09-23 00:50:34.621124"], ["name", "beta"], ["title", "Minima molestias ullam."], ["updated_at", "2014-09-23 00:50:34.621124"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:50:34.624532"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.627846"], ["updated_at", "2014-09-23 00:50:34.627846"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-23 00:50:34.636036"], ["updated_at", "2014-09-23 00:50:34.636036"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-23 00:50:34.641626"], ["updated_at", "2014-09-23 00:50:34.641626"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:34.646020"], ["name", "alpha"], ["title", "Dolorum consequuntur ex labore."], ["updated_at", "2014-09-23 00:50:34.646020"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:50:34.650306"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem tenetur voluptas laudantium itaque rerum sit nihil. Consequuntur neque ut fuga sunt sed aspernatur. Et expedita aspernatur adipisci occaecati consectetur. Ipsa rerum iusto eos cum. Dolor voluptatum exercitationem quo laboriosam.\", \"Rerum qui dolores voluptatem aut. Illum neque beatae. Sed exercitationem nostrum voluptas et eveniet optio. Omnis natus ut ut qui expedita aut. Exercitationem voluptatem autem.\"]"], ["created_at", "2014-09-23 00:50:34.657998"], ["name", "alpha"], ["title", "Blanditiis sint consequatur deleniti voluptas vero placeat."], ["updated_at", "2014-09-23 00:50:34.657998"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:50:34.661470"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia perspiciatis sed architecto. Omnis consectetur et aut laudantium qui recusandae itaque. Impedit officiis optio dolorem nulla et deserunt rerum. Occaecati dolorem qui est voluptates consequatur facere. Qui ad saepe.\", \"Cumque eos temporibus. Excepturi quidem blanditiis ut id consequatur optio enim. Qui aut repellat quod ea. Dolorem aut vero fugit.\"]"], ["created_at", "2014-09-23 00:50:34.664728"], ["name", "beta"], ["title", "Et magnam et voluptate."], ["updated_at", "2014-09-23 00:50:34.664728"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:50:34.668082"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.670549"], ["updated_at", "2014-09-23 00:50:34.670549"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:50:34.673486"], ["updated_at", "2014-09-23 00:50:34.673486"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:50:34.676364"], ["updated_at", "2014-09-23 00:50:34.676364"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:34.678874"], ["name", "alpha"], ["title", "Blanditiis sint consequatur deleniti voluptas vero placeat."], ["updated_at", "2014-09-23 00:50:34.678874"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:50:34.682053"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non porro sit aut dolorem. Dolores molestias dolores non omnis. Iste odit aliquam culpa. Omnis ipsum dolores ipsam.\", \"Repellendus suscipit aliquam non voluptatum placeat. Molestiae aut quia est. Quis repellendus quaerat voluptas sed error. Adipisci ut perferendis eos aut.\"]"], ["created_at", "2014-09-23 00:50:34.691424"], ["name", "alpha"], ["title", "Commodi non ipsa."], ["updated_at", "2014-09-23 00:50:34.691424"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:50:34.695459"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iusto blanditiis neque. Suscipit ad nesciunt dolores natus in quisquam. Molestiae odit nesciunt amet ea voluptatibus recusandae nihil.\", \"Dignissimos nemo exercitationem quia sit. Quia non et sint. Qui eos optio odio.\"]"], ["created_at", "2014-09-23 00:50:34.699851"], ["name", "beta"], ["title", "Maxime praesentium ut."], ["updated_at", "2014-09-23 00:50:34.699851"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:50:34.704796"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.707765"], ["updated_at", "2014-09-23 00:50:34.707765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:50:34.710902"], ["updated_at", "2014-09-23 00:50:34.710902"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:50:34.714697"], ["updated_at", "2014-09-23 00:50:34.714697"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:34.718130"], ["name", "alpha"], ["title", "Commodi non ipsa."], ["updated_at", "2014-09-23 00:50:34.718130"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:50:34.723565"], ["version", 6]]  (0.9ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (9, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem assumenda dignissimos. Nesciunt est et unde cumque asperiores aut et. Corporis sapiente perspiciatis. Eaque nihil fuga.\", \"Sequi voluptates qui sed vero assumenda. Est ab optio enim consequatur. Fuga natus incidunt quod.\"]"], ["created_at", "2014-09-23 00:50:34.730586"], ["name", "alpha"], ["title", "Et eos quibusdam magnam voluptatibus voluptas."], ["updated_at", "2014-09-23 00:50:34.730586"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:50:34.734963"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eius error quia qui nostrum. Quia omnis laborum. Soluta dolor ipsam reprehenderit laboriosam unde.\", \"Dolor eligendi dicta necessitatibus est est voluptate. Molestiae fugit est aut itaque expedita possimus libero. Nam et qui in tenetur. Ut nostrum ut qui dolorem nemo occaecati. Nisi dolorem quia recusandae minus quia.\"]"], ["created_at", "2014-09-23 00:50:34.738828"], ["name", "beta"], ["title", "Quia sint modi voluptas et maiores."], ["updated_at", "2014-09-23 00:50:34.738828"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:50:34.742166"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.744614"], ["updated_at", "2014-09-23 00:50:34.744614"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:50:34.747258"], ["updated_at", "2014-09-23 00:50:34.747258"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:50:34.749746"], ["updated_at", "2014-09-23 00:50:34.749746"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:50:34.752026"], ["name", "alpha"], ["title", "Et eos quibusdam magnam voluptatibus voluptas."], ["updated_at", "2014-09-23 00:50:34.752026"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:50:34.755257"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 00:50:34.773834"], ["updated_at", "2014-09-23 00:50:34.773834"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id ea placeat. Laboriosam enim repudiandae. Quo sequi cupiditate vel. Possimus quos omnis quia voluptates vel dicta qui.\", \"Vitae doloribus aliquam nam voluptas exercitationem et necessitatibus. Consectetur commodi perferendis ut libero voluptas sit facilis. Omnis ducimus voluptatum impedit. Et quam laborum.\"]"], ["created_at", "2014-09-23 00:50:34.790229"], ["name", "contract_1249ace7"], ["title", "Accusamus earum cum sequi dignissimos illo eos."], ["updated_at", "2014-09-23 00:50:34.790229"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1249ace7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_1249ace7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:50:34.794983"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1249ace7"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1249ace7"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:50:34.799527"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Provident alias aliquid dignissimos libero in quia. Quia temporibus harum ad tenetur aut assumenda. Laudantium dolor non id. Est et nostrum similique voluptas rerum. Nisi recusandae animi.\", \"Ullam autem dicta. Ut est perferendis minus molestiae facere. Explicabo dolorem ea cumque tempora. Nulla voluptatem qui. Recusandae ad totam beatae minus modi sed molestiae.\"]"], ["created_at", "2014-09-23 00:50:34.802755"], ["name", "contract_230f4266"], ["title", "Molestiae alias facilis."], ["updated_at", "2014-09-23 00:50:34.802755"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_230f4266"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_230f4266') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:50:34.805883"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.809484"], ["updated_at", "2014-09-23 00:50:34.809484"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-23 00:50:34.811720"], ["updated_at", "2014-09-23 00:50:34.811720"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_230f4266') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_230f4266"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est assumenda cum. Qui iusto velit autem earum. Officiis voluptas aut dicta nam rerum fugiat aspernatur.\", \"At omnis tempore veniam eaque. Qui vel ut et iusto veniam est. Quas et enim laboriosam quo. Necessitatibus qui nobis non exercitationem voluptas temporibus possimus.\"]"], ["created_at", "2014-09-23 00:50:34.819820"], ["name", "contract_e2b9039f"], ["title", "Iste et reiciendis."], ["updated_at", "2014-09-23 00:50:34.819820"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e2b9039f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_e2b9039f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:50:34.823555"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_e2b9039f' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est assumenda cum. Qui iusto velit autem earum. Officiis voluptas aut dicta nam rerum fugiat aspernatur.\", \"At omnis tempore veniam eaque. Qui vel ut et iusto veniam est. Quas et enim laboriosam quo. Necessitatibus qui nobis non exercitationem voluptas temporibus possimus.\"]"], ["created_at", "2014-09-23 00:50:34.826970"], ["name", "contract_e2b9039f"], ["title", "Iste et reiciendis."], ["updated_at", "2014-09-23 00:50:34.826970"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e2b9039f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_e2b9039f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:50:34.830048"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus quisquam natus. Non quis aliquid voluptas quo dolores porro autem. Eaque ut libero. Et tenetur aliquid eos veniam impedit.\", \"Magnam atque possimus laborum nostrum vel iure reprehenderit. Eos occaecati cumque. Eum ut accusamus aut ut commodi quia. Aut soluta itaque et nobis voluptas. Sit aliquam et.\"]"], ["created_at", "2014-09-23 00:50:34.833423"], ["name", "contract_706229f8"], ["title", "Et fugit molestiae tempore hic exercitationem aliquid sint."], ["updated_at", "2014-09-23 00:50:34.833423"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_706229f8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'contract_706229f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:50:34.836484"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_706229f8' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus quisquam natus. Non quis aliquid voluptas quo dolores porro autem. Eaque ut libero. Et tenetur aliquid eos veniam impedit.\", \"Magnam atque possimus laborum nostrum vel iure reprehenderit. Eos occaecati cumque. Eum ut accusamus aut ut commodi quia. Aut soluta itaque et nobis voluptas. Sit aliquam et.\"]"], ["created_at", "2014-09-23 00:50:34.839455"], ["name", "joe"], ["title", "Et fugit molestiae tempore hic exercitationem aliquid sint."], ["updated_at", "2014-09-23 00:50:34.839455"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:50:34.842364"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.845651"], ["updated_at", "2014-09-23 00:50:34.845651"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.847075"], ["updated_at", "2014-09-23 00:50:34.847075"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nesciunt vero qui quae dolores voluptates. Nobis nemo quo. Necessitatibus id nostrum in non sunt omnis officia. Nihil voluptatem aspernatur. In aut veritatis.\", \"Dolor quia ipsum ea sequi. Quo velit dolore voluptatum enim. Error nesciunt qui veritatis dolorum.\"]"], ["created_at", "2014-09-23 00:50:34.849231"], ["name", "contract_538bf3e5"], ["title", "Ut voluptatem et perspiciatis quo corrupti ea possimus."], ["updated_at", "2014-09-23 00:50:34.849231"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 19 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:50:34.854601"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/19 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.860059"], ["updated_at", "2014-09-23 00:50:34.860059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.861560"], ["updated_at", "2014-09-23 00:50:34.861560"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempora in veniam molestiae voluptatum aperiam odit inventore. Iusto ipsa iure. Adipisci repellat error placeat. Iure tempore laudantium quae aut vitae repellat.\", \"Sint eum consequatur et dolore et rerum. Facilis amet sed sint velit fugiat placeat tenetur. Enim aut consequatur et ut. Voluptatem possimus tenetur est aut aut dolores.\"]"], ["created_at", "2014-09-23 00:50:34.863707"], ["name", "contract_cf06a1b4"], ["title", "Illum quidem suscipit possimus."], ["updated_at", "2014-09-23 00:50:34.863707"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.869283"], ["updated_at", "2014-09-23 00:50:34.869283"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.871088"], ["updated_at", "2014-09-23 00:50:34.871088"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas doloribus ab unde et. Voluptas quasi beatae autem vel tempora. Et eum quo eum dolorum.\", \"Inventore tempore numquam odio ad. Laborum earum est. Quia sunt eos molestiae assumenda. Omnis fuga quasi.\"]"], ["created_at", "2014-09-23 00:50:34.873344"], ["name", "contract_38990c61"], ["title", "Similique qui reiciendis ab aliquid autem ut dolor."], ["updated_at", "2014-09-23 00:50:34.873344"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.877587"], ["updated_at", "2014-09-23 00:50:34.877587"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.879024"], ["updated_at", "2014-09-23 00:50:34.879024"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat dolores voluptas possimus aut consequatur inventore. Provident et voluptatibus. Id quia aperiam.\", \"Voluptas impedit harum et in aliquid. Incidunt quidem odio in velit facilis. Accusantium ipsum rem distinctio sint aut dolore.\"]"], ["created_at", "2014-09-23 00:50:34.881085"], ["name", "contract_423b5c6a"], ["title", "Et doloremque officiis autem ut."], ["updated_at", "2014-09-23 00:50:34.881085"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.886334"], ["updated_at", "2014-09-23 00:50:34.886334"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.887808"], ["updated_at", "2014-09-23 00:50:34.887808"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil aperiam quis ratione eum molestiae quo. Quis et voluptas ullam sint ut. Beatae est consequatur nulla perferendis aut. Cupiditate veritatis quam. Ea qui debitis qui ut dolorem.\", \"Est molestiae ratione sed porro occaecati voluptate sed. Voluptatibus blanditiis quisquam. Dolore quibusdam ut temporibus pariatur enim nemo ducimus.\"]"], ["created_at", "2014-09-23 00:50:34.890032"], ["name", "contract_7d125d4d"], ["title", "Ut voluptatem omnis aut sed aut."], ["updated_at", "2014-09-23 00:50:34.890032"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.894936"], ["updated_at", "2014-09-23 00:50:34.894936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.896386"], ["updated_at", "2014-09-23 00:50:34.896386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui qui et beatae corrupti aut. Consequatur facere delectus soluta. Saepe commodi quos ratione. Itaque voluptatem omnis sed rem. Cum voluptas nam sapiente quis.\", \"Explicabo eveniet dolorum recusandae. Quibusdam nam et sed voluptatem dolorem. Ratione vel voluptas ullam.\"]"], ["created_at", "2014-09-23 00:50:34.898544"], ["name", "contract_73c5f1ec"], ["title", "Quia doloremque aut adipisci quia repellendus."], ["updated_at", "2014-09-23 00:50:34.898544"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73c5f1ec"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'contract_73c5f1ec') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:50:34.901845"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_73c5f1ec' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.913953"], ["updated_at", "2014-09-23 00:50:34.913953"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.915692"], ["updated_at", "2014-09-23 00:50:34.915692"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo laboriosam tempora perferendis possimus voluptatem non in. Minus aut asperiores. Voluptatibus reiciendis illo ducimus.\", \"Quam impedit voluptatem ipsa veniam placeat. Eum enim iusto ullam voluptatem reprehenderit qui rerum. Omnis aut dolores delectus molestiae voluptatem culpa dolores. Voluptas ut est rerum sit harum aut alias.\"]"], ["created_at", "2014-09-23 00:50:34.918035"], ["name", "contract_07c79982"], ["title", "Dolores non quia eius molestiae."], ["updated_at", "2014-09-23 00:50:34.918035"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_07c79982"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'contract_07c79982') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:50:34.923061"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.927227"], ["updated_at", "2014-09-23 00:50:34.927227"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.928841"], ["updated_at", "2014-09-23 00:50:34.928841"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque cumque doloremque magnam. A fugiat et. Et suscipit sit eaque rerum mollitia aspernatur dignissimos.\", \"Eligendi omnis ut quo odit in. Quas rerum eveniet a beatae. Voluptatem omnis fugiat quas.\"]"], ["created_at", "2014-09-23 00:50:34.930907"], ["name", "contract_ed6508ae"], ["title", "Laudantium adipisci delectus illum quaerat."], ["updated_at", "2014-09-23 00:50:34.930907"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.936017"], ["updated_at", "2014-09-23 00:50:34.936017"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.937499"], ["updated_at", "2014-09-23 00:50:34.937499"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sequi quae quo aliquid. Cumque officiis voluptas consequatur et ut ad rem. Aut quidem ratione.\", \"Hic aut facilis laudantium. Error aut quae magni molestiae blanditiis. Cum vitae sequi.\"]"], ["created_at", "2014-09-23 00:50:34.939520"], ["name", "contract_3b65af8b"], ["title", "Cum natus sequi ut recusandae dolores."], ["updated_at", "2014-09-23 00:50:34.939520"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:50:34.942365"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:50:34.942365"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.945562"], ["updated_at", "2014-09-23 00:50:34.945562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.947059"], ["updated_at", "2014-09-23 00:50:34.947059"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat cumque illo quo hic harum. Maxime assumenda mollitia voluptas. Est delectus necessitatibus aut sint.\", \"Et quae quasi dignissimos velit ipsa ut deserunt. Qui quis odio. Eligendi aliquid a maiores molestias voluptatum. Qui alias ipsam harum fugiat consequatur in magnam. Voluptatem rerum asperiores in nihil provident.\"]"], ["created_at", "2014-09-23 00:50:34.949548"], ["name", "contract_9f1d1e5b"], ["title", "Vitae tenetur qui."], ["updated_at", "2014-09-23 00:50:34.949548"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.955011"], ["updated_at", "2014-09-23 00:50:34.955011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.956683"], ["updated_at", "2014-09-23 00:50:34.956683"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odio quo deserunt consequatur et. Maiores dolorem est totam commodi dicta mollitia aspernatur. Et exercitationem nobis eligendi. Reprehenderit occaecati aut deleniti voluptatem adipisci molestias fugiat. Quisquam impedit ipsam molestiae et.\", \"Dicta maiores debitis saepe veritatis officia ea. Beatae doloremque quo hic in vitae et. Ut cupiditate similique ratione voluptatem et. Tempora soluta laudantium.\"]"], ["created_at", "2014-09-23 00:50:34.958969"], ["name", "contract_ddcc97a9"], ["title", "Voluptas sint aut."], ["updated_at", "2014-09-23 00:50:34.958969"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.966605"], ["updated_at", "2014-09-23 00:50:34.966605"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.968112"], ["updated_at", "2014-09-23 00:50:34.968112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Temporibus harum repellat quis quia optio ratione dolorum. Sed quisquam quos quia consequuntur nulla. Reprehenderit voluptatem et ea doloremque est recusandae.\", \"Aut dolore hic aut maxime. Deserunt suscipit maxime eum recusandae id. Reprehenderit est deleniti ipsum necessitatibus. Beatae voluptatum labore ut omnis debitis enim. Id similique temporibus nesciunt non.\"]"], ["created_at", "2014-09-23 00:50:34.970266"], ["name", "contract_56b6d40d"], ["title", "Non voluptatibus quis quas adipisci quod nobis."], ["updated_at", "2014-09-23 00:50:34.970266"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56b6d40d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_56b6d40d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 00:50:34.973369"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.978260"], ["updated_at", "2014-09-23 00:50:34.978260"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.979974"], ["updated_at", "2014-09-23 00:50:34.979974"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laboriosam beatae voluptatem aut accusantium est consequatur rerum. Fugiat nostrum qui eligendi. Sequi voluptatum odio aperiam facilis et dignissimos est. Omnis aperiam voluptatem facilis eos voluptatum. Et tempora et quo expedita.\", \"Suscipit et optio aut. Eos accusamus aut odio laborum sit. Beatae sit architecto dignissimos dolore deleniti. Debitis voluptatibus iure in perferendis velit enim id. Quos quis dolores sit.\"]"], ["created_at", "2014-09-23 00:50:34.982650"], ["name", "contract_727ec904"], ["title", "Impedit vero autem aut eum facere voluptatem."], ["updated_at", "2014-09-23 00:50:34.982650"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_727ec904"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'contract_727ec904') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:50:34.985750"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_727ec904"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 00:50:34.990819"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.995021"], ["updated_at", "2014-09-23 00:50:34.995021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:34.996505"], ["updated_at", "2014-09-23 00:50:34.996505"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi aut sunt. Doloremque eaque sequi eligendi excepturi omnis in quia. Dolorem autem sint at officia.\", \"Vitae officia necessitatibus quidem deleniti cum ipsam. Nihil quibusdam aliquid aperiam inventore incidunt. Velit consequatur sapiente iste tenetur id ad alias. Eum voluptas saepe repellat aut.\"]"], ["created_at", "2014-09-23 00:50:34.998566"], ["name", "contract_540cbb82"], ["title", "Ea earum vitae."], ["updated_at", "2014-09-23 00:50:34.998566"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.003056"], ["updated_at", "2014-09-23 00:50:35.003056"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.004713"], ["updated_at", "2014-09-23 00:50:35.004713"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut asperiores recusandae quia expedita est corporis. Enim est ab neque consequatur rem illum. Libero vel eum. Quo quo ex.\", \"Ab quibusdam aliquam. Quia aspernatur accusantium nihil architecto corrupti quia. Quo quidem sint maxime dolores ut voluptatem. Harum et qui ducimus inventore aut ex.\"]"], ["created_at", "2014-09-23 00:50:35.006915"], ["name", "contract_b1862cd1"], ["title", "Asperiores corrupti voluptas quam."], ["updated_at", "2014-09-23 00:50:35.006915"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.010999"], ["updated_at", "2014-09-23 00:50:35.010999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.012421"], ["updated_at", "2014-09-23 00:50:35.012421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequuntur aut quos et a consequatur ex. Ipsam voluptas quia aliquid qui. Ipsa laudantium omnis totam. Consectetur eos omnis autem dolorem. Est earum autem.\", \"Veniam quam numquam. Voluptatem incidunt odio modi debitis. Consequatur magnam est nam repellat quibusdam.\"]"], ["created_at", "2014-09-23 00:50:35.014505"], ["name", "contract_2f454d0f"], ["title", "Repudiandae est qui minima similique perspiciatis iste."], ["updated_at", "2014-09-23 00:50:35.014505"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 19, 11, 8, 5, 2, 25, 13, 14, 35, 21, 27, 22, 33, 31, 17, 32, 24, 23, 29, 34, 20, 16, 15, 26, 18, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.022242"], ["updated_at", "2014-09-23 00:50:35.022242"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.023838"], ["updated_at", "2014-09-23 00:50:35.023838"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ex doloribus quia unde. Dolorem in voluptas soluta odio rerum ea ipsum. Enim iste a debitis veritatis voluptate sed. Consequuntur nostrum consectetur tempore in nulla labore.\", \"Voluptas non laborum eos. Quo omnis qui accusamus. Qui consequatur aut aut sunt ullam eos officia.\"]"], ["created_at", "2014-09-23 00:50:35.025970"], ["name", "contract_77f20728"], ["title", "Itaque aliquid quaerat deleniti voluptatem omnis."], ["updated_at", "2014-09-23 00:50:35.025970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_77f20728"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_77f20728') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 00:50:35.029348"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.035449"], ["updated_at", "2014-09-23 00:50:35.035449"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.037547"], ["updated_at", "2014-09-23 00:50:35.037547"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rem molestias laudantium. Nobis voluptates at rem illum. Ducimus aut ratione quam sequi eum libero. Earum esse voluptatum. Pariatur qui placeat cumque.\", \"Dolorem dicta voluptatibus repudiandae. Perferendis fuga ducimus voluptatem harum iure sapiente. Voluptatem voluptate iusto earum.\"]"], ["created_at", "2014-09-23 00:50:35.039803"], ["name", "contract_a422322e"], ["title", "Est laboriosam hic et."], ["updated_at", "2014-09-23 00:50:35.039803"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.046309"], ["updated_at", "2014-09-23 00:50:35.046309"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.047873"], ["updated_at", "2014-09-23 00:50:35.047873"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum ex facere assumenda. Quod reprehenderit facilis consequatur adipisci dolore deleniti sit. In quos repellat.\", \"Architecto odit animi ullam maxime quisquam est. Non sed inventore aliquid. Rerum ipsa recusandae magnam eos commodi necessitatibus illo. Dolores qui id. Similique ratione quam sed quae.\"]"], ["created_at", "2014-09-23 00:50:35.050363"], ["name", "contract_23ad7cf4"], ["title", "Inventore reiciendis et sequi itaque."], ["updated_at", "2014-09-23 00:50:35.050363"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_23ad7cf4"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_23ad7cf4') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:50:35.053519"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.055985"], ["updated_at", "2014-09-23 00:50:35.055985"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-23 00:50:35.058139"], ["updated_at", "2014-09-23 00:50:35.058139"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"38"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 192ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.254765"], ["updated_at", "2014-09-23 00:50:35.254765"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.257565"], ["updated_at", "2014-09-23 00:50:35.257565"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas architecto dolorem eos facere qui soluta corrupti. Soluta voluptatem consequatur odio esse debitis et blanditiis. Enim esse beatae.\", \"Quas hic possimus. Dicta ipsa aut et voluptatem vel. Iste fugit qui ab. Vel quidem aliquam temporibus fuga aspernatur. Esse repellendus in voluptas.\"]"], ["created_at", "2014-09-23 00:50:35.260592"], ["name", "contract_cc68d5ca"], ["title", "Repellendus nobis ullam omnis est et."], ["updated_at", "2014-09-23 00:50:35.260592"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc68d5ca"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_cc68d5ca') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 00:50:35.263844"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.266373"], ["updated_at", "2014-09-23 00:50:35.266373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 00:50:35.268536"], ["updated_at", "2014-09-23 00:50:35.268536"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.274835"], ["updated_at", "2014-09-23 00:50:35.274835"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.276607"], ["updated_at", "2014-09-23 00:50:35.276607"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Harum magni ipsa alias ipsam quod rerum. Quia quas provident mollitia. Natus et quia aut illum rerum autem. Quis ipsa vitae iusto.\", \"Consequatur maxime accusantium nemo ea. Laboriosam ea ipsum pariatur quo suscipit enim modi. Odit aut cum a aliquam perspiciatis.\"]"], ["created_at", "2014-09-23 00:50:35.279462"], ["name", "contract_f5c7b74d"], ["title", "Quas sed ipsa porro laudantium nisi molestiae."], ["updated_at", "2014-09-23 00:50:35.279462"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f5c7b74d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_f5c7b74d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 00:50:35.283118"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.285510"], ["updated_at", "2014-09-23 00:50:35.285510"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 00:50:35.287653"], ["updated_at", "2014-09-23 00:50:35.287653"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.292902"], ["updated_at", "2014-09-23 00:50:35.292902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.294462"], ["updated_at", "2014-09-23 00:50:35.294462"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quos aliquid dolor quod totam placeat tenetur ducimus. Et ut temporibus hic ipsam commodi ut est. Consectetur quibusdam sint animi molestiae voluptatem provident possimus. Cum magnam ullam.\", \"Ut ea voluptatibus. Illo animi dolore. Dolor recusandae itaque quisquam nam. Nihil rerum numquam sapiente ducimus enim reprehenderit.\"]"], ["created_at", "2014-09-23 00:50:35.296885"], ["name", "contract_5bd5dfaa"], ["title", "Distinctio maiores fuga totam."], ["updated_at", "2014-09-23 00:50:35.296885"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5bd5dfaa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_5bd5dfaa') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 00:50:35.300098"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.302783"], ["updated_at", "2014-09-23 00:50:35.302783"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-23 00:50:35.305388"], ["updated_at", "2014-09-23 00:50:35.305388"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"41"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"41"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.309774"], ["updated_at", "2014-09-23 00:50:35.309774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.311294"], ["updated_at", "2014-09-23 00:50:35.311294"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quis dolorem inventore beatae. Voluptate nostrum soluta sit facere. Similique neque voluptas omnis at rem facilis. Maxime quod qui.\", \"Cum ducimus quia. Fuga odit et qui eligendi. Ut autem culpa quo temporibus ut atque vero. Quo ut qui laudantium nobis et suscipit.\"]"], ["created_at", "2014-09-23 00:50:35.313841"], ["name", "contract_d12abc4b"], ["title", "Blanditiis cum non asperiores quasi et ducimus."], ["updated_at", "2014-09-23 00:50:35.313841"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d12abc4b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_d12abc4b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 00:50:35.316993"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.319500"], ["updated_at", "2014-09-23 00:50:35.319500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-23 00:50:35.321615"], ["updated_at", "2014-09-23 00:50:35.321615"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.325025"], ["updated_at", "2014-09-23 00:50:35.325025"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.326606"], ["updated_at", "2014-09-23 00:50:35.326606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Numquam ducimus sunt impedit ea. Voluptatibus beatae sit maiores rerum. Esse eligendi voluptatibus. Qui ut aperiam consequatur. A laborum quos soluta dolores reprehenderit aut voluptates.\", \"Quaerat totam porro. Odit vitae numquam id aut incidunt molestias tenetur. Vel neque aut officia modi.\"]"], ["created_at", "2014-09-23 00:50:35.329283"], ["name", "contract_5a1ea1a6"], ["title", "Rem asperiores placeat et voluptatibus."], ["updated_at", "2014-09-23 00:50:35.329283"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5a1ea1a6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_5a1ea1a6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 00:50:35.332503"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.342842"], ["updated_at", "2014-09-23 00:50:35.342842"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-23 00:50:35.345235"], ["updated_at", "2014-09-23 00:50:35.345235"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.354076"], ["updated_at", "2014-09-23 00:50:35.354076"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.355797"], ["updated_at", "2014-09-23 00:50:35.355797"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut atque rerum labore. Earum in adipisci veniam ut. Iusto qui esse non et numquam. Non error ut libero quisquam numquam eum. Est possimus reiciendis.\", \"Et hic sed enim. Mollitia tempore ut labore repudiandae maiores velit. Possimus quia qui nobis et dolor. Consequatur ea consequatur pariatur voluptatibus illum porro eius. Alias vel non praesentium modi et placeat.\"]"], ["created_at", "2014-09-23 00:50:35.359159"], ["name", "contract_1a87e9fb"], ["title", "Temporibus voluptate modi omnis facere labore."], ["updated_at", "2014-09-23 00:50:35.359159"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1a87e9fb"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_1a87e9fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 00:50:35.363389"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.366256"], ["updated_at", "2014-09-23 00:50:35.366256"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-23 00:50:35.368860"], ["updated_at", "2014-09-23 00:50:35.368860"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.375192"], ["updated_at", "2014-09-23 00:50:35.375192"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.377064"], ["updated_at", "2014-09-23 00:50:35.377064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestiae et incidunt tempore aut voluptatum voluptatibus praesentium. Quia qui nobis fugit ut. Ab animi beatae.\", \"Voluptatem aut quas reprehenderit maxime quia consequatur. Eaque sunt deserunt qui quo ipsam. Minima neque et maiores enim. Voluptas dignissimos voluptatem et aut.\"]"], ["created_at", "2014-09-23 00:50:35.380564"], ["name", "contract_72509d67"], ["title", "Aspernatur cumque et omnis qui."], ["updated_at", "2014-09-23 00:50:35.380564"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_72509d67"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_72509d67') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:50:35.385362"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.388087"], ["updated_at", "2014-09-23 00:50:35.388087"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 00:50:35.391308"], ["updated_at", "2014-09-23 00:50:35.391308"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 18]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Redirected to http://test.host/fine_print/contracts/45/signatures?r=QklMTytqQ0JZS1UwNkduWUlQVjNTUT09LS1lYzc5c3FmRWxnTFVTaVVDRFZxaHpBPT0%3D--7b665ed6a3e6604b5149a793d2b26e2cf941f7a2 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 18 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.401480"], ["updated_at", "2014-09-23 00:50:35.401480"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.403011"], ["updated_at", "2014-09-23 00:50:35.403011"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.409133"], ["updated_at", "2014-09-23 00:50:35.409133"]]  (0.6ms) commit transaction  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.411090"], ["updated_at", "2014-09-23 00:50:35.411090"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In perspiciatis id numquam dolor culpa sed. Nobis eum voluptas voluptates quis vero delectus. Reprehenderit atque in. Animi et placeat. Quasi qui voluptatem reprehenderit modi ad voluptatum.\", \"Consequatur voluptatem expedita vitae. Accusantium ut iusto quia dolore ducimus deleniti quo. Recusandae iusto similique qui facilis quis tempore doloremque.\"]"], ["created_at", "2014-09-23 00:50:35.417604"], ["name", "contract_466c05f1"], ["title", "Qui voluptatum voluptatem sit quaerat totam corrupti a."], ["updated_at", "2014-09-23 00:50:35.417604"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut nemo explicabo eaque magni sit accusantium nesciunt. Eius nemo qui magni enim. Voluptatum neque consequatur maiores. Iste perspiciatis temporibus et. Facere nostrum qui quod deserunt quia saepe sint.\", \"Nobis excepturi tempora qui odio. Cum omnis nemo voluptas odit ducimus quia a. Unde quas est voluptate accusantium. Ullam expedita nemo.\"]"], ["created_at", "2014-09-23 00:50:35.423757"], ["name", "contract_70509cba"], ["title", "Harum aliquid delectus ipsam ea est beatae."], ["updated_at", "2014-09-23 00:50:35.423757"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_70509cba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'contract_70509cba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 00:50:35.427779"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:50:35.430535"], ["updated_at", "2014-09-23 00:50:35.430535"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (5.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (5.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa rerum est voluptatum aut. Est ratione tempore beatae. Ut odit quasi nostrum et.\", \"Molestias deleniti qui aut placeat et officiis quibusdam. Incidunt blanditiis laudantium ex. Omnis sunt sit possimus est. Possimus soluta est earum.\"]"], ["created_at", "2014-09-23 00:52:05.494364"], ["name", "contract_8adea81e"], ["title", "Vel optio praesentium et voluptatum similique quia."], ["updated_at", "2014-09-23 00:52:05.494364"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptate eos est a ut. Consequatur atque facere eaque architecto qui sit saepe. Reiciendis ex ipsa nesciunt similique fuga accusamus est. Tempore in sequi nobis nostrum rerum libero. Nesciunt rerum exercitationem corporis ipsam qui aut asperiores.\", \"Nemo qui et. Porro nulla laborum est placeat. Voluptatem ad hic enim culpa alias aut nulla. Iste molestias eveniet vero consequatur ut ea.\"]"], ["created_at", "2014-09-23 00:52:05.513696"], ["name", "contract_bc02d0ab"], ["title", "Ab distinctio animi dignissimos quibusdam quisquam occaecati."], ["updated_at", "2014-09-23 00:52:05.513696"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bc02d0ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_bc02d0ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 00:52:05.518948"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.525777"], ["updated_at", "2014-09-23 00:52:05.525777"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.534582"], ["updated_at", "2014-09-23 00:52:05.534582"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.536251"], ["updated_at", "2014-09-23 00:52:05.536251"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi sint et sunt alias voluptates ipsa. Alias et pariatur sed voluptas ut. Beatae iure deleniti. Doloribus odit recusandae officiis commodi voluptas aut optio.\", \"Et non voluptatibus aut eos voluptatum consequatur. Harum qui quibusdam architecto. Sed officia omnis.\"]"], ["created_at", "2014-09-23 00:52:05.539230"], ["name", "contract_51f060fd"], ["title", "Voluptatem tempore quidem voluptas vel."], ["updated_at", "2014-09-23 00:52:05.539230"]]  (12.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_51f060fd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_51f060fd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 00:52:05.556165"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.558940"], ["updated_at", "2014-09-23 00:52:05.558940"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 00:52:05.561461"], ["updated_at", "2014-09-23 00:52:05.561461"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (3.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Redirected to http://test.host/fine_print/contracts/3/signatures?r=dWFQRThlRWdYMjZiKzR1bWJtMHErUT09LS01UU9vWTc1c0NZQ3BZdEI3c2s5MEV3PT0%3D--a87d004659bd0bdc38b09a0f040399c5e4915fdc Completed 302 Found in 206ms (ActiveRecord: 4.6ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.779236"], ["updated_at", "2014-09-23 00:52:05.779236"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.786173"], ["updated_at", "2014-09-23 00:52:05.786173"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint rerum cupiditate deleniti nihil. In sapiente perferendis id eos. Omnis est exercitationem cum. Temporibus ipsam ipsa sed voluptatem autem. Harum et asperiores nesciunt minus et molestias ad.\", \"Est quaerat culpa eum quisquam similique officia. Amet ut omnis. Impedit reiciendis ea. Blanditiis qui ea enim nam aliquam quo.\"]"], ["created_at", "2014-09-23 00:52:05.794464"], ["name", "contract_04a4485b"], ["title", "Sequi nulla at eum modi."], ["updated_at", "2014-09-23 00:52:05.794464"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_04a4485b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_04a4485b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 00:52:05.798431"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.801746"], ["updated_at", "2014-09-23 00:52:05.801746"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 00:52:05.809134"], ["updated_at", "2014-09-23 00:52:05.809134"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.819659"], ["updated_at", "2014-09-23 00:52:05.819659"]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.823734"], ["updated_at", "2014-09-23 00:52:05.823734"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut repellat nemo voluptatem et possimus autem quis. Assumenda itaque cum veniam hic. Molestiae atque quas sint nihil.\", \"Sit ut et qui consequatur animi ratione. Molestiae magnam non earum omnis nihil qui illo. Itaque corporis cupiditate. Tenetur est velit quasi explicabo distinctio.\"]"], ["created_at", "2014-09-23 00:52:05.827581"], ["name", "contract_a6e9fa44"], ["title", "Porro dolores nam a itaque."], ["updated_at", "2014-09-23 00:52:05.827581"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a6e9fa44"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_a6e9fa44') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 00:52:05.832221"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.835314"], ["updated_at", "2014-09-23 00:52:05.835314"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 10) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 00:52:05.837820"], ["updated_at", "2014-09-23 00:52:05.837820"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"5"} Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.843952"], ["updated_at", "2014-09-23 00:52:05.843952"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.845467"], ["updated_at", "2014-09-23 00:52:05.845467"]]  (3.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut nisi id esse numquam optio quam non. Debitis cumque natus rerum et placeat aperiam. Rerum dignissimos voluptatem aperiam fugiat nulla. Deleniti consequuntur qui. Et quos autem quo optio enim eum.\", \"Non modi non nihil voluptatem architecto ut. Dolores inventore non labore doloremque. Asperiores ratione consequuntur suscipit architecto.\"]"], ["created_at", "2014-09-23 00:52:05.851080"], ["name", "contract_0bc6b620"], ["title", "Dolor dolorum autem beatae illum ut ratione qui."], ["updated_at", "2014-09-23 00:52:05.851080"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0bc6b620"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_0bc6b620') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 00:52:05.855094"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.857846"], ["updated_at", "2014-09-23 00:52:05.857846"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 13) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-23 00:52:05.860786"], ["updated_at", "2014-09-23 00:52:05.860786"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.867415"], ["updated_at", "2014-09-23 00:52:05.867415"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.869103"], ["updated_at", "2014-09-23 00:52:05.869103"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt voluptate nemo sunt. Laborum illum ut. Dolorum unde maiores harum sed nesciunt.\", \"Ea totam incidunt et placeat molestiae nemo aut. Nobis autem dicta voluptas consequatur. Enim ducimus nobis modi iusto. Et velit consequatur veniam est.\"]"], ["created_at", "2014-09-23 00:52:05.871587"], ["name", "contract_b0616519"], ["title", "Aut quia quidem."], ["updated_at", "2014-09-23 00:52:05.871587"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b0616519"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_b0616519') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 00:52:05.874706"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.877442"], ["updated_at", "2014-09-23 00:52:05.877442"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 16) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 00:52:05.879600"], ["updated_at", "2014-09-23 00:52:05.879600"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.883123"], ["updated_at", "2014-09-23 00:52:05.883123"]]  (7.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.891619"], ["updated_at", "2014-09-23 00:52:05.891619"]]  (23.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut cum laboriosam at error. Fuga odio consequatur est voluptatibus. Enim nostrum hic placeat.\", \"Enim est saepe aut id sit id. Eveniet repudiandae sint nesciunt. Omnis suscipit natus omnis ad. Dolor ea nemo.\"]"], ["created_at", "2014-09-23 00:52:05.917323"], ["name", "contract_0ad48849"], ["title", "Atque voluptatem id et quis dicta quasi pariatur."], ["updated_at", "2014-09-23 00:52:05.917323"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_0ad48849"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_0ad48849') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 00:52:05.921170"], ["version", 1]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.925102"], ["updated_at", "2014-09-23 00:52:05.925102"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 19) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 00:52:05.927462"], ["updated_at", "2014-09-23 00:52:05.927462"], ["user_id", 19], ["user_type", "DummyUser"]]  (1.1ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.934826"], ["updated_at", "2014-09-23 00:52:05.934826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.936378"], ["updated_at", "2014-09-23 00:52:05.936378"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Suscipit quibusdam similique repellat dicta excepturi. Atque laborum minima dolorem et aspernatur. Architecto est impedit libero quam.\", \"Enim enim dolores a laudantium quidem. Mollitia quas aut aliquid corporis numquam. Labore odit aspernatur est molestiae rerum ratione.\"]"], ["created_at", "2014-09-23 00:52:05.938863"], ["name", "contract_e1658f0a"], ["title", "Omnis reiciendis debitis autem deserunt sunt."], ["updated_at", "2014-09-23 00:52:05.938863"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e1658f0a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_e1658f0a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 00:52:05.942031"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.944569"], ["updated_at", "2014-09-23 00:52:05.944569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 00:52:05.946677"], ["updated_at", "2014-09-23 00:52:05.946677"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"9"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.950136"], ["updated_at", "2014-09-23 00:52:05.950136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.951593"], ["updated_at", "2014-09-23 00:52:05.951593"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut fuga praesentium maxime. Ullam dolores architecto deserunt sit perspiciatis. Provident assumenda incidunt quo dolores quia. Doloremque mollitia labore velit repellendus.\", \"Laudantium laborum dolore similique architecto officia perspiciatis. Quia odit quae incidunt et sequi voluptatem. Est dolorem atque ipsa vitae facilis reprehenderit velit. Placeat rerum adipisci architecto. Unde perspiciatis autem quae quasi eum.\"]"], ["created_at", "2014-09-23 00:52:05.954083"], ["name", "contract_4f2e4928"], ["title", "Et vitae tenetur rerum facilis porro."], ["updated_at", "2014-09-23 00:52:05.954083"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4f2e4928"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_4f2e4928') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 00:52:05.957112"], ["version", 1]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.960369"], ["updated_at", "2014-09-23 00:52:05.960369"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 00:52:05.962375"], ["updated_at", "2014-09-23 00:52:05.962375"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"10"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.966693"], ["updated_at", "2014-09-23 00:52:05.966693"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.968278"], ["updated_at", "2014-09-23 00:52:05.968278"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.972699"], ["updated_at", "2014-09-23 00:52:05.972699"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.974191"], ["updated_at", "2014-09-23 00:52:05.974191"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Atque culpa repellat blanditiis perferendis asperiores aliquid. Distinctio quo modi voluptas ea. Ipsa similique molestias delectus. Et veritatis quod.\", \"Qui dolore omnis quos doloribus. Voluptatibus esse ut pariatur. Quia id dolorum fuga error praesentium. Hic rerum pariatur.\"]"], ["created_at", "2014-09-23 00:52:05.979316"], ["name", "contract_9116461d"], ["title", "Et dolorum laboriosam debitis."], ["updated_at", "2014-09-23 00:52:05.979316"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9116461d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_9116461d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 00:52:05.982957"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:05.986865"], ["updated_at", "2014-09-23 00:52:05.986865"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 00:52:05.989121"], ["updated_at", "2014-09-23 00:52:05.989121"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_9116461d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9116461d"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum non rerum aut voluptatem corporis. Esse est vero temporibus qui pariatur quisquam. Quae vero id voluptatem inventore ea ut. Placeat et ducimus iure. Iste aliquam autem doloremque magnam.\", \"Consequatur aut quibusdam voluptatem amet. Voluptatem placeat est blanditiis harum repudiandae quo et. Voluptatem eos blanditiis nihil. Repudiandae quos officia quis est. Eos necessitatibus consequatur molestias aut.\"]"], ["created_at", "2014-09-23 00:52:05.997502"], ["name", "contract_57628103"], ["title", "Voluptas deleniti nihil."], ["updated_at", "2014-09-23 00:52:05.997502"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_57628103"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_57628103') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 00:52:06.000538"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_57628103' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum non rerum aut voluptatem corporis. Esse est vero temporibus qui pariatur quisquam. Quae vero id voluptatem inventore ea ut. Placeat et ducimus iure. Iste aliquam autem doloremque magnam.\", \"Consequatur aut quibusdam voluptatem amet. Voluptatem placeat est blanditiis harum repudiandae quo et. Voluptatem eos blanditiis nihil. Repudiandae quos officia quis est. Eos necessitatibus consequatur molestias aut.\"]"], ["created_at", "2014-09-23 00:52:06.003523"], ["name", "contract_57628103"], ["title", "Voluptas deleniti nihil."], ["updated_at", "2014-09-23 00:52:06.003523"]]  (26.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_57628103"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_57628103') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 00:52:06.032822"], ["version", 2]]  (2.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit ut aut voluptatem adipisci iusto veritatis impedit. Quis quo cupiditate odio sed aut et. Doloribus quaerat ut animi eveniet velit.\", \"Ipsam sequi cumque et. Sit laboriosam veritatis vitae. Placeat maxime temporibus ut. Occaecati dolore itaque. Nam quod expedita.\"]"], ["created_at", "2014-09-23 00:52:06.038465"], ["name", "contract_60d9f61a"], ["title", "Error beatae harum adipisci aperiam ad."], ["updated_at", "2014-09-23 00:52:06.038465"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_60d9f61a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_60d9f61a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 00:52:06.041621"], ["version", 1]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_60d9f61a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit ut aut voluptatem adipisci iusto veritatis impedit. Quis quo cupiditate odio sed aut et. Doloribus quaerat ut animi eveniet velit.\", \"Ipsam sequi cumque et. Sit laboriosam veritatis vitae. Placeat maxime temporibus ut. Occaecati dolore itaque. Nam quod expedita.\"]"], ["created_at", "2014-09-23 00:52:06.045216"], ["name", "joe"], ["title", "Error beatae harum adipisci aperiam ad."], ["updated_at", "2014-09-23 00:52:06.045216"]]  (1.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 00:52:06.050595"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In facere eos unde distinctio. Quia est dolorem et ullam deserunt aliquid perferendis. Doloremque asperiores ipsum nihil. Accusamus natus aut magni cumque.\", \"Explicabo vel nobis quidem. Nihil porro tenetur soluta perferendis. Qui corrupti aspernatur sed deserunt est porro veniam. Qui earum ducimus ipsa in. Consequatur itaque qui iste eveniet sequi et.\"]"], ["created_at", "2014-09-23 00:52:06.055552"], ["name", "contract_9bb7db04"], ["title", "Dicta sapiente vero deserunt ut."], ["updated_at", "2014-09-23 00:52:06.055552"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9bb7db04"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_9bb7db04') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:52:06.062161"], ["version", 1]]  (6.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9bb7db04"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9bb7db04"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 00:52:06.073397"], ["version", nil]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis totam tempora temporibus deserunt modi impedit. Dolor alias blanditiis qui. Ut est et minus dolorem fugit tempore assumenda. Beatae autem eum et doloremque. Eum dolore quidem nisi.\", \"Facere earum expedita tempore velit accusantium ullam. Ullam quod dolorem mollitia est quos minima. Minus laborum consectetur consequatur adipisci ex similique. Natus possimus reiciendis rerum ex quo.\"]"], ["created_at", "2014-09-23 00:52:06.077938"], ["name", "alpha"], ["title", "Dolorum eos blanditiis dolorem illum."], ["updated_at", "2014-09-23 00:52:06.077938"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 00:52:06.083962"], ["version", 1]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores in quidem. Officia corporis laudantium natus nam blanditiis minus. Dolor est dolorum nostrum illo.\", \"Repudiandae illo rerum quas voluptates ea sint. Saepe id ullam consequuntur voluptatem veritatis cupiditate et. Commodi esse quas atque et illo dolorem totam. Ab earum fugiat.\"]"], ["created_at", "2014-09-23 00:52:06.092308"], ["name", "beta"], ["title", "Qui suscipit et itaque totam."], ["updated_at", "2014-09-23 00:52:06.092308"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 00:52:06.095612"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.097952"], ["updated_at", "2014-09-23 00:52:06.097952"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-23 00:52:06.100633"], ["updated_at", "2014-09-23 00:52:06.100633"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-23 00:52:06.103224"], ["updated_at", "2014-09-23 00:52:06.103224"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.9ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:52:06.105677"], ["name", "alpha"], ["title", "Dolorum eos blanditiis dolorem illum."], ["updated_at", "2014-09-23 00:52:06.105677"]]  (2.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 00:52:06.110866"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (19, 18, 4, 8, 6, 10, 3, 13, 14, 11, 5, 7, 2, 9, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.4ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum et perspiciatis illo inventore id. Et autem cum. Et sed quo. Eos ea cupiditate id eos est. Necessitatibus autem voluptate earum.\", \"Molestiae velit nulla libero ipsa quia doloremque. Autem distinctio id beatae. Qui voluptas earum assumenda nobis. Ut aut cum quo nostrum vero repellat voluptatem. Et libero quas nisi fuga fugit neque.\"]"], ["created_at", "2014-09-23 00:52:06.120414"], ["name", "alpha"], ["title", "Non qui dolorem quidem et autem."], ["updated_at", "2014-09-23 00:52:06.120414"]]  (3.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 00:52:06.126709"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perspiciatis deserunt ullam assumenda dolor rerum iusto maiores. Commodi et architecto praesentium. Consequuntur corporis quo. Sed dolorem laboriosam nemo perspiciatis a.\", \"Ullam doloremque quibusdam sint rerum eligendi vel. Autem est sed adipisci rem aspernatur. Autem repellendus sed sint adipisci incidunt similique. Libero dolor eos atque non deserunt rerum.\"]"], ["created_at", "2014-09-23 00:52:06.129853"], ["name", "beta"], ["title", "Odio occaecati et qui debitis accusantium quam."], ["updated_at", "2014-09-23 00:52:06.129853"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 00:52:06.135975"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.138322"], ["updated_at", "2014-09-23 00:52:06.138322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 00:52:06.140978"], ["updated_at", "2014-09-23 00:52:06.140978"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 00:52:06.143518"], ["updated_at", "2014-09-23 00:52:06.143518"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:52:06.145730"], ["name", "alpha"], ["title", "Non qui dolorem quidem et autem."], ["updated_at", "2014-09-23 00:52:06.145730"]]  (21.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 00:52:06.170393"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (22, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Architecto voluptatem consequatur. Dolorem et ipsa. Minima aut ea ex fugiat voluptas saepe est. Accusamus libero quas in nulla asperiores.\", \"Quia ut iusto cum hic et laudantium error. Iure perspiciatis laborum ut quisquam nesciunt omnis quae. Autem quis laborum excepturi omnis qui. Veritatis molestiae quia cumque deserunt.\"]"], ["created_at", "2014-09-23 00:52:06.175080"], ["name", "alpha"], ["title", "Laboriosam qui omnis architecto exercitationem nihil tempore."], ["updated_at", "2014-09-23 00:52:06.175080"]]  (8.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 00:52:06.185577"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non sit vel tempore eligendi. Provident dolor in. Culpa officiis pariatur facilis. Doloribus dolor dolor.\", \"Laborum minus commodi aut. Est molestiae quos eum occaecati eius officia. Fugit nihil tenetur amet. Ullam ab temporibus unde culpa est enim. Ipsam quis dignissimos nulla et explicabo.\"]"], ["created_at", "2014-09-23 00:52:06.188639"], ["name", "beta"], ["title", "Quis incidunt rem enim tempora quam nulla non."], ["updated_at", "2014-09-23 00:52:06.188639"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 00:52:06.191784"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.194069"], ["updated_at", "2014-09-23 00:52:06.194069"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 00:52:06.196640"], ["updated_at", "2014-09-23 00:52:06.196640"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 00:52:06.199138"], ["updated_at", "2014-09-23 00:52:06.199138"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:52:06.201412"], ["name", "alpha"], ["title", "Laboriosam qui omnis architecto exercitationem nihil tempore."], ["updated_at", "2014-09-23 00:52:06.201412"]]  (15.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 00:52:06.219819"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-23 00:52:06.237295"], ["updated_at", "2014-09-23 00:52:06.237295"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sed rerum soluta illo dolor illum. Incidunt earum perspiciatis. Praesentium voluptas earum. Occaecati voluptatum voluptas facere inventore quis cumque.\", \"Deserunt commodi modi. Est aperiam modi. Consequatur laborum eaque qui necessitatibus rerum iusto.\"]"], ["created_at", "2014-09-23 00:52:06.249927"], ["name", "alpha"], ["title", "Ea ut sit rerum quia sed eius."], ["updated_at", "2014-09-23 00:52:06.249927"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 00:52:06.253215"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dolorum eos sunt error. Facilis sint amet maiores exercitationem commodi sit quia. Est maiores molestias perferendis ut ut ad quasi. In nam et voluptas.\", \"Dolore qui eius. Libero dolor veritatis et. Est quis et. Nemo id vitae voluptas amet.\"]"], ["created_at", "2014-09-23 00:52:06.256190"], ["name", "beta"], ["title", "Sapiente iusto ut excepturi adipisci."], ["updated_at", "2014-09-23 00:52:06.256190"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 00:52:06.259244"], ["version", 4]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.261490"], ["updated_at", "2014-09-23 00:52:06.261490"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 00:52:06.264440"], ["updated_at", "2014-09-23 00:52:06.264440"], ["user_id", 34], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 34) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 00:52:06.267193"], ["updated_at", "2014-09-23 00:52:06.267193"], ["user_id", 34], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 00:52:06.269447"], ["name", "alpha"], ["title", "Ea ut sit rerum quia sed eius."], ["updated_at", "2014-09-23 00:52:06.269447"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 00:52:06.272556"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.279111"], ["updated_at", "2014-09-23 00:52:06.279111"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.280583"], ["updated_at", "2014-09-23 00:52:06.280583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Assumenda illum autem et mollitia molestiae accusamus. Eum cum ab. Aut recusandae soluta natus est odio minima iusto. In voluptatibus ut molestias nam commodi.\", \"Delectus aperiam qui cum commodi quis quia. Ut et perspiciatis debitis incidunt at vitae. Ut aliquam quia omnis sed temporibus minus.\"]"], ["created_at", "2014-09-23 00:52:06.282660"], ["name", "contract_000e27b9"], ["title", "Ut voluptas ea minima accusamus nihil saepe eius."], ["updated_at", "2014-09-23 00:52:06.282660"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.288532"], ["updated_at", "2014-09-23 00:52:06.288532"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.290458"], ["updated_at", "2014-09-23 00:52:06.290458"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non nulla quod explicabo asperiores praesentium nesciunt assumenda. Provident ducimus aut repudiandae. Autem consequatur eum dolor aut corrupti.\", \"Vero suscipit sed corporis. Qui voluptate eum non fugiat reiciendis. Sequi temporibus ducimus ipsum et delectus iste. Quas aliquid aut qui aut vel quia sequi. Aperiam ipsum et molestiae cumque nam alias.\"]"], ["created_at", "2014-09-23 00:52:06.293173"], ["name", "contract_e316ccde"], ["title", "Illum impedit amet voluptatem error praesentium suscipit."], ["updated_at", "2014-09-23 00:52:06.293173"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.300377"], ["updated_at", "2014-09-23 00:52:06.300377"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.301914"], ["updated_at", "2014-09-23 00:52:06.301914"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti placeat dolorem eius sed dolore pariatur ducimus. Tempora iusto et voluptatibus voluptatem sint sint doloribus. Iusto optio est fugiat. Ea dolorem non rerum velit necessitatibus quis. Corrupti aut quis officiis distinctio ipsam.\", \"Laudantium harum est rem occaecati. Maiores et sit sit ullam incidunt. Dicta quos itaque. Sed ipsam sequi.\"]"], ["created_at", "2014-09-23 00:52:06.304216"], ["name", "contract_cf342dc7"], ["title", "Unde dolores et."], ["updated_at", "2014-09-23 00:52:06.304216"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cf342dc7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_cf342dc7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 00:52:06.307384"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.312665"], ["updated_at", "2014-09-23 00:52:06.312665"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.314199"], ["updated_at", "2014-09-23 00:52:06.314199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum consequatur dolorem autem architecto aut. Eum quam iste maxime incidunt laborum placeat. Magni voluptas dolor dolor ut aut.\", \"Debitis at itaque non sed. Autem incidunt non quia. Minus commodi et qui dolor.\"]"], ["created_at", "2014-09-23 00:52:06.316287"], ["name", "contract_9492695e"], ["title", "Consectetur explicabo laboriosam cupiditate."], ["updated_at", "2014-09-23 00:52:06.316287"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 32]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 32]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 32 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.324118"], ["updated_at", "2014-09-23 00:52:06.324118"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.325590"], ["updated_at", "2014-09-23 00:52:06.325590"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et dolorem fugit rerum et. Et illum non dolor cum est fugit. Officiis nostrum consequuntur totam ipsum.\", \"Maxime dolore ut at aperiam ut sit dolores. Fuga velit et vel in impedit totam. Perferendis accusamus doloribus. Aut quod reprehenderit aut et voluptate tenetur. Nobis unde dolorem nihil ut.\"]"], ["created_at", "2014-09-23 00:52:06.328342"], ["name", "contract_db21f1c3"], ["title", "Asperiores error quaerat iusto voluptates."], ["updated_at", "2014-09-23 00:52:06.328342"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.332944"], ["updated_at", "2014-09-23 00:52:06.332944"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.334508"], ["updated_at", "2014-09-23 00:52:06.334508"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Alias nisi qui fugit. Adipisci est voluptas a numquam rem quod. Voluptate veniam veritatis rem architecto eaque. Saepe non similique. Odio quis adipisci fugiat voluptatum est.\", \"Hic autem ut veritatis nam et. Aspernatur voluptatum ut numquam qui. Aspernatur sunt numquam eos quos possimus. Nemo aliquam aut exercitationem et ut consectetur.\"]"], ["created_at", "2014-09-23 00:52:06.336744"], ["name", "contract_db7f2dfd"], ["title", "Sequi eveniet minima aut et incidunt."], ["updated_at", "2014-09-23 00:52:06.336744"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.342502"], ["updated_at", "2014-09-23 00:52:06.342502"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.343903"], ["updated_at", "2014-09-23 00:52:06.343903"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia commodi minus. Laborum aspernatur reprehenderit velit beatae minus nihil. Quia et beatae aliquid expedita ut illum. Porro quia hic cupiditate vel commodi explicabo natus. Vel neque eaque nesciunt consequuntur.\", \"Qui dolor dolor asperiores dolores sed consequatur. Laborum minima dolor fugiat. Quo eaque sit non.\"]"], ["created_at", "2014-09-23 00:52:06.346008"], ["name", "contract_ee527e49"], ["title", "Beatae dolorem dolor qui corrupti."], ["updated_at", "2014-09-23 00:52:06.346008"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_ee527e49"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_ee527e49') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 00:52:06.349129"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.355229"], ["updated_at", "2014-09-23 00:52:06.355229"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.357032"], ["updated_at", "2014-09-23 00:52:06.357032"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed quod asperiores. Quia est ratione. Debitis sed nesciunt et explicabo vel maxime. Nobis commodi ipsa omnis sit consequatur minus.\", \"Et molestiae ullam. Quia animi praesentium asperiores reprehenderit. Cumque labore expedita et cupiditate. Deleniti deserunt nihil ea voluptas ut suscipit.\"]"], ["created_at", "2014-09-23 00:52:06.359505"], ["name", "contract_0d719da2"], ["title", "Minima accusamus aut ratione hic."], ["updated_at", "2014-09-23 00:52:06.359505"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.364781"], ["updated_at", "2014-09-23 00:52:06.364781"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.366506"], ["updated_at", "2014-09-23 00:52:06.366506"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquam illo quisquam saepe accusamus perspiciatis. Et aut non esse est. Qui qui aut hic laborum ut inventore. Nulla ut eveniet ab excepturi labore quo iure.\", \"Voluptates voluptatem laudantium et sed. Est omnis molestiae. At voluptatum occaecati aliquid ut quos. Accusamus et aut reprehenderit. Consequuntur at et quibusdam.\"]"], ["created_at", "2014-09-23 00:52:06.368852"], ["name", "contract_9b2a3101"], ["title", "Omnis debitis quia odio ipsum laudantium provident."], ["updated_at", "2014-09-23 00:52:06.368852"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 00:52:06.372473"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.377901"], ["updated_at", "2014-09-23 00:52:06.377901"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.379424"], ["updated_at", "2014-09-23 00:52:06.379424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sunt et quisquam ut aut ratione dolorem qui. Est sed unde sequi placeat. Aperiam quo culpa ad. Voluptatum veritatis voluptatem omnis earum. Cum accusamus iure voluptas repudiandae numquam.\", \"Consequatur aut fugit dolorem. Dolores ut sint saepe vitae porro. Accusantium in dolor et cumque. Explicabo ut eum in architecto cumque. Dolorum aut laudantium odit numquam fugiat.\"]"], ["created_at", "2014-09-23 00:52:06.381553"], ["name", "contract_3979e6ba"], ["title", "Magni distinctio pariatur repudiandae aperiam maiores similique."], ["updated_at", "2014-09-23 00:52:06.381553"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3979e6ba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_3979e6ba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:52:06.384747"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3979e6ba"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 00:52:06.389656"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.393859"], ["updated_at", "2014-09-23 00:52:06.393859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.395305"], ["updated_at", "2014-09-23 00:52:06.395305"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nihil quibusdam natus quia sit laborum assumenda. Nisi reprehenderit aspernatur illum quia. Et iusto consectetur. Consequuntur error quis.\", \"Rerum nemo hic. Fugiat consequatur quo eligendi. Magnam nihil qui facere atque odit cum totam. Impedit dolores enim dolorem dolorum quia quas et. Totam quia laborum perferendis consequatur.\"]"], ["created_at", "2014-09-23 00:52:06.404937"], ["name", "contract_15d37a15"], ["title", "Tenetur cumque pariatur officia et consequatur eius."], ["updated_at", "2014-09-23 00:52:06.404937"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.409978"], ["updated_at", "2014-09-23 00:52:06.409978"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.412271"], ["updated_at", "2014-09-23 00:52:06.412271"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Mollitia ea eaque est alias. Numquam qui rem voluptatem temporibus officiis. Hic impedit dolorem sequi eaque ex veritatis quis. Ut tempora quia. Distinctio quis cupiditate cumque.\", \"Aliquid explicabo facilis ipsa. Aut vel cumque in nihil rerum porro. Quia error dolores aut cum blanditiis. Temporibus aut maxime tempora voluptatem.\"]"], ["created_at", "2014-09-23 00:52:06.415159"], ["name", "contract_b5152c2c"], ["title", "Minus optio animi beatae inventore ratione eos."], ["updated_at", "2014-09-23 00:52:06.415159"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 37, 27, 24, 21, 18, 29, 4, 8, 6, 36, 39, 38, 10, 3, 13, 12, 14, 1, 11, 16, 5, 7, 40, 2, 31, 33, 34, 9, 30, 35, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.424625"], ["updated_at", "2014-09-23 00:52:06.424625"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.426729"], ["updated_at", "2014-09-23 00:52:06.426729"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed vel perspiciatis vero perferendis qui dolore reiciendis. A quis alias sed consectetur provident. Tempore impedit ut. Ut soluta nobis sit aut.\", \"Quod ut fugit saepe veritatis modi sapiente aut. Aut odit earum quibusdam consequuntur praesentium ea. Optio laboriosam et autem cum.\"]"], ["created_at", "2014-09-23 00:52:06.429405"], ["name", "contract_a4d21877"], ["title", "Aut perspiciatis ea."], ["updated_at", "2014-09-23 00:52:06.429405"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.434933"], ["updated_at", "2014-09-23 00:52:06.434933"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.436689"], ["updated_at", "2014-09-23 00:52:06.436689"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Natus ut dolores doloribus. Facere tempora dicta qui dolor. Sunt dolorum autem quia enim culpa. Corporis repellendus quisquam commodi adipisci. Qui deserunt nam autem quaerat veniam.\", \"Id iusto optio alias possimus facere temporibus. Hic illum quae odit commodi deleniti voluptas quo. Maxime adipisci aut sunt ullam. Commodi rerum officia reiciendis modi et recusandae ex.\"]"], ["created_at", "2014-09-23 00:52:06.439151"], ["name", "contract_af23198b"], ["title", "Dicta rerum ratione ea ut neque itaque soluta."], ["updated_at", "2014-09-23 00:52:06.439151"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 00:52:06.442413"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 00:52:06.442413"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/43 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.446117"], ["updated_at", "2014-09-23 00:52:06.446117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.447603"], ["updated_at", "2014-09-23 00:52:06.447603"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia laboriosam pariatur voluptate et harum. Dolores repellendus aut quasi eaque. Quis similique et enim libero doloribus praesentium vel. Rerum non et quo delectus consequatur aut esse.\", \"Ab quo repudiandae quis. Sint est commodi dignissimos nulla consequatur non deserunt. Aut qui unde nostrum quo. Laboriosam animi nisi.\"]"], ["created_at", "2014-09-23 00:52:06.449614"], ["name", "contract_17075b24"], ["title", "Modi rerum eos quas ut."], ["updated_at", "2014-09-23 00:52:06.449614"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.457813"], ["updated_at", "2014-09-23 00:52:06.457813"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.460099"], ["updated_at", "2014-09-23 00:52:06.460099"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Labore deleniti et minus. Non unde eveniet sit sit quia minima. Earum et sapiente dolores porro. Aut quam ullam exercitationem saepe.\", \"Sequi laudantium officia veniam molestiae. Temporibus quo repellat voluptatem rerum deserunt. Quisquam ipsam tempore. Beatae omnis eum fuga et earum amet at.\"]"], ["created_at", "2014-09-23 00:52:06.463034"], ["name", "contract_232d76f8"], ["title", "Totam iusto sed atque."], ["updated_at", "2014-09-23 00:52:06.463034"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_232d76f8"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_232d76f8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 00:52:06.472118"], ["version", 1]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 1.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.480160"], ["updated_at", "2014-09-23 00:52:06.480160"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.482896"], ["updated_at", "2014-09-23 00:52:06.482896"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est aliquid nemo. Eius cumque culpa aut et molestiae et. Inventore vel sed.\", \"In iste magni nihil odit ratione. Aliquid dolorem libero aut nihil. Cumque quaerat ipsum reprehenderit dolores voluptatem qui. Voluptas porro omnis est dolorem quo. Eaque laborum voluptates ipsum eum voluptas.\"]"], ["created_at", "2014-09-23 00:52:06.486290"], ["name", "contract_9c6d6c32"], ["title", "Nulla et sit quo veritatis."], ["updated_at", "2014-09-23 00:52:06.486290"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_9c6d6c32"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_9c6d6c32') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 00:52:06.492322"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9c6d6c32' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.502175"], ["updated_at", "2014-09-23 00:52:06.502175"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 00:52:06.504029"], ["updated_at", "2014-09-23 00:52:06.504029"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est tenetur mollitia distinctio dignissimos praesentium numquam. Provident necessitatibus et cupiditate excepturi et. Magni ipsam voluptatibus voluptas itaque repellat ut odit. Qui ipsam quasi rerum animi fuga. Fugiat laudantium qui omnis.\", \"Ratione iure quia explicabo. Sunt numquam alias autem et. Eum labore sunt nihil. Praesentium sit distinctio quia consequatur ut. Blanditiis atque dolorem eum sed.\"]"], ["created_at", "2014-09-23 00:52:06.508661"], ["name", "contract_f0c57dad"], ["title", "Autem pariatur eveniet ut maiores maxime eos iste."], ["updated_at", "2014-09-23 00:52:06.508661"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (2.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta quaerat tempore eaque et. Non facilis cumque. Nihil iure ipsa expedita quidem sed.\", \"Ut voluptatibus est. Doloribus et et rerum laudantium. Et consequatur deleniti sit. Omnis voluptas ut saepe quae odit.\"]"], ["created_at", "2014-09-23 01:09:06.772409"], ["name", "contract_9c711c36"], ["title", "Repellat non similique molestiae."], ["updated_at", "2014-09-23 01:09:06.772409"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.3ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est dolorum aliquam ut voluptate eligendi. Modi aliquid tempora a unde minima. Facilis aliquam commodi dolore deleniti hic saepe non. Iure cum id sint sit.\", \"Eum voluptates ut nobis ut voluptatem ut. Saepe laboriosam libero commodi non. Est qui deleniti. Qui atque unde. Ad at provident consequatur.\"]"], ["created_at", "2014-09-23 01:09:06.791546"], ["name", "contract_168a2cdd"], ["title", "Ab aut quia tenetur beatae."], ["updated_at", "2014-09-23 01:09:06.791546"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_168a2cdd"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_168a2cdd') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 01:09:06.796728"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.803158"], ["updated_at", "2014-09-23 01:09:06.803158"]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" = 1) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro libero explicabo natus voluptas quam recusandae labore. Officiis cum aut delectus saepe expedita. Iste fuga et itaque repellendus. Voluptates repellat a accusamus veniam eum rerum. Aut qui aspernatur est eligendi molestias similique quam.\", \"Omnis libero ullam aperiam voluptatem odio. Est dignissimos minima doloribus et dicta et. Et culpa sit numquam itaque est. Soluta provident dolor sit sunt nemo quas. Dolore nam asperiores beatae accusamus eligendi provident quia.\"]"], ["created_at", "2014-09-23 01:09:06.814141"], ["name", "contract_632498d2"], ["title", "Quia provident sed reprehenderit magnam at qui repellendus."], ["updated_at", "2014-09-23 01:09:06.814141"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_632498d2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_632498d2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 01:09:06.819291"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_632498d2"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_632498d2"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 01:09:06.825223"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem deleniti accusantium. Eveniet voluptas occaecati cumque dolor doloremque impedit dolores. Maxime et iure. Voluptatem qui iure laboriosam et accusantium amet odit.\", \"Ea eligendi deserunt odit. Occaecati reprehenderit quia in dolores quidem. Omnis sint unde iste quia.\"]"], ["created_at", "2014-09-23 01:09:06.828837"], ["name", "contract_b22ea554"], ["title", "Tempora magni nihil."], ["updated_at", "2014-09-23 01:09:06.828837"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b22ea554"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_b22ea554') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 01:09:06.832394"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b22ea554' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem deleniti accusantium. Eveniet voluptas occaecati cumque dolor doloremque impedit dolores. Maxime et iure. Voluptatem qui iure laboriosam et accusantium amet odit.\", \"Ea eligendi deserunt odit. Occaecati reprehenderit quia in dolores quidem. Omnis sint unde iste quia.\"]"], ["created_at", "2014-09-23 01:09:06.837631"], ["name", "contract_b22ea554"], ["title", "Tempora magni nihil."], ["updated_at", "2014-09-23 01:09:06.837631"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b22ea554"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_b22ea554') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 01:09:06.840947"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia sapiente exercitationem. Quis quia ratione non fugiat occaecati maxime. Eveniet sit qui et rerum. Alias cumque dolorum eos id est.\", \"Est quod dolorem. Non quaerat deleniti sit voluptatum adipisci doloremque quia. Ipsum ut maiores atque ea. Quia accusamus dicta enim commodi rem deleniti similique.\"]"], ["created_at", "2014-09-23 01:09:06.844840"], ["name", "contract_4398057e"], ["title", "Est accusamus dolorem nesciunt repudiandae."], ["updated_at", "2014-09-23 01:09:06.844840"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4398057e"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_4398057e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 01:09:06.848317"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.852248"], ["updated_at", "2014-09-23 01:09:06.852248"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-23 01:09:06.854559"], ["updated_at", "2014-09-23 01:09:06.854559"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_4398057e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4398057e"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis eligendi odio corrupti deleniti quibusdam rerum. Quia aut hic nemo suscipit voluptatem. Omnis asperiores eius sequi rem porro sit repudiandae.\", \"Omnis sit qui dolorem dolor consequatur veritatis. Amet dolor illo fuga error. Dignissimos sunt ea dolores qui eos iure dolore.\"]"], ["created_at", "2014-09-23 01:09:06.867142"], ["name", "contract_b14e8482"], ["title", "Aut animi dolorem a quas quia similique repellendus."], ["updated_at", "2014-09-23 01:09:06.867142"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b14e8482"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_b14e8482') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 01:09:06.870528"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_b14e8482' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Perferendis eligendi odio corrupti deleniti quibusdam rerum. Quia aut hic nemo suscipit voluptatem. Omnis asperiores eius sequi rem porro sit repudiandae.\", \"Omnis sit qui dolorem dolor consequatur veritatis. Amet dolor illo fuga error. Dignissimos sunt ea dolores qui eos iure dolore.\"]"], ["created_at", "2014-09-23 01:09:06.874474"], ["name", "joe"], ["title", "Aut animi dolorem a quas quia similique repellendus."], ["updated_at", "2014-09-23 01:09:06.874474"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 01:09:06.877729"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.881849"], ["updated_at", "2014-09-23 01:09:06.881849"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.883404"], ["updated_at", "2014-09-23 01:09:06.883404"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Neque eos sit sed sunt nobis perferendis. Maxime et inventore dolorem pariatur error fugit et. Aperiam dolores sapiente sint aut. Doloribus sed eum et et sit in dolorum.\", \"Quas mollitia aliquid ut non. Consequatur est fuga veniam nesciunt dolorem voluptas. Rem et qui recusandae ea provident. Repudiandae corrupti fugiat placeat aspernatur libero aut. Quaerat provident tempore perferendis veniam inventore.\"]"], ["created_at", "2014-09-23 01:09:06.886068"], ["name", "contract_6f4d9dda"], ["title", "Quas est sit id distinctio."], ["updated_at", "2014-09-23 01:09:06.886068"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6f4d9dda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_6f4d9dda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-23 01:09:06.889438"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.892173"], ["updated_at", "2014-09-23 01:09:06.892173"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-23 01:09:06.894422"], ["updated_at", "2014-09-23 01:09:06.894422"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.904870"], ["updated_at", "2014-09-23 01:09:06.904870"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.907416"], ["updated_at", "2014-09-23 01:09:06.907416"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Culpa perferendis suscipit delectus quia beatae sed. Tempora ut eius eveniet deserunt officia qui. Natus veniam tempore ut ea eius eum doloribus. Occaecati ex sit aliquam. Omnis et rerum nobis.\", \"Occaecati iste molestias dolorum numquam. Necessitatibus aut exercitationem ullam modi ea. Rerum autem vero.\"]"], ["created_at", "2014-09-23 01:09:06.910190"], ["name", "contract_fdb932ea"], ["title", "Minima et et sunt quas eius aspernatur."], ["updated_at", "2014-09-23 01:09:06.910190"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_fdb932ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_fdb932ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 01:09:06.913567"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:06.915982"], ["updated_at", "2014-09-23 01:09:06.915982"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-23 01:09:06.918137"], ["updated_at", "2014-09-23 01:09:06.918137"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 191ms (Views: 5.0ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.112444"], ["updated_at", "2014-09-23 01:09:07.112444"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.115211"], ["updated_at", "2014-09-23 01:09:07.115211"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Officia aut ab eveniet molestiae omnis. Rerum id eveniet sed magnam dolor mollitia. In qui dolorem et eligendi. Nobis ipsum sunt voluptatem maiores molestiae vitae.\", \"Aut cumque dolores ab impedit doloremque modi. Sed id harum adipisci voluptas in. Expedita cumque cum ducimus.\"]"], ["created_at", "2014-09-23 01:09:07.118324"], ["name", "contract_bbc548b6"], ["title", "Quibusdam eaque ut libero perspiciatis laborum."], ["updated_at", "2014-09-23 01:09:07.118324"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bbc548b6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_bbc548b6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 01:09:07.121575"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.124089"], ["updated_at", "2014-09-23 01:09:07.124089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 11) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-23 01:09:07.126257"], ["updated_at", "2014-09-23 01:09:07.126257"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"11"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.129897"], ["updated_at", "2014-09-23 01:09:07.129897"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.131364"], ["updated_at", "2014-09-23 01:09:07.131364"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corrupti magnam assumenda fuga. Repudiandae voluptatem quo consectetur. Ex explicabo necessitatibus quibusdam quos consequatur ratione dolorem. Doloribus quibusdam tenetur autem debitis vitae. Omnis ea consequatur.\", \"Porro atque quo. Quia veniam praesentium velit nostrum. Totam recusandae est et qui cum ipsa.\"]"], ["created_at", "2014-09-23 01:09:07.133755"], ["name", "contract_e62891b8"], ["title", "Eveniet et ratione dolorem qui itaque nobis."], ["updated_at", "2014-09-23 01:09:07.133755"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e62891b8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_e62891b8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 01:09:07.136719"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.139188"], ["updated_at", "2014-09-23 01:09:07.139188"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 14) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-23 01:09:07.141525"], ["updated_at", "2014-09-23 01:09:07.141525"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"12"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.144987"], ["updated_at", "2014-09-23 01:09:07.144987"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.146422"], ["updated_at", "2014-09-23 01:09:07.146422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus nobis sit et nesciunt. Vitae quia asperiores voluptate rerum vel voluptatibus. Ipsam id sequi asperiores sapiente deserunt occaecati. Animi velit eveniet non.\", \"Rerum ab nemo quaerat impedit. Dolor a sunt laborum temporibus molestiae. Est debitis sint est.\"]"], ["created_at", "2014-09-23 01:09:07.148998"], ["name", "contract_e22e2eda"], ["title", "Nihil veniam et impedit."], ["updated_at", "2014-09-23 01:09:07.148998"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_e22e2eda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_e22e2eda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 01:09:07.152100"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.154586"], ["updated_at", "2014-09-23 01:09:07.154586"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 17) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-23 01:09:07.157545"], ["updated_at", "2014-09-23 01:09:07.157545"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.161888"], ["updated_at", "2014-09-23 01:09:07.161888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.163432"], ["updated_at", "2014-09-23 01:09:07.163432"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Occaecati quia veniam qui necessitatibus aliquam labore atque. Accusamus vel illum ea tempora eius error voluptatem. Adipisci voluptatum sit. Delectus repellendus perspiciatis debitis consequatur. Sit eligendi doloribus laborum.\", \"Vel id tempore quis illo. Voluptatem eaque nam ullam est. Consequuntur temporibus nihil quas suscipit. Minima nihil omnis nulla harum itaque.\"]"], ["created_at", "2014-09-23 01:09:07.166007"], ["name", "contract_56ef7a7e"], ["title", "Dolor minima nulla iste omnis."], ["updated_at", "2014-09-23 01:09:07.166007"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_56ef7a7e"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_56ef7a7e') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 01:09:07.169176"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.171576"], ["updated_at", "2014-09-23 01:09:07.171576"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 20) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-23 01:09:07.173675"], ["updated_at", "2014-09-23 01:09:07.173675"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.178589"], ["updated_at", "2014-09-23 01:09:07.178589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.180086"], ["updated_at", "2014-09-23 01:09:07.180086"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"In est nesciunt et voluptate. Nam dicta architecto possimus ut sequi ut perspiciatis. Non et occaecati. Labore porro sed. Eius voluptatem sequi aliquid aperiam dolore libero possimus.\", \"Fugiat eum dolorum laborum. Quas quis est fugit nihil assumenda. Modi ut reprehenderit rem doloribus dolores perspiciatis deleniti. Totam doloremque aperiam non culpa.\"]"], ["created_at", "2014-09-23 01:09:07.182473"], ["name", "contract_f852f5a8"], ["title", "Assumenda porro voluptatem commodi."], ["updated_at", "2014-09-23 01:09:07.182473"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f852f5a8"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_f852f5a8') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 01:09:07.185507"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.187954"], ["updated_at", "2014-09-23 01:09:07.187954"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 23) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 01:09:07.190032"], ["updated_at", "2014-09-23 01:09:07.190032"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.195674"], ["updated_at", "2014-09-23 01:09:07.195674"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.197242"], ["updated_at", "2014-09-23 01:09:07.197242"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Asperiores velit nobis molestiae ullam cum et vitae. Nisi doloremque mollitia sed perferendis. Eum quia et sit voluptatem consectetur vel asperiores.\", \"Est qui quae porro praesentium sit qui aut. Placeat aspernatur asperiores ratione occaecati et eveniet a. Dolor ut animi commodi in voluptatem. Enim quis numquam. Aliquid autem quaerat dolores rem.\"]"], ["created_at", "2014-09-23 01:09:07.199663"], ["name", "contract_bdfe00b2"], ["title", "Commodi ea distinctio non."], ["updated_at", "2014-09-23 01:09:07.199663"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bdfe00b2"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_bdfe00b2') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 01:09:07.204139"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.207575"], ["updated_at", "2014-09-23 01:09:07.207575"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-23 01:09:07.209946"], ["updated_at", "2014-09-23 01:09:07.209946"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 9]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Redirected to http://test.host/fine_print/contracts/16/signatures?r=alBFOG5RV091dXlMYjYyUi9WVTFkUT09LS1GdHhlek4wdVhmSEVmT2pQbUpmYi93PT0%3D--28497d575cb649ef264dcfbe3f6099e78a9444b2 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 9 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolor iusto nihil fugit. Consequatur ab fugit et autem nam error aut. Et sit ut quam odio voluptatem consequatur. Ipsum reprehenderit libero iusto fugiat. Et labore et fugiat impedit ut harum ea.\", \"Aliquid tempore nulla sit numquam perferendis. Nobis aut autem dolores repellendus ullam et. Dicta velit repudiandae corporis facere est ut dolorum.\"]"], ["created_at", "2014-09-23 01:09:07.218917"], ["name", "alpha"], ["title", "Minima iure et voluptate."], ["updated_at", "2014-09-23 01:09:07.218917"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 01:09:07.222037"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et a voluptatem. Esse rerum vel saepe praesentium cupiditate commodi. Eos et est aut quia.\", \"Accusamus consequatur et tempora quidem sed culpa. Et placeat praesentium expedita ut et ut modi. Ut nesciunt vitae voluptatem odio. Assumenda sunt et magnam maiores. Accusantium rerum perspiciatis autem eum tenetur eligendi.\"]"], ["created_at", "2014-09-23 01:09:07.225253"], ["name", "beta"], ["title", "Perspiciatis possimus eum blanditiis nesciunt."], ["updated_at", "2014-09-23 01:09:07.225253"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 01:09:07.228239"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.230503"], ["updated_at", "2014-09-23 01:09:07.230503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-23 01:09:07.233023"], ["updated_at", "2014-09-23 01:09:07.233023"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-23 01:09:07.235334"], ["updated_at", "2014-09-23 01:09:07.235334"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:07.237534"], ["name", "alpha"], ["title", "Minima iure et voluptate."], ["updated_at", "2014-09-23 01:09:07.237534"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 01:09:07.240559"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At eos sint vel impedit sit. Minima qui voluptas ex dolor sed. Non quo fugiat magni nihil consectetur.\", \"Incidunt omnis labore voluptates. Eum inventore ipsa illum. Dolor minus nisi.\"]"], ["created_at", "2014-09-23 01:09:07.246489"], ["name", "alpha"], ["title", "Fugiat sequi dolor delectus iure tempore omnis."], ["updated_at", "2014-09-23 01:09:07.246489"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 01:09:07.249537"], ["version", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit nulla doloribus dolor reiciendis soluta ut excepturi. Ab quis dolorum tempore qui quas sapiente. Incidunt odit non necessitatibus laborum eum. Quis rem consequuntur nesciunt.\", \"Consequatur mollitia delectus deleniti. Dolorem soluta ea assumenda perferendis sint. Ut harum quia officia.\"]"], ["created_at", "2014-09-23 01:09:07.253100"], ["name", "beta"], ["title", "Voluptas dicta nihil doloribus."], ["updated_at", "2014-09-23 01:09:07.253100"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 01:09:07.257355"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.259775"], ["updated_at", "2014-09-23 01:09:07.259775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 01:09:07.262327"], ["updated_at", "2014-09-23 01:09:07.262327"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 01:09:07.264752"], ["updated_at", "2014-09-23 01:09:07.264752"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:07.267052"], ["name", "alpha"], ["title", "Fugiat sequi dolor delectus iure tempore omnis."], ["updated_at", "2014-09-23 01:09:07.267052"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 01:09:07.270025"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (22, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et vel asperiores voluptatem. Magni praesentium sapiente. Accusantium vero veritatis sed tempore ut. Reiciendis tempora et aspernatur repellendus ad accusantium.\", \"Recusandae nam et consectetur sunt in sint iusto. Aut perspiciatis ut dolor neque non blanditiis. Eaque velit molestiae cum quam et. Est quod incidunt ab eius itaque magnam in. Sit voluptates nobis quibusdam.\"]"], ["created_at", "2014-09-23 01:09:07.275618"], ["name", "alpha"], ["title", "Ullam hic ut enim."], ["updated_at", "2014-09-23 01:09:07.275618"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 01:09:07.278768"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veritatis necessitatibus sequi doloribus. Numquam delectus sit sed. Debitis soluta totam qui aut. Ipsam sit aut quia cumque natus ex.\", \"Quia quis aut impedit. Et molestias aut. Quam ex enim qui nobis. Vel et ex.\"]"], ["created_at", "2014-09-23 01:09:07.281734"], ["name", "beta"], ["title", "Ratione est saepe."], ["updated_at", "2014-09-23 01:09:07.281734"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 01:09:07.284820"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.287061"], ["updated_at", "2014-09-23 01:09:07.287061"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 01:09:07.289601"], ["updated_at", "2014-09-23 01:09:07.289601"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 01:09:07.292057"], ["updated_at", "2014-09-23 01:09:07.292057"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:07.294786"], ["name", "alpha"], ["title", "Ullam hic ut enim."], ["updated_at", "2014-09-23 01:09:07.294786"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 01:09:07.298238"], ["version", 6]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (25, 24, 2, 6, 14, 9, 7, 5, 11, 16, 13, 12, 15, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloremque facilis quia est. Quo deleniti hic error. Optio non porro aspernatur. Dolorem consequatur placeat. Omnis molestias dolor animi aperiam enim iure.\", \"Odio dolore perferendis. Sit dolore id sapiente. Omnis nihil quo architecto repudiandae saepe molestias rerum. Deserunt in cumque quia quae laudantium.\"]"], ["created_at", "2014-09-23 01:09:07.305167"], ["name", "alpha"], ["title", "Quas aut ut voluptatum iste est eligendi sed."], ["updated_at", "2014-09-23 01:09:07.305167"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 01:09:07.308363"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore quia nihil. Qui accusamus sint placeat libero omnis natus. Optio sint quae sunt iste. Quas eum debitis quo fugiat harum.\", \"Doloremque occaecati ad amet labore quae accusamus praesentium. Voluptatem laudantium ipsam excepturi in. Consectetur impedit excepturi ipsam. Voluptates perspiciatis dolorum omnis quia sit molestiae ab.\"]"], ["created_at", "2014-09-23 01:09:07.311591"], ["name", "beta"], ["title", "Porro placeat non ut."], ["updated_at", "2014-09-23 01:09:07.311591"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 01:09:07.314771"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.317105"], ["updated_at", "2014-09-23 01:09:07.317105"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 01:09:07.319659"], ["updated_at", "2014-09-23 01:09:07.319659"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 01:09:07.322524"], ["updated_at", "2014-09-23 01:09:07.322524"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:07.325205"], ["name", "alpha"], ["title", "Quas aut ut voluptatum iste est eligendi sed."], ["updated_at", "2014-09-23 01:09:07.325205"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 01:09:07.328791"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-23 01:09:07.345868"], ["updated_at", "2014-09-23 01:09:07.345868"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.358659"], ["updated_at", "2014-09-23 01:09:07.358659"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.360289"], ["updated_at", "2014-09-23 01:09:07.360289"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum laboriosam officia vel assumenda aut quia quaerat. Perspiciatis et voluptatem et. Fugiat vitae et culpa a iusto. Eum debitis cumque. In optio rerum repellendus.\", \"Rerum iure et. Tempore quia aut. Quis voluptatum modi quibusdam.\"]"], ["created_at", "2014-09-23 01:09:07.362440"], ["name", "contract_f03ac23b"], ["title", "At minima aliquid velit maiores."], ["updated_at", "2014-09-23 01:09:07.362440"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f03ac23b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'contract_f03ac23b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 01:09:07.365507"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.371378"], ["updated_at", "2014-09-23 01:09:07.371378"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.373013"], ["updated_at", "2014-09-23 01:09:07.373013"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem pariatur mollitia voluptatem quia. Ipsam harum molestiae natus aliquam est. Velit officia qui non tempora rerum nulla. Aspernatur rerum et repudiandae.\", \"Adipisci fugiat qui et deserunt voluptas vero. Dolorem non dolorem. Error odio minima consequatur ea nisi reprehenderit dolores. Ut harum et enim quia reprehenderit tenetur porro.\"]"], ["created_at", "2014-09-23 01:09:07.375145"], ["name", "contract_972469e2"], ["title", "Perspiciatis ratione inventore molestiae laboriosam odit iste ipsam."], ["updated_at", "2014-09-23 01:09:07.375145"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.378916"], ["updated_at", "2014-09-23 01:09:07.378916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.380360"], ["updated_at", "2014-09-23 01:09:07.380360"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aliquam error. Enim autem soluta dolorem adipisci dolor in debitis. Dolor placeat facere molestias voluptates ducimus. Ea quam rerum. Est est hic accusamus.\", \"Non et tenetur. Aut accusamus et. Ea neque quasi.\"]"], ["created_at", "2014-09-23 01:09:07.382334"], ["name", "contract_4bf57df3"], ["title", "Et sint voluptatem optio."], ["updated_at", "2014-09-23 01:09:07.382334"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_4bf57df3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_4bf57df3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 01:09:07.385429"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_4bf57df3' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.393209"], ["updated_at", "2014-09-23 01:09:07.393209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.394832"], ["updated_at", "2014-09-23 01:09:07.394832"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit natus exercitationem vero. Blanditiis ut possimus non at autem quisquam. Autem nemo et sint asperiores. Dolore sequi eius laboriosam quia explicabo.\", \"Provident voluptas eligendi dolor. Rerum esse in quisquam odit nihil non consequuntur. Nobis qui non. Et sunt animi sed quo perspiciatis. Ut pariatur voluptatem labore.\"]"], ["created_at", "2014-09-23 01:09:07.397025"], ["name", "contract_a03c0cae"], ["title", "Rem consequuntur repudiandae."], ["updated_at", "2014-09-23 01:09:07.397025"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.401656"], ["updated_at", "2014-09-23 01:09:07.401656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.403147"], ["updated_at", "2014-09-23 01:09:07.403147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui est labore et est. Soluta temporibus earum qui. Nihil eveniet voluptatem. Tempora aut et ex saepe quo odio dolores.\", \"Tempore ab quos aut reiciendis aperiam. Quo omnis nulla repellat ipsa. Placeat magnam ut fuga est sunt qui. Consectetur consequatur in voluptas. Eligendi sed similique.\"]"], ["created_at", "2014-09-23 01:09:07.405226"], ["name", "contract_7234bde7"], ["title", "Autem unde ducimus animi atque iusto et."], ["updated_at", "2014-09-23 01:09:07.405226"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7234bde7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_7234bde7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 01:09:07.410885"], ["version", 1]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.416273"], ["updated_at", "2014-09-23 01:09:07.416273"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.418200"], ["updated_at", "2014-09-23 01:09:07.418200"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium officia qui nobis vero nesciunt unde. Vero consectetur sed aperiam autem illum et aliquam. Assumenda asperiores dolore ab qui. Natus impedit totam enim suscipit incidunt quis.\", \"Dolores dolorem corrupti numquam aliquam quia. Distinctio neque voluptatum dolore iure quibusdam molestias. Quibusdam perspiciatis exercitationem. Voluptatibus aut harum in qui distinctio fugiat facilis.\"]"], ["created_at", "2014-09-23 01:09:07.420895"], ["name", "contract_41f9264f"], ["title", "Repellendus accusantium qui nulla voluptas."], ["updated_at", "2014-09-23 01:09:07.420895"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41f9264f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_41f9264f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 01:09:07.424737"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_41f9264f"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 01:09:07.430166"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.434374"], ["updated_at", "2014-09-23 01:09:07.434374"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.435816"], ["updated_at", "2014-09-23 01:09:07.435816"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero nisi natus voluptas. Est perferendis corrupti veritatis dolorum. Qui id iure perferendis aut. Et est officia similique iure eum et suscipit.\", \"Velit hic voluptatum omnis id nihil. Recusandae soluta et vel in vel illum omnis. Beatae fuga voluptatum recusandae quis quaerat iusto quia.\"]"], ["created_at", "2014-09-23 01:09:07.437840"], ["name", "contract_fc6cab33"], ["title", "Rerum minima qui doloribus."], ["updated_at", "2014-09-23 01:09:07.437840"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.442591"], ["updated_at", "2014-09-23 01:09:07.442591"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.444134"], ["updated_at", "2014-09-23 01:09:07.444134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non saepe excepturi quia expedita. Adipisci in officiis nihil commodi rem. Laboriosam et cum reprehenderit magnam qui corrupti. Sit rem et a esse at. Non qui veritatis sunt magnam quis molestiae.\", \"Ex eligendi velit aut consectetur quae facilis. Culpa consequuntur ut repellat dolorem magni. Quod et repellat est.\"]"], ["created_at", "2014-09-23 01:09:07.446335"], ["name", "contract_4267a296"], ["title", "Adipisci maxime asperiores doloribus quaerat accusamus."], ["updated_at", "2014-09-23 01:09:07.446335"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.450619"], ["updated_at", "2014-09-23 01:09:07.450619"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.452477"], ["updated_at", "2014-09-23 01:09:07.452477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime cupiditate possimus. Incidunt qui necessitatibus. Repellendus minus blanditiis ut. Id praesentium unde illo qui saepe quisquam.\", \"Et accusantium eligendi beatae vel alias. Ut sit officia temporibus aut fugit dolor ipsam. Omnis eius unde inventore. Veritatis qui quia nam.\"]"], ["created_at", "2014-09-23 01:09:07.454584"], ["name", "contract_760b6558"], ["title", "Adipisci minima itaque quibusdam ipsa ratione temporibus ut."], ["updated_at", "2014-09-23 01:09:07.454584"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 37]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 37]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 37 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.462133"], ["updated_at", "2014-09-23 01:09:07.462133"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.463596"], ["updated_at", "2014-09-23 01:09:07.463596"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere accusantium explicabo laudantium voluptates ratione saepe. Vel voluptas rerum molestias officiis ut. Nisi ullam aliquam. Voluptas labore fugiat qui eligendi non et. Nulla quidem suscipit commodi ex odit omnis ut.\", \"Est est nisi blanditiis sed vero. Quidem dolorem quo alias deleniti qui saepe soluta. Consequatur tempore quam porro voluptas fugit et eum. Nemo qui a excepturi ut. Ipsum voluptas dolor id earum ut a rerum.\"]"], ["created_at", "2014-09-23 01:09:07.465799"], ["name", "contract_62dff152"], ["title", "Voluptate veritatis perspiciatis quibusdam id est voluptatum et."], ["updated_at", "2014-09-23 01:09:07.465799"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 27, 24, 21, 18, 2, 34, 36, 6, 31, 14, 38, 3, 9, 33, 30, 1, 32, 7, 5, 4, 11, 16, 13, 12, 29, 15, 35, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.474430"], ["updated_at", "2014-09-23 01:09:07.474430"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.476039"], ["updated_at", "2014-09-23 01:09:07.476039"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quo fugiat quod rem. Voluptatem perferendis sint beatae dolor et repellendus. Architecto quasi aut rerum laudantium eligendi aut qui.\", \"Quaerat fugiat sit quia. Et qui voluptatem sit ut rerum. Modi tenetur fugit debitis. A molestiae impedit aut. Expedita distinctio itaque voluptates voluptate occaecati voluptatibus.\"]"], ["created_at", "2014-09-23 01:09:07.478251"], ["name", "contract_1ae5fc2a"], ["title", "Ut doloremque sed voluptas nostrum."], ["updated_at", "2014-09-23 01:09:07.478251"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.484486"], ["updated_at", "2014-09-23 01:09:07.484486"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.486024"], ["updated_at", "2014-09-23 01:09:07.486024"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ad ipsum nostrum temporibus hic et. Facere hic in et. Hic vel voluptatem explicabo. Quam rerum sit veniam earum. Ut non voluptatem et aut.\", \"Id dolore aliquid enim aliquam sapiente. Qui nostrum veritatis temporibus ipsa. Corrupti iste animi veritatis ea sapiente eligendi.\"]"], ["created_at", "2014-09-23 01:09:07.488108"], ["name", "contract_0568df2e"], ["title", "Quis error et ratione in aspernatur magnam laborum."], ["updated_at", "2014-09-23 01:09:07.488108"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 01:09:07.492103"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 01:09:07.492103"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/41 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.502773"], ["updated_at", "2014-09-23 01:09:07.502773"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.504652"], ["updated_at", "2014-09-23 01:09:07.504652"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et aliquid exercitationem hic omnis ut nihil unde. Tempore eum ea. Nulla et impedit mollitia iure illum ut qui. Dolores consectetur eius enim. Deserunt quod deleniti non.\", \"Praesentium sint dolorum veniam. Et dolore maiores ipsa quo dolorum nemo. Eum illo deserunt magni tenetur minima. Adipisci accusantium excepturi.\"]"], ["created_at", "2014-09-23 01:09:07.507092"], ["name", "contract_35d5d190"], ["title", "Aspernatur est quaerat expedita quibusdam."], ["updated_at", "2014-09-23 01:09:07.507092"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"42"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.516118"], ["updated_at", "2014-09-23 01:09:07.516118"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.517911"], ["updated_at", "2014-09-23 01:09:07.517911"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed esse dolore voluptatem debitis et quis modi. Quisquam veritatis delectus. Nostrum sapiente consequatur explicabo ab exercitationem. Est delectus itaque veritatis qui. Aut praesentium est nisi recusandae dignissimos possimus ducimus.\", \"Et cumque et dolorem. Sint omnis corrupti doloribus. Laudantium sunt deleniti et tempore dicta reprehenderit dolorem. Velit quia dolores in provident eos. Impedit numquam quaerat praesentium perferendis.\"]"], ["created_at", "2014-09-23 01:09:07.520406"], ["name", "contract_540e201f"], ["title", "Eos repellendus est et."], ["updated_at", "2014-09-23 01:09:07.520406"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_540e201f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_540e201f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 01:09:07.525955"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"43"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.533967"], ["updated_at", "2014-09-23 01:09:07.533967"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.535544"], ["updated_at", "2014-09-23 01:09:07.535544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint est iusto nemo assumenda doloribus. Animi vero est dicta aut. Non nostrum ab voluptatem.\", \"Doloremque et ut repudiandae recusandae. Porro quis quos enim aliquid. Aut velit voluptatum voluptatem numquam.\"]"], ["created_at", "2014-09-23 01:09:07.538041"], ["name", "contract_275ca345"], ["title", "Iusto in enim quidem ipsa."], ["updated_at", "2014-09-23 01:09:07.538041"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 44 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 01:09:07.543260"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/44 Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.549413"], ["updated_at", "2014-09-23 01:09:07.549413"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.551254"], ["updated_at", "2014-09-23 01:09:07.551254"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem consequuntur aut minus. Minus nisi asperiores modi. Ratione et qui ex rerum ad non qui.\", \"Fugiat exercitationem ea sed. Quo alias illum reprehenderit incidunt. Optio corporis eius aut aliquam repellat iste ratione. Pariatur explicabo doloremque sit earum non. Id aut numquam.\"]"], ["created_at", "2014-09-23 01:09:07.554014"], ["name", "contract_7eaac18b"], ["title", "Corrupti architecto delectus."], ["updated_at", "2014-09-23 01:09:07.554014"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"45"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.559310"], ["updated_at", "2014-09-23 01:09:07.559310"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.561598"], ["updated_at", "2014-09-23 01:09:07.561598"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis ad maiores et sapiente id quidem expedita. Labore aspernatur laboriosam deleniti nostrum in cupiditate. Eum neque rerum ducimus. Qui non et nostrum occaecati qui commodi. Voluptas doloribus beatae ipsum dolor adipisci veritatis.\", \"Fugit atque eum. Quia rerum incidunt culpa quod dolores dolores. Placeat quaerat reiciendis magni est quam ducimus aut. Tempora porro ducimus quas minima velit reiciendis aperiam. Perspiciatis necessitatibus recusandae minus qui qui deleniti.\"]"], ["created_at", "2014-09-23 01:09:07.565702"], ["name", "contract_aab9c184"], ["title", "Facilis id reiciendis."], ["updated_at", "2014-09-23 01:09:07.565702"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.573723"], ["updated_at", "2014-09-23 01:09:07.573723"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.575238"], ["updated_at", "2014-09-23 01:09:07.575238"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolores dolore sed quo. Est voluptas atque quam sit eius. Et dolorem quo. Vitae nihil ea quia. Alias est recusandae quia quibusdam.\", \"Et quis architecto sed. Molestiae temporibus non dicta sed vel quia. Fugit quo velit dicta non est similique porro. Odio tempora et. Nemo odit veniam reprehenderit.\"]"], ["created_at", "2014-09-23 01:09:07.578654"], ["name", "contract_72f64dcb"], ["title", "Nobis vel debitis est nisi eum et et."], ["updated_at", "2014-09-23 01:09:07.578654"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.589847"], ["updated_at", "2014-09-23 01:09:07.589847"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.592039"], ["updated_at", "2014-09-23 01:09:07.592039"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.598754"], ["updated_at", "2014-09-23 01:09:07.598754"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:07.600453"], ["updated_at", "2014-09-23 01:09:07.600453"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.2ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.034124"], ["updated_at", "2014-09-23 01:09:41.034124"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.041075"], ["updated_at", "2014-09-23 01:09:41.041075"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente sit aut et quia. Odit eos rerum. Ut amet cupiditate quia eum ut neque esse. Quo nemo nulla.\", \"Sunt et qui. Ut distinctio est. Necessitatibus facere nulla in cumque velit.\"]"], ["created_at", "2014-09-23 01:09:41.264836"], ["name", "contract_2c8c30d0"], ["title", "Ullam neque maiores illo fugit et."], ["updated_at", "2014-09-23 01:09:41.264836"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2c8c30d0"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2c8c30d0') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-23 01:09:41.277498"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.284771"], ["updated_at", "2014-09-23 01:09:41.284771"]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-23 01:09:41.288901"], ["updated_at", "2014-09-23 01:09:41.288901"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"1"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 190ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.489328"], ["updated_at", "2014-09-23 01:09:41.489328"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.492463"], ["updated_at", "2014-09-23 01:09:41.492463"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Velit tempora amet qui laborum consequatur praesentium velit. Corrupti eum beatae molestiae. Quisquam quae quod vitae sit voluptatem. Facilis ipsam nemo et fuga quasi.\", \"Occaecati et et exercitationem sequi eum labore. Autem rerum aut eum accusamus. Libero earum ab rem tenetur.\"]"], ["created_at", "2014-09-23 01:09:41.496428"], ["name", "contract_3683cb86"], ["title", "Occaecati a perspiciatis praesentium."], ["updated_at", "2014-09-23 01:09:41.496428"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_3683cb86"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_3683cb86') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 01:09:41.500017"], ["version", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.504150"], ["updated_at", "2014-09-23 01:09:41.504150"]]  (5.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-23 01:09:41.511545"], ["updated_at", "2014-09-23 01:09:41.511545"], ["user_id", 6], ["user_type", "DummyUser"]]  (3.2ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.519311"], ["updated_at", "2014-09-23 01:09:41.519311"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.521787"], ["updated_at", "2014-09-23 01:09:41.521787"]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed dolores commodi nam consequatur. Hic adipisci explicabo occaecati. Asperiores ut vitae nulla ut quos. Et possimus officia dolor iste.\", \"Aperiam minus impedit. Doloremque esse porro dolores veniam id aut. Aut dolor error eius. Sit et voluptatem aperiam. Autem dolores quod amet officiis vero.\"]"], ["created_at", "2014-09-23 01:09:41.530309"], ["name", "contract_7860d2ee"], ["title", "Expedita natus necessitatibus et earum molestiae."], ["updated_at", "2014-09-23 01:09:41.530309"]]  (19.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_7860d2ee"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_7860d2ee') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-23 01:09:41.552884"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.555589"], ["updated_at", "2014-09-23 01:09:41.555589"]]  (5.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-23 01:09:41.563269"], ["updated_at", "2014-09-23 01:09:41.563269"], ["user_id", 9], ["user_type", "DummyUser"]]  (3.2ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 3]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Redirected to http://test.host/fine_print/contracts/3/signatures?r=Z011ZXBPVnJyRVdaTUcxVFkwU0tZUT09LS1UV0tuWUgrTHNaNGduUXI4Y3NvVDF3PT0%3D--05042065dbe4d31b865396403c6178cc9bddee6d Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 3 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.578039"], ["updated_at", "2014-09-23 01:09:41.578039"]]  (5.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.584770"], ["updated_at", "2014-09-23 01:09:41.584770"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit laborum alias repellat corrupti. Fugiat facilis est voluptas asperiores. Fugit voluptates eligendi dolorem. Eum ut dolor.\", \"Placeat sunt vel qui expedita porro et fugit. Ipsum consequatur autem voluptatem commodi. Dolor et eligendi est amet. Soluta dolorem voluptatem.\"]"], ["created_at", "2014-09-23 01:09:41.592935"], ["name", "contract_c3be9e71"], ["title", "Incidunt ratione doloribus voluptate vero."], ["updated_at", "2014-09-23 01:09:41.592935"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_c3be9e71"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_c3be9e71') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-23 01:09:41.597012"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.599913"], ["updated_at", "2014-09-23 01:09:41.599913"]]  (5.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-23 01:09:41.606929"], ["updated_at", "2014-09-23 01:09:41.606929"], ["user_id", 12], ["user_type", "DummyUser"]]  (3.4ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.617000"], ["updated_at", "2014-09-23 01:09:41.617000"]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.619760"], ["updated_at", "2014-09-23 01:09:41.619760"]]  (5.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolore saepe eaque. Dignissimos excepturi dolorem aut ducimus perspiciatis. Amet sit deleniti doloribus eum quis est quod.\", \"Ut magni harum aperiam. Laborum quo iusto ut. Illo consequatur tenetur accusamus.\"]"], ["created_at", "2014-09-23 01:09:41.629317"], ["name", "contract_6e71ba79"], ["title", "Optio et quaerat vitae beatae sapiente."], ["updated_at", "2014-09-23 01:09:41.629317"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_6e71ba79"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_6e71ba79') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-23 01:09:41.635096"], ["version", 1]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.643917"], ["updated_at", "2014-09-23 01:09:41.643917"]]  (5.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-23 01:09:41.652156"], ["updated_at", "2014-09-23 01:09:41.652156"], ["user_id", 15], ["user_type", "DummyUser"]]  (5.0ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.669975"], ["updated_at", "2014-09-23 01:09:41.669975"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.677027"], ["updated_at", "2014-09-23 01:09:41.677027"]]  (68.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint facere soluta doloribus ut omnis rerum rerum. Nobis molestiae ipsum dolor eaque et voluptatem sunt. Laudantium possimus saepe id error ut.\", \"Aliquam sapiente laborum officia quia dolore velit. Aut laborum labore ab consequatur nobis officia sint. Quo iusto facilis. Non eos sint nam. Eos neque ipsum consequatur.\"]"], ["created_at", "2014-09-23 01:09:41.749038"], ["name", "contract_a550b074"], ["title", "Illo aperiam corporis facere nesciunt eligendi vero aut."], ["updated_at", "2014-09-23 01:09:41.749038"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a550b074"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_a550b074') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (1.7ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-23 01:09:41.754189"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.758988"], ["updated_at", "2014-09-23 01:09:41.758988"]]  (6.2ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-23 01:09:41.766859"], ["updated_at", "2014-09-23 01:09:41.766859"], ["user_id", 18], ["user_type", "DummyUser"]]  (3.3ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.775269"], ["updated_at", "2014-09-23 01:09:41.775269"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.781848"], ["updated_at", "2014-09-23 01:09:41.781848"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Consequatur quia autem ullam exercitationem molestiae sit tempore. Debitis sequi magnam nemo molestias quo quos. Sed incidunt alias.\", \"Rerum vero est. Reprehenderit ut earum eveniet laborum. Quaerat eum expedita.\"]"], ["created_at", "2014-09-23 01:09:41.784258"], ["name", "contract_edb5ed3c"], ["title", "Nulla et repudiandae temporibus omnis eaque excepturi."], ["updated_at", "2014-09-23 01:09:41.784258"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_edb5ed3c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_edb5ed3c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 01:09:41.789933"], ["version", 1]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.797515"], ["updated_at", "2014-09-23 01:09:41.797515"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-23 01:09:41.804909"], ["updated_at", "2014-09-23 01:09:41.804909"], ["user_id", 21], ["user_type", "DummyUser"]]  (3.3ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.814340"], ["updated_at", "2014-09-23 01:09:41.814340"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.821666"], ["updated_at", "2014-09-23 01:09:41.821666"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus voluptatibus molestias non beatae nulla exercitationem rerum. Quod voluptates reiciendis. Omnis iusto accusantium ab unde debitis culpa.\", \"Laudantium deleniti consequatur ut aut. Laborum sint veritatis velit officiis maiores. Ut eveniet nostrum aut pariatur qui.\"]"], ["created_at", "2014-09-23 01:09:41.829756"], ["name", "contract_62d56509"], ["title", "Neque fugiat repellendus."], ["updated_at", "2014-09-23 01:09:41.829756"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_62d56509"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_62d56509') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-23 01:09:41.835738"], ["version", 1]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.843346"], ["updated_at", "2014-09-23 01:09:41.843346"]]  (6.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-23 01:09:41.850988"], ["updated_at", "2014-09-23 01:09:41.850988"], ["user_id", 24], ["user_type", "DummyUser"]]  (3.1ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Exercitationem quia error quis. Fugit ea debitis laboriosam quo a. Quo voluptas sit culpa. Qui iste quia praesentium.\", \"Magni labore nobis tenetur et sequi. Qui error ab nesciunt dolorem enim inventore. Ab assumenda possimus et iste debitis. Beatae eos ea sit molestias dolor doloribus id. Harum labore nostrum delectus commodi aut debitis sint.\"]"], ["created_at", "2014-09-23 01:09:41.858581"], ["name", "contract_31311a5a"], ["title", "Quam asperiores labore."], ["updated_at", "2014-09-23 01:09:41.858581"]]  (3.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates tenetur optio. Iusto rerum fugiat. Eius molestiae qui aspernatur facilis id non omnis.\", \"Doloribus est autem iste nihil ut. Neque ea deserunt. Beatae ut nobis consequatur voluptatem. Reprehenderit enim placeat praesentium ut maiores.\"]"], ["created_at", "2014-09-23 01:09:41.865678"], ["name", "contract_8de2ae20"], ["title", "Sit consequatur aliquid quas et porro."], ["updated_at", "2014-09-23 01:09:41.865678"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8de2ae20"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_8de2ae20') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-23 01:09:41.871535"], ["version", 1]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:41.879335"], ["updated_at", "2014-09-23 01:09:41.879335"]]  (5.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo perspiciatis placeat qui at dolores molestiae quam. Officiis occaecati possimus nihil voluptas. Sit eos sed a cum reiciendis iure. Iure in rerum.\", \"Deserunt officia autem rerum sit voluptatem et. Est assumenda modi dolorem voluptate. Repellat assumenda velit et beatae asperiores.\"]"], ["created_at", "2014-09-23 01:09:41.889742"], ["name", "contract_73b24316"], ["title", "Suscipit vel itaque dolores expedita voluptas."], ["updated_at", "2014-09-23 01:09:41.889742"]]  (3.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73b24316"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_73b24316') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-23 01:09:41.896416"], ["version", 1]]  (5.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_73b24316' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nemo perspiciatis placeat qui at dolores molestiae quam. Officiis occaecati possimus nihil voluptas. Sit eos sed a cum reiciendis iure. Iure in rerum.\", \"Deserunt officia autem rerum sit voluptatem et. Est assumenda modi dolorem voluptate. Repellat assumenda velit et beatae asperiores.\"]"], ["created_at", "2014-09-23 01:09:41.905599"], ["name", "contract_73b24316"], ["title", "Suscipit vel itaque dolores expedita voluptas."], ["updated_at", "2014-09-23 01:09:41.905599"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_73b24316"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'contract_73b24316') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-23 01:09:41.909454"], ["version", 2]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur tempore quis. Maiores rerum expedita. Reprehenderit consequatur architecto. Consequatur architecto omnis consequuntur et nisi nam aut. Necessitatibus modi soluta officia.\", \"Rem suscipit voluptatibus qui consequuntur aliquid facere repellendus. Doloribus perferendis neque qui rerum. Vel officia possimus et qui amet illum totam. Magni ut quis. Exercitationem et maiores voluptas nam et.\"]"], ["created_at", "2014-09-23 01:09:41.918419"], ["name", "contract_af17e398"], ["title", "Aliquam alias a dicta excepturi."], ["updated_at", "2014-09-23 01:09:41.918419"]]  (117.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_af17e398"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_af17e398') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-23 01:09:42.039023"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_af17e398' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur tempore quis. Maiores rerum expedita. Reprehenderit consequatur architecto. Consequatur architecto omnis consequuntur et nisi nam aut. Necessitatibus modi soluta officia.\", \"Rem suscipit voluptatibus qui consequuntur aliquid facere repellendus. Doloribus perferendis neque qui rerum. Vel officia possimus et qui amet illum totam. Magni ut quis. Exercitationem et maiores voluptas nam et.\"]"], ["created_at", "2014-09-23 01:09:42.042182"], ["name", "joe"], ["title", "Aliquam alias a dicta excepturi."], ["updated_at", "2014-09-23 01:09:42.042182"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-23 01:09:42.047787"], ["version", 1]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui rerum recusandae hic repellat et. Reiciendis omnis fuga repellendus inventore aliquid dolorum illo. Optio exercitationem nam ipsam tempore ad assumenda ipsa. Magni in commodi rem quisquam aut.\", \"Commodi nam velit dolore doloremque provident. Adipisci est est deleniti totam omnis mollitia. Velit ut aut nesciunt quo labore vero. Cum et ipsum vel ipsam. Consequatur dolorum laboriosam voluptatem et perspiciatis.\"]"], ["created_at", "2014-09-23 01:09:42.056192"], ["name", "contract_d497c912"], ["title", "Cum beatae et."], ["updated_at", "2014-09-23 01:09:42.056192"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d497c912"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_d497c912') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 01:09:42.061623"], ["version", 1]]  (6.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.070456"], ["updated_at", "2014-09-23 01:09:42.070456"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-23 01:09:42.077839"], ["updated_at", "2014-09-23 01:09:42.077839"], ["user_id", 26], ["user_type", "DummyUser"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_d497c912') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d497c912"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Expedita similique ipsa quia earum ut aut. Enim qui non ab sit. Non ab quaerat qui repellat doloremque facilis quam. Dignissimos dicta et dolorem.\", \"Dolore odio eligendi eveniet blanditiis quidem. Consequatur sit occaecati corrupti qui voluptatibus iure. Est accusamus consequuntur sed cumque et.\"]"], ["created_at", "2014-09-23 01:09:42.088734"], ["name", "contract_cc0ac709"], ["title", "Neque eos consectetur dolorem sunt."], ["updated_at", "2014-09-23 01:09:42.088734"]]  (3.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc0ac709"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_cc0ac709') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 01:09:42.096923"], ["version", 1]]  (5.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc0ac709"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cc0ac709"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 01:09:42.107131"], ["version", nil]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quia ea perferendis expedita est libero molestiae. Suscipit sit autem vel pariatur. Beatae voluptatum voluptate sit.\", \"Tempora quisquam rerum ipsa totam. Eos sed suscipit. Non accusantium voluptatem ut reiciendis qui.\"]"], ["created_at", "2014-09-23 01:09:42.116063"], ["name", "alpha"], ["title", "Voluptas illo delectus."], ["updated_at", "2014-09-23 01:09:42.116063"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-23 01:09:42.121745"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis sit sit omnis. Voluptas qui facilis atque nostrum voluptatem excepturi. Harum aut deleniti. Eum animi et quam error omnis. Iusto possimus ipsam quos ut et aspernatur et.\", \"Deserunt quis voluptas consequatur. Numquam asperiores est eaque dolorem. Sint quia laudantium culpa nihil earum reiciendis qui. Ea exercitationem laudantium ipsa. Repellendus id consequuntur harum ea.\"]"], ["created_at", "2014-09-23 01:09:42.124805"], ["name", "beta"], ["title", "Rerum numquam qui adipisci excepturi."], ["updated_at", "2014-09-23 01:09:42.124805"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-23 01:09:42.128414"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.130900"], ["updated_at", "2014-09-23 01:09:42.130900"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-23 01:09:42.133610"], ["updated_at", "2014-09-23 01:09:42.133610"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-23 01:09:42.136157"], ["updated_at", "2014-09-23 01:09:42.136157"], ["user_id", 27], ["user_type", "DummyUser"]]  (3.2ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:42.140987"], ["name", "alpha"], ["title", "Voluptas illo delectus."], ["updated_at", "2014-09-23 01:09:42.140987"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 01:09:42.146626"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (19, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui aut inventore nihil et omnis voluptas placeat. Ad expedita voluptatibus quas. Est quo molestiae enim beatae quod a voluptate. Est aspernatur sed excepturi id aliquam. Et autem maxime amet et et.\", \"Officia sapiente rerum id cupiditate voluptas veniam. Labore occaecati voluptatem est deleniti rerum non. Pariatur distinctio soluta.\"]"], ["created_at", "2014-09-23 01:09:42.152440"], ["name", "alpha"], ["title", "Autem natus molestias."], ["updated_at", "2014-09-23 01:09:42.152440"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-23 01:09:42.158159"], ["version", 3]]  (6.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum nobis in reprehenderit aut quo. Architecto exercitationem similique aspernatur assumenda asperiores. Libero repellat consequatur. Enim velit ducimus sint voluptatem.\", \"Numquam vel velit libero eius dolor ipsum. Sapiente recusandae totam ut vel ipsam blanditiis. Commodi quis vitae consequatur eos rerum quam.\"]"], ["created_at", "2014-09-23 01:09:42.167082"], ["name", "beta"], ["title", "Omnis fugiat reiciendis quibusdam aut rerum quo dicta."], ["updated_at", "2014-09-23 01:09:42.167082"]]  (6.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 01:09:42.177276"], ["version", 2]]  (8.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.187968"], ["updated_at", "2014-09-23 01:09:42.187968"]]  (8.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-23 01:09:42.198800"], ["updated_at", "2014-09-23 01:09:42.198800"], ["user_id", 28], ["user_type", "DummyUser"]]  (3.3ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-23 01:09:42.204241"], ["updated_at", "2014-09-23 01:09:42.204241"], ["user_id", 28], ["user_type", "DummyUser"]]  (3.4ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:42.209489"], ["name", "alpha"], ["title", "Autem natus molestias."], ["updated_at", "2014-09-23 01:09:42.209489"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 01:09:42.215443"], ["version", 4]]  (5.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-23 01:09:42.236985"], ["updated_at", "2014-09-23 01:09:42.236985"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20, 19, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repudiandae consequatur ipsa tenetur autem accusantium iure. Quia qui voluptatem qui qui debitis. Omnis magni corrupti quo. Esse vero rerum animi itaque. Iusto et quo voluptas officia sint at.\", \"Molestias facilis cupiditate qui. Impedit quasi incidunt quo. Voluptate labore ut qui quaerat debitis corrupti.\"]"], ["created_at", "2014-09-23 01:09:42.249480"], ["name", "alpha"], ["title", "Consequatur sit non illum omnis laboriosam."], ["updated_at", "2014-09-23 01:09:42.249480"]]  (69.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 01:09:42.322815"], ["version", 5]]  (57.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vero consequatur aut in aspernatur numquam dolor delectus. Et id est vel recusandae voluptatem. Vel est tempore. Est dolor est ut voluptas maxime.\", \"Molestiae rem mollitia accusantium molestias error quaerat. Numquam dolores voluptatum officiis commodi. Laborum ducimus nesciunt quia qui itaque magni error.\"]"], ["created_at", "2014-09-23 01:09:42.382862"], ["name", "beta"], ["title", "A nihil et sint quia alias est qui."], ["updated_at", "2014-09-23 01:09:42.382862"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 01:09:42.388798"], ["version", 3]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.396393"], ["updated_at", "2014-09-23 01:09:42.396393"]]  (5.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 01:09:42.404334"], ["updated_at", "2014-09-23 01:09:42.404334"], ["user_id", 29], ["user_type", "DummyUser"]]  (3.3ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-23 01:09:42.409583"], ["updated_at", "2014-09-23 01:09:42.409583"], ["user_id", 29], ["user_type", "DummyUser"]]  (3.2ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:42.414582"], ["name", "alpha"], ["title", "Consequatur sit non illum omnis laboriosam."], ["updated_at", "2014-09-23 01:09:42.414582"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 01:09:42.421833"], ["version", 6]]  (8.0ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (25, 24, 1, 2, 8, 5, 12, 3, 10, 6, 13, 4, 15, 7, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"A recusandae doloremque. Beatae quas consectetur dolorem. Nihil numquam rerum soluta neque eaque vel.\", \"Occaecati autem itaque quibusdam adipisci beatae voluptas dolores. Dolor et ea inventore nobis. Beatae sunt iusto vitae velit tempore veniam quia.\"]"], ["created_at", "2014-09-23 01:09:42.439116"], ["name", "alpha"], ["title", "Eveniet labore dicta ullam nihil qui molestias."], ["updated_at", "2014-09-23 01:09:42.439116"]]  (3.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 01:09:42.445336"], ["version", 7]]  (5.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem nemo voluptatem in. Magnam quod ratione alias corrupti. Accusamus molestias omnis magni iste. Aut ut perspiciatis eos. Eius ut necessitatibus voluptatem est aut.\", \"Minima adipisci corporis quia alias explicabo aspernatur natus. Inventore nemo eum nam eligendi quo provident culpa. Sit quod cumque perspiciatis ratione est aperiam.\"]"], ["created_at", "2014-09-23 01:09:42.453605"], ["name", "beta"], ["title", "Numquam officia laborum."], ["updated_at", "2014-09-23 01:09:42.453605"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 01:09:42.459301"], ["version", 4]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.466796"], ["updated_at", "2014-09-23 01:09:42.466796"]]  (5.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 01:09:42.474866"], ["updated_at", "2014-09-23 01:09:42.474866"], ["user_id", 30], ["user_type", "DummyUser"]]  (3.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-23 01:09:42.480874"], ["updated_at", "2014-09-23 01:09:42.480874"], ["user_id", 30], ["user_type", "DummyUser"]]  (3.2ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:09:42.485909"], ["name", "alpha"], ["title", "Eveniet labore dicta ullam nihil qui molestias."], ["updated_at", "2014-09-23 01:09:42.485909"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 01:09:42.491839"], ["version", 8]]  (5.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.506298"], ["updated_at", "2014-09-23 01:09:42.506298"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.513262"], ["updated_at", "2014-09-23 01:09:42.513262"]]  (5.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.522946"], ["updated_at", "2014-09-23 01:09:42.522946"]]  (151.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.675807"], ["updated_at", "2014-09-23 01:09:42.675807"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.680588"], ["updated_at", "2014-09-23 01:09:42.680588"]]  (6.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.688016"], ["updated_at", "2014-09-23 01:09:42.688016"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem adipisci esse excepturi. Incidunt exercitationem est nulla. Quo voluptates beatae doloribus sit unde suscipit doloremque. Minima unde sunt quas dolor. Atque dolores eligendi et tempora id voluptatem.\", \"Quos nulla eos in harum. Velit modi veniam quae maiores voluptas. Possimus aut nisi nam velit qui maxime voluptas. Aut voluptates repudiandae sed.\"]"], ["created_at", "2014-09-23 01:09:42.695998"], ["name", "contract_21e52c49"], ["title", "Ducimus id reprehenderit vitae rerum qui."], ["updated_at", "2014-09-23 01:09:42.695998"]]  (3.4ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 01:09:42.702902"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 01:09:42.702902"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.707016"], ["updated_at", "2014-09-23 01:09:42.707016"]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.714029"], ["updated_at", "2014-09-23 01:09:42.714029"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas dolor est cum sapiente consequatur reprehenderit et. Dolor fugit consequatur accusantium earum blanditiis temporibus. Velit voluptates doloribus ut quos nulla. Non et molestias et quam illo.\", \"Sint qui qui est labore id. Sit distinctio dignissimos ea fugiat autem rem. Ab ratione aut quo et adipisci. Tempora tenetur qui sit est laborum ut. Dolor quo dolores et in.\"]"], ["created_at", "2014-09-23 01:09:42.722912"], ["name", "contract_f48cdc85"], ["title", "Et sit voluptatem odio aut itaque laboriosam."], ["updated_at", "2014-09-23 01:09:42.722912"]]  (3.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.731121"], ["updated_at", "2014-09-23 01:09:42.731121"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.738018"], ["updated_at", "2014-09-23 01:09:42.738018"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut quod sed. Accusamus enim impedit. Architecto sint animi occaecati dolorum ad neque quia. Eum dolore quis occaecati. Et ut commodi dolor assumenda praesentium porro est.\", \"Doloremque sed quo sed saepe neque. Nisi quo excepturi error assumenda. Vel sit voluptas sequi laudantium similique.\"]"], ["created_at", "2014-09-23 01:09:42.745446"], ["name", "contract_c50fc23e"], ["title", "Atque ipsum quas laboriosam consequuntur quia."], ["updated_at", "2014-09-23 01:09:42.745446"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.753156"], ["updated_at", "2014-09-23 01:09:42.753156"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.759936"], ["updated_at", "2014-09-23 01:09:42.759936"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Enim nihil sit fuga vitae quos. Id doloremque dolores quia. Non qui officiis aut.\", \"Nesciunt dolor perferendis. Ut beatae harum voluptatibus similique voluptatem minima. Dolorum et iure rerum possimus.\"]"], ["created_at", "2014-09-23 01:09:42.768030"], ["name", "contract_732edb9d"], ["title", "Quis exercitationem ea omnis error."], ["updated_at", "2014-09-23 01:09:42.768030"]]  (3.4ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_732edb9d"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'contract_732edb9d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 01:09:42.777930"], ["version", 1]]  (6.3ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 13ms (ActiveRecord: 6.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.788521"], ["updated_at", "2014-09-23 01:09:42.788521"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.795314"], ["updated_at", "2014-09-23 01:09:42.795314"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint corporis dignissimos omnis excepturi maiores fuga. Iste consequatur unde animi odit magni ut. Excepturi eveniet dolor reprehenderit dolore voluptas nemo. Iste nostrum ipsum sint consectetur voluptas expedita vero.\", \"Maiores non ipsam ut. Vero dolor nostrum amet quia molestiae tempora. Atque rerum aut dolores dolore qui porro at. Iusto quod corporis sunt et amet. Necessitatibus reprehenderit perspiciatis commodi.\"]"], ["created_at", "2014-09-23 01:09:42.802736"], ["name", "contract_fcc90d0b"], ["title", "Omnis qui cumque praesentium rerum vitae aut eveniet."], ["updated_at", "2014-09-23 01:09:42.802736"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.810734"], ["updated_at", "2014-09-23 01:09:42.810734"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.817590"], ["updated_at", "2014-09-23 01:09:42.817590"]]  (6.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo fugiat illum praesentium sed. Repellendus doloremque sed id autem natus quia. Voluptate eligendi aut iusto qui voluptatem explicabo.\", \"Quibusdam est vel sint illo neque. Nostrum quisquam facilis labore. Dolorem autem et id exercitationem laborum.\"]"], ["created_at", "2014-09-23 01:09:42.825176"], ["name", "contract_8be613fb"], ["title", "Commodi assumenda doloribus."], ["updated_at", "2014-09-23 01:09:42.825176"]]  (104.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8be613fb"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_8be613fb') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 01:09:42.933866"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.941138"], ["updated_at", "2014-09-23 01:09:42.941138"]]  (6.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.948401"], ["updated_at", "2014-09-23 01:09:42.948401"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Autem voluptatum optio est qui tenetur quae. Sit dolores et cupiditate et perferendis totam qui. Exercitationem voluptatem voluptatem possimus dolore.\", \"Est deserunt debitis ipsa omnis. Ea ipsa provident ea qui iusto autem commodi. Facilis rerum laborum. Ea nostrum repellendus aspernatur quo. Error vero impedit ullam minima eveniet debitis sit.\"]"], ["created_at", "2014-09-23 01:09:42.950619"], ["name", "contract_cfc5796d"], ["title", "Itaque maiores quasi dolorem."], ["updated_at", "2014-09-23 01:09:42.950619"]]  (3.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_cfc5796d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_cfc5796d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 01:09:42.956422"], ["version", 1]]  (5.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cfc5796d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.968931"], ["updated_at", "2014-09-23 01:09:42.968931"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.975858"], ["updated_at", "2014-09-23 01:09:42.975858"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut sed voluptas quo possimus. Facilis ea quo. Rerum odit vel. Qui perspiciatis quibusdam. Eum voluptatem dolor iusto.\", \"Similique a est repellendus fugit qui. Est autem sed perspiciatis. Quidem amet atque quo sed quia ad. Nulla architecto corporis. Quaerat dolorem voluptates maxime vero et modi excepturi.\"]"], ["created_at", "2014-09-23 01:09:42.984242"], ["name", "contract_2db84312"], ["title", "Voluptatem dolorem cumque necessitatibus."], ["updated_at", "2014-09-23 01:09:42.984242"]]  (3.3ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20, 19, 17, 27, 24, 21, 18, 29, 1, 37, 9, 2, 8, 5, 33, 12, 11, 3, 35, 10, 6, 13, 4, 32, 16, 36, 15, 7, 31, 34, 14, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:42.995313"], ["updated_at", "2014-09-23 01:09:42.995313"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.002173"], ["updated_at", "2014-09-23 01:09:43.002173"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ullam voluptatibus et recusandae dolor. Quia non eum quisquam. Sit iste quis nam enim.\", \"Dolorem dignissimos inventore tempore praesentium voluptates ut. Iure et itaque dolore similique consequuntur. Esse autem omnis maxime debitis.\"]"], ["created_at", "2014-09-23 01:09:43.009551"], ["name", "contract_00853a3f"], ["title", "Eius voluptatem magnam."], ["updated_at", "2014-09-23 01:09:43.009551"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00853a3f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_00853a3f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 01:09:43.015406"], ["version", 1]]  (5.9ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00853a3f"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 01:09:43.033128"], ["version", nil]]  (6.2ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 19ms (ActiveRecord: 6.7ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.044435"], ["updated_at", "2014-09-23 01:09:43.044435"]]  (6.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.051458"], ["updated_at", "2014-09-23 01:09:43.051458"]]  (5.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quaerat sapiente id nobis facere maxime veniam numquam. Eveniet possimus nam earum eum. At qui sit eum fugit totam nam. Accusantium iste harum et. Iure fuga laborum est.\", \"Nostrum doloribus id qui est voluptatem sit. Doloribus quis voluptates modi nostrum rerum. In explicabo fugiat modi dolores deleniti. Sint eos officia veritatis.\"]"], ["created_at", "2014-09-23 01:09:43.058981"], ["name", "contract_37b237b2"], ["title", "Et qui consectetur in dicta sed praesentium quibusdam."], ["updated_at", "2014-09-23 01:09:43.058981"]]  (3.3ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.068485"], ["updated_at", "2014-09-23 01:09:43.068485"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.075516"], ["updated_at", "2014-09-23 01:09:43.075516"]]  (6.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et perferendis voluptatem quam id. Nostrum veritatis et dignissimos tempora. Dolor debitis quam minima. Sit iure veniam.\", \"Sint beatae et et nam rerum corrupti. Non aut vero. Veniam nulla et. Amet maiores tenetur ullam et doloremque sunt ipsam.\"]"], ["created_at", "2014-09-23 01:09:43.083639"], ["name", "contract_4824cdeb"], ["title", "Autem reprehenderit odit."], ["updated_at", "2014-09-23 01:09:43.083639"]]  (3.4ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.093360"], ["updated_at", "2014-09-23 01:09:43.093360"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.100641"], ["updated_at", "2014-09-23 01:09:43.100641"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nisi minus enim hic ea sed. Enim optio explicabo dolor reiciendis dicta. Numquam aspernatur tempore. Deleniti sed in odio veniam culpa perspiciatis aliquid.\", \"A assumenda vitae nam ut. Aut occaecati rerum. Est quam ut expedita exercitationem eum deserunt illo.\"]"], ["created_at", "2014-09-23 01:09:43.108170"], ["name", "contract_68a96d87"], ["title", "Et quis aliquam omnis facilis."], ["updated_at", "2014-09-23 01:09:43.108170"]]  (107.9ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.222551"], ["updated_at", "2014-09-23 01:09:43.222551"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.224221"], ["updated_at", "2014-09-23 01:09:43.224221"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Praesentium minus eum qui eveniet ad dignissimos. Rerum expedita quia a distinctio. Nulla sed accusantium porro aut praesentium eum. Aut deserunt atque adipisci accusamus.\", \"Qui soluta magnam iusto assumenda maxime deleniti voluptatibus. Asperiores accusamus repellendus et. Et voluptate dolores et deleniti quia.\"]"], ["created_at", "2014-09-23 01:09:43.231745"], ["name", "contract_cf553de3"], ["title", "Eligendi porro ut voluptas dolores ea deleniti."], ["updated_at", "2014-09-23 01:09:43.231745"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.238485"], ["updated_at", "2014-09-23 01:09:43.238485"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.245481"], ["updated_at", "2014-09-23 01:09:43.245481"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis nisi commodi aut tempore labore. Et et nihil repellat iure ut quaerat aliquam. Natus ipsam suscipit rerum non eum. Dolore eum et doloremque fugit est. Id alias voluptate quaerat delectus laborum in aut.\", \"Voluptatem explicabo aut quasi eaque similique id. Deserunt quas ut. Id qui enim omnis occaecati totam ut sapiente. Amet reprehenderit repellendus ad et eligendi eaque nulla.\"]"], ["created_at", "2014-09-23 01:09:43.252932"], ["name", "contract_869625d4"], ["title", "Voluptatibus voluptas molestias."], ["updated_at", "2014-09-23 01:09:43.252932"]]  (3.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 43 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 01:09:43.260336"]]  (6.2ms) commit transaction Redirected to http://test.host/fine_print/contracts/43 Completed 302 Found in 11ms (ActiveRecord: 6.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.272288"], ["updated_at", "2014-09-23 01:09:43.272288"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.279582"], ["updated_at", "2014-09-23 01:09:43.279582"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium minus beatae. Unde fuga aut et quia voluptate ipsa velit. Et itaque ut ipsum modi iusto. Eum quia vel consectetur labore ipsum voluptas.\", \"Tempore quas eum et et ea nisi officiis. Et et unde illum. Atque similique perferendis aliquid eum hic.\"]"], ["created_at", "2014-09-23 01:09:43.288486"], ["name", "contract_4399f9b0"], ["title", "Nulla non illo illum maiores."], ["updated_at", "2014-09-23 01:09:43.288486"]]  (3.2ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.297133"], ["updated_at", "2014-09-23 01:09:43.297133"]]  (5.7ms) commit transaction  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.304593"], ["updated_at", "2014-09-23 01:09:43.304593"]]  (6.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut incidunt explicabo numquam consectetur aliquid est sit. Sint architecto corporis atque. Accusantium perspiciatis explicabo. Dolor rerum velit qui reiciendis eum aut harum. Ea velit maxime nisi.\", \"Rerum aut id ab tenetur aut cum. A sed quaerat. Est rerum optio praesentium ab eum aliquam eaque. Distinctio corrupti impedit.\"]"], ["created_at", "2014-09-23 01:09:43.313508"], ["name", "contract_06399f2f"], ["title", "Eos excepturi sit tenetur voluptas ducimus quas."], ["updated_at", "2014-09-23 01:09:43.313508"]]  (3.3ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 45]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 45]]  (5.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 10ms (ActiveRecord: 6.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 45 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.333982"], ["updated_at", "2014-09-23 01:09:43.333982"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.341419"], ["updated_at", "2014-09-23 01:09:43.341419"]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit et modi nisi. Non incidunt enim qui. Et quia voluptatem sit.\", \"Nam dolore voluptatibus commodi et. Modi odio quae sit a. Exercitationem at maiores vel ea sed id. Dolor quia officiis voluptatem animi. Soluta cupiditate quae qui sit voluptas aut veritatis.\"]"], ["created_at", "2014-09-23 01:09:43.349331"], ["name", "contract_b5c4ec39"], ["title", "Delectus aliquid et."], ["updated_at", "2014-09-23 01:09:43.349331"]]  (8.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_b5c4ec39"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_b5c4ec39') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 01:09:43.363293"], ["version", 1]]  (5.9ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"46"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.378839"], ["updated_at", "2014-09-23 01:09:43.378839"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:09:43.385801"], ["updated_at", "2014-09-23 01:09:43.385801"]]  (5.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Id soluta autem illo a totam. Architecto velit voluptatem. Delectus saepe qui unde assumenda provident. Aperiam doloremque esse.\", \"Culpa nam laudantium voluptatem. Quo cum vel quam et quos asperiores a. Natus eos quia vitae ab. Voluptas rerum quos debitis aperiam veritatis nesciunt qui.\"]"], ["created_at", "2014-09-23 01:09:43.393236"], ["name", "contract_25c35484"], ["title", "Impedit in commodi temporibus."], ["updated_at", "2014-09-23 01:09:43.393236"]]  (3.1ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores eos est eaque. Atque eum reprehenderit labore nisi autem nihil voluptatem. Quisquam possimus maiores veritatis rerum est consequatur voluptate. Et aut quia fuga adipisci. Autem inventore rerum.\", \"Modi perferendis accusantium non totam. Autem quae provident officiis et. Asperiores nobis placeat voluptatem modi velit. Nihil officiis eligendi qui repellat tenetur.\"]"], ["created_at", "2014-09-23 01:11:36.075798"], ["name", "contract_e1419e0c"], ["title", "Eos unde praesentium consequatur provident voluptates."], ["updated_at", "2014-09-23 01:11:36.075798"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorum est minus. Asperiores quibusdam ab. Unde delectus modi. Nemo beatae vel ab voluptas. Et est nisi maiores.\", \"Et aut sed et odit dicta vitae. Quis voluptatem qui quia. Voluptas recusandae necessitatibus facere. Aliquam tempora fugiat.\"]"], ["created_at", "2014-09-23 01:11:36.095237"], ["name", "contract_83402c01"], ["title", "Amet ipsa quisquam reprehenderit."], ["updated_at", "2014-09-23 01:11:36.095237"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83402c01"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_83402c01') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-23 01:11:36.100322"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.106418"], ["updated_at", "2014-09-23 01:11:36.106418"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.115517"], ["updated_at", "2014-09-23 01:11:36.115517"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.117180"], ["updated_at", "2014-09-23 01:11:36.117180"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Illo aliquam qui tenetur voluptatem dolorem quo ut. Optio sed distinctio eligendi. In id consectetur voluptas. Sint eos nulla numquam dolorum eos non cupiditate. Aut praesentium et illo dolorem quo.\", \"Minima et molestiae aut ea et repudiandae laudantium. Dolorem ut voluptatem vitae. Culpa doloribus ut aliquid.\"]"], ["created_at", "2014-09-23 01:11:36.119801"], ["name", "contract_8f4e80a7"], ["title", "Inventore ut qui consectetur nam nulla."], ["updated_at", "2014-09-23 01:11:36.119801"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.129607"], ["updated_at", "2014-09-23 01:11:36.129607"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.131608"], ["updated_at", "2014-09-23 01:11:36.131608"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Itaque dolorem eligendi asperiores quas esse rerum. Ut et facilis. Dolore voluptatem voluptas autem perspiciatis qui repellat rerum. Tempora aut odio unde.\", \"Nihil quia et omnis tempora dolore minus facilis. Consequatur ipsam natus voluptatibus pariatur nisi ea et. Neque eum sint aliquid facere ut eum. Fuga quod non.\"]"], ["created_at", "2014-09-23 01:11:36.134388"], ["name", "contract_afb2c7bd"], ["title", "Dolorem vitae perspiciatis eligendi quod voluptates id nisi."], ["updated_at", "2014-09-23 01:11:36.134388"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.145767"], ["updated_at", "2014-09-23 01:11:36.145767"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.147810"], ["updated_at", "2014-09-23 01:11:36.147810"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Nostrum voluptatibus sit et fuga. Rem et repellat neque impedit consectetur deleniti velit. Dignissimos quasi magnam sed. Laudantium iste minus.\", \"Magni odio optio soluta rerum et. In ratione odio est ea facilis. Sint delectus ut architecto natus ex.\"]"], ["created_at", "2014-09-23 01:11:36.151014"], ["name", "contract_a93b438f"], ["title", "Minima exercitationem id commodi iure dolorem."], ["updated_at", "2014-09-23 01:11:36.151014"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.158073"], ["updated_at", "2014-09-23 01:11:36.158073"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.160320"], ["updated_at", "2014-09-23 01:11:36.160320"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut voluptatum praesentium quas ut. Reiciendis illum dolorum in ipsam expedita vel repudiandae. Dolores fugiat impedit et. Quidem ex enim et sit.\", \"Consequuntur ducimus nihil qui voluptatem sequi et. Et expedita recusandae itaque ex minus aliquid. Sit quia ut soluta ducimus libero.\"]"], ["created_at", "2014-09-23 01:11:36.163123"], ["name", "contract_6a4f2219"], ["title", "Totam minima perspiciatis natus aliquam autem."], ["updated_at", "2014-09-23 01:11:36.163123"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-23 01:11:36.168728"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.175285"], ["updated_at", "2014-09-23 01:11:36.175285"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.176889"], ["updated_at", "2014-09-23 01:11:36.176889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea qui quia iure eos in error quo. Quia eveniet autem. Neque id ut itaque. Optio exercitationem doloremque. Sint facilis modi pariatur dicta accusamus mollitia.\", \"Distinctio fuga officiis facere vero molestiae aliquid quia. Explicabo similique delectus accusamus quia ipsam asperiores. Quisquam et impedit. Autem quod sed quae omnis excepturi ex.\"]"], ["created_at", "2014-09-23 01:11:36.179256"], ["name", "contract_68cee340"], ["title", "Libero officia qui rerum odio neque."], ["updated_at", "2014-09-23 01:11:36.179256"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_68cee340"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_68cee340') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-23 01:11:36.182887"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.188583"], ["updated_at", "2014-09-23 01:11:36.188583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.191000"], ["updated_at", "2014-09-23 01:11:36.191000"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugit voluptas est. Magni ex ipsam ad laboriosam blanditiis. Quod non cum minus.\", \"Sunt eveniet reprehenderit qui. Neque aut ut qui delectus fuga iure et. Ea veniam facere. Eum quo doloribus architecto dolorum blanditiis aut at.\"]"], ["created_at", "2014-09-23 01:11:36.194057"], ["name", "contract_108f87e2"], ["title", "Rem asperiores ea."], ["updated_at", "2014-09-23 01:11:36.194057"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-23 01:11:36.197783"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-23 01:11:36.197783"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.201312"], ["updated_at", "2014-09-23 01:11:36.201312"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.202873"], ["updated_at", "2014-09-23 01:11:36.202873"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Recusandae sapiente voluptatibus optio eum velit. Et sunt omnis aliquid. Voluptas consequatur ratione sit hic magnam veritatis est. Nostrum tenetur provident qui sunt quasi repellat.\", \"Incidunt quasi et ut sit. Atque aut asperiores ex esse voluptate blanditiis. Ut voluptates est. Labore eveniet dolor temporibus cum. Repellat aut debitis necessitatibus aperiam excepturi sapiente.\"]"], ["created_at", "2014-09-23 01:11:36.205251"], ["name", "contract_9abb945f"], ["title", "Similique voluptatem voluptatem quaerat qui ratione voluptas est."], ["updated_at", "2014-09-23 01:11:36.205251"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.209495"], ["updated_at", "2014-09-23 01:11:36.209495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.211064"], ["updated_at", "2014-09-23 01:11:36.211064"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi debitis possimus. In omnis ullam fugiat dolor. Iusto perspiciatis quo sit sit suscipit qui unde. Ea minima repellendus corrupti. Quos quibusdam qui fugit tempore enim fuga.\", \"Totam rerum et officiis aut molestias ex quia. Eius et dolor. Ut dolor id hic amet. Pariatur sunt quo ipsa tenetur. Quia veniam esse nam sequi est est reprehenderit.\"]"], ["created_at", "2014-09-23 01:11:36.213760"], ["name", "contract_2afa1ecb"], ["title", "Ipsa amet voluptate perferendis iste."], ["updated_at", "2014-09-23 01:11:36.213760"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.218242"], ["updated_at", "2014-09-23 01:11:36.218242"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.219819"], ["updated_at", "2014-09-23 01:11:36.219819"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptatem culpa magnam aliquam et praesentium vitae. Fugiat consequatur autem ut quia. Iusto necessitatibus rerum est. Cumque ab ratione molestiae eligendi. Molestiae exercitationem natus ut earum magni.\", \"Et aspernatur et ipsam. Doloribus facere ea. Provident deleniti unde distinctio est. Quia quod commodi enim aut maxime.\"]"], ["created_at", "2014-09-23 01:11:36.222421"], ["name", "contract_9113b07f"], ["title", "Voluptates sunt distinctio."], ["updated_at", "2014-09-23 01:11:36.222421"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 12]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 12]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 12 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.237360"], ["updated_at", "2014-09-23 01:11:36.237360"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.239185"], ["updated_at", "2014-09-23 01:11:36.239185"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsum quia similique ipsa dolorem perferendis impedit et. Similique hic animi est beatae enim rerum qui. Et praesentium ea officiis voluptatem ipsum non. Aut qui necessitatibus libero fugit quod. Sunt ullam autem.\", \"Animi est aut qui id. Ut similique et excepturi ut quis pariatur. Molestiae dolore omnis porro autem eum rem perspiciatis. Ut tenetur rerum pariatur sunt debitis. Quia explicabo dolore.\"]"], ["created_at", "2014-09-23 01:11:36.241559"], ["name", "contract_b0b1598f"], ["title", "Soluta error cum."], ["updated_at", "2014-09-23 01:11:36.241559"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.245791"], ["updated_at", "2014-09-23 01:11:36.245791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.247761"], ["updated_at", "2014-09-23 01:11:36.247761"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Facere cumque vel. Ipsam tempora fugiat atque. Fuga rerum necessitatibus enim est. Enim eos earum eos est culpa modi.\", \"Quis quasi adipisci. Quo quia eius quis expedita deleniti. Necessitatibus quia possimus eum ratione magnam sint. Iure aut vel.\"]"], ["created_at", "2014-09-23 01:11:36.249923"], ["name", "contract_fbdbc20f"], ["title", "Iure nihil omnis velit sunt assumenda."], ["updated_at", "2014-09-23 01:11:36.249923"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.255944"], ["updated_at", "2014-09-23 01:11:36.255944"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.257599"], ["updated_at", "2014-09-23 01:11:36.257599"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos voluptatem autem atque libero itaque nobis. Libero autem ratione quo. Quo assumenda ut. Ex dolorum reprehenderit qui unde mollitia. Sunt illum sint animi.\", \"Harum voluptates cum facere. Enim vero nostrum nulla harum facere autem velit. Sit mollitia consequatur. Enim voluptas omnis et repellat aperiam voluptas necessitatibus. Facere mollitia quis molestiae voluptatem.\"]"], ["created_at", "2014-09-23 01:11:36.259812"], ["name", "contract_5179b02b"], ["title", "Non perferendis quo enim."], ["updated_at", "2014-09-23 01:11:36.259812"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5179b02b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'contract_5179b02b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-23 01:11:36.264098"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.270603"], ["updated_at", "2014-09-23 01:11:36.270603"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.272033"], ["updated_at", "2014-09-23 01:11:36.272033"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Animi natus laudantium. Maiores optio suscipit ab quam quo consectetur. Veniam saepe placeat mollitia nesciunt quo.\", \"Ab accusantium deserunt. Delectus sit perspiciatis. Dolores neque quam est. Quo molestias eos autem vel.\"]"], ["created_at", "2014-09-23 01:11:36.274382"], ["name", "contract_89a40e90"], ["title", "Quibusdam libero odit."], ["updated_at", "2014-09-23 01:11:36.274382"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_89a40e90"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'contract_89a40e90') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-23 01:11:36.277348"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_89a40e90' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.284279"], ["updated_at", "2014-09-23 01:11:36.284279"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.285811"], ["updated_at", "2014-09-23 01:11:36.285811"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum est et illo ad sunt quia omnis. Dicta corporis est. Et molestias eaque aut. Iusto expedita ea reprehenderit quia odio assumenda.\", \"Quo unde maxime. Eius repellendus sint numquam dolores. Sint hic consequatur. Iusto ut porro et sed in.\"]"], ["created_at", "2014-09-23 01:11:36.287901"], ["name", "contract_8276b2b4"], ["title", "Et atque voluptate."], ["updated_at", "2014-09-23 01:11:36.287901"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.293671"], ["updated_at", "2014-09-23 01:11:36.293671"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.295843"], ["updated_at", "2014-09-23 01:11:36.295843"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur quo impedit sunt sit accusantium quod dolor. Est velit quas quis cupiditate voluptatem repellendus. Ut corrupti rerum distinctio et necessitatibus odit. Non iusto voluptatem.\", \"Sit aliquam molestiae quas a at explicabo error. Repellat natus explicabo excepturi. Cumque voluptatem inventore.\"]"], ["created_at", "2014-09-23 01:11:36.298847"], ["name", "contract_e816287b"], ["title", "Omnis aspernatur asperiores ipsam accusamus pariatur dolore vel."], ["updated_at", "2014-09-23 01:11:36.298847"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 1ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.303949"], ["updated_at", "2014-09-23 01:11:36.303949"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.305439"], ["updated_at", "2014-09-23 01:11:36.305439"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Delectus doloribus ut quis aut ex et. Hic facilis non non. Sint architecto labore eum quisquam. Aperiam minus sunt soluta velit.\", \"Quia est perspiciatis numquam blanditiis. Alias amet deleniti qui. Ut eligendi assumenda occaecati a. Quia saepe corporis.\"]"], ["created_at", "2014-09-23 01:11:36.307512"], ["name", "contract_447f0235"], ["title", "Accusamus ut delectus."], ["updated_at", "2014-09-23 01:11:36.307512"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_447f0235"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'contract_447f0235') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-23 01:11:36.314869"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.319615"], ["updated_at", "2014-09-23 01:11:36.319615"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.321156"], ["updated_at", "2014-09-23 01:11:36.321156"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit laboriosam et. Quas quod quibusdam dolor porro ad qui quia. Totam qui rerum fugit quas perferendis.\", \"Tempore dolores est soluta dolor placeat. Fugit quia enim atque repellat voluptatum. Pariatur debitis libero omnis.\"]"], ["created_at", "2014-09-23 01:11:36.323422"], ["name", "contract_7a7f65fb"], ["title", "Tenetur saepe itaque adipisci dolores a nostrum aut."], ["updated_at", "2014-09-23 01:11:36.323422"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 8, 11, 19, 15, 7, 20, 17, 2, 16, 3, 10, 5, 4, 13, 1, 18, 14, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.333759"], ["updated_at", "2014-09-23 01:11:36.333759"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.335445"], ["updated_at", "2014-09-23 01:11:36.335445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut sit mollitia nihil qui autem ullam. Alias voluptatem debitis quia accusantium maxime. Minima officia non delectus corrupti illum sunt. Temporibus distinctio cum incidunt.\", \"Et qui porro eos pariatur. Unde perspiciatis in neque qui. Quaerat est doloribus quasi accusantium.\"]"], ["created_at", "2014-09-23 01:11:36.337736"], ["name", "contract_a04c5861"], ["title", "Est quod eaque velit est."], ["updated_at", "2014-09-23 01:11:36.337736"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a04c5861"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'contract_a04c5861') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 01:11:36.341012"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_a04c5861"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-23 01:11:36.347998"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Impedit molestiae facere eos. Molestiae quisquam dolorum omnis ipsam in. Vel beatae eveniet at aspernatur. Enim qui sunt et animi excepturi.\", \"Magni recusandae officia tempore dolorem. Est voluptatem beatae magni. Dicta aspernatur in quas. Pariatur fugiat ipsum occaecati quidem a.\"]"], ["created_at", "2014-09-23 01:11:36.352907"], ["name", "alpha"], ["title", "Qui dolores molestiae esse autem."], ["updated_at", "2014-09-23 01:11:36.352907"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-23 01:11:36.355970"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eos repellendus quidem nemo iure amet. Accusantium velit illo. Eum quo consectetur et placeat molestiae dolor quibusdam.\", \"Molestiae molestiae incidunt est. Delectus qui quam in quasi est harum. Molestias saepe illo et sunt ipsam. Dolore impedit dolores velit dolorem inventore consequatur sequi.\"]"], ["created_at", "2014-09-23 01:11:36.358801"], ["name", "beta"], ["title", "Dolores ea explicabo laudantium occaecati earum eum veritatis."], ["updated_at", "2014-09-23 01:11:36.358801"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-23 01:11:36.362126"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.364525"], ["updated_at", "2014-09-23 01:11:36.364525"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-23 01:11:36.367438"], ["updated_at", "2014-09-23 01:11:36.367438"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-23 01:11:36.372815"], ["updated_at", "2014-09-23 01:11:36.372815"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:11:36.375236"], ["name", "alpha"], ["title", "Qui dolores molestiae esse autem."], ["updated_at", "2014-09-23 01:11:36.375236"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-23 01:11:36.378450"], ["version", 2]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quo quo laboriosam. Vel quibusdam ea. Temporibus aut illum ex reprehenderit. Sit dolor distinctio cupiditate dicta quam aut qui. Dolorum ad impedit provident fugiat asperiores atque.\", \"Soluta dolorem est enim. Nihil voluptatem atque nihil consequatur veritatis eaque. Et optio commodi aut ab ut repellendus dolores.\"]"], ["created_at", "2014-09-23 01:11:36.385018"], ["name", "alpha"], ["title", "Eaque voluptates temporibus dignissimos."], ["updated_at", "2014-09-23 01:11:36.385018"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-23 01:11:36.388496"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut impedit consequatur fugit quisquam quae eum. Iusto velit inventore sed. Blanditiis dignissimos similique fugiat omnis vel.\", \"Consequatur sit perferendis assumenda. Sapiente nulla dolorum quia in aliquam. Voluptatem soluta doloribus quia.\"]"], ["created_at", "2014-09-23 01:11:36.391744"], ["name", "beta"], ["title", "Et quis perferendis."], ["updated_at", "2014-09-23 01:11:36.391744"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-23 01:11:36.395095"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.397421"], ["updated_at", "2014-09-23 01:11:36.397421"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-23 01:11:36.401082"], ["updated_at", "2014-09-23 01:11:36.401082"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-23 01:11:36.404303"], ["updated_at", "2014-09-23 01:11:36.404303"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:11:36.406718"], ["name", "alpha"], ["title", "Eaque voluptates temporibus dignissimos."], ["updated_at", "2014-09-23 01:11:36.406718"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-23 01:11:36.410359"], ["version", 4]]  (0.5ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (27, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Esse omnis nam quia error. Ut sequi et culpa vel soluta. Voluptatem omnis eveniet et facere asperiores eos.\", \"Maxime consequuntur cumque voluptatem autem autem. Nisi perferendis tempora ex. Blanditiis et qui praesentium dolores rem. Ad eius qui est quo cumque non rerum.\"]"], ["created_at", "2014-09-23 01:11:36.414735"], ["name", "alpha"], ["title", "Velit ipsam vitae neque sit praesentium facere ducimus."], ["updated_at", "2014-09-23 01:11:36.414735"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-23 01:11:36.417670"], ["version", 5]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Placeat quis et voluptatem voluptatibus. Officiis similique voluptate ullam. Et cupiditate dolorum.\", \"Itaque id error molestiae quam. Aliquid non autem nobis ea quibusdam. Nam ducimus velit. Sed optio a non suscipit id dolorem.\"]"], ["created_at", "2014-09-23 01:11:36.420519"], ["name", "beta"], ["title", "Voluptatum aut doloribus vel commodi voluptatem."], ["updated_at", "2014-09-23 01:11:36.420519"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-23 01:11:36.423567"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.425762"], ["updated_at", "2014-09-23 01:11:36.425762"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-23 01:11:36.428241"], ["updated_at", "2014-09-23 01:11:36.428241"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-23 01:11:36.430670"], ["updated_at", "2014-09-23 01:11:36.430670"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:11:36.432835"], ["name", "alpha"], ["title", "Velit ipsam vitae neque sit praesentium facere ducimus."], ["updated_at", "2014-09-23 01:11:36.432835"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-23 01:11:36.435911"], ["version", 6]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (30, 29, 19, 15, 7, 2, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Soluta minima porro. Explicabo officiis aliquam. Deleniti omnis asperiores dolorem repellat voluptas. Aut similique voluptate soluta repellat quos nemo.\", \"Qui voluptatum architecto voluptas. Et ut veritatis vero dolor tenetur incidunt. Pariatur architecto dicta.\"]"], ["created_at", "2014-09-23 01:11:36.442717"], ["name", "alpha"], ["title", "Voluptatem tenetur vero omnis aut ratione deleniti eius."], ["updated_at", "2014-09-23 01:11:36.442717"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-23 01:11:36.446013"], ["version", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptates ullam et. Voluptatem et corrupti voluptas est. Praesentium ratione reprehenderit quia. Illum nam corrupti beatae. Quod natus et veniam magnam nulla soluta quo.\", \"Aut repellat recusandae nihil debitis voluptatibus iusto nesciunt. Magni maiores in consequuntur nostrum. Sit doloremque aut molestiae iure distinctio suscipit. Quasi modi voluptas ullam consectetur accusamus.\"]"], ["created_at", "2014-09-23 01:11:36.449255"], ["name", "beta"], ["title", "Dolores delectus minus sequi veniam quo est."], ["updated_at", "2014-09-23 01:11:36.449255"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-23 01:11:36.452425"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.454699"], ["updated_at", "2014-09-23 01:11:36.454699"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-23 01:11:36.457232"], ["updated_at", "2014-09-23 01:11:36.457232"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-23 01:11:36.460736"], ["updated_at", "2014-09-23 01:11:36.460736"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-23 01:11:36.463309"], ["name", "alpha"], ["title", "Voluptatem tenetur vero omnis aut ratione deleniti eius."], ["updated_at", "2014-09-23 01:11:36.463309"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-23 01:11:36.466523"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 31, 30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 31, 30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 29, 26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-23 01:11:36.482737"], ["updated_at", "2014-09-23 01:11:36.482737"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 31, 30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 31, 30, 28, 27, 25, 24, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 29, 26, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.503760"], ["updated_at", "2014-09-23 01:11:36.503760"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.505708"], ["updated_at", "2014-09-23 01:11:36.505708"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et eius incidunt atque ea modi ea. Id ut qui veniam labore ad quia nihil. Ut saepe voluptatum aut aut officia perferendis. Ut quis fugit impedit et et ut voluptate.\", \"Sit quae enim ab voluptas nihil sed quia. Vel enim accusantium. Qui nihil voluptas dolor suscipit.\"]"], ["created_at", "2014-09-23 01:11:36.508305"], ["name", "contract_d73a6a8a"], ["title", "Placeat optio assumenda ea."], ["updated_at", "2014-09-23 01:11:36.508305"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d73a6a8a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'contract_d73a6a8a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-23 01:11:36.511911"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.514636"], ["updated_at", "2014-09-23 01:11:36.514636"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-23 01:11:36.516704"], ["updated_at", "2014-09-23 01:11:36.516704"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 10]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.523270"], ["updated_at", "2014-09-23 01:11:36.523270"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.524799"], ["updated_at", "2014-09-23 01:11:36.524799"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit explicabo consequuntur id dolores laudantium exercitationem voluptatem. Est sequi sed quae unde nostrum fugit quo. Rerum placeat quis iste voluptas autem.\", \"Assumenda laborum beatae tempore mollitia. Quas ab natus excepturi. Natus eum dolore quis praesentium cupiditate. Omnis nihil repellat repudiandae voluptatem sed consectetur aperiam.\"]"], ["created_at", "2014-09-23 01:11:36.527308"], ["name", "contract_82f7dd53"], ["title", "Ut illo expedita."], ["updated_at", "2014-09-23 01:11:36.527308"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_82f7dd53"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'contract_82f7dd53') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-23 01:11:36.530483"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.532951"], ["updated_at", "2014-09-23 01:11:36.532951"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-23 01:11:36.535253"], ["updated_at", "2014-09-23 01:11:36.535253"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.539362"], ["updated_at", "2014-09-23 01:11:36.539362"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.540837"], ["updated_at", "2014-09-23 01:11:36.540837"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Omnis quo dignissimos et et. Consequatur velit inventore tempore quibusdam. Modi est eos et commodi ut quis ut.\", \"Ab quae modi ut qui. Ad placeat corrupti et ea alias et molestiae. Debitis nulla earum ipsam. Molestiae cumque expedita tenetur.\"]"], ["created_at", "2014-09-23 01:11:36.543916"], ["name", "contract_62cb8097"], ["title", "Ut est aliquid illum vel eius nemo."], ["updated_at", "2014-09-23 01:11:36.543916"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_62cb8097"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_62cb8097') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-23 01:11:36.547264"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.549690"], ["updated_at", "2014-09-23 01:11:36.549690"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-23 01:11:36.551893"], ["updated_at", "2014-09-23 01:11:36.551893"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"36"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 190ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.745307"], ["updated_at", "2014-09-23 01:11:36.745307"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.748080"], ["updated_at", "2014-09-23 01:11:36.748080"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ea dolorum aliquam. Aliquam qui id repellat eveniet deserunt et ut. Cumque aut rerum enim ea. Omnis dolorem consequatur non et dolores.\", \"Quo quam eius voluptas voluptatem. Sunt laboriosam incidunt et suscipit. Et voluptatem ipsam. Saepe officia in. Culpa id quia soluta nulla porro pariatur consequatur.\"]"], ["created_at", "2014-09-23 01:11:36.751337"], ["name", "contract_54276b09"], ["title", "Nobis quo sapiente omnis dolorum eaque et."], ["updated_at", "2014-09-23 01:11:36.751337"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_54276b09"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'contract_54276b09') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-23 01:11:36.754658"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.757098"], ["updated_at", "2014-09-23 01:11:36.757098"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-23 01:11:36.759325"], ["updated_at", "2014-09-23 01:11:36.759325"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.765612"], ["updated_at", "2014-09-23 01:11:36.765612"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.767178"], ["updated_at", "2014-09-23 01:11:36.767178"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Iste aut magnam dicta molestiae qui. Excepturi eum praesentium. Repellendus non sed reprehenderit ex sunt.\", \"Aspernatur id dolor ipsum voluptatibus. Consequatur quae soluta. Omnis dignissimos delectus molestiae nostrum. Molestiae enim odio non.\"]"], ["created_at", "2014-09-23 01:11:36.769835"], ["name", "contract_381b13f3"], ["title", "Non aut pariatur ut deserunt et."], ["updated_at", "2014-09-23 01:11:36.769835"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_381b13f3"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'contract_381b13f3') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-23 01:11:36.773151"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.776018"], ["updated_at", "2014-09-23 01:11:36.776018"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-23 01:11:36.778895"], ["updated_at", "2014-09-23 01:11:36.778895"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"38"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.782573"], ["updated_at", "2014-09-23 01:11:36.782573"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.784030"], ["updated_at", "2014-09-23 01:11:36.784030"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sint aut sint ea est maxime voluptatem. Delectus quo corrupti et id ratione explicabo. Adipisci quo corrupti dolores itaque.\", \"Officiis sunt molestiae atque amet. Eligendi quaerat et voluptas voluptatibus qui architecto pariatur. Iste voluptate earum rerum quod temporibus consequatur dolores. Deserunt ad ullam vel tempore.\"]"], ["created_at", "2014-09-23 01:11:36.786783"], ["name", "contract_1e6bfe73"], ["title", "Aliquid expedita quaerat esse voluptate."], ["updated_at", "2014-09-23 01:11:36.786783"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1e6bfe73"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'contract_1e6bfe73') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-23 01:11:36.790025"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.792628"], ["updated_at", "2014-09-23 01:11:36.792628"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-23 01:11:36.795815"], ["updated_at", "2014-09-23 01:11:36.795815"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.801690"], ["updated_at", "2014-09-23 01:11:36.801690"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.803112"], ["updated_at", "2014-09-23 01:11:36.803112"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maiores ea aut. Illum quis in delectus nemo. Consequatur et vero sed ab voluptas. Rerum inventore ratione. Culpa eum in deleniti omnis.\", \"Rerum pariatur necessitatibus voluptatem. Nesciunt sed at et esse et illo. Adipisci rerum nemo molestiae repellendus id blanditiis. Voluptas voluptate optio ullam eaque architecto sapiente.\"]"], ["created_at", "2014-09-23 01:11:36.805591"], ["name", "contract_02df15a7"], ["title", "Laborum possimus doloribus tenetur enim soluta."], ["updated_at", "2014-09-23 01:11:36.805591"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_02df15a7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_02df15a7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-23 01:11:36.808745"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.811145"], ["updated_at", "2014-09-23 01:11:36.811145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-23 01:11:36.813232"], ["updated_at", "2014-09-23 01:11:36.813232"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.819218"], ["updated_at", "2014-09-23 01:11:36.819218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.820823"], ["updated_at", "2014-09-23 01:11:36.820823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Voluptas deserunt nam doloremque odio eius consequatur. Autem sunt explicabo ipsum dolor. Perspiciatis ut velit. Ut porro eos. Aut quas aliquid vitae.\", \"Explicabo rerum repudiandae provident. Eos deserunt et culpa. Quia dolores voluptas autem quis animi accusantium sed. Et asperiores eveniet maxime in.\"]"], ["created_at", "2014-09-23 01:11:36.823441"], ["name", "contract_39404048"], ["title", "Consequatur sint suscipit."], ["updated_at", "2014-09-23 01:11:36.823441"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_39404048"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'contract_39404048') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-23 01:11:36.826643"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.829781"], ["updated_at", "2014-09-23 01:11:36.829781"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-23 01:11:36.832317"], ["updated_at", "2014-09-23 01:11:36.832317"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Redirected to http://test.host/fine_print/contracts/41/signatures?r=dGJHWE5hNjFvSkhmMGp5MElnUkhWUT09LS0zczgybzNORnlhRzZpdzBuQ2k0Rm1RPT0%3D--7eb8f48034f93f5cd7cf57ccfaaf2f40ef49fccf Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 17 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et voluptatem odio. Sunt molestiae laborum est. Velit et dolorem ut commodi. Dolorum illo sunt velit recusandae nam.\", \"Aut ut voluptatem. Ut nulla ut. Et laudantium qui dicta debitis. Consectetur laborum dolore ea et sed.\"]"], ["created_at", "2014-09-23 01:11:36.841111"], ["name", "contract_caaa66ae"], ["title", "Sint voluptatem molestias sit."], ["updated_at", "2014-09-23 01:11:36.841111"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_caaa66ae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'contract_caaa66ae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 01:11:36.853031"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_caaa66ae"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_caaa66ae"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-23 01:11:36.859101"], ["version", nil]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At qui corporis. Exercitationem id aliquid et sint tempore ullam sit. Culpa iure distinctio veritatis ut. Possimus quam nesciunt. Voluptas nihil debitis a consequuntur est veritatis.\", \"Tempora consequuntur vitae. Quibusdam iusto excepturi voluptatem non omnis. Animi eos voluptatem autem accusantium explicabo expedita.\"]"], ["created_at", "2014-09-23 01:11:36.866182"], ["name", "contract_55f187b2"], ["title", "Quis dolorum in in modi unde."], ["updated_at", "2014-09-23 01:11:36.866182"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_55f187b2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_55f187b2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-23 01:11:36.871821"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_55f187b2' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"At qui corporis. Exercitationem id aliquid et sint tempore ullam sit. Culpa iure distinctio veritatis ut. Possimus quam nesciunt. Voluptas nihil debitis a consequuntur est veritatis.\", \"Tempora consequuntur vitae. Quibusdam iusto excepturi voluptatem non omnis. Animi eos voluptatem autem accusantium explicabo expedita.\"]"], ["created_at", "2014-09-23 01:11:36.875784"], ["name", "contract_55f187b2"], ["title", "Quis dolorum in in modi unde."], ["updated_at", "2014-09-23 01:11:36.875784"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_55f187b2"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_55f187b2') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-23 01:11:36.879617"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Molestias sed recusandae et. Nihil suscipit vel quia eos beatae sit est. Voluptatem expedita quis. Quis dolores labore magni eaque praesentium impedit possimus.\", \"Blanditiis doloremque consequatur dicta. Cumque nisi et dolorum distinctio unde sequi nam. Consectetur beatae optio modi. Totam amet assumenda pariatur.\"]"], ["created_at", "2014-09-23 01:11:36.884185"], ["name", "contract_58e2252b"], ["title", "Est quia autem et omnis dolore veniam voluptates."], ["updated_at", "2014-09-23 01:11:36.884185"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58e2252b"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_58e2252b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-23 01:11:36.888355"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.893281"], ["updated_at", "2014-09-23 01:11:36.893281"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-23 01:11:36.895460"], ["updated_at", "2014-09-23 01:11:36.895460"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'contract_58e2252b') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_58e2252b"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod corporis vero non ducimus a. Quae et amet qui. Iste quos quia vel in error id eos.\", \"Est sit suscipit. Qui voluptas voluptatem quia cum sunt ea. Blanditiis sunt expedita omnis voluptatem magnam quam aut.\"]"], ["created_at", "2014-09-23 01:11:36.907748"], ["name", "contract_1f1c9565"], ["title", "Reprehenderit temporibus et."], ["updated_at", "2014-09-23 01:11:36.907748"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1f1c9565"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'contract_1f1c9565') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-23 01:11:36.912613"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1f1c9565' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.5ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quod corporis vero non ducimus a. Quae et amet qui. Iste quos quia vel in error id eos.\", \"Est sit suscipit. Qui voluptas voluptatem quia cum sunt ea. Blanditiis sunt expedita omnis voluptatem magnam quam aut.\"]"], ["created_at", "2014-09-23 01:11:36.918236"], ["name", "joe"], ["title", "Reprehenderit temporibus et."], ["updated_at", "2014-09-23 01:11:36.918236"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-23 01:11:36.923701"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.927345"], ["updated_at", "2014-09-23 01:11:36.927345"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.928860"], ["updated_at", "2014-09-23 01:11:36.928860"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.934887"], ["updated_at", "2014-09-23 01:11:36.934887"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-23 01:11:36.937591"], ["updated_at", "2014-09-23 01:11:36.937591"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:17.921615"], ["updated_at", "2014-09-26 16:07:17.921615"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:17.928437"], ["updated_at", "2014-09-26 16:07:17.928437"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Pariatur facilis eligendi voluptates vitae quas magni expedita. Eius voluptates mollitia. Neque dolorum dolorem blanditiis ut sunt distinctio.\", \"Vel aperiam voluptatum in. Incidunt amet eius enim tenetur. Eos accusamus quaerat consequatur velit. Consectetur dolorum voluptas ullam ut.\"]"], ["created_at", "2014-09-26 16:07:18.187728"], ["name", "contract_1aa0be44"], ["title", "Id assumenda iure aspernatur quae."], ["updated_at", "2014-09-26 16:07:18.187728"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_1aa0be44"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1aa0be44') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:07:18.203297"], ["version", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.210464"], ["updated_at", "2014-09-26 16:07:18.210464"]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 16:07:18.214715"], ["updated_at", "2014-09-26 16:07:18.214715"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"1"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 176ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.402338"], ["updated_at", "2014-09-26 16:07:18.402338"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.404176"], ["updated_at", "2014-09-26 16:07:18.404176"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Est esse aut omnis. Est hic enim. Quas in tempore cum nobis necessitatibus. Dolor qui dolores quae quia.\", \"Sit quo non. Adipisci perferendis beatae cumque. Dicta quibusdam nihil est rerum. Sint illo distinctio voluptatem rerum nemo et nam. Officiis veniam ut quia vel est.\"]"], ["created_at", "2014-09-26 16:07:18.406995"], ["name", "contract_512b3b81"], ["title", "Accusantium animi facilis qui consequatur beatae id."], ["updated_at", "2014-09-26 16:07:18.406995"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_512b3b81"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_512b3b81') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:07:18.410452"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.413049"], ["updated_at", "2014-09-26 16:07:18.413049"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 16:07:18.415321"], ["updated_at", "2014-09-26 16:07:18.415321"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.428411"], ["updated_at", "2014-09-26 16:07:18.428411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.430240"], ["updated_at", "2014-09-26 16:07:18.430240"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Distinctio quia nostrum perspiciatis. Est laboriosam autem reiciendis porro. Et et pariatur dicta error.\", \"Rerum dolorem sit. Perferendis nihil quos omnis repellat accusantium molestias blanditiis. Repellat et odio rem. Et asperiores quibusdam perferendis itaque porro ut debitis. Velit tenetur velit.\"]"], ["created_at", "2014-09-26 16:07:18.433183"], ["name", "contract_bc883cbf"], ["title", "Eum accusantium numquam at libero esse rem fuga."], ["updated_at", "2014-09-26 16:07:18.433183"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_bc883cbf"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'contract_bc883cbf') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 16:07:18.436650"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.439297"], ["updated_at", "2014-09-26 16:07:18.439297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 16:07:18.441408"], ["updated_at", "2014-09-26 16:07:18.441408"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.445021"], ["updated_at", "2014-09-26 16:07:18.445021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.446511"], ["updated_at", "2014-09-26 16:07:18.446511"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Unde et quidem et doloremque laboriosam. Assumenda eligendi dolores nobis reiciendis ducimus voluptatem. Provident suscipit sed nulla qui tempore rerum sint. Qui doloremque voluptatem ad accusantium deserunt.\", \"Cum autem aperiam. Sit recusandae quia accusantium tempora ipsa. Nam adipisci eos distinctio vitae mollitia magnam.\"]"], ["created_at", "2014-09-26 16:07:18.449016"], ["name", "contract_d8082b2f"], ["title", "Unde ipsum ut sunt aperiam."], ["updated_at", "2014-09-26 16:07:18.449016"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d8082b2f"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'contract_d8082b2f') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:07:18.452600"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.455093"], ["updated_at", "2014-09-26 16:07:18.455093"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 12) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 16:07:18.457229"], ["updated_at", "2014-09-26 16:07:18.457229"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.464463"], ["updated_at", "2014-09-26 16:07:18.464463"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.465847"], ["updated_at", "2014-09-26 16:07:18.465847"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Commodi animi voluptatem minus laboriosam sint in. Eligendi et aut. Quos et consequatur impedit dolor voluptas. Sint et molestias magni velit temporibus.\", \"Id placeat voluptates repellat aperiam fuga. Delectus ut dicta recusandae quis dolorem quo alias. Nulla voluptatibus et officia voluptates. Autem velit aut similique voluptatibus eos. Ut facilis nesciunt est animi et eveniet.\"]"], ["created_at", "2014-09-26 16:07:18.468298"], ["name", "contract_45a409dc"], ["title", "Ea explicabo architecto nihil dolore molestiae nam."], ["updated_at", "2014-09-26 16:07:18.468298"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_45a409dc"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'contract_45a409dc') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 16:07:18.471338"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.473674"], ["updated_at", "2014-09-26 16:07:18.473674"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 15) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 16:07:18.475755"], ["updated_at", "2014-09-26 16:07:18.475755"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.481039"], ["updated_at", "2014-09-26 16:07:18.481039"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.483166"], ["updated_at", "2014-09-26 16:07:18.483166"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum voluptate ut sunt mollitia maxime. Cum esse iusto. Sit et est ex perferendis assumenda ipsum et. Optio voluptas sed repellendus rerum quia accusamus. Doloribus magnam nisi dolores.\", \"Et sint distinctio qui cupiditate voluptas. Nulla quo occaecati temporibus praesentium autem veniam. Perspiciatis non iusto facere eaque ullam. Pariatur maxime quam nostrum sit earum aut repudiandae. Vero aut harum vitae architecto sit sed dolorem.\"]"], ["created_at", "2014-09-26 16:07:18.486254"], ["name", "contract_79fec1f7"], ["title", "Dicta aliquid qui non."], ["updated_at", "2014-09-26 16:07:18.486254"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_79fec1f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'contract_79fec1f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:07:18.489368"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.491732"], ["updated_at", "2014-09-26 16:07:18.491732"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 16:07:18.493830"], ["updated_at", "2014-09-26 16:07:18.493830"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Redirected to http://test.host/fine_print/contracts/6/signatures?r=Y2tubVlsVmNoSTI3c1ZjV3BZYWpyUT09LS03VTJoanpFSFROaGhKU1g0RnAvLy9nPT0%3D--315900cc81d972b165d842f24fb50752e0a3ee6f Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.508059"], ["updated_at", "2014-09-26 16:07:18.508059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.509752"], ["updated_at", "2014-09-26 16:07:18.509752"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed et natus possimus quasi adipisci maiores odit. Assumenda quas autem quis sequi qui eaque. Quasi quod veritatis reprehenderit sunt et. Quaerat ad cupiditate in distinctio repellendus ut sequi. Distinctio culpa sit quis numquam impedit.\", \"Placeat est aspernatur pariatur aut. Ut molestias beatae quaerat et vel. Voluptas omnis aliquam qui qui perferendis et porro. Voluptate et sed aspernatur esse omnis excepturi cumque.\"]"], ["created_at", "2014-09-26 16:07:18.512326"], ["name", "contract_eaa5938c"], ["title", "Pariatur qui labore et voluptas."], ["updated_at", "2014-09-26 16:07:18.512326"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_eaa5938c"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'contract_eaa5938c') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-26 16:07:18.515833"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.518612"], ["updated_at", "2014-09-26 16:07:18.518612"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 21) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 16:07:18.521004"], ["updated_at", "2014-09-26 16:07:18.521004"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.527732"], ["updated_at", "2014-09-26 16:07:18.527732"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.529338"], ["updated_at", "2014-09-26 16:07:18.529338"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eligendi accusantium qui consequatur dicta excepturi et. Tenetur suscipit quia et sint cumque necessitatibus. Iusto nobis autem molestiae. Architecto culpa quaerat. Adipisci deserunt voluptas.\", \"Officia id provident. Ullam sapiente officia occaecati. Sunt ipsa laboriosam. Aliquid eum aliquam et deserunt error porro aut.\"]"], ["created_at", "2014-09-26 16:07:18.532600"], ["name", "contract_44739e40"], ["title", "Sit fugit quas et accusantium quam minima veritatis."], ["updated_at", "2014-09-26 16:07:18.532600"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_44739e40"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'contract_44739e40') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 16:07:18.536141"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.538554"], ["updated_at", "2014-09-26 16:07:18.538554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 16:07:18.540621"], ["updated_at", "2014-09-26 16:07:18.540621"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime placeat libero eius aperiam est molestiae dignissimos. Ut fugiat nobis. Et placeat soluta rerum et. Provident earum molestiae non et cupiditate. Aut dolor et nemo sit aspernatur praesentium.\", \"Omnis atque sit. Nisi quo ipsum culpa qui placeat sapiente. Accusantium labore est omnis voluptate porro est quae. Odit omnis enim amet non. Reprehenderit qui quia.\"]"], ["created_at", "2014-09-26 16:07:18.549293"], ["name", "contract_83776e2a"], ["title", "Eveniet sint omnis."], ["updated_at", "2014-09-26 16:07:18.549293"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83776e2a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'contract_83776e2a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 16:07:18.552587"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_83776e2a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Maxime placeat libero eius aperiam est molestiae dignissimos. Ut fugiat nobis. Et placeat soluta rerum et. Provident earum molestiae non et cupiditate. Aut dolor et nemo sit aspernatur praesentium.\", \"Omnis atque sit. Nisi quo ipsum culpa qui placeat sapiente. Accusantium labore est omnis voluptate porro est quae. Odit omnis enim amet non. Reprehenderit qui quia.\"]"], ["created_at", "2014-09-26 16:07:18.555697"], ["name", "contract_83776e2a"], ["title", "Eveniet sint omnis."], ["updated_at", "2014-09-26 16:07:18.555697"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_83776e2a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'contract_83776e2a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 16:07:18.558631"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel et occaecati harum sint atque aut. Dolor est maiores rerum. Minima aut quod. Quo illo qui.\", \"Delectus officia ab hic non perferendis consequatur. Neque eos est minus quasi earum quidem exercitationem. Temporibus unde delectus et illum voluptatibus mollitia.\"]"], ["created_at", "2014-09-26 16:07:18.562165"], ["name", "contract_47ffbc1d"], ["title", "Consectetur esse itaque aut eos."], ["updated_at", "2014-09-26 16:07:18.562165"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_47ffbc1d"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'contract_47ffbc1d') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 16:07:18.565616"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_47ffbc1d' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Vel et occaecati harum sint atque aut. Dolor est maiores rerum. Minima aut quod. Quo illo qui.\", \"Delectus officia ab hic non perferendis consequatur. Neque eos est minus quasi earum quidem exercitationem. Temporibus unde delectus et illum voluptatibus mollitia.\"]"], ["created_at", "2014-09-26 16:07:18.568996"], ["name", "joe"], ["title", "Consectetur esse itaque aut eos."], ["updated_at", "2014-09-26 16:07:18.568996"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 16:07:18.571930"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sapiente doloribus pariatur. Reiciendis odio doloribus fuga. Possimus fuga sunt nobis ipsam rem nulla. Ratione rerum repellendus tempora omnis molestiae. Repellendus velit aut ea quo voluptatibus cum non.\", \"Corporis quia ipsa eveniet dolorem id beatae sint. Aut modi sint ab error quibusdam voluptatem illum. Maxime consectetur illum voluptate quo. Placeat at magni sunt.\"]"], ["created_at", "2014-09-26 16:07:18.575259"], ["name", "contract_d5c97bba"], ["title", "Recusandae aut velit accusamus et dolor."], ["updated_at", "2014-09-26 16:07:18.575259"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d5c97bba"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d5c97bba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 16:07:18.578299"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.581855"], ["updated_at", "2014-09-26 16:07:18.581855"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 16:07:18.584741"], ["updated_at", "2014-09-26 16:07:18.584741"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'contract_d5c97bba') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_d5c97bba"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui facere eum et voluptates rerum. Inventore accusamus alias ut sunt. Alias fugiat iste ut distinctio quis.\", \"Veritatis nam at quia voluptatum dolorem cum maiores. Et dolores nesciunt numquam qui quae deleniti sed. Doloribus asperiores eveniet ducimus autem quis non. Saepe dicta itaque enim autem minus et.\"]"], ["created_at", "2014-09-26 16:07:18.593303"], ["name", "contract_00fde4f5"], ["title", "Architecto ut natus quia non autem."], ["updated_at", "2014-09-26 16:07:18.593303"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00fde4f5"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'contract_00fde4f5') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 16:07:18.597752"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00fde4f5"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_00fde4f5"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 16:07:18.604228"], ["version", nil]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ipsa placeat at et velit ullam. Libero alias optio laborum dolor sint. Ipsa tempora ab nihil quas deserunt et. Quod qui voluptatem. Sit dolorem deleniti.\", \"Necessitatibus molestiae mollitia sint quidem nihil. Aspernatur sint expedita quaerat est. Officiis harum eum accusamus molestiae commodi sit.\"]"], ["created_at", "2014-09-26 16:07:18.609108"], ["name", "alpha"], ["title", "At blanditiis consequuntur quaerat sit repellendus."], ["updated_at", "2014-09-26 16:07:18.609108"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:07:18.613375"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Odit non voluptate ex cumque consectetur doloribus. Quia voluptas labore perspiciatis ipsa nulla inventore. Qui consectetur non occaecati quia minus dolores.\", \"Sunt deserunt architecto ullam et sint et asperiores. Earum totam et voluptatem ducimus. Eaque illum cupiditate sed iure expedita. Quia ipsam sed. Doloribus aut nisi voluptas.\"]"], ["created_at", "2014-09-26 16:07:18.616826"], ["name", "beta"], ["title", "Vitae harum rerum qui in aut ea."], ["updated_at", "2014-09-26 16:07:18.616826"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:07:18.620153"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.622410"], ["updated_at", "2014-09-26 16:07:18.622410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 16:07:18.624968"], ["updated_at", "2014-09-26 16:07:18.624968"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 16:07:18.627419"], ["updated_at", "2014-09-26 16:07:18.627419"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:07:18.629649"], ["name", "alpha"], ["title", "At blanditiis consequuntur quaerat sit repellendus."], ["updated_at", "2014-09-26 16:07:18.629649"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 16:07:18.632704"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (17, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Porro eius exercitationem veniam dolores molestias. Reiciendis eius animi. Adipisci consequatur recusandae qui asperiores quisquam molestiae consectetur.\", \"Saepe distinctio harum. Quis vel cupiditate quibusdam quo velit nemo. Laborum quo eius sed. Omnis accusantium velit aut debitis consequatur.\"]"], ["created_at", "2014-09-26 16:07:18.638189"], ["name", "alpha"], ["title", "Rerum aut quasi et voluptatem."], ["updated_at", "2014-09-26 16:07:18.638189"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 16:07:18.641300"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et distinctio reiciendis. Enim sunt repudiandae expedita architecto. Quo unde rerum. Deleniti facilis aut vel sed.\", \"Optio doloribus provident cupiditate dolor voluptatibus non. Excepturi et eos tenetur omnis minima perspiciatis. Sint non qui porro illum voluptas consectetur minus. Et ullam eveniet eligendi totam.\"]"], ["created_at", "2014-09-26 16:07:18.644514"], ["name", "beta"], ["title", "Ipsum suscipit eius enim sint voluptas."], ["updated_at", "2014-09-26 16:07:18.644514"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-26 16:07:18.647543"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.649870"], ["updated_at", "2014-09-26 16:07:18.649870"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 16:07:18.652977"], ["updated_at", "2014-09-26 16:07:18.652977"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 16:07:18.655529"], ["updated_at", "2014-09-26 16:07:18.655529"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:07:18.657872"], ["name", "alpha"], ["title", "Rerum aut quasi et voluptatem."], ["updated_at", "2014-09-26 16:07:18.657872"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:07:18.661100"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 16:07:18.679588"], ["updated_at", "2014-09-26 16:07:18.679588"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Laudantium adipisci vel et expedita voluptatem deserunt eveniet. Repellendus debitis cumque dicta impedit qui nam. Officia suscipit exercitationem velit saepe fugiat est.\", \"Quo eveniet explicabo qui. Qui quos et. Est est natus.\"]"], ["created_at", "2014-09-26 16:07:18.694465"], ["name", "alpha"], ["title", "Et fugiat impedit dignissimos autem in sint."], ["updated_at", "2014-09-26 16:07:18.694465"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 16:07:18.698192"], ["version", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Rerum blanditiis natus nisi at qui. Nesciunt quasi totam. Assumenda qui ducimus.\", \"Aspernatur fugiat sed tenetur et rerum natus. Quod rerum ipsa non culpa. Temporibus nostrum assumenda a et nulla quis.\"]"], ["created_at", "2014-09-26 16:07:18.701041"], ["name", "beta"], ["title", "Iste laborum quos voluptas."], ["updated_at", "2014-09-26 16:07:18.701041"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 16:07:18.704156"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.706307"], ["updated_at", "2014-09-26 16:07:18.706307"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 16:07:18.708814"], ["updated_at", "2014-09-26 16:07:18.708814"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 16:07:18.711216"], ["updated_at", "2014-09-26 16:07:18.711216"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:07:18.713340"], ["name", "alpha"], ["title", "Et fugiat impedit dignissimos autem in sint."], ["updated_at", "2014-09-26 16:07:18.713340"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 16:07:18.716340"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (23, 22, 1, 8, 5, 11, 2, 6, 10, 3, 13, 4, 7, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Deleniti saepe accusamus dolores autem. Nihil quibusdam quod laudantium exercitationem aut accusamus. Itaque aperiam odit accusamus unde est enim natus.\", \"Et vero porro quidem. Velit ratione non sit et eligendi eos facilis. Alias harum sed et dicta molestias. Nemo aut ratione natus voluptatum ex unde animi. Et voluptatum in suscipit laudantium neque.\"]"], ["created_at", "2014-09-26 16:07:18.723405"], ["name", "alpha"], ["title", "Eaque doloribus aut ipsum assumenda."], ["updated_at", "2014-09-26 16:07:18.723405"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-26 16:07:18.726548"], ["version", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Doloribus itaque qui asperiores id ullam. Provident cum voluptatibus odio delectus itaque id autem. In sed quis sequi rem molestiae. Et doloribus consequuntur omnis non odit quis. Dolores occaecati sed recusandae sit perspiciatis vel.\", \"Consectetur quam qui rem qui pariatur cupiditate. Modi quae et amet repellat dignissimos. Atque tempore nulla qui aut nobis aperiam. Quia eos architecto porro eaque deleniti. Et aut voluptatum ea corrupti.\"]"], ["created_at", "2014-09-26 16:07:18.729717"], ["name", "beta"], ["title", "Nihil quisquam corrupti officiis tempora molestias libero."], ["updated_at", "2014-09-26 16:07:18.729717"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 16:07:18.733422"], ["version", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.736037"], ["updated_at", "2014-09-26 16:07:18.736037"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 16:07:18.738716"], ["updated_at", "2014-09-26 16:07:18.738716"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 29) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 16:07:18.741189"], ["updated_at", "2014-09-26 16:07:18.741189"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:07:18.743429"], ["name", "alpha"], ["title", "Eaque doloribus aut ipsum assumenda."], ["updated_at", "2014-09-26 16:07:18.743429"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 16:07:18.746518"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aliquid ut ea non omnis et ipsa. Totam non aliquid pariatur magnam amet inventore eos. Expedita error repellat. Voluptas asperiores incidunt repudiandae ipsa nostrum.\", \"Id occaecati natus blanditiis et libero. Quo exercitationem sit ea facere fugiat. Nihil voluptas eos deleniti enim aliquam. Perferendis quaerat quod consectetur nihil facere architecto. Esse aut blanditiis ut.\"]"], ["created_at", "2014-09-26 16:07:18.752742"], ["name", "contract_7f675cc7"], ["title", "Dolorem suscipit beatae iste ipsam est velit eius."], ["updated_at", "2014-09-26 16:07:18.752742"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Repellat quis quod dolorem ut. Fugiat tempore alias aliquam veritatis placeat quasi. Non voluptatum ab pariatur quod.\", \"Atque dolores molestiae veniam rerum dicta ut. Impedit fuga minus ut distinctio vel exercitationem modi. Atque quos qui sit libero ut quod ipsum. Nihil nostrum explicabo distinctio sit autem. Ea ratione non hic sit.\"]"], ["created_at", "2014-09-26 16:07:18.756301"], ["name", "contract_2a7c2da6"], ["title", "A ut iure et."], ["updated_at", "2014-09-26 16:07:18.756301"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_2a7c2da6"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'contract_2a7c2da6') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-26 16:07:18.759220"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.761566"], ["updated_at", "2014-09-26 16:07:18.761566"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.766435"], ["updated_at", "2014-09-26 16:07:18.766435"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.767885"], ["updated_at", "2014-09-26 16:07:18.767885"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.771962"], ["updated_at", "2014-09-26 16:07:18.771962"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.773408"], ["updated_at", "2014-09-26 16:07:18.773408"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.776964"], ["updated_at", "2014-09-26 16:07:18.776964"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.778236"], ["updated_at", "2014-09-26 16:07:18.778236"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Tempore sequi facere nostrum ut occaecati. Veritatis similique tempore quia ducimus. Excepturi natus tempora atque rerum et molestiae cum.\", \"Aut provident qui. Voluptatem consequuntur optio autem blanditiis. At sint vitae.\"]"], ["created_at", "2014-09-26 16:07:18.780362"], ["name", "contract_ea01ea61"], ["title", "Accusamus quia natus reprehenderit enim aliquam."], ["updated_at", "2014-09-26 16:07:18.780362"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.786999"], ["updated_at", "2014-09-26 16:07:18.786999"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.788669"], ["updated_at", "2014-09-26 16:07:18.788669"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Eum dolore fugiat sit occaecati delectus. Minus hic veniam fugit. Omnis id vitae deleniti et voluptas cum consequatur. Eos ab cupiditate omnis aut alias temporibus voluptatem. Eos ut rerum sint omnis.\", \"Qui saepe ut aliquam animi sed. Qui voluptatibus rem velit sint. Saepe est non. Ex aut illo corporis. Aut eum harum architecto et.\"]"], ["created_at", "2014-09-26 16:07:18.790868"], ["name", "contract_30d178bf"], ["title", "Ea et rerum ipsum molestiae nobis velit natus."], ["updated_at", "2014-09-26 16:07:18.790868"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.797760"], ["updated_at", "2014-09-26 16:07:18.797760"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.799411"], ["updated_at", "2014-09-26 16:07:18.799411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Non dignissimos sit consequatur saepe et eos. Quas ab quis dolor minus est autem exercitationem. Minima numquam aut libero sunt. Accusamus doloremque sapiente.\", \"Laborum odio consequuntur inventore. Vitae esse quas voluptates consequuntur. Fugit ab ullam commodi ut. Aut rerum blanditiis porro iure sit consectetur. Recusandae nobis qui similique corrupti possimus aut aperiam.\"]"], ["created_at", "2014-09-26 16:07:18.802252"], ["name", "contract_5c3c1d30"], ["title", "Velit quisquam nam."], ["updated_at", "2014-09-26 16:07:18.802252"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5c3c1d30"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'contract_5c3c1d30') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:07:18.805719"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_5c3c1d30"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:07:18.810868"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.815106"], ["updated_at", "2014-09-26 16:07:18.815106"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.816709"], ["updated_at", "2014-09-26 16:07:18.816709"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ducimus vel illo eum autem quo natus sapiente. Sit autem et eum harum ut sit omnis. Porro et fugiat quis debitis aut. Quae in necessitatibus qui impedit ut aut aliquam.\", \"Illum ipsa vel qui natus consequuntur. Eligendi quo recusandae omnis dolorem nesciunt enim. Eos saepe unde aut soluta.\"]"], ["created_at", "2014-09-26 16:07:18.818957"], ["name", "contract_ad4c489b"], ["title", "Sit doloribus nostrum."], ["updated_at", "2014-09-26 16:07:18.818957"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.823471"], ["updated_at", "2014-09-26 16:07:18.823471"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.825085"], ["updated_at", "2014-09-26 16:07:18.825085"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Accusantium quia saepe. Excepturi in et ut iure dignissimos. Dolorum velit esse rerum voluptatibus exercitationem beatae. Provident praesentium sapiente laborum a.\", \"Sed qui praesentium accusantium quis quia. Natus a voluptate dolores fugit dolorem. Ipsam consequatur iste iusto impedit aliquid voluptatum.\"]"], ["created_at", "2014-09-26 16:07:18.827158"], ["name", "contract_10c0cee3"], ["title", "Doloribus cumque molestiae eligendi accusantium."], ["updated_at", "2014-09-26 16:07:18.827158"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (26, 24, 23, 21, 20, 18, 17, 15, 25, 22, 19, 16, 14, 33, 1, 28, 30, 8, 5, 11, 2, 31, 6, 27, 10, 9, 32, 3, 13, 4, 29, 7, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.835909"], ["updated_at", "2014-09-26 16:07:18.835909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.837527"], ["updated_at", "2014-09-26 16:07:18.837527"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem est sint corrupti nulla tenetur eum. Optio quo reiciendis voluptatem eum ad officiis a. Qui ratione sint reiciendis cupiditate.\", \"Maiores tempore temporibus. Perferendis in minus sapiente. Eum saepe et. Qui quae molestiae quia dolorem ducimus.\"]"], ["created_at", "2014-09-26 16:07:18.839683"], ["name", "contract_3ddfa954"], ["title", "Ea incidunt ex laborum veniam sint."], ["updated_at", "2014-09-26 16:07:18.839683"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:07:18.842691"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:07:18.842691"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.853733"], ["updated_at", "2014-09-26 16:07:18.853733"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.855458"], ["updated_at", "2014-09-26 16:07:18.855458"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et iusto omnis quisquam voluptatem at eos magnam. Officia qui earum rerum ut illum non. Corporis aliquid minima. Dolorem rem officia reiciendis quis impedit consequatur. Voluptatem ex occaecati quasi.\", \"Distinctio dicta repellat nobis et ea. Ad repudiandae quia sit. Natus dolores quod temporibus quia.\"]"], ["created_at", "2014-09-26 16:07:18.858142"], ["name", "contract_8559e744"], ["title", "Ea tenetur error a nihil est fugiat."], ["updated_at", "2014-09-26 16:07:18.858142"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_8559e744"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'contract_8559e744') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:07:18.862014"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.870892"], ["updated_at", "2014-09-26 16:07:18.870892"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.872723"], ["updated_at", "2014-09-26 16:07:18.872723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Veniam magni suscipit aut quam et placeat. Ducimus adipisci rerum officiis delectus et. Laudantium iure quaerat eum laborum architecto consectetur et. Quibusdam eum amet eligendi nulla non ex. Consequuntur est nihil non eius.\", \"Ea quis in earum autem tempora. Rerum dolores nam adipisci aut debitis numquam. Sed dolorum officiis recusandae. Perferendis ut cupiditate sunt quod vel laboriosam recusandae.\"]"], ["created_at", "2014-09-26 16:07:18.875153"], ["name", "contract_a54a458e"], ["title", "Sed aut placeat accusamus beatae similique dicta."], ["updated_at", "2014-09-26 16:07:18.875153"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.881641"], ["updated_at", "2014-09-26 16:07:18.881641"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.884067"], ["updated_at", "2014-09-26 16:07:18.884067"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sed qui sunt. Rerum provident dolor. Nemo nobis qui dicta in perferendis et. Hic ut et ut eaque iste nesciunt suscipit.\", \"Qui deleniti rem temporibus. Qui provident aut vel hic. Dolore consequatur consequatur praesentium. Accusantium eius fuga.\"]"], ["created_at", "2014-09-26 16:07:18.887074"], ["name", "contract_4234cd2b"], ["title", "Sed minima exercitationem aperiam nihil."], ["updated_at", "2014-09-26 16:07:18.887074"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.893286"], ["updated_at", "2014-09-26 16:07:18.893286"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.894741"], ["updated_at", "2014-09-26 16:07:18.894741"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Sit sed ut nam ut. Distinctio perspiciatis sapiente et aut dolores. Commodi quasi asperiores illum reprehenderit et. Alias illum corporis est natus animi dolore. Provident repellendus explicabo dolor maxime voluptas quisquam.\", \"Officia dolore similique hic. Sint voluptas ratione nisi esse. Et repudiandae voluptatibus debitis.\"]"], ["created_at", "2014-09-26 16:07:18.896849"], ["name", "contract_b34b74c7"], ["title", "Doloremque placeat itaque est."], ["updated_at", "2014-09-26 16:07:18.896849"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]  (0.4ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.906546"], ["updated_at", "2014-09-26 16:07:18.906546"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.909301"], ["updated_at", "2014-09-26 16:07:18.909301"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Dolorem alias non aut suscipit fuga voluptatem. Totam quia soluta velit. Ad cumque quasi ipsum exercitationem sequi sit. Eveniet dicta et. Aliquid corporis quia.\", \"Omnis officiis consequatur molestias. Non dolorem non libero aut dolorum expedita in. Et est suscipit sit autem aut.\"]"], ["created_at", "2014-09-26 16:07:18.912398"], ["name", "contract_f71eac63"], ["title", "Doloribus ad voluptates quisquam debitis et."], ["updated_at", "2014-09-26 16:07:18.912398"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f71eac63"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'contract_f71eac63') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-26 16:07:18.917393"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 1ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"40"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.925666"], ["updated_at", "2014-09-26 16:07:18.925666"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.928035"], ["updated_at", "2014-09-26 16:07:18.928035"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Corporis tempora veritatis voluptatum. Tempore sint qui qui rerum. Eius inventore totam veritatis esse aut. Necessitatibus eos facilis sequi culpa quod repellendus.\", \"Recusandae aut rerum maiores quis sit labore. Quia et exercitationem hic atque maiores labore quia. Saepe corrupti non ipsum nulla autem.\"]"], ["created_at", "2014-09-26 16:07:18.931771"], ["name", "contract_212db898"], ["title", "Deserunt laboriosam magni et aut."], ["updated_at", "2014-09-26 16:07:18.931771"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 41]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 41]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 41 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.942162"], ["updated_at", "2014-09-26 16:07:18.942162"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.943781"], ["updated_at", "2014-09-26 16:07:18.943781"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Fugiat sit inventore cum eligendi et. Aperiam a molestias laborum est. Officia facilis quia.\", \"Corrupti nesciunt repudiandae et. Qui assumenda aut enim accusamus dolor. Quod et eligendi et vitae necessitatibus.\"]"], ["created_at", "2014-09-26 16:07:18.946650"], ["name", "contract_719fecac"], ["title", "Nihil a quia omnis est sunt earum asperiores."], ["updated_at", "2014-09-26 16:07:18.946650"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.951781"], ["updated_at", "2014-09-26 16:07:18.951781"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.953958"], ["updated_at", "2014-09-26 16:07:18.953958"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Qui quia perferendis cum dicta sunt rerum. Enim ipsa eaque eum nihil perspiciatis. Non saepe quisquam. Et quo sit dolorem quisquam animi atque vel. Aut totam eum velit hic ut et.\", \"Officia sit dolorum et. Quis consectetur et fugiat iusto facere illum autem. Qui ullam est laudantium. Sint in soluta saepe ex omnis.\"]"], ["created_at", "2014-09-26 16:07:18.956920"], ["name", "contract_913764f7"], ["title", "Natus occaecati sunt qui nihil assumenda."], ["updated_at", "2014-09-26 16:07:18.956920"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_913764f7"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'contract_913764f7') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 16:07:18.963471"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.968624"], ["updated_at", "2014-09-26 16:07:18.968624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.970199"], ["updated_at", "2014-09-26 16:07:18.970199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Aut quae pariatur fugit. Nostrum tenetur soluta voluptates. Mollitia inventore maiores non nulla et ratione molestiae.\", \"Doloribus modi tempore sapiente facere. Suscipit sunt voluptatem id in minus magnam. Qui soluta aut. Eaque magnam sunt consequatur repellendus earum.\"]"], ["created_at", "2014-09-26 16:07:18.972463"], ["name", "contract_f96dc7d1"], ["title", "Repellat optio perspiciatis."], ["updated_at", "2014-09-26 16:07:18.972463"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "contract_f96dc7d1"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'contract_f96dc7d1') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 16:07:18.975912"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f96dc7d1' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.984218"], ["updated_at", "2014-09-26 16:07:18.984218"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.985964"], ["updated_at", "2014-09-26 16:07:18.985964"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Ut tenetur molestiae deserunt velit ea cumque culpa. At ut et reprehenderit vero error. Quibusdam eaque quas provident. Qui eos molestiae commodi molestiae rerum. Quaerat et ratione qui sequi vel.\", \"Sed sed tempora sit nesciunt voluptatum aut dolores. Error vero quis. Sint omnis error in harum. Id sequi culpa consequuntur voluptatibus.\"]"], ["created_at", "2014-09-26 16:07:18.988313"], ["name", "contract_24f9b9e1"], ["title", "Magni incidunt rerum accusamus perspiciatis voluptas."], ["updated_at", "2014-09-26 16:07:18.988313"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.992690"], ["updated_at", "2014-09-26 16:07:18.992690"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:18.994400"], ["updated_at", "2014-09-26 16:07:18.994400"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Et modi quia corrupti. Aut vero iure deserunt quibusdam iste. Corrupti voluptas asperiores neque. Est iure voluptate in in omnis voluptas. Quo ipsa sit voluptatem sint tenetur quisquam.\", \"Voluptas eligendi quos fugiat. Repellat ut aut. Quia quia nostrum sunt sit. Molestiae doloribus qui voluptas.\"]"], ["created_at", "2014-09-26 16:07:18.996648"], ["name", "contract_23904395"], ["title", "Est molestiae minus illo quae earum."], ["updated_at", "2014-09-26 16:07:18.996648"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 46 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:07:19.000437"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/46 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:19.005080"], ["updated_at", "2014-09-26 16:07:19.005080"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:07:19.006603"], ["updated_at", "2014-09-26 16:07:19.006603"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "[\"Quidem culpa quia rem corporis minima odit. Consequatur tempore neque et. Animi eligendi et expedita perferendis. Fuga ratione voluptatibus inventore veritatis assumenda ex.\", \"Nostrum suscipit quisquam non alias dolores amet. Corrupti harum excepturi. Sit et fugit ratione tenetur rerum.\"]"], ["created_at", "2014-09-26 16:07:19.008688"], ["name", "contract_691c0509"], ["title", "Iste sed voluptas odit libero voluptatem perferendis."], ["updated_at", "2014-09-26 16:07:19.008688"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.660323"], ["updated_at", "2014-09-26 16:30:29.660323"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.667434"], ["updated_at", "2014-09-26 16:30:29.667434"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut non numquam et ipsam amet exercitationem. Quam pariatur facere consequatur. Beatae eos velit dolorem similique. Quisquam qui reiciendis quo. Ut doloremque autem distinctio aliquam rerum.\\nUt est quisquam amet ab. Non dicta occaecati cupiditate et maiores dolor quasi. Est aut deserunt.\\nEligendi culpa suscipit. Aspernatur odit molestias rerum commodi ut a. Aliquid modi cum quam in."], ["created_at", "2014-09-26 16:30:29.892764"], ["name", "deserunt_sequi_fugit"], ["title", "Voluptas autem enim"], ["updated_at", "2014-09-26 16:30:29.892764"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.902037"], ["updated_at", "2014-09-26 16:30:29.902037"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.904179"], ["updated_at", "2014-09-26 16:30:29.904179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquam numquam fugiat iure perspiciatis voluptates. In ratione quis sunt. Harum quia id.\\nAutem amet sequi ullam asperiores doloribus harum. Eligendi ut molestiae magni ut. Necessitatibus voluptatibus numquam soluta adipisci rem et.\\nQuibusdam in cupiditate beatae autem. Iusto dolor eveniet nihil et commodi non est. Itaque reprehenderit culpa error. Quia qui consequatur. Molestiae error ipsam voluptatum magni praesentium voluptate quia."], ["created_at", "2014-09-26 16:30:29.906613"], ["name", "amet_quisquam_quibusdam"], ["title", "Ut tempora enim"], ["updated_at", "2014-09-26 16:30:29.906613"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "amet_quisquam_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'amet_quisquam_quibusdam') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:30:29.920802"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 16ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.928028"], ["updated_at", "2014-09-26 16:30:29.928028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.929585"], ["updated_at", "2014-09-26 16:30:29.929585"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magnam earum adipisci. Natus necessitatibus hic. Et tempora soluta numquam cumque hic quo. Veritatis dolores fugit nulla iusto rerum.\\nReprehenderit quibusdam aliquam aliquid est veritatis. Sequi ut dolor ipsam. Consequatur perferendis eos. Libero inventore maiores. Dolores qui cum adipisci possimus.\\nOfficia et error et. Et aliquam eum praesentium recusandae. A minus earum sequi sapiente quos impedit quas. Asperiores culpa ut. Praesentium voluptate unde."], ["created_at", "2014-09-26 16:30:29.931960"], ["name", "animi_qui_error"], ["title", "Dolor magni dolores"], ["updated_at", "2014-09-26 16:30:29.931960"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.937926"], ["updated_at", "2014-09-26 16:30:29.937926"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.939500"], ["updated_at", "2014-09-26 16:30:29.939500"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officiis quia et minus quidem. Eaque ea et aut. Magnam blanditiis odit aut quia excepturi a. Omnis animi sunt.\\nEt sunt et fugiat et aut repellat. Animi quibusdam nobis impedit alias. Vitae voluptas a quis officiis. Qui sunt laboriosam et sint voluptatibus voluptatem est. Minus consequatur provident commodi voluptas nobis non et.\\nCum quaerat natus sit iure distinctio consequatur aperiam. Cupiditate aspernatur odit quia possimus minima unde. Non repudiandae ullam pariatur voluptatem rerum. Molestiae soluta consectetur voluptas ab aut consequatur sed."], ["created_at", "2014-09-26 16:30:29.942175"], ["name", "et_recusandae_iusto"], ["title", "Consequatur distinctio ea"], ["updated_at", "2014-09-26 16:30:29.942175"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_recusandae_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'et_recusandae_iusto') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:30:29.946120"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_recusandae_iusto"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:30:29.953125"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.957907"], ["updated_at", "2014-09-26 16:30:29.957907"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.959597"], ["updated_at", "2014-09-26 16:30:29.959597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In numquam amet beatae. Sit nesciunt sed assumenda corrupti. Praesentium accusantium et doloremque. Quo voluptatem tempore et modi impedit. Expedita natus eos vero et.\\nEarum quia consequatur. Dolore quos aliquam odio quis enim et vero. Occaecati enim debitis.\\nLabore qui consectetur perferendis deserunt. Dolore architecto officia. Voluptate consequatur facere."], ["created_at", "2014-09-26 16:30:29.961773"], ["name", "dolore_tenetur_nihil"], ["title", "Aut maxime qui"], ["updated_at", "2014-09-26 16:30:29.961773"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.965847"], ["updated_at", "2014-09-26 16:30:29.965847"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.967302"], ["updated_at", "2014-09-26 16:30:29.967302"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab nemo omnis sint deleniti qui dicta cum. Temporibus facere in aliquid et minima expedita sunt. Quod nulla nostrum quia consequuntur repellendus impedit. Voluptatem quia explicabo.\\nQuasi atque temporibus voluptatem rerum. Et corrupti aut accusantium beatae sunt vero recusandae. Est dolore eos quia ullam omnis quibusdam. Molestias veritatis qui labore ut quo error.\\nCorrupti voluptates architecto perspiciatis suscipit. Velit recusandae ea ex magni sit temporibus. Odit animi ullam consequatur. Facere saepe ducimus. Ut minima error voluptates aut eos odit et."], ["created_at", "2014-09-26 16:30:29.969384"], ["name", "exercitationem_hic_voluptas"], ["title", "Vel ad quibusdam"], ["updated_at", "2014-09-26 16:30:29.969384"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 6]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 6]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 6 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.980739"], ["updated_at", "2014-09-26 16:30:29.980739"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.982370"], ["updated_at", "2014-09-26 16:30:29.982370"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aperiam eos quam. Debitis aut quis culpa. Assumenda enim saepe. Expedita omnis nobis. Unde maxime rerum.\\nPlaceat quis iusto tenetur nisi doloribus dolores sed. Aut laborum ut saepe voluptatibus molestiae. Soluta fugiat incidunt.\\nSed sequi facere quis consectetur consequuntur. Omnis aliquid cum velit. Optio minus esse eius. Consectetur aut aut alias. Dolorem sint sit."], ["created_at", "2014-09-26 16:30:29.984688"], ["name", "nihil_sed_autem"], ["title", "Quod consequuntur odit"], ["updated_at", "2014-09-26 16:30:29.984688"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_sed_autem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'nihil_sed_autem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-26 16:30:29.987846"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.992722"], ["updated_at", "2014-09-26 16:30:29.992722"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:29.994117"], ["updated_at", "2014-09-26 16:30:29.994117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis accusantium tenetur. Minima impedit dolorem quae dolorum ut et ducimus. Quae aut natus voluptatem id consequatur blanditiis. Et quas dolorum quasi possimus. Quae ut consectetur consequatur libero.\\nOptio quod cumque commodi voluptatum consequatur beatae. Iure provident veniam sed aut. Impedit qui commodi consequatur dicta asperiores et. Nisi aut aliquam illum in dolores cumque. Sed eaque aut hic voluptatem.\\nProvident qui repellat. Aut voluptates quia autem dicta. Est aut aliquid consectetur qui adipisci suscipit et."], ["created_at", "2014-09-26 16:30:29.996287"], ["name", "aliquid_quas_ut"], ["title", "Rerum officia ducimus"], ["updated_at", "2014-09-26 16:30:29.996287"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 2, 3, 1, 5, 4, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.009555"], ["updated_at", "2014-09-26 16:30:30.009555"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.011560"], ["updated_at", "2014-09-26 16:30:30.011560"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Neque doloribus minima ea occaecati. Aspernatur ut numquam enim cumque omnis et incidunt. Corrupti hic necessitatibus quae non non pariatur dolorem. Autem hic iure voluptates aspernatur quae.\\nExcepturi odio et modi ipsum quia placeat ex. Occaecati sed aut at rerum est. Facere officia beatae quisquam dignissimos consequuntur voluptatum laudantium.\\nPariatur est commodi magnam et. A dolore sit culpa quis dolorem consectetur beatae. Ea et dolor neque expedita. Aut autem quos sit id deserunt."], ["created_at", "2014-09-26 16:30:30.014845"], ["name", "in_ut_fugiat"], ["title", "Magnam assumenda excepturi"], ["updated_at", "2014-09-26 16:30:30.014845"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.019309"], ["updated_at", "2014-09-26 16:30:30.019309"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.020740"], ["updated_at", "2014-09-26 16:30:30.020740"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Enim sint earum sit facere sed. Suscipit cupiditate officia non quos alias. Cum ipsam temporibus. Omnis architecto voluptatem veniam cupiditate et.\\nLaudantium similique ea et est placeat quia. Alias qui quaerat ut similique. Voluptatem inventore amet quo nihil saepe maxime.\\nTempora fugit enim culpa ipsa. Sapiente reiciendis corporis. Officia sint explicabo blanditiis ducimus numquam. Blanditiis ad veritatis vel perspiciatis architecto fugiat fugit."], ["created_at", "2014-09-26 16:30:30.023317"], ["name", "est_non_animi"], ["title", "Esse delectus quae"], ["updated_at", "2014-09-26 16:30:30.023317"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:30:30.026658"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:30:30.026658"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.030469"], ["updated_at", "2014-09-26 16:30:30.030469"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.032222"], ["updated_at", "2014-09-26 16:30:30.032222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officia odit voluptatibus. Hic eligendi ut. Autem provident nostrum voluptatum molestias eius.\\nEa sint unde autem quisquam a. Quo eligendi sit officia ut. Non omnis in ut et quasi. Sit quia voluptatem sapiente nulla.\\nQuibusdam error ut autem. Mollitia et reiciendis. Est quidem ullam et explicabo in et."], ["created_at", "2014-09-26 16:30:30.034433"], ["name", "expedita_sunt_hic"], ["title", "Aut eaque perferendis"], ["updated_at", "2014-09-26 16:30:30.034433"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.038380"], ["updated_at", "2014-09-26 16:30:30.038380"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.039865"], ["updated_at", "2014-09-26 16:30:30.039865"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias aspernatur aut qui natus consequatur quod. Excepturi voluptate dolorem. Quam consequatur tempora rem itaque unde inventore. Est voluptatibus asperiores officia voluptatem. Nesciunt vero deserunt rerum repellendus.\\nQui harum neque. Eius est ea et. Exercitationem harum placeat ipsam adipisci eligendi. Dolor est repudiandae quis odio. Doloremque aut consectetur veniam hic rem qui et.\\nNatus ea vero praesentium magnam commodi. Nulla delectus dolorum. Temporibus a asperiores consequatur recusandae ex aut corrupti."], ["created_at", "2014-09-26 16:30:30.042015"], ["name", "repellat_maxime_dolorem"], ["title", "Et ea et"], ["updated_at", "2014-09-26 16:30:30.042015"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.046880"], ["updated_at", "2014-09-26 16:30:30.046880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.048322"], ["updated_at", "2014-09-26 16:30:30.048322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Incidunt culpa ut. Tempore dignissimos voluptatem neque quam. Sit sit incidunt iure quia magnam sint. Magni esse ut nobis tempore et perferendis voluptatibus. Voluptatem aperiam aut debitis a autem.\\nVoluptatem non dolorem eaque et. Consequuntur qui id esse minima fugit eaque omnis. Sit ea officia dolorem voluptas.\\nEsse pariatur eos ad odit illum est earum. Magnam nostrum quo. Expedita possimus eos aut doloremque quia sed iste."], ["created_at", "2014-09-26 16:30:30.050410"], ["name", "sunt_commodi_animi"], ["title", "Ut rem neque"], ["updated_at", "2014-09-26 16:30:30.050410"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.057152"], ["updated_at", "2014-09-26 16:30:30.057152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.058807"], ["updated_at", "2014-09-26 16:30:30.058807"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officia voluptas assumenda ducimus. Impedit consectetur voluptas labore et ipsa omnis perspiciatis. Dolore nihil soluta qui dolorum laboriosam.\\nVoluptatum non dolor natus nostrum et laborum voluptate. Error quam atque. Consectetur sit repudiandae qui qui.\\nUt voluptatem placeat voluptatibus perferendis. Ut eligendi sunt. Explicabo quibusdam quo asperiores laboriosam."], ["created_at", "2014-09-26 16:30:30.061004"], ["name", "commodi_odit_ut"], ["title", "Qui sapiente sunt"], ["updated_at", "2014-09-26 16:30:30.061004"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "commodi_odit_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'commodi_odit_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:30:30.064174"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'commodi_odit_ut' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.071093"], ["updated_at", "2014-09-26 16:30:30.071093"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.072611"], ["updated_at", "2014-09-26 16:30:30.072611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit non non magni. Quisquam sint ullam cupiditate atque. Aut non voluptatem. Quae aut doloremque harum quo eum earum odit.\\nPossimus et qui aut suscipit. Voluptas sed dolores est sit dolor minus optio. Enim et voluptas alias maiores est est. Necessitatibus laborum quam placeat sed officia.\\nVoluptas ut et odit. Voluptatem repellendus sit deserunt iste quos non molestiae. Possimus at sapiente quae officiis et molestias quod. Voluptatem occaecati tempora placeat doloribus aut. Unde natus consequatur."], ["created_at", "2014-09-26 16:30:30.074832"], ["name", "sit_est_provident"], ["title", "Saepe libero nam"], ["updated_at", "2014-09-26 16:30:30.074832"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 16 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:30:30.078201"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.082692"], ["updated_at", "2014-09-26 16:30:30.082692"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.084168"], ["updated_at", "2014-09-26 16:30:30.084168"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum eos explicabo voluptas repellendus culpa cum. Et esse corporis libero dolor repellat. Perspiciatis qui eveniet ipsum. Dolor fugiat eos inventore iste quam.\\nDolorem asperiores totam. Sit officia culpa aperiam dolorem. Omnis aut quae expedita vitae quibusdam. Id nisi quis qui eum unde hic.\\nNon voluptate maiores atque sit in hic iusto. Nihil autem corporis voluptas. Veniam corrupti commodi adipisci quia facere et rem. Ducimus optio tempora velit et quos. Ea ut nam."], ["created_at", "2014-09-26 16:30:30.086317"], ["name", "aliquam_sapiente_quia"], ["title", "Tempore saepe voluptatem"], ["updated_at", "2014-09-26 16:30:30.086317"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.091504"], ["updated_at", "2014-09-26 16:30:30.091504"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.093093"], ["updated_at", "2014-09-26 16:30:30.093093"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Unde recusandae est omnis laborum repellendus. Ex dicta odio omnis vel veritatis et. Dicta voluptas aperiam in id. At molestias rerum laudantium atque.\\nSoluta distinctio qui voluptatem aliquid libero voluptatum explicabo. Velit aut quasi vero. Aut minima id quidem qui aspernatur aut necessitatibus.\\nUt non aut praesentium. Ducimus architecto consectetur laboriosam. Eos perferendis et. Quod consequatur nihil."], ["created_at", "2014-09-26 16:30:30.095290"], ["name", "sint_et_adipisci"], ["title", "Saepe esse earum"], ["updated_at", "2014-09-26 16:30:30.095290"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.100946"], ["updated_at", "2014-09-26 16:30:30.100946"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.102701"], ["updated_at", "2014-09-26 16:30:30.102701"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et officia sit repellendus dolorem soluta beatae inventore. Est provident quibusdam autem. Quae odit voluptates nobis sint ratione corrupti sequi.\\nVoluptate omnis dignissimos veniam aperiam. Nobis blanditiis quia. Non minima officia alias et. Esse ut commodi nisi qui ab rem sed.\\nVitae quae quia voluptatem. Dolores omnis labore accusantium fugiat. Laborum eaque et in quia quia."], ["created_at", "2014-09-26 16:30:30.105650"], ["name", "molestiae_vel_nobis"], ["title", "Soluta ea deleniti"], ["updated_at", "2014-09-26 16:30:30.105650"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_vel_nobis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'molestiae_vel_nobis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-26 16:30:30.109509"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et perspiciatis quibusdam fugiat rerum expedita exercitationem repudiandae. Aperiam placeat voluptatem qui. Laboriosam quisquam sequi. Consequatur soluta omnis nesciunt voluptatem aperiam. Sint voluptate numquam sint et labore occaecati ratione.\\nDignissimos voluptatum sunt pariatur. Eum voluptatem officia aperiam commodi. Numquam non doloribus. Dolores labore perspiciatis laboriosam qui delectus quia enim. Pariatur eos et sed inventore.\\nQuidem eum laudantium. Aut odio blanditiis enim labore et. Voluptatibus facere commodi laboriosam sunt. Voluptatibus et autem est. Cupiditate ea fuga dolores voluptates iure."], ["created_at", "2014-09-26 16:30:30.117030"], ["name", "eligendi_et_pariatur"], ["title", "Cum neque voluptates"], ["updated_at", "2014-09-26 16:30:30.117030"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eligendi_et_pariatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'eligendi_et_pariatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:30:30.121463"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eligendi_et_pariatur"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eligendi_et_pariatur"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:30:30.126089"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem excepturi optio ab ut non ratione. Temporibus dignissimos eius. Perferendis reprehenderit eos aut facilis tempora sit tempore. Perferendis sint voluptatem deserunt eaque harum.\\nEius et qui dolor. Laborum sint nesciunt dicta. Corrupti facere omnis enim. Et quo mollitia ut earum reprehenderit.\\nVeritatis sit et animi maiores quae. Quisquam quis aut deleniti. Sit eos dolorem dicta in culpa adipisci. Voluptas ut non eos rerum voluptatem."], ["created_at", "2014-09-26 16:30:30.129700"], ["name", "ratione_aspernatur_consectetur"], ["title", "Nesciunt velit magni"], ["updated_at", "2014-09-26 16:30:30.129700"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ratione_aspernatur_consectetur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'ratione_aspernatur_consectetur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 16:30:30.133524"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.139015"], ["updated_at", "2014-09-26 16:30:30.139015"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 16:30:30.142133"], ["updated_at", "2014-09-26 16:30:30.142133"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'ratione_aspernatur_consectetur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ratione_aspernatur_consectetur"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.152766"], ["updated_at", "2014-09-26 16:30:30.152766"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.154093"], ["updated_at", "2014-09-26 16:30:30.154093"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.156164"], ["updated_at", "2014-09-26 16:30:30.156164"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.157342"], ["updated_at", "2014-09-26 16:30:30.157342"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.159428"], ["updated_at", "2014-09-26 16:30:30.159428"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.160811"], ["updated_at", "2014-09-26 16:30:30.160811"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.163361"], ["updated_at", "2014-09-26 16:30:30.163361"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.164835"], ["updated_at", "2014-09-26 16:30:30.164835"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.167132"], ["updated_at", "2014-09-26 16:30:30.167132"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.168491"], ["updated_at", "2014-09-26 16:30:30.168491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.170693"], ["updated_at", "2014-09-26 16:30:30.170693"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.172270"], ["updated_at", "2014-09-26 16:30:30.172270"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.175138"], ["updated_at", "2014-09-26 16:30:30.175138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.176580"], ["updated_at", "2014-09-26 16:30:30.176580"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.178885"], ["updated_at", "2014-09-26 16:30:30.178885"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.180282"], ["updated_at", "2014-09-26 16:30:30.180282"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.185497"], ["updated_at", "2014-09-26 16:30:30.185497"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.186988"], ["updated_at", "2014-09-26 16:30:30.186988"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.191142"], ["updated_at", "2014-09-26 16:30:30.191142"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:30:30.192576"], ["updated_at", "2014-09-26 16:30:30.192576"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magnam eum autem rem nesciunt. Ex quos qui exercitationem odio cum nisi. Exercitationem aliquid vel ut sint sit. Voluptatem cupiditate blanditiis odit sint magni.\\nSit quas quod saepe ullam quisquam. Sequi velit illum doloribus sit. Odit non voluptates labore est magnam quis et.\\nRerum sed ut qui eum debitis. Impedit incidunt eos natus. Non quod velit nihil. Consequatur sint velit."], ["created_at", "2014-09-26 16:30:30.196729"], ["name", "libero_sit_quibusdam"], ["title", "Esse maiores voluptatem"], ["updated_at", "2014-09-26 16:30:30.196729"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (1.3ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates aliquam sit eaque laborum quisquam. Voluptatem quaerat consequatur est magni odio eaque. Quod dicta nobis deleniti omnis libero sit. Rerum voluptatem dolorum nam enim. Harum voluptatem quas.\\nCorporis nostrum temporibus repellat. Ut aliquam soluta nobis odit quia iure. Voluptas porro reiciendis molestiae voluptatem soluta.\\nSed laborum provident consequuntur. Quis facilis qui. Dolor aut molestiae ducimus ipsam culpa."], ["created_at", "2014-09-26 16:31:44.052622"], ["name", "ullam_cupiditate_repellat"], ["title", "Esse voluptatibus placeat"], ["updated_at", "2014-09-26 16:31:44.052622"]]  (1.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ullam_cupiditate_repellat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'ullam_cupiditate_repellat') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:31:44.069181"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.080169"], ["updated_at", "2014-09-26 16:31:44.080169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 16:31:44.086333"], ["updated_at", "2014-09-26 16:31:44.086333"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'ullam_cupiditate_repellat') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ullam_cupiditate_repellat"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut sapiente perspiciatis. Quam sed in. Tenetur rem harum sunt quasi. Deserunt voluptates aliquam dolorem minima aut. Dolores vel deleniti praesentium.\\nEt dignissimos cupiditate. Excepturi accusamus sed facilis in eos corrupti. Qui et ea accusamus ut et.\\nAnimi ex odit et possimus facilis architecto dignissimos. Eos aut cumque accusantium qui est ut dolor. Tempore repellendus eveniet labore quibusdam occaecati quae non. Omnis molestiae quisquam blanditiis eveniet voluptatem dolorem. Magni deserunt adipisci perspiciatis distinctio."], ["created_at", "2014-09-26 16:31:44.099456"], ["name", "suscipit_ipsam_rerum"], ["title", "Ex eius commodi"], ["updated_at", "2014-09-26 16:31:44.099456"]]  (1.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_ipsam_rerum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'suscipit_ipsam_rerum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:31:44.106996"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_ipsam_rerum"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_ipsam_rerum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:31:44.112763"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "autem_necessitatibus_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'autem_necessitatibus_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Totam nesciunt voluptatem qui qui. Iure sed ipsa natus iusto. Delectus dolores sit. Error corrupti officia sed repellendus. Quidem dolorum sed consequatur voluptas sed necessitatibus non.\\nId eos quaerat beatae. Incidunt consequatur expedita quae. Recusandae rerum assumenda. Totam aspernatur quo et dolores saepe et.\\nModi occaecati excepturi tempore velit vitae eius. Quo et labore aut non adipisci. Et non ea repellendus ex eius saepe. Rerum aperiam quidem aut sint dolor doloremque velit. Corrupti et quo aut architecto."], ["created_at", "2014-09-26 16:31:44.117954"], ["name", "autem_necessitatibus_qui"], ["title", "Blanditiis earum nihil"], ["updated_at", "2014-09-26 16:31:44.117954"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'autem_necessitatibus_qui' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Totam nesciunt voluptatem qui qui. Iure sed ipsa natus iusto. Delectus dolores sit. Error corrupti officia sed repellendus. Quidem dolorum sed consequatur voluptas sed necessitatibus non.\\nId eos quaerat beatae. Incidunt consequatur expedita quae. Recusandae rerum assumenda. Totam aspernatur quo et dolores saepe et.\\nModi occaecati excepturi tempore velit vitae eius. Quo et labore aut non adipisci. Et non ea repellendus ex eius saepe. Rerum aperiam quidem aut sint dolor doloremque velit. Corrupti et quo aut architecto."], ["created_at", "2014-09-26 16:31:44.122589"], ["name", "joe"], ["title", "Blanditiis earum nihil"], ["updated_at", "2014-09-26 16:31:44.122589"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:31:44.125555"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rem_dolores_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rem_dolores_perspiciatis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et cumque itaque unde numquam. Adipisci tenetur hic sunt eos sit. Qui odio et.\\nEt doloremque dolor temporibus illo officia totam perspiciatis. Omnis maiores quos corrupti. Ut quis qui deserunt quos et ut. Et consequatur quo error qui eaque.\\nSaepe qui voluptates sequi laborum. Aut molestiae amet. Similique iste molestiae blanditiis ullam voluptatem occaecati consequatur. Architecto consectetur commodi."], ["created_at", "2014-09-26 16:31:44.130682"], ["name", "rem_dolores_perspiciatis"], ["title", "Exercitationem animi fuga"], ["updated_at", "2014-09-26 16:31:44.130682"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'rem_dolores_perspiciatis' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et cumque itaque unde numquam. Adipisci tenetur hic sunt eos sit. Qui odio et.\\nEt doloremque dolor temporibus illo officia totam perspiciatis. Omnis maiores quos corrupti. Ut quis qui deserunt quos et ut. Et consequatur quo error qui eaque.\\nSaepe qui voluptates sequi laborum. Aut molestiae amet. Similique iste molestiae blanditiis ullam voluptatem occaecati consequatur. Architecto consectetur commodi."], ["created_at", "2014-09-26 16:31:44.133527"], ["name", "rem_dolores_perspiciatis"], ["title", "Exercitationem animi fuga"], ["updated_at", "2014-09-26 16:31:44.133527"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rem_dolores_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'rem_dolores_perspiciatis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:31:44.137108"], ["version", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.141432"], ["updated_at", "2014-09-26 16:31:44.141432"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.143035"], ["updated_at", "2014-09-26 16:31:44.143035"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.148520"], ["updated_at", "2014-09-26 16:31:44.148520"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.150215"], ["updated_at", "2014-09-26 16:31:44.150215"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.154645"], ["updated_at", "2014-09-26 16:31:44.154645"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.156284"], ["updated_at", "2014-09-26 16:31:44.156284"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.158730"], ["updated_at", "2014-09-26 16:31:44.158730"]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.161817"], ["updated_at", "2014-09-26 16:31:44.161817"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.164234"], ["updated_at", "2014-09-26 16:31:44.164234"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.165606"], ["updated_at", "2014-09-26 16:31:44.165606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.167760"], ["updated_at", "2014-09-26 16:31:44.167760"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.169115"], ["updated_at", "2014-09-26 16:31:44.169115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.171329"], ["updated_at", "2014-09-26 16:31:44.171329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.172828"], ["updated_at", "2014-09-26 16:31:44.172828"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.175479"], ["updated_at", "2014-09-26 16:31:44.175479"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.177271"], ["updated_at", "2014-09-26 16:31:44.177271"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.179676"], ["updated_at", "2014-09-26 16:31:44.179676"]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.182474"], ["updated_at", "2014-09-26 16:31:44.182474"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.190826"], ["updated_at", "2014-09-26 16:31:44.190826"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.192365"], ["updated_at", "2014-09-26 16:31:44.192365"]]  (5.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ea deserunt omnis sequi. Aspernatur magni molestiae. Ipsam omnis iste iure. Vero non hic.\\nVeritatis ipsa sit corporis vitae. Culpa possimus facilis. Corporis sunt qui accusantium aut debitis impedit quo.\\nEt adipisci consectetur ex est voluptatibus voluptate. Alias aspernatur est pariatur totam est consequatur. Qui cumque quo qui et. Quam voluptatem dolores voluptas at aliquam praesentium. Quam in laborum."], ["created_at", "2014-09-26 16:31:44.202398"], ["name", "alpha"], ["title", "Autem officiis dolore"], ["updated_at", "2014-09-26 16:31:44.202398"], ["version", 1]]  (16.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Amet molestiae quasi omnis. Natus voluptas impedit repellendus soluta voluptatem exercitationem. Consectetur accusantium dolore. Repellendus optio quia eum nam. Praesentium doloribus dolorem omnis temporibus non nemo fugit.\\nNulla ut animi voluptas ipsum. Id assumenda ipsam quos voluptate ratione consequatur recusandae. Aperiam omnis tempore ullam. Voluptatem laudantium libero eos et iusto. Sit provident dicta accusantium ut labore omnis ea.\\nId placeat labore incidunt. Totam aut consequuntur rerum alias similique. Vel reiciendis nihil quis ducimus dolorum. Qui labore facilis rem mollitia voluptatem sapiente beatae. Corrupti excepturi ut eum."], ["created_at", "2014-09-26 16:31:44.224009"], ["name", "beta"], ["title", "Quibusdam qui voluptas"], ["updated_at", "2014-09-26 16:31:44.224009"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.226471"], ["updated_at", "2014-09-26 16:31:44.226471"]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 16:31:44.230883"], ["updated_at", "2014-09-26 16:31:44.230883"], ["user_id", 22], ["user_type", "DummyUser"]]  (4.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 22) LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 16:31:44.238795"], ["updated_at", "2014-09-26 16:31:44.238795"], ["user_id", 22], ["user_type", "DummyUser"]]  (4.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:31:44.246050"], ["name", "alpha"], ["title", "Autem officiis dolore"], ["updated_at", "2014-09-26 16:31:44.246050"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 16:31:44.252648"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (9, 3, 8, 4, 6, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio molestias quia iure odio voluptatem. Sunt ratione ea dolores totam. Quia ut aut repellat velit neque. Impedit corrupti et aut temporibus.\\nIncidunt recusandae aspernatur. Autem similique sit molestias maxime. Alias deleniti beatae ipsum voluptatibus a quae. Aut rerum omnis esse et.\\nFugit perspiciatis nihil dolores. Est inventore dolores asperiores explicabo et. Fugit quisquam corrupti ea reprehenderit quos officiis."], ["created_at", "2014-09-26 16:31:44.263642"], ["name", "alpha"], ["title", "Aspernatur aut esse"], ["updated_at", "2014-09-26 16:31:44.263642"], ["version", 3]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ullam mollitia animi. Officia accusantium molestiae. Et alias eligendi consequatur voluptatibus et autem maiores. Nam dolores ea ut.\\nIusto dolor molestiae veniam. Asperiores est cum ut quod libero. Sint quas sequi unde.\\nEaque natus ipsam. Animi rerum est asperiores quibusdam magni fuga ut. Veniam et iste ipsum voluptas laborum dolorem impedit. Error illum enim officia eligendi. Aliquid fugit aut est."], ["created_at", "2014-09-26 16:31:44.269045"], ["name", "beta"], ["title", "Libero quia illo"], ["updated_at", "2014-09-26 16:31:44.269045"], ["version", 2]]  (4.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.275027"], ["updated_at", "2014-09-26 16:31:44.275027"]]  (2.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 23) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 16:31:44.280304"], ["updated_at", "2014-09-26 16:31:44.280304"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 23) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 16:31:44.282903"], ["updated_at", "2014-09-26 16:31:44.282903"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:31:44.285226"], ["name", "alpha"], ["title", "Aspernatur aut esse"], ["updated_at", "2014-09-26 16:31:44.285226"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 16:31:44.288365"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Doloremque perferendis pariatur et voluptas et eius quaerat. Vel omnis voluptates consequatur minima sunt. Aperiam minus nulla aut. Sint id et corrupti.\\nDoloremque distinctio mollitia architecto doloribus minima numquam. Autem neque facilis ullam in facere numquam. Occaecati qui ut consequatur harum quibusdam facilis. Aut at omnis nam assumenda velit sed.\\nNulla ab est adipisci. Quam doloribus ad omnis sed. Molestiae officia aliquam. Harum sit inventore dolor suscipit velit. Dolorem in sed accusantium voluptas."], ["created_at", "2014-09-26 16:31:44.296372"], ["name", "alpha"], ["title", "Veritatis repellendus aut"], ["updated_at", "2014-09-26 16:31:44.296372"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Occaecati accusantium distinctio amet eum. Voluptatibus sit mollitia deserunt qui dolor et cum. Quisquam a sed repellat aut aliquam quod. Quidem repellendus esse qui. Odio nihil dolorem tenetur delectus dicta rerum vel.\\nAt perferendis architecto sunt dolores. Et voluptas omnis. Accusamus repudiandae dolores quas qui neque. Unde voluptatem voluptatibus at rem. Voluptates earum aut.\\nVeritatis in consequuntur incidunt officiis nihil. Qui tenetur voluptates ipsa exercitationem sint. Officiis sapiente atque explicabo quaerat tenetur praesentium."], ["created_at", "2014-09-26 16:31:44.300252"], ["name", "beta"], ["title", "Sequi quisquam quam"], ["updated_at", "2014-09-26 16:31:44.300252"], ["version", 3]]  (22.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.324867"], ["updated_at", "2014-09-26 16:31:44.324867"]]  (5.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 16:31:44.333638"], ["updated_at", "2014-09-26 16:31:44.333638"], ["user_id", 24], ["user_type", "DummyUser"]]  (1.1ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 16:31:44.336893"], ["updated_at", "2014-09-26 16:31:44.336893"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:31:44.339157"], ["name", "alpha"], ["title", "Veritatis repellendus aut"], ["updated_at", "2014-09-26 16:31:44.339157"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:31:44.342437"], ["version", 6]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 11, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 24) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 16:31:44.360869"], ["updated_at", "2014-09-26 16:31:44.360869"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 13, 12, 10, 9, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 11, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est possimus non. Eveniet ipsum non beatae odit sit iste corrupti. Rerum voluptatem nostrum iste corporis. Ut quia consequatur reprehenderit iste soluta quidem. Molestiae quibusdam numquam et.\\nDicta id ut. Tempore libero ut corrupti et. Ea quibusdam rerum. Corrupti aliquam molestiae.\\nIpsa perferendis nesciunt harum non deserunt omnis. Asperiores vel omnis laboriosam fuga explicabo facere. Optio magnam harum dicta at amet eos et."], ["created_at", "2014-09-26 16:31:44.375408"], ["name", "alpha"], ["title", "Alias quia iusto"], ["updated_at", "2014-09-26 16:31:44.375408"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Necessitatibus consectetur ut. Harum tempore est. Error consequatur quas dolores. Atque autem temporibus nemo voluptas iusto.\\nId fugiat quisquam consequatur assumenda et. Dolores voluptatem est molestiae ad aut est. Voluptas neque commodi corporis nihil omnis consectetur recusandae.\\nLaudantium dolore hic voluptas repellat aut sed. Nostrum voluptatem magnam dolores. Expedita nulla id qui. Excepturi ex eaque voluptates."], ["created_at", "2014-09-26 16:31:44.380498"], ["name", "beta"], ["title", "Incidunt alias laboriosam"], ["updated_at", "2014-09-26 16:31:44.380498"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.382318"], ["updated_at", "2014-09-26 16:31:44.382318"]]  (0.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 16:31:44.385236"], ["updated_at", "2014-09-26 16:31:44.385236"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-26 16:31:44.388683"], ["updated_at", "2014-09-26 16:31:44.388683"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:31:44.391315"], ["name", "alpha"], ["title", "Alias quia iusto"], ["updated_at", "2014-09-26 16:31:44.391315"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 16:31:44.394439"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (18, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.399624"], ["updated_at", "2014-09-26 16:31:44.399624"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.401145"], ["updated_at", "2014-09-26 16:31:44.401145"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem reiciendis et neque doloribus nam. Eius incidunt vero iste officiis est laboriosam illo. Voluptate sit sit magnam illo vel.\\nNatus voluptatum vero occaecati ea libero deleniti. Corrupti facere dolores quo in possimus. Minus nostrum deserunt eos qui possimus dolorem fugiat. Beatae voluptatem consequuntur delectus ut sit.\\nVoluptatem quo voluptatibus cupiditate numquam. Quis qui voluptatem mollitia inventore nam. Incidunt dignissimos sequi et ab rem corporis voluptates."], ["created_at", "2014-09-26 16:31:44.404441"], ["name", "quaerat_sint_laudantium"], ["title", "Ea et ut"], ["updated_at", "2014-09-26 16:31:44.404441"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 19]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 19]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 19 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.414058"], ["updated_at", "2014-09-26 16:31:44.414058"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.418129"], ["updated_at", "2014-09-26 16:31:44.418129"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem ipsam sint quasi quis ex. Fuga autem nihil quia labore aut aut. Sed quisquam error. Autem dolor sed.\\nUt in qui aut. Alias qui modi velit. Dignissimos aut impedit voluptas corporis inventore cum.\\nDoloribus libero iusto. Ipsa tempore accusantium quam eaque aut sit omnis. Aut voluptatem et consequuntur voluptatibus."], ["created_at", "2014-09-26 16:31:44.420779"], ["name", "vitae_possimus_numquam"], ["title", "Ut laudantium facilis"], ["updated_at", "2014-09-26 16:31:44.420779"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.426515"], ["updated_at", "2014-09-26 16:31:44.426515"]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.429880"], ["updated_at", "2014-09-26 16:31:44.429880"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In vero eius fuga voluptatum. Et quae tempora et in. Sit explicabo assumenda est minima sunt. Qui sint exercitationem deleniti atque.\\nAt deleniti praesentium enim. Temporibus non ut rem tempora voluptatem qui iure. Provident magni tempora rerum explicabo earum voluptatem. Sed et aperiam cupiditate pariatur.\\nEt ipsum earum qui maiores error. Explicabo quos velit voluptates. Cumque possimus fugiat eaque."], ["created_at", "2014-09-26 16:31:44.432370"], ["name", "vero_laboriosam_iusto"], ["title", "Facilis error itaque"], ["updated_at", "2014-09-26 16:31:44.432370"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.436963"], ["updated_at", "2014-09-26 16:31:44.436963"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.438540"], ["updated_at", "2014-09-26 16:31:44.438540"]]  (10.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptate dolorem laudantium illo. Illo quos mollitia sunt numquam a. Cumque dolores voluptas beatae dolor. Voluptatem et neque iste et quam.\\nTenetur adipisci fuga. Consectetur qui doloremque assumenda. Qui non et adipisci fugit et nobis sed.\\nIncidunt ab aut quo. Aut tempora rerum qui eius. Quia minima expedita eum. Qui nihil rem molestiae soluta doloribus totam."], ["created_at", "2014-09-26 16:31:44.451824"], ["name", "voluptates_quo_et"], ["title", "Animi quibusdam quasi"], ["updated_at", "2014-09-26 16:31:44.451824"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptates_quo_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'voluptates_quo_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 16:31:44.455926"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.461638"], ["updated_at", "2014-09-26 16:31:44.461638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.463087"], ["updated_at", "2014-09-26 16:31:44.463087"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia aut doloremque nemo rerum. Blanditiis et est. Odio velit quo quas alias.\\nId quos qui ut laborum placeat sunt. Ea id ut et ex harum. A molestiae sit qui vitae.\\nExercitationem ab sint ipsum saepe qui repudiandae distinctio. Eaque itaque nam. Molestiae porro doloribus ipsa iste. Dolore reiciendis voluptatem laborum impedit eum."], ["created_at", "2014-09-26 16:31:44.465230"], ["name", "ut_quis_cumque"], ["title", "Tenetur aperiam aut"], ["updated_at", "2014-09-26 16:31:44.465230"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.475226"], ["updated_at", "2014-09-26 16:31:44.475226"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.476949"], ["updated_at", "2014-09-26 16:31:44.476949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et consequatur eius. Consequatur voluptatem dolor placeat voluptas enim quo. Nostrum error magni et fugiat. Nulla et rerum perferendis.\\nMaxime officiis tenetur non repellat expedita. Facilis aut quod nisi quia recusandae laborum. Aspernatur assumenda itaque enim et nulla ex ut.\\nUt nihil assumenda esse aut sequi voluptatum molestiae. Maiores incidunt vitae perferendis. Eius architecto doloremque. Tempora dignissimos aliquid mollitia."], ["created_at", "2014-09-26 16:31:44.479204"], ["name", "deserunt_sunt_aliquam"], ["title", "Ea aut totam"], ["updated_at", "2014-09-26 16:31:44.479204"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 24 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:31:44.483138"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.488395"], ["updated_at", "2014-09-26 16:31:44.488395"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.490274"], ["updated_at", "2014-09-26 16:31:44.490274"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Incidunt ipsum ut consequuntur. Iste placeat delectus harum voluptatibus est. Rerum esse doloribus velit consequatur. Possimus quasi ut. Qui totam sequi sit quisquam provident aut.\\nUt vel est consectetur eos enim aperiam. Repellendus doloribus quisquam ex. Autem odio harum tempore quo non. Ullam omnis velit ducimus sequi consequatur illo voluptas.\\nLaboriosam sint impedit. Corrupti tempore officiis. Atque ut corporis aperiam."], ["created_at", "2014-09-26 16:31:44.492483"], ["name", "porro_et_quidem"], ["title", "Occaecati dolor velit"], ["updated_at", "2014-09-26 16:31:44.492483"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.497697"], ["updated_at", "2014-09-26 16:31:44.497697"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.499227"], ["updated_at", "2014-09-26 16:31:44.499227"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Amet adipisci sunt. Omnis nihil id. Laborum animi illo. Aut iste eum consectetur. Ipsa animi quod quis illo corporis commodi.\\nSunt vel ex saepe exercitationem. Eligendi qui tempore. Beatae et minima accusamus.\\nCumque provident inventore omnis. Laborum quis aut qui. Ab quo voluptatibus est expedita fuga est et. Placeat adipisci accusamus sequi tenetur et. Reiciendis et voluptatem temporibus sed in."], ["created_at", "2014-09-26 16:31:44.502221"], ["name", "sit_qui_iure"], ["title", "Quia asperiores eum"], ["updated_at", "2014-09-26 16:31:44.502221"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.507667"], ["updated_at", "2014-09-26 16:31:44.507667"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.509478"], ["updated_at", "2014-09-26 16:31:44.509478"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique adipisci labore. Dolores nesciunt eos. Sed nisi et. Dolorem consectetur at in rerum voluptatem esse. Mollitia nesciunt fugit.\\nPerspiciatis asperiores in corrupti harum eos maxime quidem. Sapiente dolor sunt sit fuga. Eos nihil consectetur natus quibusdam sint dolores ea. Ut vel cumque voluptatem.\\nVoluptas aut officia tempora exercitationem eligendi. Est quaerat et esse. Ut aut voluptate vitae ducimus quidem dignissimos est. Voluptas beatae et quia id. Natus qui suscipit dolorem aliquid et."], ["created_at", "2014-09-26 16:31:44.512270"], ["name", "quas_qui_expedita"], ["title", "Possimus consequatur consequatur"], ["updated_at", "2014-09-26 16:31:44.512270"]]  (2.2ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.519011"], ["updated_at", "2014-09-26 16:31:44.519011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.520482"], ["updated_at", "2014-09-26 16:31:44.520482"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsa minima sint at veniam quo perspiciatis eius. Rerum nostrum corrupti autem. Minima at praesentium eveniet dolor distinctio. Ullam quam error eum velit eos.\\nQuis corrupti autem provident eius. Ipsam harum deleniti aut delectus et explicabo facere. Ab quidem ipsum consequatur. Autem odit vel. Vel dolor et eligendi nisi.\\nEnim pariatur rerum. Qui aut et numquam nihil suscipit sunt quae. Qui unde asperiores dolores nihil beatae. Error distinctio nihil numquam dicta quis impedit cupiditate."], ["created_at", "2014-09-26 16:31:44.522631"], ["name", "accusamus_recusandae_consequuntur"], ["title", "Explicabo earum sit"], ["updated_at", "2014-09-26 16:31:44.522631"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:31:44.525488"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:31:44.525488"]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts/29 Completed 302 Found in 3ms (ActiveRecord: 1.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.528987"], ["updated_at", "2014-09-26 16:31:44.528987"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.530445"], ["updated_at", "2014-09-26 16:31:44.530445"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut vel beatae totam dolores est reprehenderit est. Ut voluptates ab culpa deserunt molestiae aut quos. Enim officia nihil. Et et illo ipsa quaerat.\\nEarum aut ea. Sed facere et. Consequuntur id quia sunt alias itaque.\\nConsequatur vitae provident. Voluptatem illo qui recusandae dolorum doloribus quia deserunt. Adipisci magni ea. Qui quia aut."], ["created_at", "2014-09-26 16:31:44.533236"], ["name", "quaerat_unde_ipsam"], ["title", "Excepturi illum numquam"], ["updated_at", "2014-09-26 16:31:44.533236"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_unde_ipsam"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'quaerat_unde_ipsam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-26 16:31:44.537981"], ["version", 1]]  (3.3ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 3.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.545382"], ["updated_at", "2014-09-26 16:31:44.545382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.546935"], ["updated_at", "2014-09-26 16:31:44.546935"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Accusamus quae excepturi quam deserunt minus. Officia cum sapiente. Quisquam sed dolor qui commodi quia ab sit.\\nLaborum quis in voluptas ea. Et aut cum delectus eum aut tenetur adipisci. Sit tenetur qui vel. Labore quisquam est consequuntur et est provident. Unde est dolor.\\nQui impedit placeat quia non accusamus quia. Consequuntur quidem labore repellendus commodi sit quas quae. Quasi et laboriosam ea. Quidem voluptas maiores corporis. Rerum occaecati ea nam a qui minus."], ["created_at", "2014-09-26 16:31:44.549318"], ["name", "illum_eos_occaecati"], ["title", "Velit aut non"], ["updated_at", "2014-09-26 16:31:44.549318"]]  (12.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.567115"], ["updated_at", "2014-09-26 16:31:44.567115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.569150"], ["updated_at", "2014-09-26 16:31:44.569150"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maxime eos et. Modi aut dolor aperiam quas qui omnis. Beatae repellendus voluptatem doloribus minus. Sequi explicabo ipsam rerum cupiditate quia.\\nAliquam id ex inventore in dolorum optio magni. Qui eum deserunt quis reiciendis sit sit. Molestiae sint quo.\\nVel sit ea aut magnam quo. A deserunt sed. Voluptatibus tempora repellendus modi aperiam natus."], ["created_at", "2014-09-26 16:31:44.572213"], ["name", "explicabo_at_deleniti"], ["title", "Quia atque soluta"], ["updated_at", "2014-09-26 16:31:44.572213"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "explicabo_at_deleniti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'explicabo_at_deleniti') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 16:31:44.575733"], ["version", 1]]  (6.1ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.589101"], ["updated_at", "2014-09-26 16:31:44.589101"]]  (6.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.596516"], ["updated_at", "2014-09-26 16:31:44.596516"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Expedita rerum vel ut asperiores. Voluptates quis eligendi odio qui voluptas. Nesciunt voluptatem in voluptatum aut maxime saepe quo. Rem dicta rerum quis aut similique. Beatae animi error et hic odit nihil.\\nVel similique rerum ratione perspiciatis quis. Magnam distinctio quod molestiae. Et aut neque iure veritatis non.\\nIusto et quidem esse excepturi eos ratione voluptatem. Rem sint ab hic eveniet iure laborum. Assumenda quo cumque expedita eligendi."], ["created_at", "2014-09-26 16:31:44.598716"], ["name", "sunt_voluptas_quos"], ["title", "Consequatur adipisci illum"], ["updated_at", "2014-09-26 16:31:44.598716"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sunt_voluptas_quos"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'sunt_voluptas_quos') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 16:31:44.601842"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sunt_voluptas_quos' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.609269"], ["updated_at", "2014-09-26 16:31:44.609269"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.610795"], ["updated_at", "2014-09-26 16:31:44.610795"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil hic adipisci sed. At aut voluptate quaerat architecto. Ipsam qui non necessitatibus nulla eos.\\nNam est qui. Aliquam autem natus voluptate sequi. Nostrum odit occaecati rerum consectetur.\\nModi pariatur qui. Et ipsa placeat nemo doloribus. Iste sit quam quae architecto. Tempore unde ut molestias eaque natus qui in."], ["created_at", "2014-09-26 16:31:44.612913"], ["name", "nobis_illum_dolorem"], ["title", "Omnis quia qui"], ["updated_at", "2014-09-26 16:31:44.612913"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 18, 16, 15, 13, 12, 10, 9, 7, 24, 3, 17, 14, 11, 8, 32, 31, 4, 34, 25, 30, 27, 6, 5, 26, 29, 33, 2, 1, 23, 21, 20, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.620179"], ["updated_at", "2014-09-26 16:31:44.620179"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.622296"], ["updated_at", "2014-09-26 16:31:44.622296"]]  (4.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia sit pariatur est ad dolores sequi. Suscipit et necessitatibus nostrum itaque provident illo dolor. Qui dignissimos quasi delectus. Quaerat eligendi hic. Natus minus ex.\\nExplicabo ratione quasi cupiditate consequatur. Molestiae adipisci repudiandae est consectetur et corporis consequuntur. Cupiditate nihil quisquam.\\nSed velit ut est ducimus. Veritatis ducimus optio omnis. Officia accusamus excepturi hic omnis impedit. Impedit sint rerum ut consequatur quibusdam ex voluptas. Dolor consequatur aspernatur ullam quasi et aut."], ["created_at", "2014-09-26 16:31:44.629134"], ["name", "occaecati_sequi_animi"], ["title", "Nisi assumenda totam"], ["updated_at", "2014-09-26 16:31:44.629134"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.633470"], ["updated_at", "2014-09-26 16:31:44.633470"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.640914"], ["updated_at", "2014-09-26 16:31:44.640914"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Odio est hic qui consequuntur sit. Ea id reiciendis in ex. Occaecati placeat ea ratione.\\nUt esse dolorem nobis vel qui consectetur qui. Magni fugit harum. Nisi velit et dolores. Consequuntur ea cumque ipsa soluta fuga iusto.\\nRerum praesentium mollitia dolores tempore. Et et delectus quisquam. Dolores ipsam ea molestias consequuntur quaerat."], ["created_at", "2014-09-26 16:31:44.643982"], ["name", "excepturi_consequatur_quaerat"], ["title", "Id nostrum et"], ["updated_at", "2014-09-26 16:31:44.643982"]]  (34.0ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.682274"], ["updated_at", "2014-09-26 16:31:44.682274"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:31:44.683901"], ["updated_at", "2014-09-26 16:31:44.683901"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo eligendi unde delectus saepe ea ipsam. Repellendus et optio accusamus quae odit sunt. Omnis dolore veniam dolorum fugit unde.\\nNecessitatibus ipsam ducimus eligendi fugit. Mollitia dolorum eius incidunt enim vitae nostrum. Sed quaerat et at vitae. Sed ea autem adipisci consequatur voluptate eveniet quia.\\nMaxime voluptate quidem dolorem rerum vitae saepe aut. Sed sed ea alias minima. Numquam saepe et velit iure iste error."], ["created_at", "2014-09-26 16:31:44.686883"], ["name", "et_sapiente_repellat"], ["title", "Tenetur recusandae animi"], ["updated_at", "2014-09-26 16:31:44.686883"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_sapiente_repellat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'et_sapiente_repellat') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 16:31:44.691070"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_sapiente_repellat"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 16:31:44.696180"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil sequi praesentium voluptatem labore reiciendis nemo et. Asperiores qui ut. Voluptas soluta quo architecto expedita consequuntur facilis.\\nQuos omnis officia consequatur. Non est sed sit recusandae a. Ipsum pariatur explicabo maiores qui consectetur. Sit velit sed sit.\\nDolore quia quis. Eum tempora mollitia. Quam sed modi sit molestiae blanditiis mollitia."], ["created_at", "2014-09-26 16:31:44.703832"], ["name", "praesentium_in_adipisci"], ["title", "Praesentium aut totam"], ["updated_at", "2014-09-26 16:31:44.703832"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quos incidunt ducimus. Ut perspiciatis est ipsam omnis. Sit ut ea. Enim vel deserunt nemo consequuntur.\\nDucimus porro maiores quos nobis cumque consequatur labore. Numquam autem eveniet libero. Libero fugiat consequatur tenetur et nostrum qui. Maxime culpa labore et quo voluptatibus.\\nMollitia ducimus error pariatur tenetur sed est explicabo. Dolores quidem in ad aut incidunt optio. Itaque magni beatae ut modi."], ["created_at", "2014-09-26 16:32:49.398256"], ["name", "id_et_dolor"], ["title", "Consequatur autem repellendus"], ["updated_at", "2014-09-26 16:32:49.398256"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_et_dolor"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'id_et_dolor') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:32:49.415688"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.425659"], ["updated_at", "2014-09-26 16:32:49.425659"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 16:32:49.430455"], ["updated_at", "2014-09-26 16:32:49.430455"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'id_et_dolor') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_et_dolor"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Autem sunt architecto eos. Et nihil sit. Enim dolorem corporis ab ut consectetur dolorem. Vitae nesciunt enim dolorum deserunt voluptas. Eos sequi qui natus necessitatibus quas.\\nRecusandae officiis et facilis et rem at. Est magnam corporis aut commodi culpa nihil. Fuga reiciendis recusandae quae maxime iure. Quis et dolorum voluptas. Molestiae vel aspernatur quia.\\nMagnam velit saepe. Omnis quis similique quia autem voluptas est facilis. Corporis tenetur tempore aut. Molestiae doloribus ad optio. Maiores accusamus laudantium ex."], ["created_at", "2014-09-26 16:32:49.443939"], ["name", "itaque_ut_dolores"], ["title", "Est qui possimus"], ["updated_at", "2014-09-26 16:32:49.443939"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "itaque_ut_dolores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'itaque_ut_dolores') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:32:49.449099"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "itaque_ut_dolores"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "itaque_ut_dolores"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 16:32:49.454195"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_vel_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolor_vel_aut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cupiditate quia optio. Qui ut veritatis. Et ipsum distinctio totam perspiciatis. Occaecati sit veniam repellat placeat odio. Cum nam debitis.\\nFacere blanditiis tenetur itaque magnam omnis quidem. Id cum dolorum qui. Quia fugit qui dignissimos voluptas libero. Et quis tenetur ea odio dolores dolore earum.\\nCulpa deserunt aut. Illo sed maxime rerum voluptatem. Et unde rem enim voluptatem rerum aut."], ["created_at", "2014-09-26 16:32:49.459548"], ["name", "dolor_vel_aut"], ["title", "Modi et ab"], ["updated_at", "2014-09-26 16:32:49.459548"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'dolor_vel_aut' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cupiditate quia optio. Qui ut veritatis. Et ipsum distinctio totam perspiciatis. Occaecati sit veniam repellat placeat odio. Cum nam debitis.\\nFacere blanditiis tenetur itaque magnam omnis quidem. Id cum dolorum qui. Quia fugit qui dignissimos voluptas libero. Et quis tenetur ea odio dolores dolore earum.\\nCulpa deserunt aut. Illo sed maxime rerum voluptatem. Et unde rem enim voluptatem rerum aut."], ["created_at", "2014-09-26 16:32:49.464098"], ["name", "dolor_vel_aut"], ["title", "Modi et ab"], ["updated_at", "2014-09-26 16:32:49.464098"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_vel_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'dolor_vel_aut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:32:49.467266"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "autem_modi_quod"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'autem_modi_quod') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non eius rerum enim odio et facere commodi. Voluptas qui molestiae tempora rerum non sint. Et excepturi et culpa dolor facilis. Hic perferendis adipisci reprehenderit totam corporis omnis.\\nA nihil porro ea. Est officiis rem laudantium hic optio. Eos assumenda labore explicabo numquam eos sit. A voluptatem animi. Voluptatem hic cupiditate rerum ut et ea.\\nConsequuntur inventore reprehenderit totam voluptate. Illo sunt dolore veritatis quaerat dicta iste. Recusandae sit et."], ["created_at", "2014-09-26 16:32:49.472679"], ["name", "autem_modi_quod"], ["title", "Inventore sunt doloremque"], ["updated_at", "2014-09-26 16:32:49.472679"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'autem_modi_quod' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non eius rerum enim odio et facere commodi. Voluptas qui molestiae tempora rerum non sint. Et excepturi et culpa dolor facilis. Hic perferendis adipisci reprehenderit totam corporis omnis.\\nA nihil porro ea. Est officiis rem laudantium hic optio. Eos assumenda labore explicabo numquam eos sit. A voluptatem animi. Voluptatem hic cupiditate rerum ut et ea.\\nConsequuntur inventore reprehenderit totam voluptate. Illo sunt dolore veritatis quaerat dicta iste. Recusandae sit et."], ["created_at", "2014-09-26 16:32:49.475448"], ["name", "joe"], ["title", "Inventore sunt doloremque"], ["updated_at", "2014-09-26 16:32:49.475448"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:32:49.479022"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.482744"], ["updated_at", "2014-09-26 16:32:49.482744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.484364"], ["updated_at", "2014-09-26 16:32:49.484364"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.491052"], ["updated_at", "2014-09-26 16:32:49.491052"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.492629"], ["updated_at", "2014-09-26 16:32:49.492629"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Recusandae enim similique explicabo numquam. Iste tenetur ut quis quas esse voluptatem rerum. Asperiores quisquam repellat ducimus ad sed excepturi.\\nAtque doloribus deleniti. Sed sint assumenda. Veritatis autem amet. Qui omnis deleniti et illum natus iure nostrum.\\nNon molestiae expedita illum laborum. Sint eveniet aut praesentium quia laborum. Quis est consectetur veritatis aliquid voluptatem. Autem rem et. Quaerat veritatis est quisquam."], ["created_at", "2014-09-26 16:32:49.499470"], ["name", "nesciunt_perferendis_omnis"], ["title", "Qui voluptatem ea"], ["updated_at", "2014-09-26 16:32:49.499470"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iusto ut nesciunt. Eos fugit enim ipsum. Magni nihil qui. Aliquam eligendi sint accusamus magnam architecto.\\nOccaecati aut eum quo veniam eius minima quis. Facere necessitatibus et aut ut quia vero labore. Ut natus architecto quas aut cum. Dignissimos velit consequuntur eius corrupti mollitia aperiam minus. Aut architecto amet.\\nAnimi dolor dolor est et. Voluptatum quasi similique. Est maiores eveniet in et et non. Animi optio velit nostrum doloremque fugiat. Tempore ut et."], ["created_at", "2014-09-26 16:32:49.506121"], ["name", "alpha"], ["title", "Error ex nemo"], ["updated_at", "2014-09-26 16:32:49.506121"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Delectus vel porro quia voluptates. Expedita numquam rerum dolor occaecati. Amet assumenda dolorum reiciendis qui pariatur molestias cumque. Consequatur doloremque eum est. Ea nobis ab eum error tenetur.\\nQui et quae error aut omnis laboriosam. Ab est tempora. Culpa et quidem similique. Porro iure quo qui aliquam officiis omnis in. Sed asperiores ea et.\\nVoluptates dicta distinctio libero consequuntur quae sapiente natus. Rerum natus veritatis tempore adipisci eveniet ad. Id enim pariatur tenetur quibusdam."], ["created_at", "2014-09-26 16:32:49.509849"], ["name", "beta"], ["title", "Quo cumque aliquid"], ["updated_at", "2014-09-26 16:32:49.509849"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.511663"], ["updated_at", "2014-09-26 16:32:49.511663"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 16:32:49.514780"], ["updated_at", "2014-09-26 16:32:49.514780"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 16:32:49.517366"], ["updated_at", "2014-09-26 16:32:49.517366"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:32:49.519631"], ["name", "alpha"], ["title", "Error ex nemo"], ["updated_at", "2014-09-26 16:32:49.519631"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 16:32:49.522845"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (10, 5, 9, 4, 1, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repudiandae laborum exercitationem. Eaque mollitia voluptates fuga a sunt libero. Optio adipisci id tempora non est ut quasi. Blanditiis est perspiciatis possimus.\\nEt rerum atque repudiandae eos voluptatum. Consequuntur voluptas rerum non et. Molestiae explicabo quia. Ea molestiae sit excepturi et dolorem. Consectetur voluptates dolor dolor.\\nEt assumenda et aut sed. Dolorum nemo deleniti quia beatae. Voluptates voluptatem ducimus eius omnis quas cumque."], ["created_at", "2014-09-26 16:32:49.532354"], ["name", "alpha"], ["title", "Consequatur provident non"], ["updated_at", "2014-09-26 16:32:49.532354"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Maiores sunt rem minus ut quo cum distinctio. Aut ipsum et consequatur. Et sint iusto voluptatem molestias est. Voluptatem distinctio tempora repellendus vero voluptatem.\\nOccaecati aperiam iure ipsam vel vel. Autem ut enim aut quia repellendus. Veritatis non ut.\\nConsequuntur eum voluptas. Vel magnam quam. Id eum architecto voluptas quo cupiditate."], ["created_at", "2014-09-26 16:32:49.536321"], ["name", "beta"], ["title", "Doloremque totam tenetur"], ["updated_at", "2014-09-26 16:32:49.536321"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.537918"], ["updated_at", "2014-09-26 16:32:49.537918"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 16:32:49.540461"], ["updated_at", "2014-09-26 16:32:49.540461"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 16:32:49.543563"], ["updated_at", "2014-09-26 16:32:49.543563"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:32:49.546219"], ["name", "alpha"], ["title", "Consequatur provident non"], ["updated_at", "2014-09-26 16:32:49.546219"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 16:32:49.549782"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cupiditate et quibusdam quo quas. Et earum nemo delectus aut. Quisquam magni accusantium velit. Officiis quis ab quam tenetur sit ut. Voluptas exercitationem laboriosam.\\nUt nobis temporibus optio facilis voluptatem repellat. Sit sint at et. Minima quas corporis reiciendis.\\nError enim mollitia eius. In neque inventore quaerat facere vel. Magnam explicabo dolorum eum."], ["created_at", "2014-09-26 16:32:49.557497"], ["name", "alpha"], ["title", "Officiis aut dolorem"], ["updated_at", "2014-09-26 16:32:49.557497"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et velit at expedita tenetur natus rerum. Nemo sequi totam dignissimos non officiis aut. Et quasi expedita laborum omnis consequuntur aut.\\nIusto enim dignissimos non qui eum quo. Ut maxime unde est iste vitae exercitationem. Minima dolorem perspiciatis aut dicta sint error et.\\nNon enim molestiae dicta. Cum pariatur et accusantium sunt consequatur doloribus. Accusamus deserunt dicta magni eveniet sunt tempore. Fugiat ad occaecati rerum qui et adipisci esse. At molestiae aliquam beatae."], ["created_at", "2014-09-26 16:32:49.561138"], ["name", "beta"], ["title", "Minima vel eveniet"], ["updated_at", "2014-09-26 16:32:49.561138"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.562685"], ["updated_at", "2014-09-26 16:32:49.562685"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 16:32:49.565441"], ["updated_at", "2014-09-26 16:32:49.565441"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 16:32:49.567946"], ["updated_at", "2014-09-26 16:32:49.567946"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:32:49.570461"], ["name", "alpha"], ["title", "Officiis aut dolorem"], ["updated_at", "2014-09-26 16:32:49.570461"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:32:49.573760"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (16, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem nesciunt deserunt. Nulla ut ipsam autem perspiciatis consequatur. Iste suscipit eligendi ut sed. Ut cum molestiae sint repellendus consectetur.\\nOdit ea similique rerum aspernatur saepe eveniet. Quos recusandae eligendi voluptatum omnis ipsam et. Qui omnis sit minima nisi. Et mollitia magnam aut qui. Explicabo sit perspiciatis.\\nNihil laboriosam pariatur qui. Aut illo repellat qui rerum. Rerum porro iste dignissimos facilis doloribus. Quam pariatur eligendi odio et sunt voluptatem dicta. Et eos quia ut."], ["created_at", "2014-09-26 16:32:49.579574"], ["name", "alpha"], ["title", "Repellendus qui adipisci"], ["updated_at", "2014-09-26 16:32:49.579574"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Recusandae iure occaecati ipsum voluptas. Iusto est omnis. Facere occaecati error. Autem vitae dolor rem. Et aliquam quasi rerum consequatur vitae deleniti deserunt.\\nUnde vero autem accusantium hic ab expedita quia. Assumenda fugiat et. Mollitia similique corrupti aut tempora dolores suscipit. Doloremque voluptas aut rerum.\\nVoluptas eligendi et aliquid soluta et aut. Ut beatae aspernatur sequi fugiat enim consequuntur. Quod dolores sit error veniam officiis. Voluptates laudantium delectus quidem dicta. Quis aperiam earum aut sed quis laudantium."], ["created_at", "2014-09-26 16:32:49.583373"], ["name", "beta"], ["title", "Mollitia dolorum non"], ["updated_at", "2014-09-26 16:32:49.583373"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.585040"], ["updated_at", "2014-09-26 16:32:49.585040"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-26 16:32:49.587472"], ["updated_at", "2014-09-26 16:32:49.587472"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 16:32:49.589944"], ["updated_at", "2014-09-26 16:32:49.589944"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:32:49.592304"], ["name", "alpha"], ["title", "Repellendus qui adipisci"], ["updated_at", "2014-09-26 16:32:49.592304"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-26 16:32:49.595509"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 15, 12, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 16:32:49.613692"], ["updated_at", "2014-09-26 16:32:49.613692"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 17]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11, 10, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (18, 15, 12, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.626524"], ["updated_at", "2014-09-26 16:32:49.626524"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.628135"], ["updated_at", "2014-09-26 16:32:49.628135"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique nisi et. Nemo aperiam labore voluptatibus suscipit autem non. Unde dolor dolores sunt eum minus corrupti. Ut beatae hic tenetur vitae libero aut sunt.\\nConsequatur distinctio officia et ipsum. Architecto autem neque alias eum rerum. Nemo inventore eos nihil libero aut. Cupiditate eligendi voluptatum porro culpa repudiandae. Aut consectetur rerum nesciunt in ipsa consequatur perferendis.\\nImpedit tempora aut eum quod provident voluptates maxime. Qui quis doloremque reprehenderit. Quia saepe iusto pariatur. Quos ipsam nam at eligendi."], ["created_at", "2014-09-26 16:32:49.630415"], ["name", "voluptatem_dignissimos_et"], ["title", "Corporis quam asperiores"], ["updated_at", "2014-09-26 16:32:49.630415"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_dignissimos_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'voluptatem_dignissimos_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:32:49.633585"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'voluptatem_dignissimos_et' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.645878"], ["updated_at", "2014-09-26 16:32:49.645878"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.647639"], ["updated_at", "2014-09-26 16:32:49.647639"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero laboriosam ut. Numquam modi laborum voluptatibus. Est esse sed sunt omnis cumque fugiat. Amet eaque nesciunt asperiores omnis soluta quisquam ut. Quisquam aut dicta et quas.\\nDolores voluptas enim aut in recusandae autem. Nam alias explicabo et et enim autem enim. Vero quis id voluptatem dignissimos sapiente.\\nAliquam inventore alias voluptas consectetur placeat porro. Quae temporibus vel corporis et. Distinctio odio commodi. Molestiae architecto at ipsum. Eos aperiam tenetur."], ["created_at", "2014-09-26 16:32:49.649964"], ["name", "aut_aspernatur_id"], ["title", "Rerum omnis molestias"], ["updated_at", "2014-09-26 16:32:49.649964"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.653791"], ["updated_at", "2014-09-26 16:32:49.653791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.655239"], ["updated_at", "2014-09-26 16:32:49.655239"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corrupti ut laboriosam fugiat temporibus quasi. Voluptate omnis similique. Est iure et deserunt voluptatem rerum quibusdam hic. Sint doloribus voluptatem qui. Ipsam accusantium cumque odit molestiae molestias sint.\\nSit sint veniam aspernatur vel ipsa. Dolorem in perspiciatis culpa excepturi. Aut rerum ad totam facere. Amet odio architecto iste qui quidem.\\nVoluptas aliquam dicta consequatur excepturi inventore qui. Cum asperiores est praesentium alias. Accusamus nobis ut. Quidem veritatis est labore ducimus repellat ipsam et."], ["created_at", "2014-09-26 16:32:49.657396"], ["name", "est_asperiores_quia"], ["title", "Vel sint ea"], ["updated_at", "2014-09-26 16:32:49.657396"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.662861"], ["updated_at", "2014-09-26 16:32:49.662861"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.664421"], ["updated_at", "2014-09-26 16:32:49.664421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil dolore vitae et est assumenda alias. Labore non alias ipsum placeat. Labore qui ut nemo.\\nOccaecati eum voluptas voluptatem et. Molestiae non dolor sed sit deleniti. Voluptatum rerum occaecati est ut.\\nIpsum odit dicta. Perferendis iste beatae. Pariatur error excepturi odio delectus. Velit modi sapiente dolor id illo est sed."], ["created_at", "2014-09-26 16:32:49.666620"], ["name", "ut_facilis_non"], ["title", "Debitis aliquam vitae"], ["updated_at", "2014-09-26 16:32:49.666620"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 17, 16, 14, 13, 11, 10, 8, 21, 5, 18, 15, 12, 9, 4, 3, 22, 1, 2, 6, 7, 23, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.673864"], ["updated_at", "2014-09-26 16:32:49.673864"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.675648"], ["updated_at", "2014-09-26 16:32:49.675648"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui voluptas aut nobis enim rem eum vitae. Sed velit fugiat debitis consequatur. Et aliquam velit. Voluptatem porro qui quod est doloribus dolores. Sunt consequatur impedit.\\nAnimi odio enim voluptatibus impedit eaque aliquid. Laboriosam ad ut. Qui quia quo nulla.\\nNam qui voluptas. Sed molestiae neque accusamus officia voluptas voluptatem dolorum. Provident rerum aut sunt est perferendis et aut."], ["created_at", "2014-09-26 16:32:49.678696"], ["name", "quo_eius_sint"], ["title", "Beatae consequatur ut"], ["updated_at", "2014-09-26 16:32:49.678696"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.683477"], ["updated_at", "2014-09-26 16:32:49.683477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.684942"], ["updated_at", "2014-09-26 16:32:49.684942"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut quo fugit eveniet ea saepe quia. Voluptatem perspiciatis veniam officia voluptatem omnis quia. Fugiat officiis dolores officia est ut. Rerum voluptatem aliquam quaerat. Commodi unde quod similique non alias magnam quisquam.\\nAut temporibus consequuntur ab aspernatur et. Quos quae est ut voluptatem quia. Voluptas et doloribus aut accusamus velit hic similique. Neque repudiandae corporis ut voluptatem modi.\\nVitae qui illum sed aliquam. Id quibusdam voluptatem laboriosam pariatur vitae eos. Magnam ut quasi odit sed. Sequi repudiandae soluta."], ["created_at", "2014-09-26 16:32:49.687137"], ["name", "quaerat_quidem_sed"], ["title", "Quidem laudantium impedit"], ["updated_at", "2014-09-26 16:32:49.687137"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 25]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 25]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 25 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.694668"], ["updated_at", "2014-09-26 16:32:49.694668"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.696234"], ["updated_at", "2014-09-26 16:32:49.696234"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint est et est est fugiat. Recusandae officiis quidem architecto ea sit sed laboriosam. Fugit commodi nihil est. Velit sapiente libero eos ut voluptas dolor vel. Quod totam voluptas.\\nTempora magni asperiores perspiciatis. Facere et et. Qui aperiam suscipit distinctio velit. Reiciendis atque similique.\\nNon officiis voluptatem ex. Est provident vero laudantium mollitia. Sit molestiae quisquam hic."], ["created_at", "2014-09-26 16:32:49.698441"], ["name", "recusandae_doloremque_est"], ["title", "Eligendi inventore totam"], ["updated_at", "2014-09-26 16:32:49.698441"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "recusandae_doloremque_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'recusandae_doloremque_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 16:32:49.703469"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.707806"], ["updated_at", "2014-09-26 16:32:49.707806"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.709559"], ["updated_at", "2014-09-26 16:32:49.709559"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aperiam saepe quasi. Dolorem id adipisci blanditiis. Maiores facere modi optio natus facilis vitae. Deleniti nobis dolores fugiat.\\nInventore est impedit. Iure error ut. Voluptatibus distinctio in et itaque atque. Et neque alias.\\nQui officia pariatur qui. Consequatur fugit quis error autem. Et nostrum voluptatum sit quia. Nihil sequi fugit in ut qui est. Et amet qui."], ["created_at", "2014-09-26 16:32:49.712637"], ["name", "sit_omnis_et"], ["title", "Ut qui quasi"], ["updated_at", "2014-09-26 16:32:49.712637"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.716784"], ["updated_at", "2014-09-26 16:32:49.716784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.718224"], ["updated_at", "2014-09-26 16:32:49.718224"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Occaecati dolores qui. Consequatur perferendis inventore. Veniam rem error accusamus.\\nEum at quis eos est aliquid vel libero. Necessitatibus culpa saepe. Quod sit est consequuntur aspernatur architecto aut in.\\nQuasi doloribus corrupti et fugiat sint. Exercitationem atque quia consequuntur quia ullam. Aut pariatur sed error totam culpa qui sed. Ab et et quisquam. Qui et quasi hic quidem totam."], ["created_at", "2014-09-26 16:32:49.720291"], ["name", "quis_exercitationem_iste"], ["title", "Nulla molestiae dolores"], ["updated_at", "2014-09-26 16:32:49.720291"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 28 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:32:49.723893"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/28 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.728953"], ["updated_at", "2014-09-26 16:32:49.728953"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.730623"], ["updated_at", "2014-09-26 16:32:49.730623"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed quam omnis facilis cupiditate. Non culpa ipsum unde. Eveniet dolor qui. Maxime sapiente expedita.\\nQui minus velit veniam ipsa maxime. Tempore qui nam ab ea ut. Perspiciatis nihil dolores maiores. Eaque cumque vero quo aut vel consequatur. Quia labore ut iste.\\nQuaerat minima quisquam officiis est expedita delectus. Ipsa repellendus voluptates voluptatem possimus natus. Eligendi repudiandae iusto voluptatibus. Eligendi dolorem unde sint eius suscipit occaecati consequuntur. Aperiam dolorem nobis autem fuga voluptatem hic."], ["created_at", "2014-09-26 16:32:49.732866"], ["name", "ut_facere_labore"], ["title", "Laudantium nesciunt fuga"], ["updated_at", "2014-09-26 16:32:49.732866"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_facere_labore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'ut_facere_labore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 16:32:49.735978"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.741156"], ["updated_at", "2014-09-26 16:32:49.741156"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.742955"], ["updated_at", "2014-09-26 16:32:49.742955"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Numquam asperiores earum incidunt laudantium in occaecati distinctio. Dolorem omnis quibusdam. Minima ratione ad.\\nCumque ut dolor qui. Ipsum sed enim aliquid recusandae. Repudiandae et laboriosam omnis nemo cum. Impedit sequi eos soluta commodi. Ullam eius voluptatem.\\nVoluptas voluptatibus adipisci. Beatae voluptate qui autem labore quo sint quo. Dolorum nostrum voluptatem at. Ex nulla omnis consequatur fugiat vero."], ["created_at", "2014-09-26 16:32:49.746302"], ["name", "dolore_sed_ea"], ["title", "Iste in quod"], ["updated_at", "2014-09-26 16:32:49.746302"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.751775"], ["updated_at", "2014-09-26 16:32:49.751775"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.753115"], ["updated_at", "2014-09-26 16:32:49.753115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis vitae distinctio omnis nisi quaerat sapiente. Omnis ducimus voluptas voluptas dolore labore. Est cum omnis corporis vero similique.\\nIncidunt eius iste totam accusamus facere exercitationem aut. Autem impedit rem alias. Eos sint ducimus distinctio. Rerum asperiores assumenda ea ut labore magnam.\\nPerspiciatis error autem vero. Qui saepe vel voluptatibus voluptatem. Non similique rem tempora illum natus neque minima. Illo assumenda quae in. Ducimus sit ipsam adipisci eum."], ["created_at", "2014-09-26 16:32:49.755281"], ["name", "accusantium_atque_et"], ["title", "Omnis ad quam"], ["updated_at", "2014-09-26 16:32:49.755281"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "accusantium_atque_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'accusantium_atque_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:32:49.758316"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.764073"], ["updated_at", "2014-09-26 16:32:49.764073"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.765554"], ["updated_at", "2014-09-26 16:32:49.765554"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Debitis consequatur ex natus. Velit non dolorem temporibus. Culpa temporibus pariatur. Blanditiis mollitia modi voluptas.\\nCulpa nisi repellat voluptatibus vitae. Et maiores velit dolores assumenda repellendus dolores. Placeat architecto aut.\\nRecusandae labore asperiores corporis impedit ad. Ea quidem eveniet sit labore. Nulla et amet animi."], ["created_at", "2014-09-26 16:32:49.767679"], ["name", "ratione_sit_quasi"], ["title", "Temporibus modi unde"], ["updated_at", "2014-09-26 16:32:49.767679"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:32:49.771012"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:32:49.771012"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/33 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.774227"], ["updated_at", "2014-09-26 16:32:49.774227"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.775616"], ["updated_at", "2014-09-26 16:32:49.775616"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eveniet cum est eos. Qui aut nam et enim quae. Voluptatem ex quia mollitia.\\nError veritatis praesentium consectetur accusantium quasi doloribus. Unde molestias nesciunt enim sint amet a natus. Nobis repudiandae temporibus. Id vero blanditiis fugiat. Quo dicta similique voluptas esse.\\nVoluptatibus assumenda eveniet nulla. Voluptatum eligendi ipsum explicabo. Esse assumenda adipisci et."], ["created_at", "2014-09-26 16:32:49.778646"], ["name", "ipsum_dignissimos_earum"], ["title", "Et quod aliquam"], ["updated_at", "2014-09-26 16:32:49.778646"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.783942"], ["updated_at", "2014-09-26 16:32:49.783942"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.785312"], ["updated_at", "2014-09-26 16:32:49.785312"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptate repellat est voluptatem maiores deleniti sit. Perferendis dolorem sapiente ducimus. Sit rem non perferendis. Doloribus eaque nemo maiores veniam.\\nDignissimos occaecati quam. Eaque deleniti laborum est alias voluptatem. Tempore velit soluta enim qui voluptatem. Eos quo iste ut deleniti ullam ut.\\nAtque est dolores esse tempore magnam vitae. Repudiandae et ratione non aut quo consequuntur. Labore rerum impedit vitae asperiores quisquam. Soluta et iste."], ["created_at", "2014-09-26 16:32:49.787407"], ["name", "dolore_aut_quae"], ["title", "Ratione sed corporis"], ["updated_at", "2014-09-26 16:32:49.787407"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.791137"], ["updated_at", "2014-09-26 16:32:49.791137"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.792535"], ["updated_at", "2014-09-26 16:32:49.792535"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia deserunt et enim veniam. Sed ullam qui sed. Natus occaecati id.\\nAlias voluptatem et incidunt dolores. Voluptate et architecto id. Cumque ut fuga porro officiis ut. Molestiae non odio accusantium veniam corrupti sed. Voluptatem id placeat quibusdam quis autem voluptates officia.\\nVoluptas est nihil repudiandae corporis accusamus explicabo earum. Quas suscipit ut ea vero et hic. Cum aut enim inventore perferendis incidunt necessitatibus. Illo reprehenderit quia voluptate cumque facilis. Et explicabo earum."], ["created_at", "2014-09-26 16:32:49.794709"], ["name", "minus_unde_impedit"], ["title", "Occaecati illum dolorem"], ["updated_at", "2014-09-26 16:32:49.794709"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_unde_impedit"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'minus_unde_impedit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:32:49.798676"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_unde_impedit"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:32:49.804014"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.808208"], ["updated_at", "2014-09-26 16:32:49.808208"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.810068"], ["updated_at", "2014-09-26 16:32:49.810068"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Esse modi aspernatur quis enim. Qui inventore soluta delectus repudiandae laboriosam. Eum dolorem praesentium non amet enim.\\nDicta eveniet magni. Harum maxime repudiandae aut omnis repellat. Molestiae aut et quo. Ullam molestiae pariatur.\\nProvident assumenda magnam qui neque. Aliquid nisi quia consequatur. Totam perspiciatis iusto ipsum veniam reprehenderit dolorem voluptatum."], ["created_at", "2014-09-26 16:32:49.812478"], ["name", "voluptatem_natus_aut"], ["title", "Numquam debitis exercitationem"], ["updated_at", "2014-09-26 16:32:49.812478"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.816566"], ["updated_at", "2014-09-26 16:32:49.816566"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.817977"], ["updated_at", "2014-09-26 16:32:49.817977"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Soluta quis ex ad architecto qui voluptates. Veniam repudiandae officia quaerat. Beatae quia error optio quisquam. Magnam asperiores omnis repellendus.\\nQui in doloribus sed facere eum. Inventore ad beatae qui vero. Eum officia iusto et reiciendis ut.\\nOmnis quisquam debitis ut amet recusandae ut consequatur. Ex ut sed hic maiores id. Velit aut accusantium est magni ratione. Fugit perspiciatis inventore vel iusto voluptatem consequatur aut. Harum quia quia expedita nesciunt consequatur."], ["created_at", "2014-09-26 16:32:49.820116"], ["name", "rerum_sint_est"], ["title", "Eveniet et aut"], ["updated_at", "2014-09-26 16:32:49.820116"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.825969"], ["updated_at", "2014-09-26 16:32:49.825969"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.827696"], ["updated_at", "2014-09-26 16:32:49.827696"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.831831"], ["updated_at", "2014-09-26 16:32:49.831831"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.833261"], ["updated_at", "2014-09-26 16:32:49.833261"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.836444"], ["updated_at", "2014-09-26 16:32:49.836444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.837799"], ["updated_at", "2014-09-26 16:32:49.837799"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.840890"], ["updated_at", "2014-09-26 16:32:49.840890"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.842198"], ["updated_at", "2014-09-26 16:32:49.842198"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.845561"], ["updated_at", "2014-09-26 16:32:49.845561"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.847007"], ["updated_at", "2014-09-26 16:32:49.847007"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.850131"], ["updated_at", "2014-09-26 16:32:49.850131"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.851575"], ["updated_at", "2014-09-26 16:32:49.851575"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.854794"], ["updated_at", "2014-09-26 16:32:49.854794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.856192"], ["updated_at", "2014-09-26 16:32:49.856192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.859463"], ["updated_at", "2014-09-26 16:32:49.859463"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:32:49.860858"], ["updated_at", "2014-09-26 16:32:49.860858"]]  (0.5ms) commit transaction  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.902377"], ["updated_at", "2014-09-26 16:33:44.902377"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.909202"], ["updated_at", "2014-09-26 16:33:44.909202"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.917971"], ["updated_at", "2014-09-26 16:33:44.917971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.919745"], ["updated_at", "2014-09-26 16:33:44.919745"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.926586"], ["updated_at", "2014-09-26 16:33:44.926586"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:44.928153"], ["updated_at", "2014-09-26 16:33:44.928153"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nobis et harum. Voluptatem fugit aut ut. Ad commodi et adipisci neque non sunt molestiae.\\nFugiat quo laborum pariatur. Aut voluptates deleniti ut. Repellendus quia repellat hic rerum.\\nRerum aut inventore culpa. Ut excepturi quam. Eos qui consequuntur libero labore."], ["created_at", "2014-09-26 16:33:45.157996"], ["name", "laboriosam_ipsum_unde"], ["title", "Quis maiores et"], ["updated_at", "2014-09-26 16:33:45.157996"]]  (1.4ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.167169"], ["updated_at", "2014-09-26 16:33:45.167169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.169417"], ["updated_at", "2014-09-26 16:33:45.169417"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia aliquid odio voluptatibus assumenda reprehenderit numquam. Et ducimus at adipisci voluptas sunt. Debitis enim cum beatae porro saepe reiciendis adipisci. Saepe nemo qui iure.\\nEnim et deleniti ratione minima temporibus. Et autem ut non. Totam autem accusantium aut.\\nQuo aut architecto cum est. Deserunt tempore dolores nihil deleniti recusandae mollitia expedita. Beatae dicta temporibus molestias."], ["created_at", "2014-09-26 16:33:45.172788"], ["name", "ipsum_aut_modi"], ["title", "Non doloremque suscipit"], ["updated_at", "2014-09-26 16:33:45.172788"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] Completed 200 OK in 17ms (Views: 4.9ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.193650"], ["updated_at", "2014-09-26 16:33:45.193650"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.195439"], ["updated_at", "2014-09-26 16:33:45.195439"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Illo vel reprehenderit officia necessitatibus. Ad molestiae fuga corporis quos nobis. Harum hic nostrum eius minus. Facere quidem odit. Fugit quas vel accusantium maiores sunt fuga.\\nFugiat nostrum ut maxime. Excepturi vero neque veniam voluptatem odio. Aliquid ea rem magni non ipsum autem. Non tenetur consequatur in enim. Voluptas excepturi architecto laudantium enim impedit consequatur.\\nQuia consequatur dicta. Est nihil ea eum possimus vitae. Iure vel omnis quia. Consequatur laborum velit et magnam cupiditate dolor consequatur. Voluptatem rerum porro quod ut vel."], ["created_at", "2014-09-26 16:33:45.198303"], ["name", "sunt_maiores_culpa"], ["title", "Dolorem provident quam"], ["updated_at", "2014-09-26 16:33:45.198303"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.205050"], ["updated_at", "2014-09-26 16:33:45.205050"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.207241"], ["updated_at", "2014-09-26 16:33:45.207241"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam minima sint. Aut vitae veniam porro fuga. Quaerat nisi quidem.\\nVoluptatem vel nulla magnam numquam. Ea magni in. Quisquam facere ducimus ut dicta excepturi. Ratione magni enim doloremque ut qui minus dicta.\\nRecusandae quia quae quidem numquam quam consequatur. Sed ullam commodi voluptas sint cumque harum. Et expedita iure accusamus aut nulla odit sit. Impedit neque earum. In labore magni nam laboriosam."], ["created_at", "2014-09-26 16:33:45.210500"], ["name", "vero_ut_quia"], ["title", "Et rem aut"], ["updated_at", "2014-09-26 16:33:45.210500"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.216073"], ["updated_at", "2014-09-26 16:33:45.216073"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.217624"], ["updated_at", "2014-09-26 16:33:45.217624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui qui magni. Aut at pariatur consequatur dolore dolor ea quis. Excepturi et autem eaque laudantium sed repellendus. Repellendus ullam provident ut molestias ab. Deserunt voluptas veniam incidunt quam sed omnis.\\nVoluptas consequatur sed. Dolorem illo assumenda. Ab rem nesciunt id.\\nNon vel eos. Voluptatibus nesciunt officiis ut totam dolor quam suscipit. Et eaque est."], ["created_at", "2014-09-26 16:33:45.220111"], ["name", "repellat_a_sapiente"], ["title", "Quas itaque nihil"], ["updated_at", "2014-09-26 16:33:45.220111"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.230661"], ["updated_at", "2014-09-26 16:33:45.230661"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.232285"], ["updated_at", "2014-09-26 16:33:45.232285"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Minus odit maiores libero eos laborum doloremque cumque. Est qui voluptatem deserunt. Sed qui quaerat voluptas a ducimus vitae. Iste sapiente voluptatibus sit quo facilis vitae. Fugiat odit inventore necessitatibus quam veniam rem ea.\\nDolorum qui repellat sunt sint. Qui eligendi est eum labore neque voluptas. Vel sit delectus dolore iste perspiciatis. Exercitationem ut distinctio totam.\\nQuos omnis fugiat eius quas. Sed dolorum voluptas aut molestiae odio temporibus. Aliquid delectus iste molestiae libero omnis eum non. Iste aut aut voluptas ratione non nihil repudiandae."], ["created_at", "2014-09-26 16:33:45.234536"], ["name", "voluptatibus_accusantium_sint"], ["title", "Cumque molestiae voluptate"], ["updated_at", "2014-09-26 16:33:45.234536"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:33:45.238017"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.244316"], ["updated_at", "2014-09-26 16:33:45.244316"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.245882"], ["updated_at", "2014-09-26 16:33:45.245882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates doloremque quia est qui. Dolor et iusto. Unde quis ab odio.\\nNobis veniam non deserunt in possimus tempore. Voluptatem culpa deserunt consequatur alias. Voluptatum eveniet est omnis. Dolorem est qui ut amet. Aperiam omnis iure.\\nAut illum dolorum modi. Tempore atque nisi cum. Hic modi praesentium facilis eaque et voluptas. Illo aut incidunt dicta suscipit dignissimos. Ad mollitia recusandae animi dignissimos quia."], ["created_at", "2014-09-26 16:33:45.248098"], ["name", "unde_voluptatem_dolor"], ["title", "Est qui est"], ["updated_at", "2014-09-26 16:33:45.248098"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.252866"], ["updated_at", "2014-09-26 16:33:45.252866"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.254568"], ["updated_at", "2014-09-26 16:33:45.254568"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt excepturi dolor. Iusto dolorum optio totam dolorem ut maxime. Accusantium non perferendis omnis dolorem est. Voluptatum in ipsa magni. Amet placeat eligendi id ex aspernatur.\\nMinima illum dolor molestiae voluptatibus nostrum ut. Quasi vero nam dolorem laboriosam sed qui ipsum. Nobis aspernatur provident qui ea velit.\\nEt enim voluptatum perspiciatis eos. Soluta qui porro qui quia aut. Iure ut sunt soluta. Sapiente asperiores quis magnam impedit sunt qui."], ["created_at", "2014-09-26 16:33:45.256676"], ["name", "quaerat_ut_voluptates"], ["title", "Nihil optio error"], ["updated_at", "2014-09-26 16:33:45.256676"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 2, 1, 8, 3, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.265784"], ["updated_at", "2014-09-26 16:33:45.265784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.267356"], ["updated_at", "2014-09-26 16:33:45.267356"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cupiditate ullam architecto. Omnis soluta dolor libero. Similique ea dolore repellendus ipsa quasi eaque. Et ratione delectus a laboriosam sunt. Et suscipit earum quisquam.\\nPossimus deserunt natus minus molestiae. Aut odio nam vero et. Natus esse tempora beatae.\\nDebitis maxime sed sapiente. Ea placeat et quidem minus consectetur. Aperiam voluptates omnis officiis ducimus ipsa consequatur."], ["created_at", "2014-09-26 16:33:45.269611"], ["name", "eos_eaque_laborum"], ["title", "Doloremque blanditiis rerum"], ["updated_at", "2014-09-26 16:33:45.269611"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_eaque_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'eos_eaque_laborum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 16:33:45.274154"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.280405"], ["updated_at", "2014-09-26 16:33:45.280405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.281959"], ["updated_at", "2014-09-26 16:33:45.281959"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit omnis provident recusandae sapiente in qui. Similique iure voluptates fuga accusantium sapiente molestias libero. Dolorum minima eligendi.\\nSed eaque maiores enim qui iusto error. Aut dolorem aliquam. Delectus ea et qui dolorem amet facere. Vitae ducimus id.\\nAccusantium similique quidem ex numquam. Minus maiores quis qui illo quisquam est enim. Dolores omnis dolorem eveniet quod velit perferendis harum. Quam recusandae distinctio sunt minus nisi illum."], ["created_at", "2014-09-26 16:33:45.284187"], ["name", "quod_ipsam_quis"], ["title", "Rem qui enim"], ["updated_at", "2014-09-26 16:33:45.284187"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quod_ipsam_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'quod_ipsam_quis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 16:33:45.288146"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.294347"], ["updated_at", "2014-09-26 16:33:45.294347"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.296198"], ["updated_at", "2014-09-26 16:33:45.296198"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique ipsa accusantium provident veritatis aut eveniet. Quasi repellendus ut. Et velit similique.\\nSuscipit omnis ad esse. Molestias neque dolores. Ut omnis expedita voluptatem minima quis voluptas. Aut voluptas quibusdam vero molestiae modi sed cupiditate.\\nAlias libero maxime possimus veritatis. Dicta aut ut voluptatibus saepe ut est id. Debitis sequi tempora et. Sit eum est sit."], ["created_at", "2014-09-26 16:33:45.298432"], ["name", "atque_explicabo_est"], ["title", "Atque molestiae voluptatem"], ["updated_at", "2014-09-26 16:33:45.298432"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.303300"], ["updated_at", "2014-09-26 16:33:45.303300"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.304767"], ["updated_at", "2014-09-26 16:33:45.304767"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit quod omnis ea sit aut dicta. Quo nulla et ullam a quia aut. Quos soluta dolores voluptas rerum beatae et ut. Voluptas recusandae tenetur qui.\\nAb culpa quisquam. Vitae maxime aliquid quae quia beatae. Nobis aliquam aut laborum.\\nNecessitatibus maiores inventore itaque qui. Laborum velit rerum non a dolor. Nobis ab nesciunt impedit maiores non eius. Qui tempora impedit facere eos et dolorum. Est et repellat molestias a."], ["created_at", "2014-09-26 16:33:45.307000"], ["name", "voluptas_eos_perspiciatis"], ["title", "Fugiat totam earum"], ["updated_at", "2014-09-26 16:33:45.307000"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_eos_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'voluptas_eos_perspiciatis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 16:33:45.311648"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.316115"], ["updated_at", "2014-09-26 16:33:45.316115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.317571"], ["updated_at", "2014-09-26 16:33:45.317571"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut qui ut odit aliquam. Qui alias reiciendis non quia at. Qui sint voluptatem fugit voluptatibus. Itaque est consequatur. Corporis repudiandae adipisci ea.\\nOmnis ipsa sit. Amet quo et aliquam aperiam et. Placeat libero a omnis reiciendis. Omnis aut suscipit.\\nQui nostrum unde ipsa sint. Illum est beatae. Qui cumque et. Deleniti et accusantium distinctio aut ut. Ut cumque eveniet laborum esse."], ["created_at", "2014-09-26 16:33:45.320484"], ["name", "necessitatibus_quo_fugit"], ["title", "Cum voluptatem harum"], ["updated_at", "2014-09-26 16:33:45.320484"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:33:45.323728"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:33:45.323728"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.327021"], ["updated_at", "2014-09-26 16:33:45.327021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.328504"], ["updated_at", "2014-09-26 16:33:45.328504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut molestiae occaecati est et magni. Sed laboriosam a aliquam. Aliquid consequatur pariatur voluptate odio. Ullam esse rem reiciendis at numquam asperiores sapiente.\\nAut nam aut nisi ut est. Quaerat accusamus omnis ducimus aut. Optio est necessitatibus. Nam voluptatem quos ut excepturi porro voluptates ea. Sapiente molestias deleniti reprehenderit illum.\\nPariatur labore accusamus. Sunt reiciendis laborum excepturi neque. Qui at quis consequatur."], ["created_at", "2014-09-26 16:33:45.330572"], ["name", "voluptas_libero_aliquid"], ["title", "Molestiae optio fugit"], ["updated_at", "2014-09-26 16:33:45.330572"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_libero_aliquid"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'voluptas_libero_aliquid') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:33:45.333767"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_libero_aliquid"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:33:45.338626"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.342599"], ["updated_at", "2014-09-26 16:33:45.342599"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.344069"], ["updated_at", "2014-09-26 16:33:45.344069"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Odit at tempora et in incidunt quia et. Quasi odit voluptatem velit id et in explicabo. Doloribus iusto eos ea nulla consequatur in mollitia. Qui hic nostrum. Dolorum qui perferendis esse.\\nEnim error et. Voluptatem id expedita dolorum quo corporis officiis commodi. Similique omnis optio et debitis.\\nOfficiis aliquid ut itaque quia est vitae molestias. Recusandae aut omnis soluta a fuga. Omnis sed blanditiis eaque. Illo eligendi accusamus sed minima. Facilis est quis nam soluta."], ["created_at", "2014-09-26 16:33:45.346223"], ["name", "et_enim_fuga"], ["title", "Commodi velit hic"], ["updated_at", "2014-09-26 16:33:45.346223"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_enim_fuga"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'et_enim_fuga') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:33:45.349194"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'et_enim_fuga' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.356794"], ["updated_at", "2014-09-26 16:33:45.356794"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.358429"], ["updated_at", "2014-09-26 16:33:45.358429"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quod sit consequuntur eveniet eos. Quo qui dicta voluptate. Dolores nostrum fugiat blanditiis. Vel alias dolorum quis beatae rem. Ut ut autem eum nesciunt doloremque corrupti inventore.\\nIllum dolore eius. Eos quas sint corrupti illo est sapiente. Sed eos omnis incidunt aliquid.\\nQui autem sunt earum inventore. Veritatis assumenda consequatur voluptatem illo nesciunt. Quae voluptatum aut sit nesciunt molestiae assumenda."], ["created_at", "2014-09-26 16:33:45.360736"], ["name", "quos_repudiandae_dolores"], ["title", "Quae modi quibusdam"], ["updated_at", "2014-09-26 16:33:45.360736"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.364626"], ["updated_at", "2014-09-26 16:33:45.364626"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.366325"], ["updated_at", "2014-09-26 16:33:45.366325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cumque qui quia. Sunt rerum neque asperiores velit fuga quaerat nihil. Omnis nam corrupti et.\\nNeque non id. Voluptatum commodi quo veniam repellat architecto. Ut delectus voluptatem fugiat qui molestiae minus. Voluptatem nobis enim et rerum repellat.\\nLaborum fuga quos voluptates tempora iure et. Qui qui odit autem et. Dolorem quae ad."], ["created_at", "2014-09-26 16:33:45.368443"], ["name", "officia_laudantium_quae"], ["title", "Dolor molestiae nemo"], ["updated_at", "2014-09-26 16:33:45.368443"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.373495"], ["updated_at", "2014-09-26 16:33:45.373495"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.375011"], ["updated_at", "2014-09-26 16:33:45.375011"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel omnis velit eaque quis libero. Aut dolorum quam. Vel delectus maiores iusto voluptas. Soluta itaque provident cupiditate aut vitae quia. Ea dolor sed et ipsam nesciunt iure.\\nLaudantium qui error recusandae. Sit harum sunt eum adipisci. Placeat sed mollitia dolorum blanditiis excepturi vero at. Porro sit aut impedit. Hic vel corrupti magnam cupiditate et consequuntur.\\nNatus nemo aut explicabo aut sequi sit. Doloremque ex omnis maxime amet quis magnam. Cupiditate voluptatem ullam adipisci. Enim similique dolores."], ["created_at", "2014-09-26 16:33:45.377254"], ["name", "eligendi_ipsam_iure"], ["title", "Quis ipsam hic"], ["updated_at", "2014-09-26 16:33:45.377254"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem facilis hic perferendis dignissimos debitis quia. Temporibus quae nam ut cum saepe et. Ea dolor excepturi alias possimus vel ullam optio.\\nQuam et dolores facilis nisi. Sunt officia consectetur magnam officiis praesentium explicabo quibusdam. Sint tempora enim et voluptas voluptate. Sit voluptates similique ea nemo non.\\nVel culpa accusantium cumque voluptatem. Exercitationem est quas ducimus aspernatur veritatis ullam. Culpa explicabo numquam error velit omnis et atque. Ullam qui ut ea itaque sunt id maiores. Vitae omnis recusandae."], ["created_at", "2014-09-26 16:33:45.382553"], ["name", "aliquam_est_voluptatem"], ["title", "Quo deleniti veritatis"], ["updated_at", "2014-09-26 16:33:45.382553"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minima_et_officiis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minima_et_officiis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nulla cupiditate numquam blanditiis. Tempore quibusdam alias dicta maiores laboriosam. Corrupti ut sed animi ab eos adipisci repudiandae. Provident rem sunt et.\\nSunt quia ipsam. Veniam placeat numquam. Quae eligendi velit ullam ea sit voluptatem consectetur. Id ipsum laborum labore non itaque vel.\\nQuia numquam non labore sequi eum. Nihil dicta laboriosam. Quibusdam odio consequuntur culpa ipsum corrupti iusto. Libero voluptate error aut quae neque. Et sint tempore pariatur omnis quod rerum."], ["created_at", "2014-09-26 16:33:45.388286"], ["name", "minima_et_officiis"], ["title", "Velit sed mollitia"], ["updated_at", "2014-09-26 16:33:45.388286"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.392896"], ["updated_at", "2014-09-26 16:33:45.392896"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.400871"], ["updated_at", "2014-09-26 16:33:45.400871"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.402987"], ["updated_at", "2014-09-26 16:33:45.402987"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_sint_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quisquam_sint_accusantium') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut qui qui porro a exercitationem. Doloribus magni quo quisquam in recusandae aliquid. Eum illo molestiae. Pariatur sed nemo aut ad eum non.\\nPariatur voluptatem nam ea sit culpa excepturi. Et cumque qui. Quibusdam provident nam.\\nLabore cum neque est sint rerum maxime qui. Tempora maiores laborum. Amet nihil eveniet mollitia quas aut fuga veritatis. Sapiente corrupti distinctio voluptatem aut sed voluptas et."], ["created_at", "2014-09-26 16:33:45.407508"], ["name", "quisquam_sint_accusantium"], ["title", "Numquam quis doloremque"], ["updated_at", "2014-09-26 16:33:45.407508"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.409269"], ["updated_at", "2014-09-26 16:33:45.409269"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 16:33:45.411383"], ["updated_at", "2014-09-26 16:33:45.411383"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Completed 200 OK in 196ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.614429"], ["updated_at", "2014-09-26 16:33:45.614429"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.617038"], ["updated_at", "2014-09-26 16:33:45.617038"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_quia_perferendis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'pariatur_quia_perferendis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias quo sint minima odio natus totam molestiae. Tempora ratione tenetur eum sed sed. Qui nulla incidunt eum quo pariatur commodi omnis.\\nQuae repellendus consequuntur ipsam. Ea sit fugiat ut quibusdam sequi illum sunt. Ut praesentium cumque aliquam dolore.\\nEt excepturi voluptas vel consequuntur eum. Maxime rem hic quisquam. Et impedit et placeat."], ["created_at", "2014-09-26 16:33:45.621998"], ["name", "pariatur_quia_perferendis"], ["title", "Consequatur adipisci aperiam"], ["updated_at", "2014-09-26 16:33:45.621998"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.623706"], ["updated_at", "2014-09-26 16:33:45.623706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 47) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 16:33:45.625886"], ["updated_at", "2014-09-26 16:33:45.625886"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.631561"], ["updated_at", "2014-09-26 16:33:45.631561"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.633070"], ["updated_at", "2014-09-26 16:33:45.633070"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "mollitia_et_sunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'mollitia_et_sunt') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum deleniti quod nesciunt temporibus tenetur accusantium deserunt. Nihil est voluptates sapiente aut quo. Sunt sapiente asperiores ea voluptas quibusdam. Voluptate saepe rem sit ad.\\nIllum nam inventore et sed cupiditate quo. Nemo facere eos velit laudantium aut. Alias autem assumenda. Et amet aut placeat qui vel ratione laborum.\\nTotam nesciunt a at rerum est eos. Libero perspiciatis qui saepe nesciunt modi. Sed aut culpa. Quia est quae sit eos deleniti aperiam reiciendis. Voluptatum officiis sint aut nisi."], ["created_at", "2014-09-26 16:33:45.637194"], ["name", "mollitia_et_sunt"], ["title", "Veniam ratione earum"], ["updated_at", "2014-09-26 16:33:45.637194"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.638959"], ["updated_at", "2014-09-26 16:33:45.638959"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 50) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 16:33:45.641063"], ["updated_at", "2014-09-26 16:33:45.641063"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.644911"], ["updated_at", "2014-09-26 16:33:45.644911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.646385"], ["updated_at", "2014-09-26 16:33:45.646385"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quos_quia_sunt"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quos_quia_sunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae enim ut quis cum. Voluptatibus magni dolorem corporis. Ipsum sint ea.\\nHarum incidunt tempore. Eum est ipsam iusto autem voluptas dolor. Est minus et.\\nEligendi iure unde iste qui nihil delectus. Reiciendis quis est sapiente dolor culpa labore. Error in ut. Sed quis omnis quos eaque. Earum et officia voluptatem dolorum voluptate."], ["created_at", "2014-09-26 16:33:45.651567"], ["name", "quos_quia_sunt"], ["title", "Qui laboriosam assumenda"], ["updated_at", "2014-09-26 16:33:45.651567"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.654194"], ["updated_at", "2014-09-26 16:33:45.654194"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 53) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 16:33:45.657399"], ["updated_at", "2014-09-26 16:33:45.657399"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.663709"], ["updated_at", "2014-09-26 16:33:45.663709"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.665152"], ["updated_at", "2014-09-26 16:33:45.665152"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_ratione_natus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_ratione_natus') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusamus qui odit aliquid voluptas. Aut commodi reprehenderit dolorum et dolorem minima. Qui incidunt rerum officia tempora velit tempore. Qui voluptatem est consequatur quaerat quia.\\nId exercitationem odit quo non molestias officia est. Officia occaecati rerum omnis ipsum explicabo. Dolorum sed numquam voluptate eveniet. Quibusdam eligendi natus. Molestiae qui nihil et quidem quia repudiandae.\\nAdipisci a eum nihil sunt. Natus eum quos et non. Sit optio deserunt et fugit architecto. Omnis blanditiis rerum accusantium quis sequi voluptates. Debitis dolores nihil veritatis necessitatibus vero."], ["created_at", "2014-09-26 16:33:45.669366"], ["name", "et_ratione_natus"], ["title", "Eaque ab accusamus"], ["updated_at", "2014-09-26 16:33:45.669366"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.671040"], ["updated_at", "2014-09-26 16:33:45.671040"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 56) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 16:33:45.673224"], ["updated_at", "2014-09-26 16:33:45.673224"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"26"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.676567"], ["updated_at", "2014-09-26 16:33:45.676567"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.678080"], ["updated_at", "2014-09-26 16:33:45.678080"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_et_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'corporis_et_architecto') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iure rerum ea assumenda ut ipsam. Ut molestiae ut. Quia repudiandae dolore.\\nDolor veniam illo reprehenderit eligendi. Libero dolor ipsa qui rem. Ut sint labore animi esse eligendi doloremque. Ut veritatis rerum reprehenderit sunt consequatur. Quaerat unde minima sed rerum rem maxime qui.\\nEst nulla esse quasi sit et necessitatibus. Non sed laudantium non aspernatur enim. In accusamus suscipit minima consequuntur."], ["created_at", "2014-09-26 16:33:45.682427"], ["name", "corporis_et_architecto"], ["title", "Nam deserunt eveniet"], ["updated_at", "2014-09-26 16:33:45.682427"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.684672"], ["updated_at", "2014-09-26 16:33:45.684672"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 59) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 16:33:45.687755"], ["updated_at", "2014-09-26 16:33:45.687755"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Redirected to http://test.host/fine_print/contracts/27/signatures?r=allZK3Mzc3g2N0dWazJ2S2sxaVMyZz09LS1Wd2VMWWJmZ21Ob3JSdmx4cWJnaEdBPT0%3D--643cca13edf6d1a5a3db75d3f98231496f0dd3f0 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.696822"], ["updated_at", "2014-09-26 16:33:45.696822"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.698540"], ["updated_at", "2014-09-26 16:33:45.698540"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magni_fugiat_culpa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'magni_fugiat_culpa') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut in sunt. Qui iusto nihil in. Dolores minus omnis magnam. Dolorum ut velit.\\nExpedita cupiditate officiis molestias. Error laudantium iure occaecati delectus officia facilis. Non impedit eius voluptatem corrupti. Pariatur sed quod et ducimus itaque molestias debitis.\\nAut quia consectetur eum ipsa est quia. Dolorum inventore excepturi id. Repellat quam ab similique minus quaerat aspernatur. Iure ad voluptas veritatis commodi."], ["created_at", "2014-09-26 16:33:45.703674"], ["name", "magni_fugiat_culpa"], ["title", "Et ut est"], ["updated_at", "2014-09-26 16:33:45.703674"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.705543"], ["updated_at", "2014-09-26 16:33:45.705543"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 16:33:45.707667"], ["updated_at", "2014-09-26 16:33:45.707667"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"28"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.711197"], ["updated_at", "2014-09-26 16:33:45.711197"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.712669"], ["updated_at", "2014-09-26 16:33:45.712669"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_voluptatibus_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'unde_voluptatibus_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed earum ut. Sit et suscipit laboriosam. Est enim enim blanditiis architecto.\\nPossimus blanditiis est magnam velit sed. Eos autem eos amet excepturi sit aut. Necessitatibus et fuga sint quasi id. Eveniet ut voluptatibus error quia velit.\\nLibero nam ab voluptatibus deleniti. Est voluptate nihil sit provident rerum velit. Ducimus odio facilis sunt."], ["created_at", "2014-09-26 16:33:45.716908"], ["name", "unde_voluptatibus_qui"], ["title", "Omnis quas harum"], ["updated_at", "2014-09-26 16:33:45.716908"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.718611"], ["updated_at", "2014-09-26 16:33:45.718611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 16:33:45.720818"], ["updated_at", "2014-09-26 16:33:45.720818"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quidem fugiat ea odio. Sint repudiandae eaque laudantium qui eveniet id. Fuga est est. Ullam qui minus enim mollitia accusantium. Dignissimos voluptas minima velit ratione et.\\nVeritatis fuga ex. Soluta minima exercitationem corrupti aut dolore. At quisquam molestiae quibusdam asperiores necessitatibus. Architecto consequatur quae corporis. Voluptate aperiam rerum cumque.\\nSapiente sit sed a. Consequuntur ad totam consequatur doloribus nihil omnis unde. Quae ullam eligendi. A labore beatae."], ["created_at", "2014-09-26 16:33:45.728086"], ["name", "alpha"], ["title", "Voluptate quia dolore"], ["updated_at", "2014-09-26 16:33:45.728086"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum aliquam non quia est at. Quo ad nihil iusto et. Nisi dolorem dolorum. Similique exercitationem quia porro accusamus.\\nRatione officiis commodi ducimus. Aut corporis hic. Ipsam aut quos dolores omnis non voluptas facilis. Sint et sint dolorem in.\\nIllum et earum qui omnis voluptates quibusdam eos. Nulla expedita ipsum voluptas distinctio aperiam et aut. Numquam expedita saepe in consequatur aut. Facere aspernatur sit vitae alias pariatur. Et voluptas maiores."], ["created_at", "2014-09-26 16:33:45.731949"], ["name", "beta"], ["title", "Soluta animi cupiditate"], ["updated_at", "2014-09-26 16:33:45.731949"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.733562"], ["updated_at", "2014-09-26 16:33:45.733562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 16:33:45.736106"], ["updated_at", "2014-09-26 16:33:45.736106"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-26 16:33:45.738514"], ["updated_at", "2014-09-26 16:33:45.738514"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:33:45.740727"], ["name", "alpha"], ["title", "Voluptate quia dolore"], ["updated_at", "2014-09-26 16:33:45.740727"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 16:33:45.743766"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (32, 31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio est tenetur qui temporibus. Voluptatum aut officia laborum et. Cupiditate tempora fugit est in. Blanditiis voluptatum quia. Molestiae aspernatur voluptatibus sint.\\nBlanditiis quod suscipit. Repudiandae ea et odit doloribus aut cum vel. Ut voluptates quam nobis in aliquam magni. Voluptates quia tenetur quo incidunt temporibus.\\nVel placeat magnam occaecati voluptatem soluta rerum. Molestias veritatis delectus. Quia ratione praesentium voluptatem officia."], ["created_at", "2014-09-26 16:33:45.750134"], ["name", "alpha"], ["title", "Sed dignissimos sint"], ["updated_at", "2014-09-26 16:33:45.750134"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Velit non dicta. Facilis sed cum voluptas. Architecto ducimus accusantium pariatur ipsum voluptas velit. Sit sed dolor repellendus animi. Occaecati eligendi eveniet.\\nAut saepe exercitationem earum repellat aliquam est. Velit quis rerum esse qui nemo qui. Quam et sint dolor similique velit repellat.\\nDoloremque in voluptas ipsum eligendi deleniti. Qui reiciendis sit iste blanditiis quae. Nisi est sint ipsa suscipit maiores dolorem."], ["created_at", "2014-09-26 16:33:45.754505"], ["name", "beta"], ["title", "Laboriosam est illum"], ["updated_at", "2014-09-26 16:33:45.754505"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.756365"], ["updated_at", "2014-09-26 16:33:45.756365"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-26 16:33:45.760062"], ["updated_at", "2014-09-26 16:33:45.760062"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 16:33:45.763309"], ["updated_at", "2014-09-26 16:33:45.763309"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:33:45.765832"], ["name", "alpha"], ["title", "Sed dignissimos sint"], ["updated_at", "2014-09-26 16:33:45.765832"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 16:33:45.768875"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-26 16:33:45.785097"], ["updated_at", "2014-09-26 16:33:45.785097"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 33, 32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repudiandae incidunt enim. Omnis quod quia. Beatae modi id.\\nExpedita velit fugiat dicta dolorem omnis. Commodi sint nostrum temporibus minus et velit. Voluptate autem non qui molestias quo nesciunt id.\\nMagni repellendus esse porro. Sunt ratione quia. Omnis dolore quos accusantium rerum est et. Fugiat itaque facere voluptatem illo nostrum optio aut. Enim vero officia aliquam eum voluptatem delectus nobis."], ["created_at", "2014-09-26 16:33:45.800148"], ["name", "alpha"], ["title", "Repellendus rerum maiores"], ["updated_at", "2014-09-26 16:33:45.800148"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eveniet minus at eligendi quo. Quo quasi odit. Et rerum aut iure porro distinctio.\\nSint sit quidem. Voluptas rerum tenetur voluptatum voluptatibus ut. Nesciunt suscipit itaque reiciendis. Deleniti earum nobis quasi quas facere. Dicta vel nobis aut cupiditate.\\nArchitecto veritatis quae deleniti rerum. Minus officiis aut totam cum nihil laboriosam qui. Explicabo et unde minus nulla neque et esse. Tempore error est est voluptas id et et. Nulla recusandae odit autem."], ["created_at", "2014-09-26 16:33:45.804054"], ["name", "beta"], ["title", "Dolorem et qui"], ["updated_at", "2014-09-26 16:33:45.804054"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.805653"], ["updated_at", "2014-09-26 16:33:45.805653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 16:33:45.808176"], ["updated_at", "2014-09-26 16:33:45.808176"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 16:33:45.810586"], ["updated_at", "2014-09-26 16:33:45.810586"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:33:45.812680"], ["name", "alpha"], ["title", "Repellendus rerum maiores"], ["updated_at", "2014-09-26 16:33:45.812680"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 16:33:45.815622"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non reprehenderit impedit mollitia id sed illo fugit. Ab animi dolore quo at. Enim quis sint reiciendis culpa nihil omnis aut. Nobis iste culpa. Earum beatae harum vel.\\nReprehenderit aut sint maxime corporis error. Et quidem nemo. Voluptas aspernatur vel doloribus dignissimos ea cumque quia.\\nEa est alias dolorem maiores omnis sunt. Debitis asperiores quod ipsa deleniti dicta corrupti. Doloribus qui et a tempore. Et dolorem iste ut laboriosam explicabo."], ["created_at", "2014-09-26 16:33:45.832046"], ["name", "alpha"], ["title", "Iure consectetur vitae"], ["updated_at", "2014-09-26 16:33:45.832046"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.8ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "At rem officia est. Enim quas est voluptate dolorum accusamus. Voluptas sit debitis doloribus. Id quia mollitia qui.\\nImpedit non provident ad esse qui quia quia. Expedita eos reprehenderit odio. Minus voluptatem autem ab. Hic alias dolor consectetur laboriosam reprehenderit.\\nDicta et ducimus modi porro non aut aut. Voluptate illo quia explicabo laborum. Dolor facilis rerum eius adipisci voluptatem quo id."], ["created_at", "2014-09-26 16:33:45.839755"], ["name", "beta"], ["title", "Dolores iste maxime"], ["updated_at", "2014-09-26 16:33:45.839755"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.841672"], ["updated_at", "2014-09-26 16:33:45.841672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 16:33:45.845026"], ["updated_at", "2014-09-26 16:33:45.845026"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 16:33:45.848945"], ["updated_at", "2014-09-26 16:33:45.848945"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:33:45.852154"], ["name", "alpha"], ["title", "Iure consectetur vitae"], ["updated_at", "2014-09-26 16:33:45.852154"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.8ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 16:33:45.857381"], ["version", 8]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (41, 40, 27, 9, 16, 26, 28, 21, 24, 23, 22, 10, 25, 29, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beatae_architecto_repellendus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beatae_architecto_repellendus') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aperiam enim totam ut est distinctio quibusdam aut. Quis optio voluptas. Qui ut distinctio recusandae quidem unde ut. Ea ipsa voluptas.\\nEx dolores et placeat et voluptatum dignissimos. Repellendus est numquam. Quia explicabo laboriosam reprehenderit eos deserunt libero excepturi. Enim maxime et.\\nOmnis nisi commodi non modi dolorem. Non enim voluptatum at rerum fugit ut. Fugit minus nihil sint dolor et voluptatem aut. Dolores rerum dignissimos nobis aliquid dolore. Blanditiis vel vitae rem est earum omnis."], ["created_at", "2014-09-26 16:33:45.867230"], ["name", "beatae_architecto_repellendus"], ["title", "Perferendis soluta et"], ["updated_at", "2014-09-26 16:33:45.867230"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beatae_architecto_repellendus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aperiam enim totam ut est distinctio quibusdam aut. Quis optio voluptas. Qui ut distinctio recusandae quidem unde ut. Ea ipsa voluptas.\\nEx dolores et placeat et voluptatum dignissimos. Repellendus est numquam. Quia explicabo laboriosam reprehenderit eos deserunt libero excepturi. Enim maxime et.\\nOmnis nisi commodi non modi dolorem. Non enim voluptatum at rerum fugit ut. Fugit minus nihil sint dolor et voluptatem aut. Dolores rerum dignissimos nobis aliquid dolore. Blanditiis vel vitae rem est earum omnis."], ["created_at", "2014-09-26 16:33:45.869649"], ["name", "beatae_architecto_repellendus"], ["title", "Perferendis soluta et"], ["updated_at", "2014-09-26 16:33:45.869649"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beatae_architecto_repellendus"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'beatae_architecto_repellendus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 16:33:45.873453"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_voluptatibus_excepturi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_voluptatibus_excepturi') LIMIT 1 SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorum officiis ut iusto voluptatem assumenda fugiat. Qui pariatur et amet. Consequatur et asperiores laudantium sunt. Voluptatibus sapiente voluptatem asperiores saepe nisi. Eligendi in ipsam.\\nOptio nihil repellendus asperiores omnis dignissimos delectus provident. Ut laboriosam accusantium accusamus ipsam omnis eveniet est. Nisi blanditiis expedita consequuntur nobis et officia qui. Hic aut suscipit.\\nEt magnam soluta. Recusandae molestiae consequuntur excepturi. Harum dolorum doloribus aut."], ["created_at", "2014-09-26 16:33:45.879835"], ["name", "enim_voluptatibus_excepturi"], ["title", "Veniam labore rem"], ["updated_at", "2014-09-26 16:33:45.879835"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'enim_voluptatibus_excepturi' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorum officiis ut iusto voluptatem assumenda fugiat. Qui pariatur et amet. Consequatur et asperiores laudantium sunt. Voluptatibus sapiente voluptatem asperiores saepe nisi. Eligendi in ipsam.\\nOptio nihil repellendus asperiores omnis dignissimos delectus provident. Ut laboriosam accusantium accusamus ipsam omnis eveniet est. Nisi blanditiis expedita consequuntur nobis et officia qui. Hic aut suscipit.\\nEt magnam soluta. Recusandae molestiae consequuntur excepturi. Harum dolorum doloribus aut."], ["created_at", "2014-09-26 16:33:45.882617"], ["name", "joe"], ["title", "Veniam labore rem"], ["updated_at", "2014-09-26 16:33:45.882617"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-26 16:33:45.887665"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quod hic magni possimus. Eum possimus ut. Voluptatem tempora est repellat unde. Nulla quibusdam amet reprehenderit fugit occaecati assumenda qui. Sit eius eligendi optio cumque accusamus.\\nUnde dolor eum mollitia autem quibusdam. Est quos qui eaque ullam. Rerum cupiditate recusandae magni voluptates ipsam ipsum.\\nAut aliquam et at. Temporibus eveniet aut possimus. Aliquid quisquam provident accusantium molestiae consectetur molestias iure. Doloremque quo quia qui. Quia sequi veritatis aut eligendi maiores."], ["created_at", "2014-09-26 16:33:45.893015"], ["name", "consequatur_est_reiciendis"], ["title", "Est aut magnam"], ["updated_at", "2014-09-26 16:33:45.893015"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_est_reiciendis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'consequatur_est_reiciendis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 16:33:45.898085"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_est_reiciendis"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_est_reiciendis"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 16:33:45.904231"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Itaque corporis consequatur qui. Maiores libero enim. Est perferendis quos blanditiis necessitatibus.\\nUnde omnis repellendus. Debitis nam magnam itaque at fugiat eaque quo. Quae exercitationem qui consequuntur et culpa.\\nFuga ullam in necessitatibus aliquid asperiores rerum ea. Nisi odio quia qui inventore ut. Et corporis quaerat eum et nihil est. Molestias ipsa et expedita quia. Pariatur numquam rerum in magni eius at blanditiis."], ["created_at", "2014-09-26 16:33:45.908229"], ["name", "dignissimos_repellendus_ut"], ["title", "Consequatur non corporis"], ["updated_at", "2014-09-26 16:33:45.908229"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dignissimos_repellendus_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'dignissimos_repellendus_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 16:33:45.911747"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:33:45.915775"], ["updated_at", "2014-09-26 16:33:45.915775"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 70) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 16:33:45.918929"], ["updated_at", "2014-09-26 16:33:45.918929"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'dignissimos_repellendus_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dignissimos_repellendus_ut"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (4.4ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.6ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.342906"], ["updated_at", "2014-09-26 16:36:20.342906"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.348875"], ["updated_at", "2014-09-26 16:36:20.348875"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.355297"], ["updated_at", "2014-09-26 16:36:20.355297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.356806"], ["updated_at", "2014-09-26 16:36:20.356806"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.363944"], ["updated_at", "2014-09-26 16:36:20.363944"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.365468"], ["updated_at", "2014-09-26 16:36:20.365468"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.367477"], ["updated_at", "2014-09-26 16:36:20.367477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.368860"], ["updated_at", "2014-09-26 16:36:20.368860"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.371391"], ["updated_at", "2014-09-26 16:36:20.371391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.372954"], ["updated_at", "2014-09-26 16:36:20.372954"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.375563"], ["updated_at", "2014-09-26 16:36:20.375563"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.377107"], ["updated_at", "2014-09-26 16:36:20.377107"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.379114"], ["updated_at", "2014-09-26 16:36:20.379114"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.380715"], ["updated_at", "2014-09-26 16:36:20.380715"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.382719"], ["updated_at", "2014-09-26 16:36:20.382719"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.385870"], ["updated_at", "2014-09-26 16:36:20.385870"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.387959"], ["updated_at", "2014-09-26 16:36:20.387959"]]  (3.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.392231"], ["updated_at", "2014-09-26 16:36:20.392231"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.394194"], ["updated_at", "2014-09-26 16:36:20.394194"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.395586"], ["updated_at", "2014-09-26 16:36:20.395586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.397517"], ["updated_at", "2014-09-26 16:36:20.397517"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.398886"], ["updated_at", "2014-09-26 16:36:20.398886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.400794"], ["updated_at", "2014-09-26 16:36:20.400794"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.402246"], ["updated_at", "2014-09-26 16:36:20.402246"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.404626"], ["updated_at", "2014-09-26 16:36:20.404626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.406027"], ["updated_at", "2014-09-26 16:36:20.406027"]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.409267"], ["updated_at", "2014-09-26 16:36:20.409267"]]  (6.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.416739"], ["updated_at", "2014-09-26 16:36:20.416739"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.419132"], ["updated_at", "2014-09-26 16:36:20.419132"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.425749"], ["updated_at", "2014-09-26 16:36:20.425749"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.427598"], ["updated_at", "2014-09-26 16:36:20.427598"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.429031"], ["updated_at", "2014-09-26 16:36:20.429031"]]  (5.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.435917"], ["updated_at", "2014-09-26 16:36:20.435917"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.442628"], ["updated_at", "2014-09-26 16:36:20.442628"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.449701"], ["updated_at", "2014-09-26 16:36:20.449701"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.451087"], ["updated_at", "2014-09-26 16:36:20.451087"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.453377"], ["updated_at", "2014-09-26 16:36:20.453377"]]  (6.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.461525"], ["updated_at", "2014-09-26 16:36:20.461525"]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.466664"], ["updated_at", "2014-09-26 16:36:20.466664"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.468382"], ["updated_at", "2014-09-26 16:36:20.468382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.470657"], ["updated_at", "2014-09-26 16:36:20.470657"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.472130"], ["updated_at", "2014-09-26 16:36:20.472130"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.473988"], ["updated_at", "2014-09-26 16:36:20.473988"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.475461"], ["updated_at", "2014-09-26 16:36:20.475461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.477392"], ["updated_at", "2014-09-26 16:36:20.477392"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.478803"], ["updated_at", "2014-09-26 16:36:20.478803"]]  (3.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.483497"], ["updated_at", "2014-09-26 16:36:20.483497"]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.485594"], ["updated_at", "2014-09-26 16:36:20.485594"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.487557"], ["updated_at", "2014-09-26 16:36:20.487557"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.489007"], ["updated_at", "2014-09-26 16:36:20.489007"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.491009"], ["updated_at", "2014-09-26 16:36:20.491009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.492905"], ["updated_at", "2014-09-26 16:36:20.492905"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.495049"], ["updated_at", "2014-09-26 16:36:20.495049"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.496462"], ["updated_at", "2014-09-26 16:36:20.496462"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.498294"], ["updated_at", "2014-09-26 16:36:20.498294"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:36:20.499618"], ["updated_at", "2014-09-26 16:36:20.499618"]]  (0.6ms) commit transaction  (6.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.234329"], ["updated_at", "2014-09-26 16:44:13.234329"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.241265"], ["updated_at", "2014-09-26 16:44:13.241265"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officia doloremque atque porro rerum. Et sed occaecati enim. Est eos incidunt quidem corporis eveniet. Et deserunt voluptates. Alias sint dolorem corporis.\\nExercitationem maiores labore vel est quia doloribus non. Iure blanditiis rerum doloremque non deserunt. Officiis facere et repellendus.\\nAd ullam sapiente incidunt quaerat aliquam ut dolor. Sint voluptate enim molestias ut minus voluptas delectus. Sint recusandae temporibus sunt quibusdam expedita. Iure doloribus ea officia. Pariatur laudantium dolorum ipsa ut reiciendis non et."], ["created_at", "2014-09-26 16:44:13.462482"], ["name", "reprehenderit_temporibus_tempora"], ["title", "Repudiandae in maxime"], ["updated_at", "2014-09-26 16:44:13.462482"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reprehenderit_temporibus_tempora"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'reprehenderit_temporibus_tempora') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:44:13.477902"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reprehenderit_temporibus_tempora"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:44:13.489347"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.494465"], ["updated_at", "2014-09-26 16:44:13.494465"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.496120"], ["updated_at", "2014-09-26 16:44:13.496120"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero quisquam aut rerum. Quaerat sed doloribus accusantium. Ut est saepe quis dicta et. Iusto qui praesentium labore aut.\\nAd adipisci repellendus aliquam. Vitae ut laboriosam. Impedit excepturi numquam consequatur iusto perspiciatis. Qui reiciendis assumenda commodi provident explicabo. Laboriosam iste veniam ipsam ipsum.\\nQuisquam fugiat quod quia est distinctio. Aut quis harum. Perferendis dolor alias iure inventore voluptatem sunt quam. Delectus explicabo nulla eveniet unde voluptatem. Temporibus neque voluptates voluptas ut."], ["created_at", "2014-09-26 16:44:13.498785"], ["name", "harum_et_perferendis"], ["title", "Occaecati quae ducimus"], ["updated_at", "2014-09-26 16:44:13.498785"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.504300"], ["updated_at", "2014-09-26 16:44:13.504300"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.505890"], ["updated_at", "2014-09-26 16:44:13.505890"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nam aut ducimus consequatur natus corporis. Eos aut ut cum quo excepturi ea. Aperiam est dolor provident nihil ratione veniam. Error ullam ut rerum reiciendis libero deleniti.\\nAut voluptatem magni iusto consectetur. Unde aut distinctio aut mollitia consequuntur rerum aut. Asperiores occaecati tempore ut error repudiandae eos. Et voluptatibus eum.\\nVitae sequi perspiciatis in voluptatem eos et. Maxime quia eos animi fugit sunt esse minus. Illum et reprehenderit. Facilis sed eveniet cum natus molestiae."], ["created_at", "2014-09-26 16:44:13.508262"], ["name", "molestias_aut_quisquam"], ["title", "Nesciunt expedita sapiente"], ["updated_at", "2014-09-26 16:44:13.508262"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.512297"], ["updated_at", "2014-09-26 16:44:13.512297"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.513884"], ["updated_at", "2014-09-26 16:44:13.513884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut soluta nihil cupiditate in facilis sunt. Saepe voluptas iusto. Deleniti sapiente eum. Nesciunt sed nihil.\\nVoluptas in et et iure laborum aliquid. Ut exercitationem veritatis qui beatae repellat cupiditate. Sed commodi ut magnam harum voluptates. Est et itaque reiciendis id nam quia. Dolor quia ut.\\nEum error in. Voluptatibus illum sit ratione totam doloribus modi. Est aut molestiae quis aliquam hic. Quidem illo sit."], ["created_at", "2014-09-26 16:44:13.516196"], ["name", "qui_amet_quia"], ["title", "Excepturi distinctio neque"], ["updated_at", "2014-09-26 16:44:13.516196"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 4]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 4]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 4 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.527346"], ["updated_at", "2014-09-26 16:44:13.527346"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.528806"], ["updated_at", "2014-09-26 16:44:13.528806"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eveniet distinctio est deserunt in illo repellat. In nesciunt et nobis ut facilis eum. Dolor est fugit aspernatur atque.\\nEt sequi velit ipsa excepturi odio ipsum. Suscipit nemo reiciendis praesentium. Quia eos vel sed rerum laborum. Minus corrupti officia ab repellendus ut. Necessitatibus et itaque reiciendis soluta nisi atque aut.\\nAut sit consequatur aspernatur. Nesciunt rerum dolor et. Ut et error perferendis voluptatem aut facere."], ["created_at", "2014-09-26 16:44:13.532696"], ["name", "debitis_ut_hic"], ["title", "Sint consequatur doloremque"], ["updated_at", "2014-09-26 16:44:13.532696"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "debitis_ut_hic"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'debitis_ut_hic') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 16:44:13.536184"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'debitis_ut_hic' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.546934"], ["updated_at", "2014-09-26 16:44:13.546934"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.548632"], ["updated_at", "2014-09-26 16:44:13.548632"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vero aut quisquam. Consequatur aut atque numquam et non dicta. Perferendis eaque dolore voluptate qui.\\nNulla quas ducimus. Sunt sit similique doloribus et. Perspiciatis distinctio in voluptas voluptas at.\\nOdit et dicta et est illo. Nihil blanditiis voluptas eos voluptatem recusandae ut. Rem reprehenderit exercitationem est ipsum. Ipsum distinctio magnam animi quo."], ["created_at", "2014-09-26 16:44:13.550785"], ["name", "ea_quae_earum"], ["title", "Voluptates et quae"], ["updated_at", "2014-09-26 16:44:13.550785"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.557064"], ["updated_at", "2014-09-26 16:44:13.557064"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.558651"], ["updated_at", "2014-09-26 16:44:13.558651"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint ea at itaque. Consequatur velit reprehenderit asperiores suscipit. Dolor quam rerum neque aperiam. Sunt quia in qui ut id.\\nAut ut voluptas unde dolor aut reiciendis. Optio odio tenetur consequuntur quia omnis. Corrupti ex aut minima.\\nVoluptas voluptatem quo qui unde quam esse omnis. Sit fugit odit tempore laboriosam aut. Rerum inventore illo id. Non nisi necessitatibus voluptatem nesciunt autem sit."], ["created_at", "2014-09-26 16:44:13.561754"], ["name", "voluptas_non_modi"], ["title", "Inventore dolore et"], ["updated_at", "2014-09-26 16:44:13.561754"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.568540"], ["updated_at", "2014-09-26 16:44:13.568540"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.570626"], ["updated_at", "2014-09-26 16:44:13.570626"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aperiam dolore et suscipit dicta. Molestiae eaque culpa. Totam neque sit sunt nihil aut a.\\nEt mollitia natus deleniti quo amet ut id. Temporibus consectetur quas unde autem. Voluptas aut mollitia.\\nEst in quisquam. Odio excepturi ut sint in ut voluptatem. Explicabo odit non et perferendis omnis ea. Consequatur voluptates earum quia."], ["created_at", "2014-09-26 16:44:13.573649"], ["name", "a_tempore_ab"], ["title", "Consequuntur dolor et"], ["updated_at", "2014-09-26 16:44:13.573649"]]  (1.9ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.580632"], ["updated_at", "2014-09-26 16:44:13.580632"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.582982"], ["updated_at", "2014-09-26 16:44:13.582982"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tenetur cupiditate repudiandae ut consequatur. Consequatur et eum exercitationem iste ad amet atque. Autem repellendus et nihil. Ab sunt quas.\\nTotam nisi suscipit vel quo eveniet. Enim perferendis maxime. Veniam et nostrum reiciendis enim numquam accusantium. Repudiandae nesciunt aut reiciendis dolorum voluptas nobis.\\nSoluta iusto ut. Iure vel molestiae eaque iste. Molestiae veritatis ipsa consequatur aliquam."], ["created_at", "2014-09-26 16:44:13.585469"], ["name", "ea_iste_omnis"], ["title", "Iure sit temporibus"], ["updated_at", "2014-09-26 16:44:13.585469"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_iste_omnis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'ea_iste_omnis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 16:44:13.588685"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.594916"], ["updated_at", "2014-09-26 16:44:13.594916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.596609"], ["updated_at", "2014-09-26 16:44:13.596609"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Delectus sequi mollitia nulla itaque ab porro. Nulla deserunt officiis est. Ut non laudantium aliquam beatae enim accusantium. Quae sit officia est expedita aut. Consectetur et in architecto unde dolor repellat.\\nOdit nihil nulla fuga minus cupiditate ipsa. Voluptates nihil explicabo. Ut repellat doloribus harum quod.\\nConsequuntur ullam quo et totam. Fugiat quia sit nihil. Facere ut saepe possimus nisi eveniet neque. Architecto suscipit repellat voluptates. Quidem iusto optio aut."], ["created_at", "2014-09-26 16:44:13.598977"], ["name", "quia_nam_qui"], ["title", "Est voluptatem esse"], ["updated_at", "2014-09-26 16:44:13.598977"]]  (2.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.605999"], ["updated_at", "2014-09-26 16:44:13.605999"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.607554"], ["updated_at", "2014-09-26 16:44:13.607554"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum quam dolor exercitationem aliquid commodi fugit quibusdam. Voluptas dolorem ut occaecati tempore earum eos sit. Iure odio magni expedita ipsa sit assumenda harum. Consequuntur eveniet qui omnis libero est quod commodi. Recusandae ipsa dignissimos non magni maxime.\\nNam ratione quis aliquid eum voluptas. Officiis velit voluptas. Qui mollitia consequatur qui. Velit veritatis exercitationem vel sit.\\nMinima porro possimus est corporis quisquam. Necessitatibus quia est qui sunt debitis ratione tenetur. Est dolor recusandae. Magni omnis deleniti saepe mollitia tempora. Mollitia omnis natus qui sit laudantium."], ["created_at", "2014-09-26 16:44:13.610119"], ["name", "quos_non_veniam"], ["title", "Quod ea quam"], ["updated_at", "2014-09-26 16:44:13.610119"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.614628"], ["updated_at", "2014-09-26 16:44:13.614628"]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.617433"], ["updated_at", "2014-09-26 16:44:13.617433"]]  (5.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem quisquam repellat aut id praesentium qui quo. Est deserunt dolor. Fuga repudiandae at vero sapiente adipisci corporis similique. Labore distinctio nostrum natus soluta. Autem rerum nam quisquam delectus expedita ea.\\nAt ut pariatur. Corrupti dolores eum recusandae fuga omnis nemo. Quam doloremque quae consequatur laboriosam doloribus. Praesentium recusandae omnis explicabo aut architecto. Dolor fugit magni est omnis.\\nMagnam in qui eaque quo autem recusandae officiis. Amet id praesentium earum est ipsa magni et. Beatae itaque eaque. Expedita dolorum nihil ipsa. Fuga sed aut dolor mollitia minus blanditiis."], ["created_at", "2014-09-26 16:44:13.624551"], ["name", "sit_nobis_sapiente"], ["title", "Perferendis sint non"], ["updated_at", "2014-09-26 16:44:13.624551"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.630294"], ["updated_at", "2014-09-26 16:44:13.630294"]]  (6.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.637318"], ["updated_at", "2014-09-26 16:44:13.637318"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nostrum ex omnis ullam. Similique accusamus perspiciatis sed velit. Magni ad voluptas. Ipsa consequuntur et velit cumque repellendus molestiae. Et pariatur dolores non iusto sint.\\nCommodi quis dolor velit. Fugiat odit ducimus sint itaque voluptatem reiciendis tenetur. Dolor vitae officia consequuntur cumque explicabo. Voluptas ut eum in. Error rerum dolores.\\nOfficia aspernatur qui. Rerum cum sit dolorem consequatur consequatur et eligendi. Ad corporis totam facere eius ab eum. Vitae iure qui neque architecto ipsa illo mollitia. Beatae consectetur qui nesciunt quia reprehenderit qui."], ["created_at", "2014-09-26 16:44:13.639762"], ["name", "rerum_unde_aspernatur"], ["title", "Est ducimus non"], ["updated_at", "2014-09-26 16:44:13.639762"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 13 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:44:13.644850"]]  (7.4ms) commit transaction Redirected to http://test.host/fine_print/contracts/13 Completed 302 Found in 13ms (ActiveRecord: 7.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.657823"], ["updated_at", "2014-09-26 16:44:13.657823"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.664619"], ["updated_at", "2014-09-26 16:44:13.664619"]]  (6.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ex sit ducimus autem. Quas praesentium enim dolores eveniet laborum temporibus rem. In cum et quam. Inventore et quia dolorem voluptatibus ducimus. Corporis nulla id quaerat illum.\\nQuidem velit amet sunt corrupti odio. Sit officiis excepturi qui eveniet cupiditate quia amet. Consequuntur quo harum quia provident qui. Tempore placeat dolores voluptatem.\\nSit nesciunt similique. Velit odit magnam hic totam. Consectetur eum fugit quia deserunt temporibus et."], ["created_at", "2014-09-26 16:44:13.673301"], ["name", "vel_reiciendis_ut"], ["title", "Omnis voluptas vel"], ["updated_at", "2014-09-26 16:44:13.673301"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 13, 5, 9, 6, 2, 3, 10, 11, 1, 12, 14, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.684007"], ["updated_at", "2014-09-26 16:44:13.684007"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.685697"], ["updated_at", "2014-09-26 16:44:13.685697"]]  (5.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor incidunt voluptatum accusamus facere officiis expedita earum. Enim ipsum accusantium non modi velit vitae. Omnis voluptatem et voluptate quo et totam.\\nQuidem doloribus consequatur quas non nulla sint. Recusandae officiis in tempore. Aspernatur est rerum deleniti omnis autem totam perspiciatis.\\nConsequatur assumenda doloribus aut temporibus quis cum. Nesciunt laudantium numquam quia voluptatem. Delectus totam aspernatur nemo doloribus."], ["created_at", "2014-09-26 16:44:13.693116"], ["name", "cupiditate_quia_beatae"], ["title", "Doloribus magnam dignissimos"], ["updated_at", "2014-09-26 16:44:13.693116"]]  (40.4ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.741178"], ["updated_at", "2014-09-26 16:44:13.741178"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.743059"], ["updated_at", "2014-09-26 16:44:13.743059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Labore occaecati quia doloribus quod itaque laudantium provident. Numquam dolores culpa. Est voluptatem odit praesentium odio voluptatem. Ipsam aut enim omnis rem.\\nEst non tenetur qui et. In est ut. Tenetur voluptatem et et omnis rerum soluta. Est autem sit.\\nArchitecto nostrum nesciunt. Praesentium explicabo dignissimos corporis numquam quis. Sunt minus quos natus suscipit sit."], ["created_at", "2014-09-26 16:44:13.745729"], ["name", "excepturi_eaque_soluta"], ["title", "Beatae sunt nesciunt"], ["updated_at", "2014-09-26 16:44:13.745729"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "excepturi_eaque_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'excepturi_eaque_soluta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:44:13.749640"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.754698"], ["updated_at", "2014-09-26 16:44:13.754698"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.756293"], ["updated_at", "2014-09-26 16:44:13.756293"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tempora consequuntur nemo autem dignissimos perspiciatis molestiae. Quos voluptate quod dolorum. Omnis sit quia fugiat est adipisci beatae in.\\nVoluptatem autem est iure consectetur tempore omnis omnis. Odio in perferendis. Et voluptas deserunt quam non vitae dignissimos odit.\\nIllum nesciunt quia architecto consequatur quis. Totam dolorem esse quod. Voluptatum repudiandae aperiam beatae nihil in iste quia. Laborum possimus molestiae facere velit sit."], ["created_at", "2014-09-26 16:44:13.758488"], ["name", "labore_ullam_assumenda"], ["title", "Quibusdam nisi quia"], ["updated_at", "2014-09-26 16:44:13.758488"]]  (2.1ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "labore_ullam_assumenda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'labore_ullam_assumenda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 16:44:13.764487"], ["version", 1]]  (1.3ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.7ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.769368"], ["updated_at", "2014-09-26 16:44:13.769368"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.770824"], ["updated_at", "2014-09-26 16:44:13.770824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quidem adipisci et molestiae possimus et unde. Voluptatibus et ad dignissimos. Soluta et alias velit. Qui labore ut rerum sit. Perferendis delectus fugit.\\nNulla doloribus est dolorum laudantium et. Officiis aliquam et aut laboriosam molestiae. Sint ut eum. Modi quidem et id.\\nPariatur quisquam et aut exercitationem. Soluta doloremque ducimus explicabo voluptas aut fuga non. Dolorum nihil aut culpa beatae numquam enim. Sunt reprehenderit et voluptatem repellendus eos. Distinctio quidem neque quis eum sapiente adipisci."], ["created_at", "2014-09-26 16:44:13.773052"], ["name", "incidunt_non_accusamus"], ["title", "Quia molestiae non"], ["updated_at", "2014-09-26 16:44:13.773052"]]  (6.4ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:44:13.782523"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:44:13.782523"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/19 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.789204"], ["updated_at", "2014-09-26 16:44:13.789204"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.790715"], ["updated_at", "2014-09-26 16:44:13.790715"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.795054"], ["updated_at", "2014-09-26 16:44:13.795054"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.796508"], ["updated_at", "2014-09-26 16:44:13.796508"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.799788"], ["updated_at", "2014-09-26 16:44:13.799788"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.801147"], ["updated_at", "2014-09-26 16:44:13.801147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.803186"], ["updated_at", "2014-09-26 16:44:13.803186"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.804555"], ["updated_at", "2014-09-26 16:44:13.804555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.806487"], ["updated_at", "2014-09-26 16:44:13.806487"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.807927"], ["updated_at", "2014-09-26 16:44:13.807927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.809926"], ["updated_at", "2014-09-26 16:44:13.809926"]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.813396"], ["updated_at", "2014-09-26 16:44:13.813396"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.815401"], ["updated_at", "2014-09-26 16:44:13.815401"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.816909"], ["updated_at", "2014-09-26 16:44:13.816909"]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.820346"], ["updated_at", "2014-09-26 16:44:13.820346"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.821844"], ["updated_at", "2014-09-26 16:44:13.821844"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.824655"], ["updated_at", "2014-09-26 16:44:13.824655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.826047"], ["updated_at", "2014-09-26 16:44:13.826047"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.828023"], ["updated_at", "2014-09-26 16:44:13.828023"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:44:13.830006"], ["updated_at", "2014-09-26 16:44:13.830006"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reprehenderit et similique. Sint magni tempora ex debitis quisquam ipsam sequi. Perferendis amet non.\\nRepellat ducimus facilis molestiae. Dolorum accusantium ullam non. Et vel accusamus tempora atque maxime. Itaque fugiat sed non quibusdam ex ut.\\nOfficiis non facere. Numquam similique magnam dolor. Assumenda dolor voluptatem sunt autem consequatur soluta. Illum et tempora laborum dolor quo cum nihil."], ["created_at", "2014-09-26 16:44:13.833032"], ["name", "similique_sit_quidem"], ["title", "Molestiae maiores est"], ["updated_at", "2014-09-26 16:44:13.833032"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Distinctio qui in voluptatem quasi. Repellendus necessitatibus nihil dolorem eius enim quas. Mollitia soluta non consequuntur cumque. Error rerum sint quibusdam et labore. Occaecati in et et voluptatem quia voluptatum non.\\nEt quod voluptas asperiores quia quidem. Saepe iusto voluptatibus consequatur laudantium qui quo. At et commodi similique. Et dolorem aut.\\nDistinctio non nobis tempore excepturi laborum. At in molestiae et enim ut quasi quia. Et esse voluptas sint alias sunt inventore eius. Culpa similique deserunt rerum inventore quibusdam aspernatur error. Ipsum in voluptas."], ["created_at", "2014-09-26 16:44:13.837108"], ["name", "et_et_blanditiis"], ["title", "Recusandae voluptatibus nobis"], ["updated_at", "2014-09-26 16:44:13.837108"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_et_blanditiis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'et_et_blanditiis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 16:44:13.841429"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_et_blanditiis"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_et_blanditiis"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 16:44:13.845993"], ["version", nil]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_reiciendis_inventore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_reiciendis_inventore') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint odit illo perspiciatis aut. Reiciendis et accusantium officia dolores. Voluptatum aperiam iure minima beatae architecto officiis.\\nAut vel cumque saepe dicta sit sit laborum. Adipisci necessitatibus provident. Beatae aliquam aut id. Pariatur similique delectus totam voluptate et.\\nConsequatur aut nostrum debitis ducimus quia. Quo rem quae. Officiis ducimus qui iusto. Velit ut et dolores nesciunt dignissimos quis."], ["created_at", "2014-09-26 16:44:13.850769"], ["name", "et_reiciendis_inventore"], ["title", "Quos cumque dignissimos"], ["updated_at", "2014-09-26 16:44:13.850769"], ["version", 1]]  (5.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'et_reiciendis_inventore' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint odit illo perspiciatis aut. Reiciendis et accusantium officia dolores. Voluptatum aperiam iure minima beatae architecto officiis.\\nAut vel cumque saepe dicta sit sit laborum. Adipisci necessitatibus provident. Beatae aliquam aut id. Pariatur similique delectus totam voluptate et.\\nConsequatur aut nostrum debitis ducimus quia. Quo rem quae. Officiis ducimus qui iusto. Velit ut et dolores nesciunt dignissimos quis."], ["created_at", "2014-09-26 16:44:13.858037"], ["name", "et_reiciendis_inventore"], ["title", "Quos cumque dignissimos"], ["updated_at", "2014-09-26 16:44:13.858037"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_reiciendis_inventore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'et_reiciendis_inventore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 16:44:13.861027"], ["version", 2]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_voluptas_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_voluptas_aut') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsam fugiat qui consectetur harum ipsa. Magni suscipit sint recusandae. Voluptas adipisci possimus sint repellendus modi.\\nAb nihil eaque voluptas tenetur doloribus quam. Quasi corporis eum accusamus deleniti earum. Asperiores sint quo error aliquam similique. Libero aspernatur sint voluptate consequatur inventore ut quis.\\nDelectus exercitationem inventore iste molestiae aut. Sequi quasi et. Architecto nisi numquam."], ["created_at", "2014-09-26 16:44:13.867517"], ["name", "non_voluptas_aut"], ["title", "Quibusdam corporis mollitia"], ["updated_at", "2014-09-26 16:44:13.867517"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'non_voluptas_aut' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam fugiat qui consectetur harum ipsa. Magni suscipit sint recusandae. Voluptas adipisci possimus sint repellendus modi.\\nAb nihil eaque voluptas tenetur doloribus quam. Quasi corporis eum accusamus deleniti earum. Asperiores sint quo error aliquam similique. Libero aspernatur sint voluptate consequatur inventore ut quis.\\nDelectus exercitationem inventore iste molestiae aut. Sequi quasi et. Architecto nisi numquam."], ["created_at", "2014-09-26 16:44:13.870640"], ["name", "joe"], ["title", "Quibusdam corporis mollitia"], ["updated_at", "2014-09-26 16:44:13.870640"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 16:44:13.874659"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Assumenda rerum iusto iste doloremque eum. Eos ipsam iste aliquid error fuga. Repudiandae reiciendis dolorem non voluptas omnis dignissimos optio. Eligendi sequi eius. Praesentium alias sit aut et quos quia delectus.\\nPossimus est neque vitae enim deleniti nulla non. Nisi ex expedita et in rerum animi fugiat. Soluta libero labore aperiam. Iure in dolores est.\\nEst corrupti libero reiciendis assumenda quidem ratione maiores. Quis et nihil aut autem. Quia vel qui porro in rem et sint. Fugiat amet enim."], ["created_at", "2014-09-26 16:44:13.878125"], ["name", "soluta_quisquam_ut"], ["title", "Recusandae quis illum"], ["updated_at", "2014-09-26 16:44:13.878125"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "soluta_quisquam_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'soluta_quisquam_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 16:44:13.882072"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]]  (2.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (2.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:26.961473"], ["updated_at", "2014-09-26 16:45:26.961473"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:26.968662"], ["updated_at", "2014-09-26 16:45:26.968662"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:26.977302"], ["updated_at", "2014-09-26 16:45:26.977302"]]  (5.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:26.983804"], ["updated_at", "2014-09-26 16:45:26.983804"]]  (5.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quibusdam esse voluptas dolore. Consequatur veniam quibusdam molestiae modi amet. Ex repellendus dolores et. Sint et necessitatibus voluptas et quis suscipit.\\nQuod id ab vitae qui repellat. Rem omnis eum velit facere. Consectetur eius dolorum non blanditiis et. Fugiat qui odit quae.\\nDolorem inventore iusto totam minus vero eum quas. Pariatur qui nemo beatae excepturi hic ratione non. Fuga quod saepe sint molestiae eius. Repellendus ab dignissimos voluptatem maiores. Dolorem nihil dignissimos aliquam quis dolorem molestias quibusdam."], ["created_at", "2014-09-26 16:45:27.219415"], ["name", "exercitationem_saepe_omnis"], ["title", "Dolor rem velit"], ["updated_at", "2014-09-26 16:45:27.219415"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "exercitationem_saepe_omnis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'exercitationem_saepe_omnis') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 16:45:27.233799"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "earum_eaque_eveniet"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'earum_eaque_eveniet') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur laboriosam a reiciendis quas voluptatem numquam voluptatibus. Est voluptates neque hic porro ipsum consequuntur. Unde eos quia nostrum at quae sit fuga. Ut facilis sapiente ut exercitationem perspiciatis. Voluptatem quo maiores.\\nEt pariatur aperiam molestias ut neque. Vel laudantium non voluptatem excepturi. Ut aut delectus eum id. Ratione consequuntur cumque doloremque esse inventore quam repellendus. Omnis odio excepturi corrupti fuga quae omnis.\\nAccusamus quisquam natus dolorem impedit. Officia qui et error amet natus reiciendis. Magni sit sequi inventore perspiciatis numquam. Perspiciatis modi aut possimus et. Excepturi quisquam aut quia."], ["created_at", "2014-09-26 16:45:27.244024"], ["name", "earum_eaque_eveniet"], ["title", "Id laborum nam"], ["updated_at", "2014-09-26 16:45:27.244024"], ["version", 1]]  (18.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'earum_eaque_eveniet' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur laboriosam a reiciendis quas voluptatem numquam voluptatibus. Est voluptates neque hic porro ipsum consequuntur. Unde eos quia nostrum at quae sit fuga. Ut facilis sapiente ut exercitationem perspiciatis. Voluptatem quo maiores.\\nEt pariatur aperiam molestias ut neque. Vel laudantium non voluptatem excepturi. Ut aut delectus eum id. Ratione consequuntur cumque doloremque esse inventore quam repellendus. Omnis odio excepturi corrupti fuga quae omnis.\\nAccusamus quisquam natus dolorem impedit. Officia qui et error amet natus reiciendis. Magni sit sequi inventore perspiciatis numquam. Perspiciatis modi aut possimus et. Excepturi quisquam aut quia."], ["created_at", "2014-09-26 16:45:27.265943"], ["name", "earum_eaque_eveniet"], ["title", "Id laborum nam"], ["updated_at", "2014-09-26 16:45:27.265943"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "earum_eaque_eveniet"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'earum_eaque_eveniet') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 16:45:27.270154"], ["version", 2]]  (4.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum modi nemo est sit fugiat. Soluta at voluptatem sequi qui. Quos veniam et accusamus sint consequuntur nisi dolor. Facere aspernatur sunt consequatur soluta ipsum. Eveniet itaque id voluptatem soluta quia ratione.\\nFugit ipsum est. Itaque nostrum iste. Autem quam non ut.\\nQuo earum facere praesentium maxime. Non molestiae delectus inventore reprehenderit mollitia dolores quo. Quasi atque mollitia itaque quod pariatur. Doloribus est expedita exercitationem ab eveniet cumque."], ["created_at", "2014-09-26 16:45:27.278490"], ["name", "sit_voluptas_qui"], ["title", "Enim unde delectus"], ["updated_at", "2014-09-26 16:45:27.278490"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_voluptas_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'sit_voluptas_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:45:27.283534"], ["version", 1]]  (6.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_voluptas_qui"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_voluptas_qui"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:45:27.294831"], ["version", nil]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_qui_itaque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sed_qui_itaque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit ipsa magni aut ut alias eligendi. Aliquid voluptatem commodi. Expedita aliquid omnis odio veniam blanditiis quam.\\nUt qui accusantium rem cum eos quis. Veniam in quos. At nemo nisi. Exercitationem quas est recusandae maiores. Eligendi qui earum corporis velit consequatur.\\nAutem molestias animi laboriosam consequatur. Esse eum nihil sed. Qui voluptatem quis ea illum est."], ["created_at", "2014-09-26 16:45:27.302420"], ["name", "sed_qui_itaque"], ["title", "Repudiandae necessitatibus in"], ["updated_at", "2014-09-26 16:45:27.302420"], ["version", 1]]  (4.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sed_qui_itaque' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Suscipit ipsa magni aut ut alias eligendi. Aliquid voluptatem commodi. Expedita aliquid omnis odio veniam blanditiis quam.\\nUt qui accusantium rem cum eos quis. Veniam in quos. At nemo nisi. Exercitationem quas est recusandae maiores. Eligendi qui earum corporis velit consequatur.\\nAutem molestias animi laboriosam consequatur. Esse eum nihil sed. Qui voluptatem quis ea illum est."], ["created_at", "2014-09-26 16:45:27.308514"], ["name", "joe"], ["title", "Repudiandae necessitatibus in"], ["updated_at", "2014-09-26 16:45:27.308514"]]  (8.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:45:27.319263"], ["version", 1]]  (0.6ms) commit transaction  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequuntur qui consequatur aut dolore. Odit mollitia rerum enim deleniti facilis blanditiis omnis. Quo impedit odit necessitatibus. Omnis qui ut iure non quo quod accusantium. Eos blanditiis maxime illo rerum deserunt ab.\\nIn facere ab ipsam. Exercitationem dolor ex eaque. Qui qui sed et.\\nRecusandae repellat nihil laborum necessitatibus est. Saepe eius aut necessitatibus aut pariatur. Illum porro quae voluptas. Facere expedita aut deserunt tempora molestiae. Dolorum officiis architecto consequatur omnis ut deleniti modi."], ["created_at", "2014-09-26 16:45:27.323477"], ["name", "tenetur_hic_enim"], ["title", "Dolores itaque qui"], ["updated_at", "2014-09-26 16:45:27.323477"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.327438"], ["updated_at", "2014-09-26 16:45:27.327438"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.328829"], ["updated_at", "2014-09-26 16:45:27.328829"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates ipsa officiis est quos repellat aliquam hic. Commodi officia harum earum eum. Officiis non quos nemo dolor. Laudantium sit repudiandae aut dolorum earum blanditiis autem.\\nEarum et nesciunt qui officiis sequi quasi temporibus. Porro nihil molestiae alias. Nesciunt et rerum sed. Est aut non laboriosam qui.\\nExpedita sed blanditiis delectus qui nesciunt. Dolorem adipisci est molestias velit nisi sunt vel. Id deserunt et est. Iusto provident maxime optio enim reiciendis modi."], ["created_at", "2014-09-26 16:45:27.331027"], ["name", "eveniet_esse_voluptatem"], ["title", "Sed saepe vel"], ["updated_at", "2014-09-26 16:45:27.331027"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.341548"], ["updated_at", "2014-09-26 16:45:27.341548"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.343153"], ["updated_at", "2014-09-26 16:45:27.343153"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laborum accusamus ut sit vero aperiam. Beatae assumenda asperiores iure cupiditate. Nemo consequatur iste dolorem nostrum.\\nMaiores et qui sunt. Possimus voluptatem iure tempore sint. Tempora reiciendis qui quisquam blanditiis.\\nUt quasi repudiandae atque modi. Sunt magni nostrum. Commodi eveniet maiores. Aut exercitationem temporibus repellat nam cumque sed. Necessitatibus aut non."], ["created_at", "2014-09-26 16:45:27.345546"], ["name", "iusto_occaecati_eos"], ["title", "Doloribus assumenda dolores"], ["updated_at", "2014-09-26 16:45:27.345546"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.349402"], ["updated_at", "2014-09-26 16:45:27.349402"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.350860"], ["updated_at", "2014-09-26 16:45:27.350860"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Impedit neque aut. Minus velit repellendus et. Et accusantium veniam laudantium molestiae sapiente ad. Quis et aut optio. Quos odit iusto repellendus deserunt iste.\\nNesciunt ea at atque voluptatum eaque. Et vel dolores soluta hic quasi voluptatem dolor. Et voluptas facere libero.\\nEum porro accusantium. Dolorem dignissimos amet in rem nostrum veniam sit. Iusto necessitatibus dolores aut. Sed labore vel."], ["created_at", "2014-09-26 16:45:27.353075"], ["name", "voluptatem_et_itaque"], ["title", "Possimus alias deleniti"], ["updated_at", "2014-09-26 16:45:27.353075"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 10]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 10]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 10 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.361464"], ["updated_at", "2014-09-26 16:45:27.361464"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.362974"], ["updated_at", "2014-09-26 16:45:27.362974"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis quo ut est inventore quibusdam aut. Sit quia ipsam qui. Quo earum maxime et.\\nEum reiciendis ad libero consequatur sed quia eligendi. Aspernatur molestias molestiae nam labore libero ab eos. Voluptatem eligendi similique perferendis quisquam temporibus. Aut repellat aspernatur est sed voluptas aut. Non qui debitis aperiam.\\nFacilis sunt qui nihil distinctio. Ipsum veniam ratione voluptates est. Qui velit aut incidunt et. Doloribus ut similique expedita nostrum."], ["created_at", "2014-09-26 16:45:27.365018"], ["name", "quia_est_molestias"], ["title", "Porro commodi quia"], ["updated_at", "2014-09-26 16:45:27.365018"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.370113"], ["updated_at", "2014-09-26 16:45:27.370113"]]  (15.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.387077"], ["updated_at", "2014-09-26 16:45:27.387077"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Expedita consequuntur ullam ad. Cumque quo qui. Pariatur tenetur quaerat corrupti. Amet harum dolores voluptatem. Modi fugit minus.\\nTenetur qui dolor aspernatur aut sunt praesentium voluptatem. Delectus dolor aut. Aperiam voluptatem nemo aut. Eveniet excepturi ab. Esse quia sint qui minus natus dolorem.\\nSunt corporis autem rerum architecto. Rerum aliquam voluptatum fugit. Omnis est culpa maiores hic autem."], ["created_at", "2014-09-26 16:45:27.389469"], ["name", "architecto_nostrum_cum"], ["title", "Esse accusantium explicabo"], ["updated_at", "2014-09-26 16:45:27.389469"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.394849"], ["updated_at", "2014-09-26 16:45:27.394849"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.396412"], ["updated_at", "2014-09-26 16:45:27.396412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quas veritatis nesciunt aut fugit doloremque deserunt eaque. Voluptatem architecto blanditiis. Dolor accusamus omnis nihil placeat ea ut. Incidunt dolor est perspiciatis possimus. Est eveniet id delectus et.\\nLibero ut est quo aut in non. Fugit veniam odit aliquam minus nesciunt quia modi. Cupiditate sequi sed sed est. Itaque aut voluptates aperiam adipisci necessitatibus minus. Ipsum ut nostrum similique optio.\\nRem alias maxime nihil laboriosam. Optio consequuntur rerum ut similique laboriosam fuga. Ut neque magnam."], ["created_at", "2014-09-26 16:45:27.398670"], ["name", "ipsa_porro_est"], ["title", "Unde accusamus sed"], ["updated_at", "2014-09-26 16:45:27.398670"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.402553"], ["updated_at", "2014-09-26 16:45:27.402553"]]  (16.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.419759"], ["updated_at", "2014-09-26 16:45:27.419759"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Adipisci eligendi qui. Nesciunt quo quia dolore quia. Quaerat atque consectetur quas sit. Voluptatibus expedita est ducimus et amet.\\nRecusandae hic voluptas nobis perspiciatis aut sint. Porro officiis aspernatur qui sit voluptatibus ratione consequatur. Soluta in debitis voluptate aperiam facere quasi dolore. Impedit a deserunt in vel. Nisi quia unde.\\nEa voluptates non iusto harum voluptatem qui. Eaque aspernatur dolor necessitatibus magnam consequatur. Commodi molestias quia laborum fuga quas ducimus. Quaerat in officiis optio tempore."], ["created_at", "2014-09-26 16:45:27.422605"], ["name", "vero_non_aliquam"], ["title", "Eius consequatur rerum"], ["updated_at", "2014-09-26 16:45:27.422605"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:45:27.426144"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.431312"], ["updated_at", "2014-09-26 16:45:27.431312"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.432772"], ["updated_at", "2014-09-26 16:45:27.432772"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aspernatur ea officiis voluptatem rem. Sunt consequatur rem est esse. Deleniti et accusamus fugiat. Odit harum molestiae.\\nEst qui aliquid. Cum qui qui maxime at sit error. At quis aspernatur officiis veniam fugit possimus unde. Doloribus odit atque voluptatem et id. Et consequuntur aut in nihil adipisci molestias.\\nMinima dolorum atque asperiores amet. Provident similique voluptates deleniti numquam voluptatum qui aliquid. Doloribus quibusdam non. Est facere nam facilis eius nostrum repudiandae dolores. Maxime nesciunt quos dolorem ipsam nemo aut."], ["created_at", "2014-09-26 16:45:27.434923"], ["name", "enim_qui_iste"], ["title", "Repellendus doloribus cum"], ["updated_at", "2014-09-26 16:45:27.434923"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_qui_iste"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'enim_qui_iste') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:45:27.438677"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.444136"], ["updated_at", "2014-09-26 16:45:27.444136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.445697"], ["updated_at", "2014-09-26 16:45:27.445697"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Itaque consequatur omnis enim nulla. Perspiciatis at et sint quis. Blanditiis animi expedita. Eos consequatur laboriosam tempore ut. Esse qui dignissimos et voluptates.\\nQuas a atque dolores consequatur facere. Pariatur reprehenderit temporibus sapiente consequatur aut. Aut rerum accusantium earum qui voluptatibus voluptas ex. In necessitatibus vitae dolorem. Aut fugit odit.\\nReprehenderit et alias vel. Aut tenetur numquam reiciendis aut. Labore qui dolores voluptas quos quas ratione rerum. Nemo quidem aliquam praesentium."], ["created_at", "2014-09-26 16:45:27.447898"], ["name", "sit_ut_magnam"], ["title", "Accusamus enim eveniet"], ["updated_at", "2014-09-26 16:45:27.447898"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_ut_magnam"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'sit_ut_magnam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:45:27.452439"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.456461"], ["updated_at", "2014-09-26 16:45:27.456461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.457898"], ["updated_at", "2014-09-26 16:45:27.457898"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corrupti molestias cumque iste deleniti optio aut. Totam cum iure ipsam et sint dolor. Eum harum quod delectus sunt occaecati. Distinctio provident cum sapiente eveniet.\\nDolor dolore quasi ad voluptatem. Dolor atque laudantium veniam. Perferendis quidem ut tempora est ab accusamus qui. Earum officia commodi praesentium explicabo eligendi quia. Amet qui eligendi quia.\\nTemporibus totam neque exercitationem reprehenderit hic perspiciatis. Et quia qui aut. Eaque sit ad deserunt perspiciatis voluptatum a voluptas. Veritatis totam quisquam est. Expedita consequatur laudantium reiciendis dolorem vero."], ["created_at", "2014-09-26 16:45:27.460034"], ["name", "adipisci_necessitatibus_cupiditate"], ["title", "Voluptatem aut praesentium"], ["updated_at", "2014-09-26 16:45:27.460034"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "adipisci_necessitatibus_cupiditate"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'adipisci_necessitatibus_cupiditate') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 16:45:27.463080"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.468611"], ["updated_at", "2014-09-26 16:45:27.468611"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.470104"], ["updated_at", "2014-09-26 16:45:27.470104"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut soluta eos vero labore porro. Suscipit qui molestiae officiis cumque sunt modi. Aut voluptatem harum.\\nEst inventore et id placeat incidunt. Consectetur qui sed inventore et ullam tempore est. Laudantium provident facere vero aperiam voluptatem ratione eos.\\nEnim in fugiat numquam temporibus. Voluptatem et consequatur cupiditate quia. Suscipit voluptatem atque et illum nihil. Et velit sequi exercitationem libero. Totam necessitatibus qui aspernatur."], ["created_at", "2014-09-26 16:45:27.472219"], ["name", "corporis_sit_enim"], ["title", "Officia id aliquid"], ["updated_at", "2014-09-26 16:45:27.472219"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:45:27.475203"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:45:27.475203"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/19 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.478387"], ["updated_at", "2014-09-26 16:45:27.478387"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.479941"], ["updated_at", "2014-09-26 16:45:27.479941"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Temporibus est cumque et consequatur. Facilis laudantium ad. Et error porro ea odit.\\nRatione non neque. Doloremque in fuga nulla voluptas eligendi. Quis est fugiat consequuntur impedit quo sint.\\nEum fuga in consequatur dolorem quia ut. Dicta non explicabo nulla. Blanditiis placeat ducimus."], ["created_at", "2014-09-26 16:45:27.482106"], ["name", "dolor_quasi_quibusdam"], ["title", "Aut sint ex"], ["updated_at", "2014-09-26 16:45:27.482106"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (17, 14, 12, 18, 20, 3, 2, 15, 8, 1, 13, 9, 6, 11, 5, 16, 4, 19, 7) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.492374"], ["updated_at", "2014-09-26 16:45:27.492374"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.494027"], ["updated_at", "2014-09-26 16:45:27.494027"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et illo voluptatibus quo explicabo perspiciatis voluptates. Cum fugit saepe. Quo autem vel eum et.\\nRepellendus esse voluptatem aut animi eum. Assumenda qui et optio illum voluptas repudiandae. Quasi nam et est labore. Quia quae molestiae inventore.\\nLaudantium vero omnis eveniet dolorem facilis. Eos dolor ex totam. Atque aut et ratione doloremque magni minima."], ["created_at", "2014-09-26 16:45:27.496331"], ["name", "optio_hic_nisi"], ["title", "Consequatur quis eligendi"], ["updated_at", "2014-09-26 16:45:27.496331"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "optio_hic_nisi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'optio_hic_nisi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 16:45:27.499504"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'optio_hic_nisi' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.506433"], ["updated_at", "2014-09-26 16:45:27.506433"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.507952"], ["updated_at", "2014-09-26 16:45:27.507952"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nobis repudiandae rerum expedita. Voluptatem assumenda sint consequuntur rerum. Maiores sit ipsam sunt consectetur. Sit aut aut totam.\\nAut non pariatur qui qui nihil. Doloribus error maxime et aut deleniti commodi et. Voluptas dolore atque porro. Velit corrupti quis dolores similique quia quidem saepe.\\nQui nihil ut voluptas inventore totam minima odio. Consequatur itaque perspiciatis aut. Qui quas nihil laborum architecto."], ["created_at", "2014-09-26 16:45:27.510069"], ["name", "aut_ipsam_quibusdam"], ["title", "Maiores quia et"], ["updated_at", "2014-09-26 16:45:27.510069"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.514520"], ["updated_at", "2014-09-26 16:45:27.514520"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.515979"], ["updated_at", "2014-09-26 16:45:27.515979"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quaerat id dolor provident ut cum. Quia occaecati soluta. Dolores et id magnam ut aut est expedita. Aut fugit consequuntur delectus autem recusandae et. Beatae veritatis voluptatibus a et molestiae non qui.\\nIncidunt expedita omnis quas voluptates sit voluptas fuga. Beatae aspernatur non porro. At deleniti fugiat molestiae. Beatae repellat est ex.\\nDignissimos voluptatum aut est illum odit. Rerum ut molestias distinctio. Iusto dolores et perspiciatis quia."], ["created_at", "2014-09-26 16:45:27.518192"], ["name", "voluptatem_odit_cum"], ["title", "Suscipit alias perferendis"], ["updated_at", "2014-09-26 16:45:27.518192"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.523445"], ["updated_at", "2014-09-26 16:45:27.523445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.524890"], ["updated_at", "2014-09-26 16:45:27.524890"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum sint soluta explicabo cum nesciunt qui dolores. Alias qui saepe doloremque. Eligendi nobis quia et earum temporibus. Et porro maxime vitae qui autem harum.\\nNemo maxime magnam dicta enim et quod adipisci. Consequatur distinctio asperiores repellendus perferendis eaque. Qui omnis incidunt qui voluptatem eius molestiae delectus. Quo quas impedit. Sapiente dolore ea recusandae corrupti.\\nProvident voluptatem iure fuga. Tenetur inventore natus fuga excepturi exercitationem culpa hic. Natus sed tenetur repellat. Nisi adipisci omnis ab iste sit eum dolorem."], ["created_at", "2014-09-26 16:45:27.527663"], ["name", "velit_laudantium_dolore"], ["title", "Vero quo labore"], ["updated_at", "2014-09-26 16:45:27.527663"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.532179"], ["updated_at", "2014-09-26 16:45:27.532179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.533649"], ["updated_at", "2014-09-26 16:45:27.533649"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In qui sapiente et nihil accusantium expedita aut. Id expedita fugit. Tenetur debitis porro quis. Veritatis ea eius consequatur natus aut repellendus provident.\\nIn officiis eum porro. Nihil optio doloribus autem ratione vitae veniam. Accusamus cumque ab. Explicabo quam ipsa corrupti ea odio et et. Ad quos aut nulla vitae suscipit repellendus.\\nCumque deleniti labore. Veritatis et nihil. Repellendus tempora molestiae. Deserunt sit quia saepe deleniti consectetur."], ["created_at", "2014-09-26 16:45:27.535935"], ["name", "id_dolor_laudantium"], ["title", "Rerum unde ut"], ["updated_at", "2014-09-26 16:45:27.535935"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.540474"], ["updated_at", "2014-09-26 16:45:27.540474"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.542150"], ["updated_at", "2014-09-26 16:45:27.542150"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui libero similique. Est ea itaque. Est atque consequatur consectetur animi voluptatum in sit.\\nVeritatis cumque maxime quidem delectus aspernatur est quo. Numquam error et sint sed quia. Aliquam non voluptatem aut rerum.\\nEum veniam voluptates tenetur qui. Suscipit aut sunt velit tempore molestiae corporis. Alias ducimus maxime voluptas delectus debitis velit distinctio. Voluptas animi inventore accusantium dolorum rerum et."], ["created_at", "2014-09-26 16:45:27.544318"], ["name", "quaerat_omnis_minima"], ["title", "Rerum aut ducimus"], ["updated_at", "2014-09-26 16:45:27.544318"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_omnis_minima"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'quaerat_omnis_minima') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 16:45:27.547456"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_omnis_minima"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 16:45:27.552504"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.556736"], ["updated_at", "2014-09-26 16:45:27.556736"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.558220"], ["updated_at", "2014-09-26 16:45:27.558220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.560244"], ["updated_at", "2014-09-26 16:45:27.560244"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.561662"], ["updated_at", "2014-09-26 16:45:27.561662"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.563867"], ["updated_at", "2014-09-26 16:45:27.563867"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.565390"], ["updated_at", "2014-09-26 16:45:27.565390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.567569"], ["updated_at", "2014-09-26 16:45:27.567569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.568973"], ["updated_at", "2014-09-26 16:45:27.568973"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.570956"], ["updated_at", "2014-09-26 16:45:27.570956"]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.573404"], ["updated_at", "2014-09-26 16:45:27.573404"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.575746"], ["updated_at", "2014-09-26 16:45:27.575746"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.577211"], ["updated_at", "2014-09-26 16:45:27.577211"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.579203"], ["updated_at", "2014-09-26 16:45:27.579203"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.580574"], ["updated_at", "2014-09-26 16:45:27.580574"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.582560"], ["updated_at", "2014-09-26 16:45:27.582560"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.583984"], ["updated_at", "2014-09-26 16:45:27.583984"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae nesciunt fuga reiciendis et ullam. Laudantium distinctio dolores eveniet labore quae. Error veritatis necessitatibus sed quisquam. Nostrum distinctio a asperiores quod et. Est officia et porro.\\nAut qui eum. Et aliquam corrupti accusantium optio adipisci commodi assumenda. Eum corrupti quis enim cupiditate sapiente aut omnis.\\nVero iusto odio sed. Harum possimus reprehenderit accusamus inventore quia corporis. Ut aut ipsa. Illo quia cum illum error. Necessitatibus sapiente aperiam voluptas et veritatis eligendi."], ["created_at", "2014-09-26 16:45:27.588763"], ["name", "alpha"], ["title", "Eligendi fuga ea"], ["updated_at", "2014-09-26 16:45:27.588763"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Facilis natus tenetur est molestiae odit. Non temporibus impedit iste. Assumenda facere eaque est. Praesentium et consectetur qui rerum consequatur iste aliquam. Ratione ipsam est quos laboriosam voluptatem asperiores qui.\\nNemo odio magni et consequatur. Sed error molestias nobis quisquam qui. Quis neque omnis. Quidem aspernatur voluptatum.\\nModi quisquam voluptatibus magnam rerum ut. Aut dicta enim qui soluta consequatur repellendus. Corrupti mollitia in minima accusantium praesentium. Voluptate fugiat sint dicta dolores enim quae est."], ["created_at", "2014-09-26 16:45:27.592602"], ["name", "beta"], ["title", "Vel quia sit"], ["updated_at", "2014-09-26 16:45:27.592602"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.594176"], ["updated_at", "2014-09-26 16:45:27.594176"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequuntur aperiam ullam. Molestiae quia pariatur rerum aperiam. Modi aut ratione eveniet aperiam.\\nVeritatis quod dolores excepturi rerum sit. Ratione dolore eaque id pariatur doloremque. Esse et qui voluptas ullam aut.\\nReprehenderit adipisci aut. Qui pariatur tempora ut. Placeat dolorem sit omnis architecto. Voluptatem qui dolor et quod ducimus repellendus. Beatae nemo non quia ut eius amet voluptates."], ["created_at", "2014-09-26 16:45:27.598296"], ["name", "alpha"], ["title", "Autem necessitatibus ut"], ["updated_at", "2014-09-26 16:45:27.598296"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quaerat sunt quia occaecati corrupti repudiandae. Qui quae consequuntur. Atque quos in eveniet id dolorem voluptas quibusdam. Molestias ut voluptas repellendus maxime explicabo sit. Ratione eum velit ut sit facere corrupti enim.\\nRerum et incidunt vero minus excepturi eos. Facilis nesciunt perferendis optio vel. Quidem qui quasi occaecati repellendus laudantium qui. Aut vel nobis excepturi itaque.\\nEarum aliquam ducimus reprehenderit recusandae molestiae voluptatum asperiores. Molestiae assumenda excepturi debitis inventore quam. Architecto facilis quaerat cupiditate. Delectus facere quos vero dolorem atque voluptas aperiam."], ["created_at", "2014-09-26 16:45:27.602214"], ["name", "beta"], ["title", "Eos nobis et"], ["updated_at", "2014-09-26 16:45:27.602214"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.604001"], ["updated_at", "2014-09-26 16:45:27.604001"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut iusto quia minima. Est aut hic in natus quo. Id eum sit. Eum ipsam culpa.\\nFacilis sed magni nam similique quisquam. Rerum dolor illo. Velit magni ad molestiae unde. In placeat eos eveniet culpa nisi.\\nIncidunt pariatur animi. Dolor non sit nobis voluptas blanditiis expedita rerum. Quia ea ad voluptatem dolores. Eum eius molestias nam doloribus."], ["created_at", "2014-09-26 16:45:27.609114"], ["name", "alpha"], ["title", "Qui consequatur repellendus"], ["updated_at", "2014-09-26 16:45:27.609114"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quae porro aut esse. Error blanditiis ab voluptatibus est sapiente voluptas delectus. Et magni illum id.\\nEx voluptas cupiditate in nulla impedit ea. Dolores sed impedit dolore provident aut sit omnis. Voluptatem in enim. Tempora corporis sit ullam.\\nInventore porro qui at ratione. Ut voluptas laudantium harum eligendi dolores nihil ipsum. Illum ut veritatis recusandae ipsam voluptas. Voluptatum eligendi iste est."], ["created_at", "2014-09-26 16:45:27.613046"], ["name", "beta"], ["title", "Doloremque animi hic"], ["updated_at", "2014-09-26 16:45:27.613046"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.614656"], ["updated_at", "2014-09-26 16:45:27.614656"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem in molestias perferendis adipisci dignissimos blanditiis ducimus. Aperiam voluptatem voluptas ab fugiat deleniti magnam. Repudiandae alias quaerat. Et cumque tenetur id ipsam quo dolorum.\\nAdipisci quasi est non ut est molestias odit. Sunt dolore rem tempora magnam ipsa doloribus placeat. Dignissimos recusandae voluptatibus. Ea qui rerum quasi doloribus tempora. Aut enim deserunt sunt quae nemo.\\nAut mollitia ut voluptatibus. Porro aspernatur reprehenderit ut. Eveniet recusandae vero saepe."], ["created_at", "2014-09-26 16:45:27.619101"], ["name", "alpha"], ["title", "Eligendi quis animi"], ["updated_at", "2014-09-26 16:45:27.619101"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui laboriosam recusandae sit ducimus dolor. Est blanditiis eos. Ipsam voluptates debitis explicabo autem. Libero culpa voluptatem magni.\\nAsperiores ut omnis iste. Magnam et et dignissimos dolore aspernatur assumenda. Fuga tempore suscipit et quaerat quod. Aut porro illo at. Quas iste ducimus ut ratione voluptas.\\nNihil eius dolorum temporibus et animi labore. Non velit molestiae aut nisi. Quaerat quis inventore facere omnis at."], ["created_at", "2014-09-26 16:45:27.622857"], ["name", "beta"], ["title", "Non eum officia"], ["updated_at", "2014-09-26 16:45:27.622857"], ["version", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:45:27.624236"], ["updated_at", "2014-09-26 16:45:27.624236"]]  (0.5ms) commit transaction  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0') FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Soluta quidem error odit et. Odio laboriosam sunt ut. Quibusdam quas consequatur ut consequuntur nostrum.\\nEum excepturi atque ea. Quasi debitis molestiae in qui ut. Eius odit atque nisi mollitia cupiditate. Earum labore dolorum rem suscipit voluptate sapiente.\\nIllum voluptates repellat aut commodi quis veritatis. Enim aliquam ut et. Dolor eum doloribus dicta porro voluptas. Minus voluptas laboriosam dolor repellat pariatur enim. Omnis ea pariatur modi quam aut."], ["created_at", "2014-09-26 16:46:47.266996"], ["name", "alpha"], ["title", "Mollitia sed quas"], ["updated_at", "2014-09-26 16:46:47.266996"], ["version", 1]]  (1.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae perspiciatis et at minima sunt temporibus. Officiis ducimus neque. Totam tenetur blanditiis. Vitae tempore qui autem quia maxime qui officiis.\\nEst velit praesentium asperiores sequi autem quidem. Perspiciatis accusantium et possimus et non sapiente. Maxime aut exercitationem qui dolores omnis rerum suscipit. Optio at fuga ipsum iusto veritatis dolor voluptate. Sed rem deleniti quae eum alias nobis.\\nAtque ratione tempora et. Porro pariatur iusto laborum. Velit illo aliquid perspiciatis sapiente tempora non sint. Dolor blanditiis tempore asperiores fugit assumenda rerum non. Ipsam sunt nihil voluptatem quis culpa quia laborum."], ["created_at", "2014-09-26 16:46:47.274595"], ["name", "beta"], ["title", "Est dolor beatae"], ["updated_at", "2014-09-26 16:46:47.274595"], ["version", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.277911"], ["updated_at", "2014-09-26 16:46:47.277911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.286882"], ["updated_at", "2014-09-26 16:46:47.286882"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 16:46:47.287555"], ["updated_at", "2014-09-26 16:46:47.287555"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.293615"], ["updated_at", "2014-09-26 16:46:47.293615"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 16:46:47.294278"], ["updated_at", "2014-09-26 16:46:47.294278"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:46:47.299826"], ["name", "alpha"], ["title", "Mollitia sed quas"], ["updated_at", "2014-09-26 16:46:47.299826"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 16:46:47.303442"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et illum eum quos qui atque. Voluptas rerum mollitia ad molestiae est in et. Natus expedita voluptatem id incidunt quas.\\nDoloremque quia voluptatem consectetur. Nostrum vitae et vel explicabo molestiae. Eaque eligendi quibusdam enim. Error impedit deleniti eligendi qui hic.\\nVoluptates maxime et quia ipsum id nam. Perferendis asperiores dolore provident sint. Assumenda fuga alias explicabo debitis recusandae."], ["created_at", "2014-09-26 16:46:47.315338"], ["name", "alpha"], ["title", "Ab inventore perferendis"], ["updated_at", "2014-09-26 16:46:47.315338"], ["version", 3]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem omnis soluta saepe. At aut est dolor nostrum. Excepturi mollitia aut inventore est quis ex. Eligendi sunt culpa error consequatur et esse maxime.\\nEt hic non debitis porro consequatur recusandae ea. Quo voluptatum beatae. Magnam repellendus possimus quia rerum veritatis voluptatem. Qui numquam et ducimus et. Repellendus sint dolorem atque consequatur inventore et.\\nImpedit rerum eum. Architecto quisquam delectus illum. Dolores voluptatum deleniti tempore aut veritatis."], ["created_at", "2014-09-26 16:46:47.319782"], ["name", "beta"], ["title", "Voluptate similique quia"], ["updated_at", "2014-09-26 16:46:47.319782"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.321416"], ["updated_at", "2014-09-26 16:46:47.321416"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.324439"], ["updated_at", "2014-09-26 16:46:47.324439"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 16:46:47.325042"], ["updated_at", "2014-09-26 16:46:47.325042"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.327902"], ["updated_at", "2014-09-26 16:46:47.327902"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 16:46:47.328719"], ["updated_at", "2014-09-26 16:46:47.328719"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:46:47.331037"], ["name", "alpha"], ["title", "Ab inventore perferendis"], ["updated_at", "2014-09-26 16:46:47.331037"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:46:47.334174"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est reprehenderit et aut vel magni ad ducimus. Eius quam praesentium minima ut necessitatibus. Quidem non laboriosam. Unde magni culpa rerum maiores. Illum repudiandae quam cupiditate incidunt libero quibusdam.\\nEx quod molestias. Et praesentium harum et beatae numquam et. Ea dolor natus dolorum pariatur.\\nIllo non voluptate deleniti voluptatum sed sunt. Tempore magnam et. Eius in voluptatem et rerum vitae aut nobis. Molestiae officiis assumenda veritatis. Et corrupti provident iusto."], ["created_at", "2014-09-26 16:46:47.342455"], ["name", "alpha"], ["title", "Eaque tempore perspiciatis"], ["updated_at", "2014-09-26 16:46:47.342455"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et asperiores repellendus. Repellat ut non sed perspiciatis. Nisi aspernatur cumque. Eligendi commodi id.\\nAmet repellendus aut quo sed et quas deleniti. Sed minus illo molestiae. Corrupti ducimus eos quos.\\nVelit voluptatum ut consequatur quo veritatis et. In porro officiis quis voluptatem sunt. Sint non omnis ut. Rem ea molestiae sint incidunt enim labore."], ["created_at", "2014-09-26 16:46:47.347824"], ["name", "beta"], ["title", "Quia molestiae et"], ["updated_at", "2014-09-26 16:46:47.347824"], ["version", 3]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.350237"], ["updated_at", "2014-09-26 16:46:47.350237"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.354027"], ["updated_at", "2014-09-26 16:46:47.354027"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 16:46:47.354735"], ["updated_at", "2014-09-26 16:46:47.354735"], ["user_id", 8], ["user_type", "DummyUser"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.358357"], ["updated_at", "2014-09-26 16:46:47.358357"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 16:46:47.358964"], ["updated_at", "2014-09-26 16:46:47.358964"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:46:47.361292"], ["name", "alpha"], ["title", "Eaque tempore perspiciatis"], ["updated_at", "2014-09-26 16:46:47.361292"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 16:46:47.364321"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est cum rerum. Eaque laboriosam est eius enim sed. Nemo qui voluptas beatae natus impedit. Voluptatem assumenda accusantium. Nulla molestiae eos numquam.\\nEa itaque ducimus odit hic ipsa quo. Aut sit enim illo suscipit. Mollitia est cum sint eius unde. Voluptatem sunt natus modi suscipit omnis aut itaque. Deleniti provident laboriosam aut aut.\\nVeniam harum deserunt saepe magni. Iste recusandae beatae at. Fugit autem consequatur vel dolorum quae. Aperiam sint laborum officiis quasi."], ["created_at", "2014-09-26 16:46:47.370535"], ["name", "alpha"], ["title", "Labore sit aut"], ["updated_at", "2014-09-26 16:46:47.370535"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem similique temporibus perferendis autem molestiae minima. Consequatur quam delectus dolorum labore molestias harum quasi. Fugiat sequi numquam aliquam magnam.\\nEarum repudiandae tenetur voluptas vel maxime. Consequatur quaerat rerum velit voluptatem dolores. Qui animi sequi accusantium sed.\\nQuo sint eos quia nam qui rem vel. Quod sequi et maiores. Similique rerum veniam et. Dolorem asperiores porro qui illo veniam."], ["created_at", "2014-09-26 16:46:47.374227"], ["name", "beta"], ["title", "Aut voluptates et"], ["updated_at", "2014-09-26 16:46:47.374227"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.375772"], ["updated_at", "2014-09-26 16:46:47.375772"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.378355"], ["updated_at", "2014-09-26 16:46:47.378355"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 16:46:47.378872"], ["updated_at", "2014-09-26 16:46:47.378872"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.381861"], ["updated_at", "2014-09-26 16:46:47.381861"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 16:46:47.382720"], ["updated_at", "2014-09-26 16:46:47.382720"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:46:47.385461"], ["name", "alpha"], ["title", "Labore sit aut"], ["updated_at", "2014-09-26 16:46:47.385461"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 16:46:47.388654"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (12, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.395422"], ["updated_at", "2014-09-26 16:46:47.395422"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.396968"], ["updated_at", "2014-09-26 16:46:47.396968"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_temporibus_veniam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_temporibus_veniam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia hic consequatur deleniti quod aut est. Iusto esse recusandae fugit ad ex qui qui. Dolor perspiciatis veniam.\\nVoluptatem voluptatum facere qui occaecati consequuntur. Sint optio deserunt ratione enim dolor voluptatem ut. Libero cupiditate sit. Commodi ab harum delectus qui. Deserunt voluptatum et nobis ut molestiae alias.\\nOptio consequatur corrupti. Maiores consequatur voluptatem adipisci perferendis sint autem in. Eveniet voluptatem quidem quia porro nihil enim ex."], ["created_at", "2014-09-26 16:46:47.401219"], ["name", "quia_temporibus_veniam"], ["title", "Est fugit voluptas"], ["updated_at", "2014-09-26 16:46:47.401219"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.403962"], ["updated_at", "2014-09-26 16:46:47.403962"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 16:46:47.404564"], ["updated_at", "2014-09-26 16:46:47.404564"], ["user_id", 15], ["user_type", "DummyUser"]]  (1.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"13"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 185ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.596287"], ["updated_at", "2014-09-26 16:46:47.596287"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.598535"], ["updated_at", "2014-09-26 16:46:47.598535"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_itaque_facere"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_itaque_facere') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Facere architecto et. Aut sequi ipsa. Impedit ab quasi cum ut. Possimus animi tempore optio vel aperiam esse cupiditate.\\nRepellendus id fugit quos. Eaque suscipit molestias saepe consequuntur et odio sit. Earum consequuntur qui culpa et nemo.\\nPlaceat hic repellendus eum nulla. Tenetur doloremque et dolorem tempora voluptas deleniti. Sint optio autem amet vero blanditiis aperiam et."], ["created_at", "2014-09-26 16:46:47.603792"], ["name", "et_itaque_facere"], ["title", "Distinctio culpa voluptatem"], ["updated_at", "2014-09-26 16:46:47.603792"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.606326"], ["updated_at", "2014-09-26 16:46:47.606326"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 16:46:47.606865"], ["updated_at", "2014-09-26 16:46:47.606865"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 10]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.613244"], ["updated_at", "2014-09-26 16:46:47.613244"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.614913"], ["updated_at", "2014-09-26 16:46:47.614913"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_cumque_omnis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorum_cumque_omnis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officia dolorum nihil error fuga ducimus. Atque ad porro fuga rem. Repellendus ex nesciunt vel laudantium. Possimus deserunt consectetur corporis quia consequatur. Veritatis dolores et ea qui est provident.\\nQuo quasi error eos. Libero velit fugit. Praesentium repellat et ipsum temporibus voluptatum perspiciatis illo. Ut nostrum libero corrupti blanditiis et et dolores. Eos nisi quo.\\nReprehenderit blanditiis magnam tenetur. Et minima voluptatem quis quod quia error eum. Et consequatur asperiores excepturi quis natus. Minima fuga autem. Voluptatum qui omnis tempora reprehenderit."], ["created_at", "2014-09-26 16:46:47.619393"], ["name", "dolorum_cumque_omnis"], ["title", "Officia vitae sed"], ["updated_at", "2014-09-26 16:46:47.619393"], ["version", 1]]  (2.4ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.623688"], ["updated_at", "2014-09-26 16:46:47.623688"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 16:46:47.624233"], ["updated_at", "2014-09-26 16:46:47.624233"], ["user_id", 21], ["user_type", "DummyUser"]]  (1.2ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.634055"], ["updated_at", "2014-09-26 16:46:47.634055"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.636565"], ["updated_at", "2014-09-26 16:46:47.636565"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odio_veritatis_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'odio_veritatis_enim') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nostrum quo qui. At vero aut. Voluptatem similique ut.\\nSunt dolor mollitia. Occaecati nesciunt voluptas sequi nulla eos. Odit ex mollitia natus dicta sed aliquid.\\nPerferendis corrupti beatae voluptatem. Qui et asperiores. Rerum qui laudantium pariatur sint."], ["created_at", "2014-09-26 16:46:47.642023"], ["name", "odio_veritatis_enim"], ["title", "Est quia quas"], ["updated_at", "2014-09-26 16:46:47.642023"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.644845"], ["updated_at", "2014-09-26 16:46:47.644845"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 16:46:47.645496"], ["updated_at", "2014-09-26 16:46:47.645496"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.649668"], ["updated_at", "2014-09-26 16:46:47.649668"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.651111"], ["updated_at", "2014-09-26 16:46:47.651111"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_accusamus_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sed_accusamus_enim') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cupiditate eum aut earum dolor debitis. A non excepturi maxime animi. Maxime neque fuga.\\nQuae accusantium cupiditate reiciendis dolores iure ducimus nobis. Est quis repudiandae minus est sint. Dolor porro laborum commodi. Voluptatem deleniti nihil est qui rem minus amet.\\nBlanditiis commodi nulla veniam distinctio et. Deserunt ex et. Ad incidunt sint et ea voluptatibus."], ["created_at", "2014-09-26 16:46:47.655265"], ["name", "sed_accusamus_enim"], ["title", "Natus nulla saepe"], ["updated_at", "2014-09-26 16:46:47.655265"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.657950"], ["updated_at", "2014-09-26 16:46:47.657950"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-26 16:46:47.658495"], ["updated_at", "2014-09-26 16:46:47.658495"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"17"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.661853"], ["updated_at", "2014-09-26 16:46:47.661853"]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.664459"], ["updated_at", "2014-09-26 16:46:47.664459"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_rerum_dolor"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_rerum_dolor') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum sed repudiandae voluptatem eos quaerat animi. Ut laboriosam id sunt qui. Numquam aut qui id.\\nEa non et voluptas in. Praesentium necessitatibus asperiores ea sit corporis. Quis hic qui sed quia sequi reiciendis tempora. Occaecati corporis provident rem vel numquam ipsa. Blanditiis qui et mollitia.\\nQuo non commodi. Nemo aut dolorum aliquam quaerat aliquid inventore veritatis. Qui iure natus qui modi nostrum repellat. Aperiam sunt dolore vitae qui doloribus id laborum."], ["created_at", "2014-09-26 16:46:47.669132"], ["name", "est_rerum_dolor"], ["title", "Nihil animi ullam"], ["updated_at", "2014-09-26 16:46:47.669132"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.671995"], ["updated_at", "2014-09-26 16:46:47.671995"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 16:46:47.673130"], ["updated_at", "2014-09-26 16:46:47.673130"], ["user_id", 30], ["user_type", "DummyUser"]]  (5.0ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.685254"], ["updated_at", "2014-09-26 16:46:47.685254"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.687254"], ["updated_at", "2014-09-26 16:46:47.687254"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_voluptatem_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_voluptatem_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Impedit repellat ea magnam voluptatem. Hic non aut quod culpa fuga veniam in. Assumenda alias sed et et et facere quasi.\\nNostrum molestias magni. Culpa ipsam nesciunt. Esse libero excepturi.\\nIpsum illo saepe. Voluptatum aut soluta. Dolores repudiandae ab nihil laboriosam nisi ratione modi."], ["created_at", "2014-09-26 16:46:47.692619"], ["name", "voluptas_voluptatem_est"], ["title", "Debitis animi aut"], ["updated_at", "2014-09-26 16:46:47.692619"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.695175"], ["updated_at", "2014-09-26 16:46:47.695175"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 16:46:47.695722"], ["updated_at", "2014-09-26 16:46:47.695722"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Redirected to http://test.host/fine_print/contracts/19/signatures?r=Z2Q2Vkd2ZDZMR29YRTloSjh5Z0IvUT09LS1uZmZUM21jajFUL24vbm5xOHhFTDVnPT0%3D--9332644181f487ddab04a25ba148928ed9944b82 Completed 302 Found in 4ms (ActiveRecord: 1.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.704363"], ["updated_at", "2014-09-26 16:46:47.704363"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.706059"], ["updated_at", "2014-09-26 16:46:47.706059"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "veritatis_accusamus_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'veritatis_accusamus_laborum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et rem sint dolores occaecati eius explicabo. Possimus provident qui consequatur libero nihil. Id ut in in pariatur officiis. Est id doloremque ratione nesciunt qui qui. Facilis non voluptates.\\nNisi quibusdam in. Soluta blanditiis aliquam. Sed totam ipsam illum perspiciatis hic vero. Reiciendis assumenda odio aperiam quidem voluptatem. Ut voluptates doloribus.\\nId et commodi. Mollitia facere enim ipsa. Suscipit vitae provident velit veritatis. Culpa esse ratione autem. Consequatur omnis cupiditate est nostrum quam reprehenderit culpa."], ["created_at", "2014-09-26 16:46:47.710628"], ["name", "veritatis_accusamus_laborum"], ["title", "Aut doloremque maiores"], ["updated_at", "2014-09-26 16:46:47.710628"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.713103"], ["updated_at", "2014-09-26 16:46:47.713103"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 16:46:47.713640"], ["updated_at", "2014-09-26 16:46:47.713640"], ["user_id", 36], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.718801"], ["updated_at", "2014-09-26 16:46:47.718801"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.720423"], ["updated_at", "2014-09-26 16:46:47.720423"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quisquam suscipit omnis enim distinctio aut mollitia. Accusantium minus ea. Omnis consequatur nihil ducimus dolores sit et. Vel in qui.\\nDolorem exercitationem dicta atque quia iste vel. Debitis hic ratione. Voluptatem quidem distinctio.\\nId ex nostrum pariatur. Eaque est repellat autem eligendi aut. Omnis consequuntur incidunt consequatur illum id adipisci. Eos perferendis quo consequuntur quia sint natus. Dicta nulla quaerat culpa in qui et debitis."], ["created_at", "2014-09-26 16:46:47.723318"], ["name", "alias_sed_fuga"], ["title", "Veniam eum soluta"], ["updated_at", "2014-09-26 16:46:47.723318"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.728341"], ["updated_at", "2014-09-26 16:46:47.728341"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.729980"], ["updated_at", "2014-09-26 16:46:47.729980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia impedit quia. Ut corporis harum sed quo illo cum. Et earum corporis nihil et in. Magnam laborum culpa eum explicabo. Beatae et voluptatum ipsam molestiae ratione laborum aut.\\nAut earum sit non iusto ut. Delectus qui eligendi rem. Atque distinctio ea sequi et aut. Autem debitis modi voluptas eaque maxime ut maiores.\\nRem ut ut ea officia. Dolores distinctio qui id occaecati perferendis repellat qui. Amet error sunt."], ["created_at", "2014-09-26 16:46:47.732162"], ["name", "perferendis_aspernatur_repellendus"], ["title", "Quia modi enim"], ["updated_at", "2014-09-26 16:46:47.732162"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.737227"], ["updated_at", "2014-09-26 16:46:47.737227"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.738679"], ["updated_at", "2014-09-26 16:46:47.738679"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Beatae voluptate magnam. Aut accusamus asperiores qui aperiam ut architecto. Molestiae sed quod doloremque dolor porro. Enim et provident. Esse placeat in id et quia.\\nSit sit minima reprehenderit voluptatem rerum reiciendis. Id suscipit et. Velit aut sapiente a et in similique.\\nCommodi dolore facilis tenetur quia ad qui. Consectetur et in dolor eos praesentium. Deserunt nam natus consectetur commodi. Quo quidem quasi odit sed."], ["created_at", "2014-09-26 16:46:47.740834"], ["name", "officia_sequi_non"], ["title", "Doloribus libero quae"], ["updated_at", "2014-09-26 16:46:47.740834"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.748352"], ["updated_at", "2014-09-26 16:46:47.748352"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.749797"], ["updated_at", "2014-09-26 16:46:47.749797"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Doloremque sunt voluptatibus id non minima sequi. Qui possimus dolor unde quia mollitia. Eos explicabo architecto nostrum. Voluptas qui assumenda voluptatibus quis perspiciatis libero.\\nOmnis molestias deserunt nihil a earum. Dolorum dolores adipisci quo assumenda dolorem soluta. Accusantium et nemo omnis ut fugit et. Animi quidem est quis. Soluta dicta minima vel.\\nVoluptatem nisi excepturi nesciunt non. Doloremque aut voluptas. Eos cumque labore distinctio."], ["created_at", "2014-09-26 16:46:47.751928"], ["name", "omnis_et_corporis"], ["title", "Est vitae eligendi"], ["updated_at", "2014-09-26 16:46:47.751928"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 24 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:46:47.755325"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.760495"], ["updated_at", "2014-09-26 16:46:47.760495"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.761920"], ["updated_at", "2014-09-26 16:46:47.761920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem molestiae commodi fugit aut. Magnam sit maxime amet voluptatum quisquam sed. Ullam dolorem illo repellat et. Est id sed culpa nihil facilis.\\nSuscipit dolorem sint sit ratione corporis vel consequatur. Nisi veritatis voluptatem odio libero dolor culpa aut. Voluptas cumque at.\\nFugiat dolorum repellat rerum sint ea nostrum officia. Accusantium tempora et. Harum dolor molestias voluptate pariatur. Repellat repudiandae odio voluptate est id corporis doloremque. Aut autem repudiandae libero."], ["created_at", "2014-09-26 16:46:47.764243"], ["name", "eius_quia_maxime"], ["title", "Beatae consequuntur quia"], ["updated_at", "2014-09-26 16:46:47.764243"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 12, 10, 9, 7, 6, 4, 3, 1, 24, 11, 8, 5, 2, 15, 25, 18, 14, 16, 22, 13, 17, 20, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.774658"], ["updated_at", "2014-09-26 16:46:47.774658"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.776315"], ["updated_at", "2014-09-26 16:46:47.776315"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reiciendis ad eos ut reprehenderit debitis quia. Molestias voluptas exercitationem aliquid et ut. Rem illo aut quis laudantium eius.\\nDolores qui consequatur delectus atque quam qui praesentium. Veritatis ut et. Aut totam sit earum quia eveniet exercitationem.\\nAd voluptatem nam nostrum omnis veritatis eum. Dolor et vel adipisci ipsa aut nisi neque. Voluptas qui aut."], ["created_at", "2014-09-26 16:46:47.778499"], ["name", "adipisci_maiores_omnis"], ["title", "Doloribus magnam nihil"], ["updated_at", "2014-09-26 16:46:47.778499"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:46:47.781599"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:46:47.781599"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/27 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.784797"], ["updated_at", "2014-09-26 16:46:47.784797"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.786283"], ["updated_at", "2014-09-26 16:46:47.786283"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis neque quos incidunt. Est et qui fuga quod. Mollitia autem qui aut. Laboriosam accusantium vel voluptatem ad dolor tenetur.\\nEa ducimus voluptatem. Voluptatibus officia aliquam exercitationem totam ea aliquid dolorem. Iure fugiat deleniti qui. Voluptatibus doloribus omnis error sed ut similique voluptatum. Maiores cumque molestias unde eius eveniet tempore quia.\\nNumquam est quis. Commodi assumenda ratione maiores. Praesentium quo enim. Explicabo sunt minima qui non est."], ["created_at", "2014-09-26 16:46:47.788551"], ["name", "similique_et_consequatur"], ["title", "Iure est fugit"], ["updated_at", "2014-09-26 16:46:47.788551"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.792408"], ["updated_at", "2014-09-26 16:46:47.792408"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.793850"], ["updated_at", "2014-09-26 16:46:47.793850"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur ut quia perspiciatis. Est ducimus occaecati debitis neque quisquam. Animi qui doloribus enim maxime dignissimos nihil. Omnis iusto aut saepe exercitationem nihil impedit. Ut minus alias id aliquam harum officia.\\nDebitis temporibus veritatis non harum quam eos. Illum distinctio molestias aperiam aspernatur voluptas nulla eos. In id voluptas.\\nNumquam vitae nulla voluptatum. Voluptas consequuntur velit officiis dolores vel quod. Odit laudantium totam et. Commodi necessitatibus tempore incidunt quis."], ["created_at", "2014-09-26 16:46:47.796167"], ["name", "quis_alias_earum"], ["title", "Ut commodi deserunt"], ["updated_at", "2014-09-26 16:46:47.796167"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.799972"], ["updated_at", "2014-09-26 16:46:47.799972"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.801556"], ["updated_at", "2014-09-26 16:46:47.801556"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Hic reiciendis inventore nobis. Et et tenetur. Et id et. Amet dolor sit consequatur facere magnam error.\\nDoloremque magnam quod tempore ab inventore. Ducimus deserunt esse dolor. Rerum optio itaque voluptas eos iusto id officiis. Possimus nam quis rerum et commodi aut iure. Dolor vitae voluptatibus ut.\\nMaxime quibusdam vel veniam soluta consectetur nihil voluptas. Quos veritatis exercitationem cumque perferendis libero. Assumenda dignissimos sit eligendi qui hic sit veniam."], ["created_at", "2014-09-26 16:46:47.804049"], ["name", "dicta_eaque_officiis"], ["title", "Necessitatibus odit cumque"], ["updated_at", "2014-09-26 16:46:47.804049"]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.809614"], ["updated_at", "2014-09-26 16:46:47.809614"]]  (6.2ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.816907"], ["updated_at", "2014-09-26 16:46:47.816907"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reprehenderit et atque amet hic. Illum et corporis ex molestiae. Quia consequatur fugit molestiae et velit facere enim. Magnam sunt a nesciunt quaerat consequatur neque.\\nVoluptatibus pariatur eaque. Non possimus deleniti debitis. Qui debitis quia beatae aut molestiae voluptates nulla.\\nEaque voluptate enim sint laborum. Ipsam aspernatur et non unde totam. Nihil dolor aut voluptas aliquam quisquam rerum sit. Error sed aliquid ipsum dolorum harum. Dicta voluptas sit."], ["created_at", "2014-09-26 16:46:47.819611"], ["name", "dolore_voluptas_dolor"], ["title", "Voluptatem ipsum commodi"], ["updated_at", "2014-09-26 16:46:47.819611"]]  (3.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.829263"], ["updated_at", "2014-09-26 16:46:47.829263"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.831152"], ["updated_at", "2014-09-26 16:46:47.831152"]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Occaecati consequatur aut praesentium mollitia nam. Autem nesciunt veniam distinctio. Corrupti expedita est et quisquam officiis voluptates.\\nIpsum architecto velit id est vitae. Beatae eius illum. Quam velit ut autem.\\nAliquid expedita inventore consectetur consequatur qui. Velit sit natus aut et. Eum illo aut voluptatum. Qui eligendi quia quis nihil id. Labore provident ducimus beatae aliquid ex quis."], ["created_at", "2014-09-26 16:46:47.834398"], ["name", "odit_assumenda_veritatis"], ["title", "Minus error dolore"], ["updated_at", "2014-09-26 16:46:47.834398"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odit_assumenda_veritatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'odit_assumenda_veritatis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 16:46:47.839140"], ["version", 1]]  (14.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 19ms (ActiveRecord: 14.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.857333"], ["updated_at", "2014-09-26 16:46:47.857333"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.858918"], ["updated_at", "2014-09-26 16:46:47.858918"]]  (3.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam reprehenderit eos nam dicta alias porro. Eius perferendis numquam et ut dolore assumenda. Labore laboriosam et inventore vel omnis voluptatem ullam. Et doloremque voluptas ducimus voluptatem.\\nEum exercitationem dolorem a debitis at id. Magni beatae ipsum sit corrupti vel sunt. Dolorum eaque quis hic.\\nIpsam provident nemo aut consequatur debitis vitae ut. Placeat blanditiis ea tenetur dolore ab. Delectus autem quia architecto cum est eius. Ut vitae non laborum illum corrupti. Placeat optio architecto eius unde."], ["created_at", "2014-09-26 16:46:47.864302"], ["name", "distinctio_qui_velit"], ["title", "Ut dicta repellendus"], ["updated_at", "2014-09-26 16:46:47.864302"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.869539"], ["updated_at", "2014-09-26 16:46:47.869539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.871007"], ["updated_at", "2014-09-26 16:46:47.871007"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit eos hic. Ratione est cupiditate eligendi aliquid esse quibusdam quidem. Modi debitis ea reprehenderit doloremque veritatis voluptatem. Est adipisci corrupti facere qui enim.\\nLabore ex perferendis voluptatem. Sint quaerat doloribus unde magnam. Minima quam beatae fugiat nemo blanditiis.\\nCorrupti voluptatem et voluptatum consectetur unde laborum qui. Sequi minima ad voluptatem est et et. Deleniti ipsum quae doloribus ea. Dolorem et magni possimus. Aspernatur consectetur molestiae."], ["created_at", "2014-09-26 16:46:47.873124"], ["name", "ad_sint_qui"], ["title", "Iste saepe consectetur"], ["updated_at", "2014-09-26 16:46:47.873124"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ad_sint_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'ad_sint_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 16:46:47.876193"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.881138"], ["updated_at", "2014-09-26 16:46:47.881138"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.883076"], ["updated_at", "2014-09-26 16:46:47.883076"]]  (6.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nulla officia enim beatae ex voluptas. Dolorum esse consequuntur ut quia quidem. Nulla quaerat culpa ut omnis exercitationem vitae tenetur. A autem saepe suscipit et at. Cupiditate consectetur excepturi qui modi nisi saepe eos.\\nNon molestiae itaque natus. Libero veritatis vel saepe. Qui excepturi dolorum reiciendis nihil voluptates iure. Iusto ipsa minus ut aut voluptate qui tempore. Incidunt et cumque provident.\\nExcepturi minus qui aut eos facere natus. Aut voluptas quae repudiandae. Quae minima sunt est enim. Magnam sed illo commodi aut vitae. Voluptates velit deserunt labore rerum commodi."], ["created_at", "2014-09-26 16:46:47.891816"], ["name", "inventore_optio_dolor"], ["title", "Quasi ut doloribus"], ["updated_at", "2014-09-26 16:46:47.891816"]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "inventore_optio_dolor"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'inventore_optio_dolor') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 16:46:47.895966"], ["version", 1]]  (2.3ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.904147"], ["updated_at", "2014-09-26 16:46:47.904147"]]  (17.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.922650"], ["updated_at", "2014-09-26 16:46:47.922650"]]  (11.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et minus blanditiis. Voluptas aliquam rerum voluptatem facere delectus id. Ut facere dignissimos. Odit quia corporis.\\nMolestiae aliquam assumenda. Minima architecto consequuntur. Maxime ducimus libero. Eius odit ipsum ut qui amet.\\nUt voluptas pariatur accusamus quis autem. Placeat fugit nobis officia optio. Accusantium qui illo natus consequatur. Voluptas magnam voluptas eveniet dolores eos quod incidunt."], ["created_at", "2014-09-26 16:46:47.935822"], ["name", "iure_odit_error"], ["title", "Nobis sit sint"], ["updated_at", "2014-09-26 16:46:47.935822"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_odit_error"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'iure_odit_error') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:46:47.939789"], ["version", 1]]  (6.0ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_odit_error"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:46:47.950496"], ["version", nil]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.955562"], ["updated_at", "2014-09-26 16:46:47.955562"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.962988"], ["updated_at", "2014-09-26 16:46:47.962988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam non eum dolor facere ex ut. Nihil non aut vel ut qui ea. Non enim quas architecto aut qui reiciendis temporibus. Et similique voluptatem ducimus aspernatur est aliquid. Aut voluptas deserunt culpa sit ab dolorum.\\nEx impedit amet dolor beatae cumque consequuntur. Rem officia mollitia. Ea hic ut ipsam aut rem voluptatem. Dolore libero aut suscipit doloribus ut. Aut minus rerum ea occaecati alias aliquam.\\nRatione sunt quas neque. Sint dolorum porro tempore sapiente ut sit voluptas. Sed voluptatem molestias debitis dolore consequatur eligendi quae. Perferendis deserunt est mollitia aut et sunt maiores."], ["created_at", "2014-09-26 16:46:47.965543"], ["name", "ut_nobis_id"], ["title", "Quis eveniet repudiandae"], ["updated_at", "2014-09-26 16:46:47.965543"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.970442"], ["updated_at", "2014-09-26 16:46:47.970442"]]  (4.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.976365"], ["updated_at", "2014-09-26 16:46:47.976365"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut quia ea ducimus rerum distinctio quo velit. Quo dolor beatae quisquam nostrum quidem. Dolores qui sapiente earum illum accusantium. Modi quas voluptas necessitatibus. Et neque in unde velit laudantium eos et.\\nEnim rem quia. Quae distinctio eaque amet cupiditate eos. Laboriosam occaecati doloremque. Animi a quam qui porro in dolores blanditiis.\\nRem fugiat aut consequatur. Voluptatem soluta quia tempore eveniet consectetur ea ipsam. Consequatur eveniet vel quos facere atque quia facilis."], ["created_at", "2014-09-26 16:46:47.978869"], ["name", "ratione_et_vero"], ["title", "Ad voluptate esse"], ["updated_at", "2014-09-26 16:46:47.978869"]]  (1.4ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.989593"], ["updated_at", "2014-09-26 16:46:47.989593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:47.991392"], ["updated_at", "2014-09-26 16:46:47.991392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur qui doloribus. Deleniti libero molestias porro quos voluptas. Dolor rem error autem aperiam quibusdam.\\nEsse animi ratione ea aut dolore ut. Qui aliquid minus. Qui voluptatem id. Vel incidunt odit nihil aliquam distinctio. Consectetur iste sint et quae sunt ratione.\\nEt iusto voluptas. Animi optio quis quis fugit delectus consequuntur. Dicta labore id exercitationem. Id molestias illo occaecati beatae quisquam consequuntur deleniti."], ["created_at", "2014-09-26 16:46:47.993660"], ["name", "sit_voluptatibus_molestias"], ["title", "Dignissimos qui voluptatum"], ["updated_at", "2014-09-26 16:46:47.993660"]]  (23.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_voluptatibus_molestias"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'sit_voluptatibus_molestias') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 16:46:48.019642"], ["version", 1]]  (5.9ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sit_voluptatibus_molestias' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:48.034879"], ["updated_at", "2014-09-26 16:46:48.034879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:48.036556"], ["updated_at", "2014-09-26 16:46:48.036556"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:48.040830"], ["updated_at", "2014-09-26 16:46:48.040830"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:48.044472"], ["updated_at", "2014-09-26 16:46:48.044472"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Labore iusto sunt at dolor harum aspernatur officiis. Et minima error autem. Ex mollitia sequi voluptatem laboriosam aut quasi.\\nA sapiente quis dolor aliquid esse. Ipsa qui nisi velit dolor iure asperiores. Suscipit praesentium cupiditate minus voluptates sit doloribus. Praesentium et quia illo placeat aperiam.\\nEt sint quia voluptatem atque omnis commodi. Omnis voluptas aut et provident fuga est sint. Vero numquam corrupti et non. Iure corporis magni veritatis velit aut cum sunt. Reprehenderit ullam corrupti possimus iste eligendi."], ["created_at", "2014-09-26 16:46:48.048940"], ["name", "non_tempora_excepturi"], ["title", "Maxime omnis architecto"], ["updated_at", "2014-09-26 16:46:48.048940"]]  (3.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facilis_quia_qui"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'facilis_quia_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem adipisci eveniet ut corporis error molestiae sit. Animi doloremque consequatur. Dolores praesentium nobis voluptatem doloremque.\\nVelit totam ad ipsam cumque magnam adipisci. Dolorum et quod ipsam accusamus est ab quo. Qui impedit nulla molestiae iure provident ipsum. Sint debitis autem cum ut nemo. Commodi molestiae numquam expedita non error.\\nQuia error voluptatem atque. Delectus hic aliquid. Ipsa velit est."], ["created_at", "2014-09-26 16:46:48.059568"], ["name", "facilis_quia_qui"], ["title", "Et voluptatem nobis"], ["updated_at", "2014-09-26 16:46:48.059568"], ["version", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos iste amet praesentium dolores. Quaerat omnis et. Corrupti quaerat ut nobis eos quos eius. Qui reprehenderit aperiam eum. Quo in omnis ipsa reprehenderit cum temporibus officiis.\\nIusto quisquam explicabo est nam a. Vel aliquam dolores. Tenetur placeat accusantium assumenda est distinctio nihil qui.\\nBlanditiis quisquam non laborum. Aut rerum architecto deleniti omnis quia ex dolorum. Veniam esse facere. Accusamus molestiae et deleniti quia repudiandae sit. Et quia porro eligendi rerum."], ["created_at", "2014-09-26 16:46:48.066667"], ["name", "aut_occaecati_quod"], ["title", "Fuga porro aspernatur"], ["updated_at", "2014-09-26 16:46:48.066667"]]  (2.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_occaecati_quod"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'aut_occaecati_quod') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 16:46:48.073171"], ["version", 1]]  (6.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_occaecati_quod"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_occaecati_quod"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 16:46:48.083734"], ["version", nil]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_voluptas_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'molestiae_voluptas_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Debitis eius ipsa sunt perferendis quia est ut. Sit quidem aut accusantium at aspernatur sequi vitae. Nihil expedita amet totam et ea molestias.\\nProvident ullam dolore natus voluptate aut. Velit nihil perspiciatis magni. Pariatur fugiat iure magnam accusamus tenetur. Delectus eos voluptate quaerat harum.\\nQuae reprehenderit maxime similique doloremque modi dolores consectetur. Magni dolorum odit qui ipsam ipsum. Consequatur perspiciatis dolores reiciendis."], ["created_at", "2014-09-26 16:46:48.088608"], ["name", "molestiae_voluptas_et"], ["title", "Odit est impedit"], ["updated_at", "2014-09-26 16:46:48.088608"], ["version", 1]]  (30.4ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'molestiae_voluptas_et' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Debitis eius ipsa sunt perferendis quia est ut. Sit quidem aut accusantium at aspernatur sequi vitae. Nihil expedita amet totam et ea molestias.\\nProvident ullam dolore natus voluptate aut. Velit nihil perspiciatis magni. Pariatur fugiat iure magnam accusamus tenetur. Delectus eos voluptate quaerat harum.\\nQuae reprehenderit maxime similique doloremque modi dolores consectetur. Magni dolorum odit qui ipsam ipsum. Consequatur perspiciatis dolores reiciendis."], ["created_at", "2014-09-26 16:46:48.121717"], ["name", "molestiae_voluptas_et"], ["title", "Odit est impedit"], ["updated_at", "2014-09-26 16:46:48.121717"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_voluptas_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'molestiae_voluptas_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 16:46:48.126081"], ["version", 2]]  (6.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ex_occaecati_voluptate"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ex_occaecati_voluptate') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Velit possimus eos molestias quos ut. Accusantium voluptatem explicabo fugit quas sed reprehenderit. Odio quisquam omnis ut. Aspernatur officia voluptates laudantium qui.\\nImpedit architecto fugit molestias ipsa quis reprehenderit. Quia qui facilis. Laborum blanditiis deserunt totam est officiis. Magnam ratione eos omnis labore. Expedita cum molestias soluta facilis aut ut ipsa.\\nQui error in est atque modi dicta. Fuga eveniet aliquid ut. Assumenda distinctio facere eveniet iure corrupti id aspernatur. Et veniam alias ipsum ut magni ut reiciendis. Dignissimos quia fugiat placeat nobis."], ["created_at", "2014-09-26 16:46:48.145760"], ["name", "ex_occaecati_voluptate"], ["title", "Totam veritatis consequatur"], ["updated_at", "2014-09-26 16:46:48.145760"], ["version", 1]]  (10.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ex_occaecati_voluptate' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit possimus eos molestias quos ut. Accusantium voluptatem explicabo fugit quas sed reprehenderit. Odio quisquam omnis ut. Aspernatur officia voluptates laudantium qui.\\nImpedit architecto fugit molestias ipsa quis reprehenderit. Quia qui facilis. Laborum blanditiis deserunt totam est officiis. Magnam ratione eos omnis labore. Expedita cum molestias soluta facilis aut ut ipsa.\\nQui error in est atque modi dicta. Fuga eveniet aliquid ut. Assumenda distinctio facere eveniet iure corrupti id aspernatur. Et veniam alias ipsum ut magni ut reiciendis. Dignissimos quia fugiat placeat nobis."], ["created_at", "2014-09-26 16:46:48.160148"], ["name", "joe"], ["title", "Totam veritatis consequatur"], ["updated_at", "2014-09-26 16:46:48.160148"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 16:46:48.165645"], ["version", 1]]  (3.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolore ad quisquam ipsam. Sint consequatur ex est molestias architecto. Cupiditate facilis exercitationem. Dolore officia nesciunt porro voluptatem.\\nDistinctio autem quo tempora et voluptatem. Quam nesciunt dolorem dolores tempora est. Perferendis in est eligendi consequatur. Ea itaque adipisci et iste qui nihil suscipit.\\nMollitia voluptas distinctio debitis dolorum ducimus pariatur voluptatem. Vel ut nam repellat. Ea dolores corporis maiores ut."], ["created_at", "2014-09-26 16:46:48.173323"], ["name", "atque_ut_qui"], ["title", "Facilis sequi modi"], ["updated_at", "2014-09-26 16:46:48.173323"]]  (3.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "atque_ut_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'atque_ut_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 16:46:48.180119"], ["version", 1]]  (6.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:46:48.192226"], ["updated_at", "2014-09-26 16:46:48.192226"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 16:46:48.193161"], ["updated_at", "2014-09-26 16:46:48.193161"], ["user_id", 77], ["user_type", "DummyUser"]]  (3.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'atque_ut_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "atque_ut_qui"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0') FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Recusandae sapiente et nobis cupiditate ut fuga. Non magnam enim. Ipsum necessitatibus corporis alias voluptatibus.\\nTenetur voluptas cumque. Error qui et culpa cum veritatis sequi. Repellat ipsum blanditiis et nisi rerum quis voluptatibus.\\nAut eius maxime et quo at. In sed tenetur necessitatibus laborum. Numquam praesentium in voluptas veritatis nihil voluptates unde."], ["created_at", "2014-09-26 16:47:55.675761"], ["name", "alpha"], ["title", "Tempore sit nihil"], ["updated_at", "2014-09-26 16:47:55.675761"], ["version", 1]]  (1.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum non amet. Corporis recusandae quasi sit beatae numquam autem excepturi. Rerum et sint quidem. Qui et id quis quia mollitia velit quas.\\nEt eum aut molestiae eaque tempora. Et sint vel voluptatem beatae ipsum. Voluptates nesciunt quasi reprehenderit quam quos. Eos laboriosam commodi beatae omnis nihil quo.\\nQuo ipsum qui soluta. Eveniet ipsum aut autem voluptate nulla. Nostrum ut placeat."], ["created_at", "2014-09-26 16:47:55.683729"], ["name", "beta"], ["title", "Quia sint velit"], ["updated_at", "2014-09-26 16:47:55.683729"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.686515"], ["updated_at", "2014-09-26 16:47:55.686515"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quis quis voluptas. Nihil vitae eveniet laborum. Itaque culpa dolores perspiciatis.\\nEnim tempore vel et sit. Nihil dolorum cum. Facilis odit nemo earum vitae reiciendis. Ut est quibusdam doloribus et quia. Distinctio vero ducimus.\\nQuae aut temporibus porro ut cupiditate nihil quam. Quos rerum quae vel sunt quasi eum nulla. Fuga libero similique natus autem. Porro omnis quia ut et. Sequi quisquam modi quo autem."], ["created_at", "2014-09-26 16:47:55.697429"], ["name", "alpha"], ["title", "Quaerat quia consequuntur"], ["updated_at", "2014-09-26 16:47:55.697429"], ["version", 2]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia voluptatibus deserunt eum et. Veniam consequatur voluptate facere eaque dolorem voluptatibus perferendis. Quod natus odio aut quis. Expedita occaecati est fugiat qui debitis.\\nFugit ipsam commodi inventore omnis. Illum culpa ut aut nulla inventore aperiam asperiores. Neque et et quae ea quisquam iste facere.\\nVeritatis quam tempore at deleniti architecto eveniet. Nesciunt repellat similique quasi eveniet. Et unde dicta sunt laudantium a. Corporis a quam. Suscipit quidem error voluptatem et vitae."], ["created_at", "2014-09-26 16:47:55.702114"], ["name", "beta"], ["title", "Eligendi aspernatur sequi"], ["updated_at", "2014-09-26 16:47:55.702114"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.703783"], ["updated_at", "2014-09-26 16:47:55.703783"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aperiam iste voluptatibus et. Odio quia qui ex. Hic vel incidunt nam adipisci. Et sunt atque. Excepturi non qui minima quasi et suscipit nostrum.\\nTempore est laudantium magni autem maiores officiis ea. Ex quod quo similique nesciunt. Tenetur et explicabo vitae. Eveniet soluta eligendi doloribus labore qui voluptatem.\\nId dignissimos aut molestiae. Autem in qui illo. Amet eos tenetur voluptatem omnis eaque eligendi. Architecto cupiditate omnis sint dignissimos necessitatibus praesentium quis. In qui maiores provident perferendis rem incidunt."], ["created_at", "2014-09-26 16:47:55.709730"], ["name", "alpha"], ["title", "Non in temporibus"], ["updated_at", "2014-09-26 16:47:55.709730"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id saepe dolores qui et commodi veniam illo. Non quia sunt velit maiores at laboriosam expedita. Ipsum voluptatem a perferendis possimus aperiam cumque. Harum ab beatae hic aut iure qui. Ut quae ab eligendi voluptatem voluptates.\\nTenetur soluta incidunt excepturi quia inventore. Sint dolores at deserunt voluptatum asperiores tempore. Quas aut nam atque odit. Commodi voluptas qui hic. Et perferendis omnis quae.\\nArchitecto incidunt aut quia dolores itaque voluptates vel. Magnam repellendus et cumque non. Odio error minima sit nesciunt mollitia."], ["created_at", "2014-09-26 16:47:55.714052"], ["name", "beta"], ["title", "Corporis doloribus voluptatibus"], ["updated_at", "2014-09-26 16:47:55.714052"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.715710"], ["updated_at", "2014-09-26 16:47:55.715710"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Enim et doloremque hic. Et ut eum inventore neque. Et debitis modi. Accusamus nulla omnis id.\\nTotam sed corporis nihil iure. Odio est repellendus aut vitae porro aut. Non quod sed.\\nCorrupti et accusamus fuga sed. Repudiandae beatae sit aut est eligendi animi. Odit quia rerum et. Voluptas architecto autem ut ea."], ["created_at", "2014-09-26 16:47:55.721099"], ["name", "alpha"], ["title", "Doloremque sit vitae"], ["updated_at", "2014-09-26 16:47:55.721099"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui quas non omnis sit repellat ut odio. Ratione et laborum quia. Et ut quia ipsa alias porro vel quae.\\nDolorem nulla voluptatem necessitatibus. Et ab excepturi pariatur veritatis perspiciatis autem. Non impedit labore quo incidunt sint. Quia modi sunt pariatur eos.\\nVoluptatem debitis enim et. Sit labore libero. Assumenda est impedit enim voluptas est."], ["created_at", "2014-09-26 16:47:55.725378"], ["name", "beta"], ["title", "Atque qui fugit"], ["updated_at", "2014-09-26 16:47:55.725378"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.726950"], ["updated_at", "2014-09-26 16:47:55.726950"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.730379"], ["updated_at", "2014-09-26 16:47:55.730379"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.731978"], ["updated_at", "2014-09-26 16:47:55.731978"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_repellat_commodi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_repellat_commodi') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut neque enim et aut voluptatem. Architecto minima modi nam eum dolorum. Molestiae incidunt ipsum ea.\\nIusto voluptas qui omnis ea. Ut repellat numquam quidem hic. Rerum eligendi quis quia ipsa aut alias deleniti.\\nDoloribus voluptatem numquam dolorem est tenetur. Incidunt vero dolore. Nulla nesciunt consectetur nam et distinctio. Aut aut earum. Eveniet eum maiores quod sint."], ["created_at", "2014-09-26 16:47:55.736686"], ["name", "est_repellat_commodi"], ["title", "Molestiae minima cupiditate"], ["updated_at", "2014-09-26 16:47:55.736686"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.739066"], ["updated_at", "2014-09-26 16:47:55.739066"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.740501"], ["updated_at", "2014-09-26 16:47:55.740501"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "perspiciatis_tenetur_assumenda"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'perspiciatis_tenetur_assumenda') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sunt numquam ullam veritatis quia dolorem. Ut sunt hic totam possimus velit eaque. Vel molestiae reiciendis fugiat. Mollitia accusamus enim reprehenderit aut quasi asperiores adipisci.\\nQui iusto corrupti nostrum. Velit recusandae inventore et. Itaque aliquid assumenda sint vitae. Dolorem facere aspernatur adipisci officiis numquam.\\nAspernatur aperiam possimus ea officia ut cum architecto. Deserunt molestias ex. Quo iusto quia. Non architecto ad at tempora."], ["created_at", "2014-09-26 16:47:55.745522"], ["name", "perspiciatis_tenetur_assumenda"], ["title", "Corrupti fuga modi"], ["updated_at", "2014-09-26 16:47:55.745522"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.748207"], ["updated_at", "2014-09-26 16:47:55.748207"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.749723"], ["updated_at", "2014-09-26 16:47:55.749723"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_perspiciatis_eos"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_perspiciatis_eos') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae reiciendis unde tempora sit nulla omnis sed. Quas est quis ex. Asperiores sunt ratione rerum magnam a ut rerum.\\nError corporis est fuga. Id distinctio sit et. A et corporis nesciunt cum sunt consequuntur. Reprehenderit itaque quis accusamus ut debitis recusandae. Voluptatem non dignissimos dolorem.\\nIste doloribus corporis blanditiis. Iure repellendus voluptatem aspernatur eum. Error omnis recusandae. Ut consequatur omnis est et impedit amet. Sint ea rerum dolorem aperiam voluptates consectetur blanditiis."], ["created_at", "2014-09-26 16:47:55.754992"], ["name", "sint_perspiciatis_eos"], ["title", "Qui aliquid est"], ["updated_at", "2014-09-26 16:47:55.754992"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.757482"], ["updated_at", "2014-09-26 16:47:55.757482"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.759181"], ["updated_at", "2014-09-26 16:47:55.759181"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_quibusdam_accusamus"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_quibusdam_accusamus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Tempora ut aut quia et in impedit. Est vel quia magnam. Ducimus cumque eveniet illum minima. Dolor consequuntur commodi molestiae qui nam. Et voluptatem omnis dolores dolorum excepturi.\\nUt voluptatibus asperiores. Officia natus eum esse nihil. Non possimus temporibus quo eligendi adipisci quo voluptatem. Voluptatem blanditiis laborum. Eaque animi non nihil.\\nItaque veritatis cupiditate vitae molestias. Non ipsum vitae a. Amet asperiores et ipsam error. Eum et non quis repellat ratione delectus dolores."], ["created_at", "2014-09-26 16:47:55.764495"], ["name", "et_quibusdam_accusamus"], ["title", "Perferendis ut minima"], ["updated_at", "2014-09-26 16:47:55.764495"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.767089"], ["updated_at", "2014-09-26 16:47:55.767089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.768574"], ["updated_at", "2014-09-26 16:47:55.768574"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_sit_ipsam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quis_sit_ipsam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Facere sunt praesentium sint accusantium vitae. Quisquam est recusandae sed veritatis dolorem praesentium commodi. Omnis ut est. Dolorem ut voluptatem voluptas autem rerum fugiat dolores. Laudantium nisi fugit blanditiis molestiae.\\nTotam ea doloribus vel voluptates nam pariatur. Corrupti et officiis sed voluptate magnam qui tempore. Aut eveniet asperiores quis. Id quo est fugiat qui.\\nQuisquam facilis sed odio eveniet placeat ut dolorem. Quis consequatur adipisci ut maxime incidunt ratione. Quisquam aliquid et quibusdam quam eum."], ["created_at", "2014-09-26 16:47:55.772567"], ["name", "quis_sit_ipsam"], ["title", "Alias eos rem"], ["updated_at", "2014-09-26 16:47:55.772567"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.774884"], ["updated_at", "2014-09-26 16:47:55.774884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.776272"], ["updated_at", "2014-09-26 16:47:55.776272"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_maxime_exercitationem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_maxime_exercitationem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iste dolorum doloremque facilis et. Quisquam omnis cupiditate ipsum a. Facere id qui. Quo ut et nemo nisi quia praesentium qui. Provident ipsa distinctio.\\nAsperiores tempore error illo corrupti accusamus. Iste voluptatem dolorum vel ea. Delectus impedit quod in. Quidem explicabo ullam enim placeat.\\nSed voluptatem fugiat sint. Et quo qui ea nobis. Ut dolorem eligendi."], ["created_at", "2014-09-26 16:47:55.781739"], ["name", "et_maxime_exercitationem"], ["title", "Dolorem facilis pariatur"], ["updated_at", "2014-09-26 16:47:55.781739"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.784776"], ["updated_at", "2014-09-26 16:47:55.784776"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.787156"], ["updated_at", "2014-09-26 16:47:55.787156"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_quam_officiis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'id_quam_officiis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Corporis illum dicta qui blanditiis ut mollitia amet. In fugiat aliquam dolores doloribus libero voluptatem velit. Fugit magnam aut reiciendis sint quae et consequatur. Doloremque sed at.\\nVoluptatum cumque beatae magni ipsam. Minima vel natus ut. Rerum praesentium reprehenderit itaque quo aut.\\nEt architecto sit odio. Sequi assumenda dolor. Qui aut eaque et velit officiis maxime. Beatae quod praesentium magnam reprehenderit debitis."], ["created_at", "2014-09-26 16:47:55.791339"], ["name", "id_quam_officiis"], ["title", "Aut omnis qui"], ["updated_at", "2014-09-26 16:47:55.791339"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.793563"], ["updated_at", "2014-09-26 16:47:55.793563"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.795204"], ["updated_at", "2014-09-26 16:47:55.795204"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "accusantium_blanditiis_nisi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'accusantium_blanditiis_nisi') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vero eos iusto aut perferendis et nesciunt. Quod non ut. Nulla non harum animi et soluta omnis doloribus. Odit debitis ut. Quidem cupiditate ut in iure rerum vero.\\nOmnis officia sit minima sint in et in. Accusantium ut modi rem earum quo. Enim quis rem doloremque harum hic vel.\\nDistinctio temporibus odio. Magni cum quos reprehenderit ex corporis cumque. Dolores eius commodi. Ea in sapiente qui."], ["created_at", "2014-09-26 16:47:55.799459"], ["name", "accusantium_blanditiis_nisi"], ["title", "Numquam consequatur et"], ["updated_at", "2014-09-26 16:47:55.799459"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Incidunt sit iure saepe fuga aliquam dolorem. Ad numquam alias eveniet tenetur. Qui ut et eum recusandae repellat. Perferendis praesentium sed eligendi quasi et est eveniet.\\nPerferendis porro quia hic. Autem veniam qui incidunt assumenda architecto. Ab eaque placeat. Molestiae doloribus voluptas ea.\\nAtque voluptas illum voluptatibus esse voluptas sit temporibus. Eum nisi fuga quod et. Sint omnis unde eum minus aliquid."], ["created_at", "2014-09-26 16:47:55.802707"], ["name", "qui_sed_molestiae"], ["title", "Eaque ab est"], ["updated_at", "2014-09-26 16:47:55.802707"]]  (1.2ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_alias_expedita"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vel_alias_expedita') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et vitae magnam. Corporis ducimus quo animi aut. Repellendus voluptatem officia qui incidunt corporis.\\nAlias rerum ut omnis eos voluptatem esse. Autem deleniti ab sit qui exercitationem id. Sed voluptas et ullam. Harum quia nihil dolor qui sunt. Ut officiis vel.\\nSunt perferendis voluptas incidunt vel at. Mollitia fugiat dolores omnis vero ut sint. Quod modi quibusdam consequatur ea atque. Eos nostrum enim repudiandae."], ["created_at", "2014-09-26 16:47:55.812068"], ["name", "vel_alias_expedita"], ["title", "Rerum sequi voluptatum"], ["updated_at", "2014-09-26 16:47:55.812068"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.814906"], ["updated_at", "2014-09-26 16:47:55.814906"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.816258"], ["updated_at", "2014-09-26 16:47:55.816258"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Natus illo voluptatem voluptate quidem dicta. Ab praesentium quaerat et mollitia nulla accusamus fugit. Odio culpa doloremque in nam veniam natus. Voluptas aut dolores.\\nArchitecto repellendus aut enim dolor. Velit est id nam sit temporibus. Atque optio adipisci exercitationem nisi et. Omnis et enim nihil possimus voluptatem.\\nUt ut voluptatem dolorem hic consectetur. Est adipisci qui sequi voluptas. Autem incidunt id atque et voluptatem et doloremque."], ["created_at", "2014-09-26 16:47:55.818388"], ["name", "ipsam_occaecati_itaque"], ["title", "Molestias accusamus ex"], ["updated_at", "2014-09-26 16:47:55.818388"]]  (1.2ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.827559"], ["updated_at", "2014-09-26 16:47:55.827559"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.829139"], ["updated_at", "2014-09-26 16:47:55.829139"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Illo accusantium autem labore. Cupiditate neque temporibus quo. Eum id veritatis.\\nMolestiae qui voluptatum. Sit aut sed quis nam. Repellendus iste atque sunt dolor. Explicabo distinctio nesciunt.\\nDicta non at sit natus quo alias. Cupiditate animi quia eveniet asperiores cum vitae. Architecto in ut quasi natus quos. Et quasi voluptate."], ["created_at", "2014-09-26 16:47:55.831819"], ["name", "iure_corrupti_molestias"], ["title", "Consequatur culpa accusamus"], ["updated_at", "2014-09-26 16:47:55.831819"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_corrupti_molestias"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'iure_corrupti_molestias') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:47:55.834812"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'iure_corrupti_molestias' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.848865"], ["updated_at", "2014-09-26 16:47:55.848865"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.850648"], ["updated_at", "2014-09-26 16:47:55.850648"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam rem molestiae consequatur aliquid id. Est omnis inventore quidem similique ad. Sed alias quos occaecati consequatur. Et sint occaecati blanditiis aliquid facilis sit minima.\\nA et modi ut temporibus quis aut. Provident minima natus vitae similique velit. Voluptate earum sed omnis dignissimos aliquam voluptatem voluptas. Dolorem non est perferendis quo cum dolores.\\nNumquam nesciunt tempora aut qui sint neque et. Fuga possimus nulla. Eos est ipsa."], ["created_at", "2014-09-26 16:47:55.852924"], ["name", "corrupti_quisquam_et"], ["title", "Eveniet ratione neque"], ["updated_at", "2014-09-26 16:47:55.852924"]]  (2.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.858976"], ["updated_at", "2014-09-26 16:47:55.858976"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.860323"], ["updated_at", "2014-09-26 16:47:55.860323"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Porro dignissimos aliquam numquam est. Et iusto sint enim praesentium. Qui accusamus quibusdam velit. Dignissimos id et est quia laboriosam iste. Et ut perspiciatis harum deserunt iste.\\nQuibusdam mollitia quod et ipsum rerum eveniet ad. Magni assumenda atque numquam porro quaerat aut aut. Totam ratione accusantium illum magni.\\nSoluta illo et voluptatem unde. Praesentium culpa consequatur quo. Laudantium neque veritatis. Sint odio vero ipsa a et."], ["created_at", "2014-09-26 16:47:55.862527"], ["name", "aspernatur_voluptatem_ex"], ["title", "Inventore et deleniti"], ["updated_at", "2014-09-26 16:47:55.862527"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aspernatur_voluptatem_ex"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'aspernatur_voluptatem_ex') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 16:47:55.867103"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.872474"], ["updated_at", "2014-09-26 16:47:55.872474"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.874458"], ["updated_at", "2014-09-26 16:47:55.874458"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sequi voluptates eum consequatur unde porro non. Quam quasi autem voluptatum beatae dicta incidunt. Dolorem architecto ad numquam. Esse est cumque sit tempore est nesciunt.\\nEt harum voluptate laudantium totam. Quaerat reiciendis qui quia repellat sapiente est. Aut cupiditate sint.\\nEt sint eos nulla ratione ipsa accusantium tempore. Et sed et adipisci veritatis quas. Praesentium molestiae illo iste. Commodi odio nesciunt voluptates rerum ab facilis quaerat. Voluptatibus occaecati illum ipsa."], ["created_at", "2014-09-26 16:47:55.876857"], ["name", "in_voluptate_libero"], ["title", "Culpa voluptas unde"], ["updated_at", "2014-09-26 16:47:55.876857"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.880713"], ["updated_at", "2014-09-26 16:47:55.880713"]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.883690"], ["updated_at", "2014-09-26 16:47:55.883690"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem ut temporibus quaerat architecto blanditiis perferendis. Et ea sunt ut ipsa. Veritatis error aut. Eos illo unde est. Unde dolor explicabo.\\nDolor impedit ut. Vero eveniet accusamus quia saepe. Quaerat voluptas voluptate ea ad. Aspernatur aut facilis voluptatum maiores praesentium quia culpa.\\nQuas nesciunt rerum blanditiis iure eum a. Esse quae minima occaecati ab ratione voluptas minus. Accusamus velit unde ea commodi sint cum facere."], ["created_at", "2014-09-26 16:47:55.886668"], ["name", "suscipit_enim_doloribus"], ["title", "Optio qui iste"], ["updated_at", "2014-09-26 16:47:55.886668"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:47:55.889760"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:47:55.889760"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/25 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.893524"], ["updated_at", "2014-09-26 16:47:55.893524"]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.897720"], ["updated_at", "2014-09-26 16:47:55.897720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maiores perferendis vel sed debitis voluptatem consequatur. Mollitia ullam aut eius provident nihil a. Quasi enim incidunt. Earum facere voluptatem sapiente quaerat mollitia veniam. Dolorem sint saepe voluptas et qui ad.\\nEt facilis quia porro. In aperiam rerum quisquam odit corporis a. Amet velit voluptatum animi quia. Magni impedit aut ipsa autem magnam quae. Nihil excepturi libero aut vel.\\nVoluptas vitae vero quidem et quasi odit. Amet fugiat neque culpa cum fuga. Provident error in voluptates placeat beatae ea."], ["created_at", "2014-09-26 16:47:55.899952"], ["name", "fuga_autem_sint"], ["title", "Dolor officia dicta"], ["updated_at", "2014-09-26 16:47:55.899952"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 26 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:47:55.903380"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/26 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.908174"], ["updated_at", "2014-09-26 16:47:55.908174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.909623"], ["updated_at", "2014-09-26 16:47:55.909623"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates excepturi natus magnam harum vitae dolor voluptatem. Illo doloribus facilis est iste voluptatem repudiandae est. Sunt in nulla illum. Adipisci consequatur voluptate rem. Necessitatibus distinctio et non illum sed.\\nHarum officia et quia et. Quo inventore facilis impedit consequatur doloremque. Eveniet nobis voluptatem cumque autem adipisci in enim. Aperiam ipsum omnis voluptas veritatis.\\nDolores molestiae perspiciatis et. Est pariatur eos aliquam aut sunt voluptate aut. Aut deserunt aperiam eum rerum sed quas provident. Adipisci et eos eaque voluptatem magni. Non ut omnis hic."], ["created_at", "2014-09-26 16:47:55.911842"], ["name", "enim_alias_possimus"], ["title", "Distinctio quam voluptas"], ["updated_at", "2014-09-26 16:47:55.911842"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 27]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 27]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 27 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.919919"], ["updated_at", "2014-09-26 16:47:55.919919"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.921427"], ["updated_at", "2014-09-26 16:47:55.921427"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut est aut est consectetur. Repellat quis qui aut. Distinctio quam qui.\\nCulpa ex sunt. Dolores aut voluptatem. Eveniet assumenda natus culpa dolor.\\nQuam ullam aut voluptas temporibus accusantium. Nihil officia accusamus. Dignissimos veritatis harum expedita praesentium. Qui repellendus debitis cupiditate dicta. Ducimus et est hic doloremque sit fugit laboriosam."], ["created_at", "2014-09-26 16:47:55.923621"], ["name", "magnam_illo_voluptas"], ["title", "Libero aut in"], ["updated_at", "2014-09-26 16:47:55.923621"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.930161"], ["updated_at", "2014-09-26 16:47:55.930161"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.931704"], ["updated_at", "2014-09-26 16:47:55.931704"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et quos eos magnam. Nemo officia ut quia et et. Dolor odit atque necessitatibus consequatur quidem.\\nMinus error cupiditate ipsa quia earum aut dolores. Distinctio asperiores in expedita tenetur. Voluptatum repellat iusto. Provident eius quidem sed id tenetur et et.\\nDeleniti molestias blanditiis aliquam sint neque reiciendis officiis. Doloribus laboriosam amet nisi quo doloremque ratione. Sed fugiat molestiae perspiciatis et et commodi."], ["created_at", "2014-09-26 16:47:55.933833"], ["name", "aspernatur_temporibus_ut"], ["title", "Harum inventore quisquam"], ["updated_at", "2014-09-26 16:47:55.933833"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aspernatur_temporibus_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'aspernatur_temporibus_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 16:47:55.936932"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.942634"], ["updated_at", "2014-09-26 16:47:55.942634"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.944569"], ["updated_at", "2014-09-26 16:47:55.944569"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui velit voluptates. Molestiae ad autem nesciunt ipsum consequatur blanditiis. Cum sit natus qui quibusdam corporis at.\\nDucimus voluptatem molestias alias maiores est saepe. Ab nostrum ea molestias possimus voluptatem corrupti. Temporibus distinctio ducimus. Nobis rerum tempore dolorem non praesentium quisquam molestiae.\\nIpsum omnis architecto et rerum quas error eos. Distinctio sunt esse mollitia dolorem ut odio. Dignissimos quod facilis sit ut quia. Asperiores velit assumenda fugiat qui ut. In consequatur fuga."], ["created_at", "2014-09-26 16:47:55.946984"], ["name", "fuga_maxime_ut"], ["title", "Qui aut error"], ["updated_at", "2014-09-26 16:47:55.946984"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.952255"], ["updated_at", "2014-09-26 16:47:55.952255"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.953766"], ["updated_at", "2014-09-26 16:47:55.953766"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Temporibus saepe mollitia. Dolor asperiores eos sit deleniti. Id odit ipsa inventore ipsum. Impedit culpa eligendi labore eaque autem voluptas. Odit reiciendis quisquam.\\nQuidem odio minus sequi. Culpa et ipsam. Quidem nihil nobis doloremque et recusandae. Nemo rerum reprehenderit sed doloribus et qui voluptatum.\\nIure iste est doloremque sit fuga unde explicabo. Sit incidunt ut. Blanditiis autem accusantium placeat. Explicabo ut placeat culpa nulla veniam molestiae. Explicabo possimus aspernatur inventore maxime voluptas accusamus."], ["created_at", "2014-09-26 16:47:55.956069"], ["name", "harum_autem_laboriosam"], ["title", "Quae enim labore"], ["updated_at", "2014-09-26 16:47:55.956069"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "harum_autem_laboriosam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'harum_autem_laboriosam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:47:55.959163"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.964088"], ["updated_at", "2014-09-26 16:47:55.964088"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.965784"], ["updated_at", "2014-09-26 16:47:55.965784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Error eligendi autem rerum et id sit. Voluptatem consectetur totam aut voluptate. Temporibus error voluptatem. Dolorem temporibus enim.\\nQuos sunt doloremque laudantium eum labore ut possimus. Sint consequatur neque sint vero dolorem et et. Eos reprehenderit praesentium.\\nMagnam incidunt quisquam fugiat a earum ullam sit. Iusto enim quia libero aut eum quia ipsum. Tempora veritatis consequatur quia rerum ea accusantium. Molestiae excepturi beatae ea error quae fugit quisquam. Exercitationem beatae qui."], ["created_at", "2014-09-26 16:47:55.968016"], ["name", "deleniti_sint_qui"], ["title", "Et soluta nesciunt"], ["updated_at", "2014-09-26 16:47:55.968016"]]  (3.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_sint_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'deleniti_sint_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 16:47:55.973882"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_sint_qui"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 16:47:55.979473"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.983863"], ["updated_at", "2014-09-26 16:47:55.983863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.985358"], ["updated_at", "2014-09-26 16:47:55.985358"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sequi voluptatem et et placeat molestiae illum. Mollitia voluptatum quidem esse saepe eos. Quos doloremque est rerum qui incidunt itaque nam. Laboriosam quas numquam a voluptates. Perspiciatis explicabo est a magni ut accusamus id.\\nQuos corrupti officiis. Aut ut et a blanditiis. Quia quasi quo consequatur qui dolorum sed.\\nVoluptatem ab ad quia asperiores esse. Neque suscipit voluptates reprehenderit quam qui repellendus. Mollitia totam est quasi."], ["created_at", "2014-09-26 16:47:55.987494"], ["name", "placeat_odio_et"], ["title", "Aliquid animi quos"], ["updated_at", "2014-09-26 16:47:55.987494"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.991501"], ["updated_at", "2014-09-26 16:47:55.991501"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.992949"], ["updated_at", "2014-09-26 16:47:55.992949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est laudantium vero. Dolorem modi ea non. Amet exercitationem expedita et nam quibusdam dolor doloremque.\\nConsequatur recusandae est vel dignissimos explicabo sed. Ut labore modi vel saepe et veniam quidem. Provident odio corporis recusandae. Repellat minus cum ipsam et aliquid cupiditate.\\nEst beatae eligendi. Deleniti distinctio et impedit rem deserunt vel. Est esse facere molestiae autem voluptatem numquam harum. Aut reprehenderit molestiae aut. Velit et necessitatibus perferendis sequi magnam eos."], ["created_at", "2014-09-26 16:47:55.995059"], ["name", "quos_voluptas_qui"], ["title", "Voluptatem beatae tenetur"], ["updated_at", "2014-09-26 16:47:55.995059"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:55.998879"], ["updated_at", "2014-09-26 16:47:55.998879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.000336"], ["updated_at", "2014-09-26 16:47:56.000336"]]  (5.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cumque quia culpa magnam numquam laborum totam dicta. Natus sit et fugit et laborum quis. Soluta similique omnis quis rerum quisquam iure. Est reiciendis rem sapiente similique odio doloremque autem.\\nPerspiciatis dolores sed et aut deserunt. Libero nobis est provident repellendus sit. Vitae velit modi commodi ut rerum quo dolores.\\nVelit quo nihil. Consequatur ab tenetur et ut. Ipsam error minus harum eligendi magni minima."], ["created_at", "2014-09-26 16:47:56.006991"], ["name", "sint_natus_aut"], ["title", "Minus quia qui"], ["updated_at", "2014-09-26 16:47:56.006991"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.011833"], ["updated_at", "2014-09-26 16:47:56.011833"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.013379"], ["updated_at", "2014-09-26 16:47:56.013379"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est vero aut amet. Reiciendis impedit rerum provident tenetur. Rerum itaque ad ratione nemo.\\nModi sunt qui nostrum autem neque at. Exercitationem modi repellat blanditiis. Minima natus et ut accusamus fugit voluptatem.\\nQuibusdam cumque tempore eligendi necessitatibus molestias dolorum. Alias ad soluta nemo rerum. Animi sapiente accusantium eum sed dolorum dolorem. Cupiditate sapiente enim soluta aut aliquid recusandae. Magni reprehenderit in consequatur dolorem quam dolorem."], ["created_at", "2014-09-26 16:47:56.015469"], ["name", "sit_aut_sapiente"], ["title", "Velit natus molestiae"], ["updated_at", "2014-09-26 16:47:56.015469"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 7, 5, 3, 1, 26, 29, 22, 8, 6, 4, 2, 21, 32, 9, 14, 12, 30, 31, 15, 23, 19, 20, 28, 10, 33, 17, 13, 34, 35, 11, 36, 25, 24, 18) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.028828"], ["updated_at", "2014-09-26 16:47:56.028828"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.031055"], ["updated_at", "2014-09-26 16:47:56.031055"]]  (8.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non provident voluptatem sint aliquid. Ea et et culpa fugiat quos. Exercitationem harum saepe voluptas aut optio fugit.\\nNesciunt non numquam consequuntur est quia sint excepturi. Molestiae ea est eum consequatur. Vitae necessitatibus voluptatem exercitationem corporis. Non beatae quibusdam amet natus. Blanditiis id laudantium est.\\nAut eveniet et. Delectus quia quia unde tempora est. Laboriosam distinctio dicta provident asperiores omnis. Voluptatem optio et excepturi dolorum. Consectetur aliquid ea."], ["created_at", "2014-09-26 16:47:56.042101"], ["name", "magnam_voluptate_rem"], ["title", "Est ad dolore"], ["updated_at", "2014-09-26 16:47:56.042101"]]  (3.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.050385"], ["updated_at", "2014-09-26 16:47:56.050385"]]  (6.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.057959"], ["updated_at", "2014-09-26 16:47:56.057959"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.063410"], ["updated_at", "2014-09-26 16:47:56.063410"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:47:56.065081"], ["updated_at", "2014-09-26 16:47:56.065081"]]  (6.3ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et dolorem quis tenetur. Ducimus nihil magnam illum. Deleniti ipsam iure qui eum repellendus maxime.\\nVelit voluptates ut id enim tempore. Aut ut est aut. Dolores nihil quo molestias nulla ipsam ex sit.\\nAmet qui omnis. Aut et excepturi. Doloremque dolorem tenetur officia et voluptates voluptate."], ["created_at", "2014-09-26 16:47:56.075327"], ["name", "ea_illo_dignissimos"], ["title", "Est doloribus reprehenderit"], ["updated_at", "2014-09-26 16:47:56.075327"]]  (4.0ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_illo_dignissimos"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'ea_illo_dignissimos') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 16:47:56.083695"], ["version", 1]]  (6.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_illo_dignissimos"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_illo_dignissimos"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 16:47:56.094804"], ["version", nil]]  (6.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_suscipit_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolor_suscipit_quis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quaerat excepturi ad. Voluptatibus quo sit nemo consequatur blanditiis sit. Perspiciatis qui aut mollitia sit aut et illum. Consequuntur dolor qui ut enim quia qui. Odio dolorem dicta quasi.\\nSit expedita unde in quia. Ab repudiandae placeat aspernatur fugiat. Et quia qui ipsum sunt incidunt. Qui aperiam sit odit vitae ex.\\nEt voluptatem omnis dolore dolor minus quod. Ullam et qui. Occaecati cum consequuntur. Sed et est voluptas tempore. Aperiam eligendi recusandae rerum fugit numquam id."], ["created_at", "2014-09-26 16:47:56.106247"], ["name", "dolor_suscipit_quis"], ["title", "Repellat rerum neque"], ["updated_at", "2014-09-26 16:47:56.106247"], ["version", 1]]  (8.5ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'dolor_suscipit_quis' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (5.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quaerat excepturi ad. Voluptatibus quo sit nemo consequatur blanditiis sit. Perspiciatis qui aut mollitia sit aut et illum. Consequuntur dolor qui ut enim quia qui. Odio dolorem dicta quasi.\\nSit expedita unde in quia. Ab repudiandae placeat aspernatur fugiat. Et quia qui ipsum sunt incidunt. Qui aperiam sit odit vitae ex.\\nEt voluptatem omnis dolore dolor minus quod. Ullam et qui. Occaecati cum consequuntur. Sed et est voluptas tempore. Aperiam eligendi recusandae rerum fugit numquam id."], ["created_at", "2014-09-26 16:47:56.117547"], ["name", "dolor_suscipit_quis"], ["title", "Repellat rerum neque"], ["updated_at", "2014-09-26 16:47:56.117547"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_suscipit_quis"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'dolor_suscipit_quis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-26 16:47:56.128061"], ["version", 2]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reiciendis occaecati quia aperiam rerum aut quis. Voluptas corrupti doloremque. Saepe alias neque omnis. Officia natus fugiat perferendis suscipit vitae eligendi architecto. Similique voluptate fugit ut repudiandae sit alias.\\nMagnam suscipit veniam. Voluptas illo voluptas omnis officia cumque error provident. Illum est voluptatem et veritatis autem ut.\\nIpsam in eligendi. Rerum molestiae dolor in omnis nobis qui. Dolorem numquam ut repudiandae pariatur. Molestiae at et ex dolore occaecati."], ["created_at", "2014-09-26 16:47:56.134441"], ["name", "hic_minus_fugit"], ["title", "Aut ut doloremque"], ["updated_at", "2014-09-26 16:47:56.134441"]]  (3.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "hic_minus_fugit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'hic_minus_fugit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 16:47:56.140249"], ["version", 1]]  (6.3ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_non_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aliquam_non_accusantium') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Magni mollitia minus quidem. Et dolor praesentium. Tenetur consequatur est nisi.\\nRecusandae vel quam in consectetur nam delectus explicabo. Aliquid similique laboriosam et. Earum sapiente quia enim est. Enim omnis excepturi consequatur soluta corporis. Accusamus nam totam qui incidunt quis sed porro.\\nQuia deserunt unde veritatis enim earum reprehenderit. Hic quam ut ullam. Ea et quia ex. Nihil rerum voluptates unde aut blanditiis impedit. Quia sunt qui numquam aut."], ["created_at", "2014-09-26 16:47:56.152905"], ["name", "aliquam_non_accusantium"], ["title", "Quibusdam id sit"], ["updated_at", "2014-09-26 16:47:56.152905"], ["version", 1]]  (3.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'aliquam_non_accusantium' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magni mollitia minus quidem. Et dolor praesentium. Tenetur consequatur est nisi.\\nRecusandae vel quam in consectetur nam delectus explicabo. Aliquid similique laboriosam et. Earum sapiente quia enim est. Enim omnis excepturi consequatur soluta corporis. Accusamus nam totam qui incidunt quis sed porro.\\nQuia deserunt unde veritatis enim earum reprehenderit. Hic quam ut ullam. Ea et quia ex. Nihil rerum voluptates unde aut blanditiis impedit. Quia sunt qui numquam aut."], ["created_at", "2014-09-26 16:47:56.159292"], ["name", "joe"], ["title", "Quibusdam id sit"], ["updated_at", "2014-09-26 16:47:56.159292"]]  (69.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 16:47:56.232177"], ["version", 1]]  (0.6ms) commit transaction  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit et animi quae. Consequatur quaerat dignissimos qui quidem. Temporibus eum perspiciatis.\\nEst deleniti quis odio nihil sapiente commodi. Repudiandae alias modi quo. Sed non sequi aut eos blanditiis quas occaecati. Et vel deleniti consequatur sint natus beatae.\\nArchitecto dolor asperiores quia libero qui. Ut quod atque consequatur velit. Dignissimos molestiae ut est ipsum reiciendis ipsam. Sed impedit voluptate enim sapiente inventore dolor."], ["created_at", "2014-09-26 16:48:15.549121"], ["name", "illo_assumenda_laudantium"], ["title", "Similique omnis veniam"], ["updated_at", "2014-09-26 16:48:15.549121"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "accusamus_quia_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'accusamus_quia_aut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quae ipsum hic quia accusantium quia. Dolor laudantium inventore est eveniet. Magnam ea inventore. Possimus ipsam sequi tempore.\\nVelit rerum est ea laborum est aut. Necessitatibus rerum cupiditate dolor adipisci distinctio. Dolore molestiae sunt repellat.\\nHic sit aut eaque aliquid officia. Quis itaque unde consectetur consequatur et ad. Et eaque doloribus ex saepe repellendus iste aliquam. Ex expedita eveniet reprehenderit consequatur doloribus sequi."], ["created_at", "2014-09-26 16:48:15.570041"], ["name", "accusamus_quia_aut"], ["title", "Ipsam itaque laudantium"], ["updated_at", "2014-09-26 16:48:15.570041"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ut_incidunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_ut_incidunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed eius sint. Beatae qui reprehenderit officiis ipsa corrupti dicta qui. Consequatur est consequatur et omnis quasi perspiciatis. Ut necessitatibus ut velit officia quia tempora.\\nExpedita pariatur voluptas omnis. Aperiam velit accusantium eum eligendi vel recusandae sunt. Similique adipisci neque id nostrum et aut cupiditate. Nulla deleniti ratione unde voluptas sit quis. Fugiat et voluptatibus quae dolores repellendus tempore distinctio.\\nOmnis illo inventore asperiores. Veniam fuga inventore cum nihil et consequatur voluptatem. Ea autem est at qui."], ["created_at", "2014-09-26 16:48:15.586070"], ["name", "ut_ut_incidunt"], ["title", "Distinctio qui eos"], ["updated_at", "2014-09-26 16:48:15.586070"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ut_ut_incidunt' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed eius sint. Beatae qui reprehenderit officiis ipsa corrupti dicta qui. Consequatur est consequatur et omnis quasi perspiciatis. Ut necessitatibus ut velit officia quia tempora.\\nExpedita pariatur voluptas omnis. Aperiam velit accusantium eum eligendi vel recusandae sunt. Similique adipisci neque id nostrum et aut cupiditate. Nulla deleniti ratione unde voluptas sit quis. Fugiat et voluptatibus quae dolores repellendus tempore distinctio.\\nOmnis illo inventore asperiores. Veniam fuga inventore cum nihil et consequatur voluptatem. Ea autem est at qui."], ["created_at", "2014-09-26 16:48:15.590542"], ["name", "joe"], ["title", "Distinctio qui eos"], ["updated_at", "2014-09-26 16:48:15.590542"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 16:48:15.593753"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est omnis quia corrupti eligendi eaque commodi. Blanditiis quam deleniti. Quod voluptatem dolorem. Id tenetur quis qui. Ut et sit tempora vel recusandae excepturi.\\nAperiam iure reprehenderit magnam. Nobis quae ut enim nemo quia beatae autem. Hic facilis deserunt dolorem dolorum odit saepe est.\\nMagni ratione excepturi. Tempore dolorum odit quae qui cupiditate voluptatum. Blanditiis sit at. Quae similique dolores consequatur ullam ducimus enim nostrum."], ["created_at", "2014-09-26 16:48:15.598045"], ["name", "magnam_quos_suscipit"], ["title", "Qui natus nihil"], ["updated_at", "2014-09-26 16:48:15.598045"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_quos_suscipit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'magnam_quos_suscipit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 16:48:15.601278"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.605980"], ["updated_at", "2014-09-26 16:48:15.605980"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 16:48:15.606693"], ["updated_at", "2014-09-26 16:48:15.606693"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'magnam_quos_suscipit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_quos_suscipit"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Recusandae sapiente laborum perferendis. Laboriosam a consequatur non. Ad eius necessitatibus sit dolorem voluptatem reiciendis. Sit provident consequatur dolore iure soluta asperiores. Ea molestiae voluptates quod autem magni quam.\\nEos non consequatur ipsum error. Facere ullam alias ipsum. Iure libero voluptas laudantium distinctio voluptatibus amet omnis. Ullam consequatur placeat est voluptatem in. Eos ipsam eum cupiditate quia minus reprehenderit.\\nEt eos blanditiis. Autem esse veniam voluptates praesentium velit. Non accusantium eum doloribus facilis. Eos a quaerat beatae maxime eos laborum. Aliquam eos laudantium corrupti voluptatem in minus sit."], ["created_at", "2014-09-26 16:48:15.618665"], ["name", "repellendus_adipisci_earum"], ["title", "Vero alias dignissimos"], ["updated_at", "2014-09-26 16:48:15.618665"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellendus_adipisci_earum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'repellendus_adipisci_earum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:48:15.623195"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellendus_adipisci_earum"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellendus_adipisci_earum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 16:48:15.629146"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_possimus_deleniti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'pariatur_possimus_deleniti') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias dolorum totam dolorem. Ut incidunt distinctio magni suscipit reiciendis quia. Iure aspernatur ut.\\nMolestias ut rerum in. Laborum voluptatem ab. Ipsum dolorem saepe.\\nNesciunt aliquam a est ut soluta rerum. Dolor ducimus impedit rem quis cum natus. Et mollitia cumque quod corrupti beatae rerum deserunt. Consequuntur ut ab eum voluptas."], ["created_at", "2014-09-26 16:48:15.634628"], ["name", "pariatur_possimus_deleniti"], ["title", "Pariatur quis est"], ["updated_at", "2014-09-26 16:48:15.634628"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'pariatur_possimus_deleniti' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestias dolorum totam dolorem. Ut incidunt distinctio magni suscipit reiciendis quia. Iure aspernatur ut.\\nMolestias ut rerum in. Laborum voluptatem ab. Ipsum dolorem saepe.\\nNesciunt aliquam a est ut soluta rerum. Dolor ducimus impedit rem quis cum natus. Et mollitia cumque quod corrupti beatae rerum deserunt. Consequuntur ut ab eum voluptas."], ["created_at", "2014-09-26 16:48:15.637509"], ["name", "pariatur_possimus_deleniti"], ["title", "Pariatur quis est"], ["updated_at", "2014-09-26 16:48:15.637509"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_possimus_deleniti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'pariatur_possimus_deleniti') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 16:48:15.640726"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius eum amet commodi quae rerum magnam. Enim magnam nisi debitis qui. Aliquam quis aspernatur repellendus beatae. Quis sed eius quaerat sint consequuntur voluptate qui.\\nId qui error praesentium. Praesentium numquam dolor. Dicta eos assumenda laborum. Et dolorum aspernatur possimus inventore facere culpa excepturi. Excepturi eum ea.\\nSunt molestiae beatae inventore quaerat vitae labore qui. Quasi sit accusamus praesentium repellendus. Totam earum suscipit fugiat consequatur quaerat magnam. Suscipit tenetur facere. Sed impedit eum."], ["created_at", "2014-09-26 16:48:15.657141"], ["name", "alpha"], ["title", "Id ut aut"], ["updated_at", "2014-09-26 16:48:15.657141"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Similique vitae porro quis fugit dolorem. Sint dignissimos placeat et sit. Id molestiae hic. Temporibus enim id minima quidem aliquid ut repellat.\\nAut iure facere incidunt assumenda eos. Adipisci corrupti culpa pariatur quo eum. Dolorem quisquam rerum ea.\\nNisi accusantium dolore consequatur doloremque quo ullam. Soluta perspiciatis magni recusandae eos enim autem. Sed laboriosam amet laudantium repudiandae ducimus exercitationem voluptas. Error placeat repellendus."], ["created_at", "2014-09-26 16:48:15.662377"], ["name", "beta"], ["title", "Odio et quaerat"], ["updated_at", "2014-09-26 16:48:15.662377"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.664084"], ["updated_at", "2014-09-26 16:48:15.664084"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.666931"], ["updated_at", "2014-09-26 16:48:15.666931"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 16:48:15.667429"], ["updated_at", "2014-09-26 16:48:15.667429"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.670162"], ["updated_at", "2014-09-26 16:48:15.670162"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 16:48:15.670677"], ["updated_at", "2014-09-26 16:48:15.670677"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:15.672853"], ["name", "alpha"], ["title", "Id ut aut"], ["updated_at", "2014-09-26 16:48:15.672853"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 16:48:15.675846"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quos repudiandae cumque quidem. Aut mollitia vero velit nihil dignissimos totam eos. Facilis optio qui velit ut et. Sunt enim natus aliquid.\\nDolorem minus eveniet illo dolorum. Rerum odit corporis consequuntur voluptatem voluptate blanditiis in. Molestias quas sequi in est.\\nUt non reprehenderit. Dolorem dolor unde modi alias eum. Temporibus consequatur quod sint. Adipisci et praesentium perspiciatis itaque reprehenderit perferendis."], ["created_at", "2014-09-26 16:48:15.681896"], ["name", "alpha"], ["title", "Ratione sint voluptatem"], ["updated_at", "2014-09-26 16:48:15.681896"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Pariatur libero et qui repellendus est. Voluptatem ut odit qui quo hic voluptatem. Repudiandae ut a.\\nNulla harum ut debitis sit non rerum perferendis. Aut autem aut ipsam aut ab. Aperiam eos saepe perferendis fugit quis dignissimos nulla.\\nEa omnis veniam. Voluptatibus illum aliquid. Iusto voluptates voluptas perspiciatis."], ["created_at", "2014-09-26 16:48:15.685692"], ["name", "beta"], ["title", "Porro voluptas accusantium"], ["updated_at", "2014-09-26 16:48:15.685692"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.687344"], ["updated_at", "2014-09-26 16:48:15.687344"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.690148"], ["updated_at", "2014-09-26 16:48:15.690148"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 16:48:15.690660"], ["updated_at", "2014-09-26 16:48:15.690660"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.693246"], ["updated_at", "2014-09-26 16:48:15.693246"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 16:48:15.694046"], ["updated_at", "2014-09-26 16:48:15.694046"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:15.696677"], ["name", "alpha"], ["title", "Ratione sint voluptatem"], ["updated_at", "2014-09-26 16:48:15.696677"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 16:48:15.699827"], ["version", 4]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (2, 14, 13, 4, 5, 8, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquid nostrum ratione minima dolores at blanditiis. Atque eos laborum. Sit ut quaerat rerum nostrum.\\nQuasi est distinctio. Sequi tempora eum laborum mollitia dolor alias. Rerum ipsam recusandae vel. Corporis consequatur voluptatem sit ea.\\nId cumque nam. Asperiores illo eum. Quia quisquam voluptatem suscipit numquam necessitatibus distinctio possimus. Velit id quod laudantium."], ["created_at", "2014-09-26 16:48:15.709650"], ["name", "alpha"], ["title", "Itaque culpa enim"], ["updated_at", "2014-09-26 16:48:15.709650"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor perspiciatis sunt expedita ullam quo. Minima saepe omnis illum voluptas amet fugit. Eum id omnis cumque fugit minus nostrum temporibus.\\nQuaerat non quisquam repellendus qui minima ipsum. Quia adipisci et numquam aut nulla sequi. Ex laborum incidunt ut voluptates et.\\nDeleniti sed esse ipsum animi iusto itaque. Est omnis et autem. Quod rem provident asperiores. Inventore aut necessitatibus illum. Velit rerum fugit provident adipisci officia et."], ["created_at", "2014-09-26 16:48:15.713476"], ["name", "beta"], ["title", "Maiores est tempore"], ["updated_at", "2014-09-26 16:48:15.713476"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.715028"], ["updated_at", "2014-09-26 16:48:15.715028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.717747"], ["updated_at", "2014-09-26 16:48:15.717747"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 16:48:15.718253"], ["updated_at", "2014-09-26 16:48:15.718253"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.720802"], ["updated_at", "2014-09-26 16:48:15.720802"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 16:48:15.721399"], ["updated_at", "2014-09-26 16:48:15.721399"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:15.723588"], ["name", "alpha"], ["title", "Itaque culpa enim"], ["updated_at", "2014-09-26 16:48:15.723588"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 16:48:15.726556"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id autem vel magni facilis reprehenderit. Et quos reiciendis facilis qui. Perspiciatis quo maiores molestiae dolorem ut occaecati. Nihil cupiditate ipsa.\\nUt autem rerum quibusdam qui cum cumque dolores. Pariatur quisquam et vel omnis quas repudiandae modi. Itaque hic ut.\\nMinima non quasi amet. Repudiandae laudantium aspernatur rerum nam totam. Dicta tenetur deserunt aut. Dolores vitae fugit voluptatum voluptates officiis."], ["created_at", "2014-09-26 16:48:15.734361"], ["name", "alpha"], ["title", "Reiciendis voluptatibus veritatis"], ["updated_at", "2014-09-26 16:48:15.734361"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quo dolorem incidunt vel amet. Veritatis vero et eos cumque eveniet. Optio dolor molestiae aut voluptas officia omnis odit.\\nTempora numquam et nihil beatae. Nihil repellat porro incidunt animi. Explicabo exercitationem rerum non quam quis.\\nTempora magnam aut. Sed id sint a sapiente. Ut ut iure nesciunt. Et quis repellendus voluptates est. Enim expedita amet non non dolorum vel fugit."], ["created_at", "2014-09-26 16:48:15.738267"], ["name", "beta"], ["title", "Excepturi culpa deleniti"], ["updated_at", "2014-09-26 16:48:15.738267"], ["version", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.740006"], ["updated_at", "2014-09-26 16:48:15.740006"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.743429"], ["updated_at", "2014-09-26 16:48:15.743429"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 16:48:15.744094"], ["updated_at", "2014-09-26 16:48:15.744094"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:15.746907"], ["updated_at", "2014-09-26 16:48:15.746907"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 16:48:15.747441"], ["updated_at", "2014-09-26 16:48:15.747441"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:15.749652"], ["name", "alpha"], ["title", "Reiciendis voluptatibus veritatis"], ["updated_at", "2014-09-26 16:48:15.749652"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:48:15.752719"], ["version", 8]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (20, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi quibusdam possimus corporis non excepturi ipsum mollitia. Qui sed tempora omnis ipsum est. Et molestiae a iure quia ut temporibus. Eos aut ratione aut.\\nSequi porro est vero aut natus qui corporis. Minus ea modi earum ut architecto. Quia dolor eos ullam ut. Aut tempora est.\\nHarum praesentium voluptatum voluptatem. Ex mollitia minus nisi error. Quaerat amet magni recusandae."], ["created_at", "2014-09-26 16:48:44.114880"], ["name", "laborum_quia_sed"], ["title", "Dolor est dolores"], ["updated_at", "2014-09-26 16:48:44.114880"]]  (1.4ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_inventore_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_inventore_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint perferendis dignissimos expedita. Et quis ut voluptate ab ullam delectus et. Ut eveniet excepturi alias aut a recusandae.\\nRepellat repudiandae ipsam deleniti nulla mollitia unde. Iusto voluptatum repudiandae fuga soluta velit alias. Distinctio aut minima aspernatur praesentium. Nulla consequatur vel quo.\\nVoluptas nisi vero. Ipsa repellendus possimus voluptatem repellat. Quo est doloribus est qui. Officia at nam est dolor dolorum. Reprehenderit sit quas nulla est."], ["created_at", "2014-09-26 16:48:44.137990"], ["name", "qui_inventore_ut"], ["title", "Eius error nobis"], ["updated_at", "2014-09-26 16:48:44.137990"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.150528"], ["updated_at", "2014-09-26 16:48:44.150528"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.152398"], ["updated_at", "2014-09-26 16:48:44.152398"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut porro culpa voluptas reiciendis. Exercitationem omnis dolores occaecati. Minima aut saepe voluptates aut. A sint magni eum quo cupiditate.\\nVel ut voluptatibus voluptatem aut. Aut odit in illum ut reiciendis. Voluptatem voluptatem natus cum quos voluptate. Natus facere odit distinctio quasi. Nemo harum dolorum non non omnis.\\nOdio facere ducimus consequatur amet. Fugiat consequatur voluptatem. Officia nulla nihil. Repellendus optio reiciendis aut."], ["created_at", "2014-09-26 16:48:44.155352"], ["name", "maxime_consequatur_atque"], ["title", "Sunt hic laboriosam"], ["updated_at", "2014-09-26 16:48:44.155352"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_consequatur_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'maxime_consequatur_atque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 16:48:44.159494"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_consequatur_atque"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 16:48:44.167773"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.173003"], ["updated_at", "2014-09-26 16:48:44.173003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.174655"], ["updated_at", "2014-09-26 16:48:44.174655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Commodi sit esse harum velit. Iusto sint ut. Ut distinctio culpa et eveniet adipisci.\\nDucimus odio iste molestiae earum sint. Et fugiat nihil vitae voluptates. Repudiandae nihil sit. Reiciendis ullam magnam. Id sunt rem beatae architecto.\\nPossimus alias tempora rerum sapiente. Eius ipsa dolorum voluptas esse dolor rerum. Iusto earum veniam."], ["created_at", "2014-09-26 16:48:44.177029"], ["name", "vero_accusamus_culpa"], ["title", "Ullam quia nisi"], ["updated_at", "2014-09-26 16:48:44.177029"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.188346"], ["updated_at", "2014-09-26 16:48:44.188346"]]  (0.7ms) commit transaction  (0.3ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.190456"], ["updated_at", "2014-09-26 16:48:44.190456"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quasi est dolor neque asperiores. Sit explicabo nesciunt aspernatur et ut rerum similique. Cum eveniet et illum corporis enim ipsa. Voluptas vel voluptatum provident. Libero est sit non.\\nQuos sed cumque voluptas. Iste nulla illum. Assumenda sunt quia molestiae commodi explicabo eum perspiciatis. Enim quia eius accusantium eum.\\nEt fuga eius est eligendi magnam. Provident modi ut sunt impedit aut debitis. Dolorum sit rem eos."], ["created_at", "2014-09-26 16:48:44.192968"], ["name", "voluptatibus_optio_qui"], ["title", "Consequatur aliquid ab"], ["updated_at", "2014-09-26 16:48:44.192968"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatibus_optio_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'voluptatibus_optio_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.4ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 16:48:44.196249"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.203728"], ["updated_at", "2014-09-26 16:48:44.203728"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.205504"], ["updated_at", "2014-09-26 16:48:44.205504"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt officiis voluptatem aliquam rem qui vitae. Provident dolorem perferendis aut recusandae ipsam. Exercitationem dolore adipisci dolorem. Ex neque alias dicta dolores sed. Distinctio dolorem quas.\\nPariatur minus vel rerum quis natus dolorem. Et non commodi. Placeat minus omnis et pariatur nulla nesciunt vitae. Nobis accusantium iure aspernatur cum nulla porro omnis.\\nSed ut nihil natus sed. Sint necessitatibus et dolor quasi doloremque libero. Et natus ex provident praesentium vitae commodi cumque."], ["created_at", "2014-09-26 16:48:44.207985"], ["name", "aut_ipsam_iste"], ["title", "Fuga quos perspiciatis"], ["updated_at", "2014-09-26 16:48:44.207985"]]  (2.0ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:48:44.213824"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:48:44.213824"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.219275"], ["updated_at", "2014-09-26 16:48:44.219275"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.221122"], ["updated_at", "2014-09-26 16:48:44.221122"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Necessitatibus incidunt voluptatem numquam excepturi animi. Ut iste nostrum. Necessitatibus doloremque et. Atque voluptatem occaecati ut et exercitationem non culpa.\\nSapiente tempore eum est porro qui. Sed placeat soluta voluptate dolore autem. Doloremque hic fuga voluptatem aut debitis sapiente. Itaque voluptates non.\\nMaxime consequatur rem asperiores. Rerum maiores et et molestiae earum est adipisci. Voluptatem illo aut et corporis ex impedit optio. Dolore est reprehenderit eaque odit. Deleniti molestias quos."], ["created_at", "2014-09-26 16:48:44.224476"], ["name", "et_ipsam_sed"], ["title", "Omnis nulla nobis"], ["updated_at", "2014-09-26 16:48:44.224476"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 8, 1, 3, 2, 7, 4, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.235636"], ["updated_at", "2014-09-26 16:48:44.235636"]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.239212"], ["updated_at", "2014-09-26 16:48:44.239212"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia quae molestiae. Et rerum error exercitationem. Dolorum temporibus quo magni sit minus.\\nOdit eum ab aliquam doloremque amet. Sed aut maxime. Amet incidunt rerum quia dolores.\\nIn et quas perferendis non dolor tempora molestiae. Rerum excepturi repellat aut voluptatem nihil ratione. Debitis soluta et voluptas aut est. Qui voluptatem id. Ipsum provident eaque itaque."], ["created_at", "2014-09-26 16:48:44.241648"], ["name", "cupiditate_quod_quasi"], ["title", "Repudiandae quaerat accusantium"], ["updated_at", "2014-09-26 16:48:44.241648"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.246861"], ["updated_at", "2014-09-26 16:48:44.246861"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.248333"], ["updated_at", "2014-09-26 16:48:44.248333"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ea est enim. Quasi totam non quis repellendus rerum nihil suscipit. Et laudantium eaque dolorem illum.\\nAut omnis commodi sint repellendus ratione sit laudantium. Perspiciatis corporis doloremque. Et qui vel quos et consectetur deserunt soluta.\\nDoloremque culpa et voluptatibus aut soluta error sapiente. Expedita rerum aut dolorem. Laudantium sed et eveniet vitae ut reprehenderit enim."], ["created_at", "2014-09-26 16:48:44.250397"], ["name", "assumenda_iure_ratione"], ["title", "Iusto veniam possimus"], ["updated_at", "2014-09-26 16:48:44.250397"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.254170"], ["updated_at", "2014-09-26 16:48:44.254170"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.255607"], ["updated_at", "2014-09-26 16:48:44.255607"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Delectus natus voluptas consequatur itaque non rerum. Quis ut odit rerum. Ratione in pariatur voluptas quam non quae consectetur. Amet nobis ut enim.\\nSed fugiat vel perferendis non delectus amet inventore. Ab dolorem velit fuga doloribus voluptatem et. Id dolorum ea autem ducimus nostrum fugiat. Velit iusto aspernatur cumque porro quos numquam accusantium.\\nExercitationem praesentium et et eaque. Vel esse voluptate. Cupiditate vel necessitatibus sapiente quaerat. Quo aspernatur consectetur amet. Eum aut sint ullam enim."], ["created_at", "2014-09-26 16:48:44.257789"], ["name", "maxime_possimus_est"], ["title", "Assumenda consectetur sit"], ["updated_at", "2014-09-26 16:48:44.257789"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.261748"], ["updated_at", "2014-09-26 16:48:44.261748"]]  (3.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.265835"], ["updated_at", "2014-09-26 16:48:44.265835"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est temporibus laboriosam labore praesentium voluptatem eum autem. Sint corrupti laborum ab molestiae et. Sed exercitationem et.\\nUnde rerum voluptatem qui tenetur officiis. Aliquid et occaecati. Quas sit est sint itaque dolorem qui. Enim sequi hic nesciunt impedit ut voluptates fugiat.\\nEum deserunt voluptatem. Voluptatem repudiandae ratione eligendi tempore sed earum. In at non minima et officiis."], ["created_at", "2014-09-26 16:48:44.267991"], ["name", "autem_est_pariatur"], ["title", "Ut nostrum cumque"], ["updated_at", "2014-09-26 16:48:44.267991"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.272653"], ["updated_at", "2014-09-26 16:48:44.272653"]]  (6.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.280214"], ["updated_at", "2014-09-26 16:48:44.280214"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quis inventore iure quaerat tempora. Possimus aperiam quasi aut. Repellendus voluptas eveniet tempore neque recusandae. Error consequatur asperiores libero maxime cumque. Iusto quo et perspiciatis ut facilis recusandae.\\nTempore maiores recusandae ratione aut voluptatem fugiat quae. Sequi consectetur labore maiores aut. Nemo quia sunt animi impedit dolor qui. Deserunt impedit quibusdam eos quod.\\nIllo vel sunt ipsum repellat non. Commodi quia eos dolorem delectus magni quibusdam. Temporibus cum sit at dolorum illo aut non."], ["created_at", "2014-09-26 16:48:44.283076"], ["name", "accusamus_libero_aliquid"], ["title", "Non labore molestiae"], ["updated_at", "2014-09-26 16:48:44.283076"]]  (3.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 13 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:48:44.290310"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/13 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.295216"], ["updated_at", "2014-09-26 16:48:44.295216"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.296793"], ["updated_at", "2014-09-26 16:48:44.296793"]]  (5.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vero ullam nobis quia. Molestiae officiis reiciendis eos. Est quam amet numquam repudiandae praesentium non accusamus. Cupiditate excepturi perferendis libero sunt rerum. Eum quia est et.\\nAut nam pariatur sed id magni. Eius est amet culpa deleniti quisquam. Enim dolorem quidem architecto. Omnis velit minima blanditiis neque.\\nAut rerum minus. Fugiat quod deserunt temporibus aspernatur eos. Assumenda temporibus eaque. Asperiores a illo nihil quibusdam et. Molestiae nemo alias provident dolorum."], ["created_at", "2014-09-26 16:48:44.304396"], ["name", "quia_dolor_autem"], ["title", "Voluptatem magnam labore"], ["updated_at", "2014-09-26 16:48:44.304396"]]  (3.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.312151"], ["updated_at", "2014-09-26 16:48:44.312151"]]  (5.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.319230"], ["updated_at", "2014-09-26 16:48:44.319230"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit vero ut non molestiae dolores et. Quas omnis aut quasi. Error omnis voluptatibus qui eum minus ipsum iure. Veritatis pariatur est et consequatur molestiae at illum. Deserunt eos minus earum odit nesciunt beatae.\\nPerferendis odio aut ipsa qui repellat aut dolorem. Quia aspernatur sit. Sunt ut aliquid.\\nVelit expedita vero tenetur in labore inventore numquam. Cumque illo natus et aut. Dolore nostrum quidem nisi. Sequi amet numquam. Quo aut veritatis repudiandae sit adipisci eum repellat."], ["created_at", "2014-09-26 16:48:44.322002"], ["name", "et_aut_beatae"], ["title", "Architecto odit voluptas"], ["updated_at", "2014-09-26 16:48:44.322002"]]  (28.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_aut_beatae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'et_aut_beatae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 16:48:44.353627"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'et_aut_beatae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.362690"], ["updated_at", "2014-09-26 16:48:44.362690"]]  (5.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.369582"], ["updated_at", "2014-09-26 16:48:44.369582"]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quasi sunt qui ea ipsam iusto ut magnam. Magni a dolores qui id eius. Voluptas tenetur qui incidunt.\\nTempora velit est repellat facere temporibus ea. Odit veniam libero sit maxime quidem qui aperiam. Natus et rerum aperiam. Eaque cumque odit.\\nVoluptas sed non. Perferendis et voluptatem distinctio cum consequatur. Et reiciendis qui vero ducimus."], ["created_at", "2014-09-26 16:48:44.373159"], ["name", "unde_omnis_quibusdam"], ["title", "Repellendus minima sint"], ["updated_at", "2014-09-26 16:48:44.373159"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.378372"], ["updated_at", "2014-09-26 16:48:44.378372"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.379887"], ["updated_at", "2014-09-26 16:48:44.379887"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut natus rerum. Dolorum doloribus velit tenetur sint. Inventore ea delectus consequuntur animi vero impedit culpa. Quidem incidunt nihil voluptate consequatur vel.\\nQuia deleniti consectetur quia. Asperiores necessitatibus amet nulla laudantium beatae. Fugiat quis beatae reprehenderit veniam accusamus.\\nVeritatis ut cumque odio nam consequatur quam. Voluptatem quasi et nam vero eligendi. Rerum porro consequatur. Eum et nemo doloremque earum."], ["created_at", "2014-09-26 16:48:44.381962"], ["name", "quae_ut_nostrum"], ["title", "Laboriosam adipisci asperiores"], ["updated_at", "2014-09-26 16:48:44.381962"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.385961"], ["updated_at", "2014-09-26 16:48:44.385961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.387378"], ["updated_at", "2014-09-26 16:48:44.387378"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In perspiciatis sit assumenda debitis vel. Qui sunt maiores. Aliquam dolor rem ut molestiae nemo.\\nImpedit nam est laudantium veritatis quis assumenda. Aut eligendi ut doloribus dolor nesciunt. Non est voluptates. Facere quibusdam quis.\\nVelit consequatur qui autem sit est soluta est. Saepe fuga enim qui. Possimus minima voluptatem voluptas."], ["created_at", "2014-09-26 16:48:44.389400"], ["name", "facilis_non_qui"], ["title", "Aspernatur possimus inventore"], ["updated_at", "2014-09-26 16:48:44.389400"]]  (2.1ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facilis_non_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'facilis_non_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 16:48:44.395296"], ["version", 1]]  (1.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.401376"], ["updated_at", "2014-09-26 16:48:44.401376"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.403090"], ["updated_at", "2014-09-26 16:48:44.403090"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Inventore et quis. Fuga sunt voluptas amet consequatur est consequatur adipisci. Iure aliquid iusto hic placeat molestiae laborum. Dignissimos esse dicta provident. Ut tenetur omnis ea cumque.\\nRem non corporis unde quos et non blanditiis. Saepe et quas labore enim. Adipisci aut non.\\nAut rerum culpa et et dolor quis expedita. Modi unde iste commodi quisquam tempora aspernatur. Qui magnam quam consequuntur sed. Voluptatem assumenda ut illum voluptatem cum ad et."], ["created_at", "2014-09-26 16:48:44.405442"], ["name", "rerum_laudantium_sed"], ["title", "Deserunt quae sequi"], ["updated_at", "2014-09-26 16:48:44.405442"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.410309"], ["updated_at", "2014-09-26 16:48:44.410309"]]  (7.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.418361"], ["updated_at", "2014-09-26 16:48:44.418361"]]  (4.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestias non qui in porro dolorem. Eius tempore vero sit sequi. Animi ratione dolor quo qui. Omnis ipsam qui aspernatur provident itaque non.\\nSuscipit officia nihil. Repellat facere quos nam sed exercitationem. Aut vel unde quae. Aliquid maiores officia in libero occaecati est pariatur.\\nQuis quia ex. Animi dicta aperiam vel error. Aut dolorem laudantium facilis enim officiis non est. Corporis sit autem perferendis quae."], ["created_at", "2014-09-26 16:48:44.424130"], ["name", "beatae_et_ullam"], ["title", "Animi voluptatem sit"], ["updated_at", "2014-09-26 16:48:44.424130"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beatae_et_ullam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'beatae_et_ullam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 16:48:44.427268"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.432933"], ["updated_at", "2014-09-26 16:48:44.432933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.434406"], ["updated_at", "2014-09-26 16:48:44.434406"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugiat sit sunt. Optio dolorem reprehenderit. Dicta molestias nobis sed ullam molestiae. Accusamus atque consequuntur qui harum architecto.\\nCum dolores nemo. Exercitationem ipsam ut numquam velit temporibus ex. Atque distinctio harum reiciendis officiis dolorem.\\nIpsum sed ut natus consequatur aut ex voluptas. Quod perferendis porro. Minima possimus aut enim."], ["created_at", "2014-09-26 16:48:44.436645"], ["name", "ea_dolore_quis"], ["title", "Excepturi quidem omnis"], ["updated_at", "2014-09-26 16:48:44.436645"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 21]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 21]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 21 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.444155"], ["updated_at", "2014-09-26 16:48:44.444155"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.445506"], ["updated_at", "2014-09-26 16:48:44.445506"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.449718"], ["updated_at", "2014-09-26 16:48:44.449718"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.451802"], ["updated_at", "2014-09-26 16:48:44.451802"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.455550"], ["updated_at", "2014-09-26 16:48:44.455550"]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.459080"], ["updated_at", "2014-09-26 16:48:44.459080"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "porro_consequatur_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'porro_consequatur_consequatur') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quis et vitae necessitatibus consequatur. Dolor impedit accusantium omnis est pariatur. Nulla velit temporibus. Perspiciatis eos labore odio.\\nVero sed nemo et modi adipisci ut animi. Adipisci in nihil quo. Ab ut eius iure consectetur libero.\\nDoloribus rerum rerum delectus non voluptas repellat. Incidunt deserunt natus assumenda cum. Illum rerum alias fugiat sint laudantium provident doloremque."], ["created_at", "2014-09-26 16:48:44.463606"], ["name", "porro_consequatur_consequatur"], ["title", "Neque quam provident"], ["updated_at", "2014-09-26 16:48:44.463606"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.466287"], ["updated_at", "2014-09-26 16:48:44.466287"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 16:48:44.466830"], ["updated_at", "2014-09-26 16:48:44.466830"], ["user_id", 43], ["user_type", "DummyUser"]]  (1.3ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"1"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]  (1.3ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Redirected to http://test.host/fine_print/contracts/22/signatures?r=ZTZSTzNGT0poZXpmMk4xaFl6T3Jpdz09LS0wOC8xVmE3Ry9oWS9lcGQrVW5Ob3h3PT0%3D--667157053ceade12b2eca4d7b88ec57fd6380b38 Completed 302 Found in 196ms (ActiveRecord: 1.8ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.671150"], ["updated_at", "2014-09-26 16:48:44.671150"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.673970"], ["updated_at", "2014-09-26 16:48:44.673970"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_adipisci_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_adipisci_perspiciatis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Blanditiis molestias hic rerum nemo labore sit mollitia. Delectus quam totam atque. Tenetur repellendus autem nihil accusamus.\\nPraesentium minus debitis culpa molestiae assumenda. Illum natus ipsa rerum eos animi. Laudantium ipsa quia rerum.\\nLabore fugiat aut est enim qui debitis ut. Modi corrupti reiciendis eos beatae dignissimos rerum aut. Excepturi non aut quia."], ["created_at", "2014-09-26 16:48:44.678612"], ["name", "voluptatem_adipisci_perspiciatis"], ["title", "Tenetur sapiente consequatur"], ["updated_at", "2014-09-26 16:48:44.678612"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.681581"], ["updated_at", "2014-09-26 16:48:44.681581"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 16:48:44.682152"], ["updated_at", "2014-09-26 16:48:44.682152"], ["user_id", 46], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"23"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"23"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.686322"], ["updated_at", "2014-09-26 16:48:44.686322"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.687881"], ["updated_at", "2014-09-26 16:48:44.687881"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dicta_a_modi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dicta_a_modi') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Natus quas dolore ex laudantium ut iusto. Fuga minima aut et. Unde quo et laborum aliquid. Dolorum praesentium veniam sit. Ea saepe delectus quo sit est.\\nUt et qui placeat porro vel est. Nobis aliquid id accusamus. Facere itaque illo. Sit voluptas labore iusto laboriosam sequi.\\nNumquam et commodi. Fuga exercitationem consequatur officia explicabo sint voluptatum. Error optio corporis numquam. Dolorem incidunt maiores. Velit labore sed laudantium sunt."], ["created_at", "2014-09-26 16:48:44.692213"], ["name", "dicta_a_modi"], ["title", "Eius quaerat tempore"], ["updated_at", "2014-09-26 16:48:44.692213"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.694633"], ["updated_at", "2014-09-26 16:48:44.694633"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 16:48:44.695172"], ["updated_at", "2014-09-26 16:48:44.695172"], ["user_id", 49], ["user_type", "DummyUser"]]  (8.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.709451"], ["updated_at", "2014-09-26 16:48:44.709451"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.711486"], ["updated_at", "2014-09-26 16:48:44.711486"]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ullam_sunt_corporis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ullam_sunt_corporis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sit id possimus. Voluptatem inventore omnis nemo enim libero reiciendis. Earum odio adipisci iusto et suscipit cum.\\nNulla quasi sequi molestias aut et. Similique et voluptatibus. Error velit qui aut necessitatibus. Et voluptas quia. Ipsam minima magnam exercitationem sunt asperiores quaerat.\\nNulla distinctio voluptate quo eos at sed. Est facilis nam ea dolorem quaerat tempora enim. Ea quibusdam debitis vel qui."], ["created_at", "2014-09-26 16:48:44.717721"], ["name", "ullam_sunt_corporis"], ["title", "Doloremque vel aspernatur"], ["updated_at", "2014-09-26 16:48:44.717721"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.720502"], ["updated_at", "2014-09-26 16:48:44.720502"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 16:48:44.721050"], ["updated_at", "2014-09-26 16:48:44.721050"], ["user_id", 52], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"25"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.724853"], ["updated_at", "2014-09-26 16:48:44.724853"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.726304"], ["updated_at", "2014-09-26 16:48:44.726304"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_sunt_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_sunt_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nesciunt deleniti tenetur reprehenderit. Laborum accusamus labore omnis. Qui et cum ad autem rerum eius. Quaerat odit voluptates quia. Quo voluptas nobis qui quia doloremque.\\nNulla itaque asperiores recusandae non in architecto. Eaque non at doloremque asperiores impedit minima molestiae. Quo beatae nam voluptas magni.\\nQuia corrupti labore. Sapiente impedit quibusdam magni. Illum ea et corrupti et ratione sunt ullam."], ["created_at", "2014-09-26 16:48:44.730714"], ["name", "et_sunt_qui"], ["title", "Debitis velit accusamus"], ["updated_at", "2014-09-26 16:48:44.730714"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.733175"], ["updated_at", "2014-09-26 16:48:44.733175"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 16:48:44.733710"], ["updated_at", "2014-09-26 16:48:44.733710"], ["user_id", 55], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.739060"], ["updated_at", "2014-09-26 16:48:44.739060"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.740650"], ["updated_at", "2014-09-26 16:48:44.740650"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_molestiae_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'distinctio_molestiae_enim') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Provident in totam et. Est sit maiores. Aut sunt dolorem quia. Est quod amet harum voluptatem minus.\\nFacilis velit accusantium possimus. Quaerat totam labore. Et fuga sit libero reprehenderit cupiditate aperiam eveniet. Eaque omnis aliquam debitis explicabo magnam vel. Soluta ullam sunt eos rem natus voluptatem.\\nEst dignissimos nulla delectus quaerat. Aspernatur est deleniti optio ipsum. Similique sed sit."], ["created_at", "2014-09-26 16:48:44.745278"], ["name", "distinctio_molestiae_enim"], ["title", "Cumque facere qui"], ["updated_at", "2014-09-26 16:48:44.745278"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.748593"], ["updated_at", "2014-09-26 16:48:44.748593"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 16:48:44.749341"], ["updated_at", "2014-09-26 16:48:44.749341"], ["user_id", 58], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"27"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.753908"], ["updated_at", "2014-09-26 16:48:44.753908"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.755568"], ["updated_at", "2014-09-26 16:48:44.755568"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_atque_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_atque_ut') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem necessitatibus voluptatem doloremque ipsa consequatur. Nihil aut dolorem minus placeat voluptatem ipsa. Optio expedita distinctio veniam.\\nOfficia enim non. Repudiandae quia inventore blanditiis itaque. Eum et et facilis quia. Perspiciatis sunt doloremque autem ipsum tenetur vitae aut.\\nQui eos cumque. Atque cumque consequatur perspiciatis. Voluptatem necessitatibus ut omnis est facere ratione. Voluptatem totam maiores quos repellendus voluptates. Nisi consequatur excepturi."], ["created_at", "2014-09-26 16:48:44.759869"], ["name", "quia_atque_ut"], ["title", "Rerum maxime ea"], ["updated_at", "2014-09-26 16:48:44.759869"], ["version", 1]]  (1.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.763723"], ["updated_at", "2014-09-26 16:48:44.763723"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 16:48:44.764262"], ["updated_at", "2014-09-26 16:48:44.764262"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.769653"], ["updated_at", "2014-09-26 16:48:44.769653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.771115"], ["updated_at", "2014-09-26 16:48:44.771115"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "error_aspernatur_sequi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'error_aspernatur_sequi') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Corrupti voluptatem in et. Placeat ad omnis pariatur qui quam eum. Ut est aspernatur nobis eaque qui.\\nTotam maiores officiis veniam molestiae est mollitia. Autem eius eum ipsa earum modi. Eum magni perferendis ea commodi.\\nOptio ut beatae totam explicabo laborum ea qui. Ut consequuntur sit in. Commodi explicabo corrupti qui. Praesentium repudiandae aut."], ["created_at", "2014-09-26 16:48:44.775710"], ["name", "error_aspernatur_sequi"], ["title", "Eum voluptatem et"], ["updated_at", "2014-09-26 16:48:44.775710"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.778160"], ["updated_at", "2014-09-26 16:48:44.778160"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 16:48:44.778688"], ["updated_at", "2014-09-26 16:48:44.778688"], ["user_id", 64], ["user_type", "DummyUser"]]  (1.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident culpa laboriosam. Saepe minima dolores maxime autem soluta adipisci ut. Et non exercitationem aspernatur quas accusantium id.\\nAutem aspernatur provident libero. Veritatis eum ut debitis sapiente qui. Voluptas blanditiis animi.\\nAliquid dolorum ut consequatur. Voluptatum ut eum. Officiis assumenda fugiat alias. Soluta voluptas vitae illo et incidunt sit recusandae. Aliquam ut voluptas nihil."], ["created_at", "2014-09-26 16:48:44.785375"], ["name", "deleniti_cupiditate_iusto"], ["title", "Assumenda voluptatem magnam"], ["updated_at", "2014-09-26 16:48:44.785375"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_cupiditate_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'deleniti_cupiditate_iusto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-26 16:48:44.788754"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.793624"], ["updated_at", "2014-09-26 16:48:44.793624"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 16:48:44.794190"], ["updated_at", "2014-09-26 16:48:44.794190"], ["user_id", 65], ["user_type", "DummyUser"]]  (3.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'deleniti_cupiditate_iusto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_cupiditate_iusto"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatum labore vero ut id explicabo. Excepturi ut nihil dicta est. Omnis et ea omnis.\\nId doloremque nihil delectus distinctio odit non eaque. Repudiandae quo rerum nisi. Praesentium debitis et officia magni nobis tenetur.\\nRerum dicta et est consectetur. Qui consequatur soluta quos fugit odit ipsa maiores. Itaque et ipsam magnam molestias. Non fugiat et tenetur quia dolor illum. Blanditiis sit aut consequatur optio qui temporibus est."], ["created_at", "2014-09-26 16:48:44.806036"], ["name", "suscipit_nesciunt_at"], ["title", "Doloremque facere consequuntur"], ["updated_at", "2014-09-26 16:48:44.806036"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_nesciunt_at"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'suscipit_nesciunt_at') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:48:44.810470"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_nesciunt_at"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_nesciunt_at"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:48:44.815099"], ["version", nil]]  (5.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_molestias_exercitationem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'similique_molestias_exercitationem') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quasi quia necessitatibus ut. Id nobis inventore adipisci odio ipsa. Exercitationem error quia quo et nisi.\\nVoluptatem odit maiores reiciendis qui reprehenderit quod ipsa. Voluptatum quis modi incidunt distinctio nostrum. Delectus nostrum ut quia non nesciunt amet autem.\\nAsperiores aperiam et neque saepe ea deleniti hic. Voluptas asperiores quia ab porro velit. Corrupti excepturi ducimus aut tempora enim reprehenderit. Labore soluta debitis dolores."], ["created_at", "2014-09-26 16:48:44.825057"], ["name", "similique_molestias_exercitationem"], ["title", "In occaecati aut"], ["updated_at", "2014-09-26 16:48:44.825057"], ["version", 1]]  (22.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'similique_molestias_exercitationem' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et quasi quia necessitatibus ut. Id nobis inventore adipisci odio ipsa. Exercitationem error quia quo et nisi.\\nVoluptatem odit maiores reiciendis qui reprehenderit quod ipsa. Voluptatum quis modi incidunt distinctio nostrum. Delectus nostrum ut quia non nesciunt amet autem.\\nAsperiores aperiam et neque saepe ea deleniti hic. Voluptas asperiores quia ab porro velit. Corrupti excepturi ducimus aut tempora enim reprehenderit. Labore soluta debitis dolores."], ["created_at", "2014-09-26 16:48:44.849311"], ["name", "similique_molestias_exercitationem"], ["title", "In occaecati aut"], ["updated_at", "2014-09-26 16:48:44.849311"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_molestias_exercitationem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'similique_molestias_exercitationem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 16:48:44.852818"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_fuga_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_fuga_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui maiores nobis est nam et. Omnis odio molestias nihil qui dolorem. Excepturi aut officiis vero aut. Quas est similique consequatur quis dolorem. Quod et quia ipsa sit ut.\\nFacere quibusdam ipsum quo ducimus nulla repudiandae nemo. Qui quibusdam consequatur maiores inventore consequatur ullam autem. Magnam itaque necessitatibus earum officiis nobis quibusdam. Odio et velit adipisci ullam.\\nSint dolorem quia aliquam rerum inventore. Quia impedit veniam ratione deserunt ea. Nam et praesentium vel veritatis ut ullam totam."], ["created_at", "2014-09-26 16:48:44.858050"], ["name", "aut_fuga_et"], ["title", "Delectus tempore voluptatum"], ["updated_at", "2014-09-26 16:48:44.858050"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'aut_fuga_et' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui maiores nobis est nam et. Omnis odio molestias nihil qui dolorem. Excepturi aut officiis vero aut. Quas est similique consequatur quis dolorem. Quod et quia ipsa sit ut.\\nFacere quibusdam ipsum quo ducimus nulla repudiandae nemo. Qui quibusdam consequatur maiores inventore consequatur ullam autem. Magnam itaque necessitatibus earum officiis nobis quibusdam. Odio et velit adipisci ullam.\\nSint dolorem quia aliquam rerum inventore. Quia impedit veniam ratione deserunt ea. Nam et praesentium vel veritatis ut ullam totam."], ["created_at", "2014-09-26 16:48:44.860434"], ["name", "joe"], ["title", "Delectus tempore voluptatum"], ["updated_at", "2014-09-26 16:48:44.860434"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 16:48:44.863584"], ["version", 1]]  (4.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Neque consequatur dolores sapiente eos aspernatur alias. Eos voluptatem aut qui voluptatem mollitia. Est itaque unde blanditiis mollitia. Rerum qui ex corrupti blanditiis aut. Reiciendis consequatur cupiditate qui quia.\\nCum voluptas aperiam aliquid. A et iure enim sequi qui. Qui similique in modi ea quae dolor.\\nArchitecto natus nisi. Iure possimus magni error. Nihil nemo ut praesentium suscipit."], ["created_at", "2014-09-26 16:48:44.878122"], ["name", "alpha"], ["title", "Ut ut est"], ["updated_at", "2014-09-26 16:48:44.878122"], ["version", 1]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Asperiores cumque quia aspernatur suscipit qui. Voluptates ut voluptas atque. Molestiae autem qui. Quaerat labore suscipit quis aut et esse quam.\\nAut inventore ea quibusdam corporis. Minus nihil sed. Eius voluptas non. In qui repellat natus incidunt nam velit occaecati.\\nSit nesciunt praesentium commodi in. Porro officia sit rem ipsa laudantium recusandae aut. Repudiandae eaque est occaecati ut velit non a. Tempore voluptas sint. Nulla repellat distinctio laborum eaque iste ut aperiam."], ["created_at", "2014-09-26 16:48:44.883858"], ["name", "beta"], ["title", "Aliquam quasi neque"], ["updated_at", "2014-09-26 16:48:44.883858"], ["version", 1]]  (6.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.891602"], ["updated_at", "2014-09-26 16:48:44.891602"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.894802"], ["updated_at", "2014-09-26 16:48:44.894802"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 16:48:44.895387"], ["updated_at", "2014-09-26 16:48:44.895387"], ["user_id", 67], ["user_type", "DummyUser"]]  (3.4ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.901427"], ["updated_at", "2014-09-26 16:48:44.901427"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 16:48:44.902030"], ["updated_at", "2014-09-26 16:48:44.902030"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:44.904414"], ["name", "alpha"], ["title", "Ut ut est"], ["updated_at", "2014-09-26 16:48:44.904414"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 16:48:44.907556"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (38, 34, 20, 37, 30, 24, 27, 29, 15, 26, 18, 35, 22, 2, 28, 33, 25, 23, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ea distinctio exercitationem. Molestias repellat voluptatem. Provident eum excepturi nobis.\\nExpedita sit et fuga aliquam. Sint et eligendi quidem provident. Voluptatem dolorem facere.\\nEligendi libero ut quia corrupti. Est iure libero dolor rem qui dolorum laudantium. Officia aut omnis repellendus maxime voluptate."], ["created_at", "2014-09-26 16:48:44.916639"], ["name", "alpha"], ["title", "Et possimus nihil"], ["updated_at", "2014-09-26 16:48:44.916639"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores et quasi ipsa error. Saepe nobis autem. Ex delectus cupiditate dolorem. Earum et quae. Nesciunt aut libero qui.\\nAccusamus iste vitae omnis nostrum facilis magni illo. Autem velit eius animi. Aut voluptas facere. Amet voluptatem maxime ea praesentium.\\nVoluptatibus quia delectus odit architecto. Alias consectetur voluptatum mollitia debitis perferendis nulla. Repellat tenetur aliquam repudiandae deserunt fugiat veritatis sunt."], ["created_at", "2014-09-26 16:48:44.920451"], ["name", "beta"], ["title", "Aut mollitia corrupti"], ["updated_at", "2014-09-26 16:48:44.920451"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.922179"], ["updated_at", "2014-09-26 16:48:44.922179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.924946"], ["updated_at", "2014-09-26 16:48:44.924946"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 16:48:44.925463"], ["updated_at", "2014-09-26 16:48:44.925463"], ["user_id", 70], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.927982"], ["updated_at", "2014-09-26 16:48:44.927982"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 16:48:44.928572"], ["updated_at", "2014-09-26 16:48:44.928572"], ["user_id", 71], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:44.930746"], ["name", "alpha"], ["title", "Et possimus nihil"], ["updated_at", "2014-09-26 16:48:44.930746"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 16:48:44.933822"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor ad nulla reiciendis. Corporis similique occaecati quia quo quibusdam autem. Exercitationem modi unde aut et sint ea minus. Corporis qui natus voluptatem. Sit reprehenderit est porro qui provident nemo vero.\\nFugiat amet eveniet facere cupiditate quia earum. Unde qui veritatis iusto rerum. Est sit quod iste eligendi odio est hic. Aliquam vel et minus qui non quasi.\\nEa accusantium labore nisi tenetur iure quod nihil. Aut autem perspiciatis veniam molestiae fugiat temporibus hic. Nam enim vel qui doloribus quas quidem."], ["created_at", "2014-09-26 16:48:44.941370"], ["name", "alpha"], ["title", "Voluptas dolore enim"], ["updated_at", "2014-09-26 16:48:44.941370"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorem tempore aliquam aperiam. Eaque accusantium natus voluptatem delectus. Tempora qui quisquam aut.\\nEst corrupti dolores voluptatibus. Et dicta architecto. Rerum veritatis officiis corrupti voluptatem possimus velit.\\nPerspiciatis ea ut sequi. Qui debitis quia quis laudantium architecto corporis. Architecto libero veritatis odio atque. Architecto aspernatur et quibusdam et."], ["created_at", "2014-09-26 16:48:44.945091"], ["name", "beta"], ["title", "Et dolor sed"], ["updated_at", "2014-09-26 16:48:44.945091"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.946649"], ["updated_at", "2014-09-26 16:48:44.946649"]]  (16.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.965302"], ["updated_at", "2014-09-26 16:48:44.965302"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 16:48:44.965933"], ["updated_at", "2014-09-26 16:48:44.965933"], ["user_id", 73], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:44.968549"], ["updated_at", "2014-09-26 16:48:44.968549"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 16:48:44.969075"], ["updated_at", "2014-09-26 16:48:44.969075"], ["user_id", 74], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:44.971284"], ["name", "alpha"], ["title", "Voluptas dolore enim"], ["updated_at", "2014-09-26 16:48:44.971284"]]  (15.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 16:48:44.997089"], ["version", 6]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 72 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (44, 43) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Omnis et iusto. Ducimus qui rerum voluptatem. Quis animi ut ratione odit. Quos illum officia dignissimos in labore accusantium ut.\\nConsectetur sed mollitia ut non porro iste. Ratione id sunt omnis ut laborum accusamus. Perspiciatis neque in consequatur ratione.\\nEst consectetur quaerat illo. Eum deserunt ducimus et. Eum laboriosam sapiente. Libero sint assumenda tempore alias ut."], ["created_at", "2014-09-26 16:48:45.003805"], ["name", "alpha"], ["title", "Et corporis dolores"], ["updated_at", "2014-09-26 16:48:45.003805"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quaerat praesentium et provident. Delectus praesentium ut. Non qui veniam saepe. Nesciunt qui et occaecati repudiandae natus iusto. Ut eos quae quam ipsa et.\\nAutem non cupiditate exercitationem molestias qui. Et harum eos non quidem voluptatem. Molestiae aspernatur fuga aut.\\nAccusamus et esse omnis. Repellat qui doloribus perferendis sapiente quam molestiae. Perferendis aut saepe qui recusandae illo nulla fuga."], ["created_at", "2014-09-26 16:48:45.007977"], ["name", "beta"], ["title", "Est adipisci saepe"], ["updated_at", "2014-09-26 16:48:45.007977"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:45.009500"], ["updated_at", "2014-09-26 16:48:45.009500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:45.012371"], ["updated_at", "2014-09-26 16:48:45.012371"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 16:48:45.013783"], ["updated_at", "2014-09-26 16:48:45.013783"], ["user_id", 76], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:48:45.016444"], ["updated_at", "2014-09-26 16:48:45.016444"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 16:48:45.016984"], ["updated_at", "2014-09-26 16:48:45.016984"], ["user_id", 77], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:48:45.020021"], ["name", "alpha"], ["title", "Et corporis dolores"], ["updated_at", "2014-09-26 16:48:45.020021"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 16:48:45.024463"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 75 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]]  (1.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.002446"], ["updated_at", "2014-09-26 16:50:36.002446"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.009439"], ["updated_at", "2014-09-26 16:50:36.009439"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestias in eius. Qui nostrum dolorum quia est non fugiat enim. Alias quidem consectetur inventore quo. Enim autem totam.\\nFugiat doloribus aperiam est eius omnis voluptatem. Ex mollitia accusantium aspernatur dolore ducimus. Quia atque harum consectetur aut.\\nAt quaerat iste perferendis dolores. Repellat et neque aut iste sit quo dicta. Natus laborum voluptatibus quod ipsam sed enim. Dolores et et nam vero."], ["created_at", "2014-09-26 16:50:36.239011"], ["name", "architecto_praesentium_blanditiis"], ["title", "Minima ut ducimus"], ["updated_at", "2014-09-26 16:50:36.239011"]]  (1.9ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.250327"], ["updated_at", "2014-09-26 16:50:36.250327"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.252627"], ["updated_at", "2014-09-26 16:50:36.252627"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas at blanditiis. Maxime facere explicabo sapiente. Nostrum autem dicta quia minus.\\nRerum ut nisi rerum voluptatum similique. Rerum nesciunt modi. Corporis voluptates doloribus fuga eos id. Non facilis sed animi nemo rerum voluptatem. Ut omnis sapiente odio quia aut.\\nQuis voluptatem officiis odio id. Fuga voluptates sit eveniet omnis. Perspiciatis dolores iure quis neque animi. Nostrum illo enim."], ["created_at", "2014-09-26 16:50:36.256048"], ["name", "dolor_et_commodi"], ["title", "Dolorem et et"], ["updated_at", "2014-09-26 16:50:36.256048"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.264828"], ["updated_at", "2014-09-26 16:50:36.264828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.266543"], ["updated_at", "2014-09-26 16:50:36.266543"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Odit vel consequatur maiores tenetur voluptas aut accusamus. Quos sequi debitis iusto est sunt. Quis facilis veniam ut voluptatem.\\nNisi ullam id fuga repellat vero eius velit. Est soluta eos. Asperiores veniam quia commodi consectetur sed magni quos. Quaerat molestias hic illum.\\nAsperiores fugiat voluptates. Deleniti et inventore dolores ut ad et. Molestiae ducimus soluta mollitia architecto repudiandae totam impedit. Hic ut est iste odit sed reiciendis. Iusto aut et quisquam ad minima eius ullam."], ["created_at", "2014-09-26 16:50:36.269007"], ["name", "et_nesciunt_vitae"], ["title", "Et tempora neque"], ["updated_at", "2014-09-26 16:50:36.269007"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:50:36.274808"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:50:36.274808"]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts/4 Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.280684"], ["updated_at", "2014-09-26 16:50:36.280684"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.282587"], ["updated_at", "2014-09-26 16:50:36.282587"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos dolor officia ad. Dignissimos soluta ipsam numquam totam error dolorum cum. Praesentium incidunt perspiciatis at maiores nulla rerum esse.\\nEa incidunt sed repudiandae. Amet pariatur alias dolorem. Et sit aut. Et pariatur et enim voluptas quaerat voluptas adipisci. Quidem voluptas quasi dolores rerum quam.\\nCulpa ullam pariatur voluptatibus quasi in. Nulla qui ut quo explicabo. Sed in molestiae. Dolor exercitationem consequatur ipsam dolorem sint. Voluptas ut error et possimus quis."], ["created_at", "2014-09-26 16:50:36.285349"], ["name", "dolor_tempora_autem"], ["title", "Dolorum sed quibusdam"], ["updated_at", "2014-09-26 16:50:36.285349"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_tempora_autem"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'dolor_tempora_autem') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 16:50:36.296800"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.306425"], ["updated_at", "2014-09-26 16:50:36.306425"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.308644"], ["updated_at", "2014-09-26 16:50:36.308644"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut deserunt qui nostrum ipsum qui. Reiciendis eum consequatur voluptatum error. Ipsum dolorum possimus.\\nSint quasi unde sit et facere adipisci labore. Cum temporibus ullam et commodi vel omnis. Deserunt temporibus labore ipsa molestiae accusantium. Nostrum est iusto.\\nVitae et velit in vel quo neque. Qui delectus dolorem. Dolores cupiditate adipisci id quaerat."], ["created_at", "2014-09-26 16:50:36.312147"], ["name", "aperiam_ipsam_suscipit"], ["title", "Impedit eveniet eos"], ["updated_at", "2014-09-26 16:50:36.312147"]]  (1.0ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.317802"], ["updated_at", "2014-09-26 16:50:36.317802"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.319457"], ["updated_at", "2014-09-26 16:50:36.319457"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Pariatur harum aperiam ipsum et nemo. Iure culpa maiores quis eius qui. Enim et eius inventore ipsa perferendis. Nostrum omnis et recusandae impedit.\\nNesciunt ut reiciendis a error. Quis autem fugiat qui in voluptate. Quod ab odio nam ipsa modi.\\nDignissimos et accusantium similique temporibus. Autem accusantium natus omnis architecto id quas et. Maiores et ut qui et ratione praesentium."], ["created_at", "2014-09-26 16:50:36.321932"], ["name", "necessitatibus_repudiandae_quibusdam"], ["title", "Ab vel id"], ["updated_at", "2014-09-26 16:50:36.321932"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 7]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 7]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 7 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.332044"], ["updated_at", "2014-09-26 16:50:36.332044"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.333523"], ["updated_at", "2014-09-26 16:50:36.333523"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui autem dolorum ipsam dolorem quibusdam corrupti. Qui sequi repudiandae voluptates minima blanditiis aut. Neque distinctio odit eveniet minus ut aperiam error.\\nReiciendis cumque quos omnis. Nihil laborum quia sed id nemo ut. Dolores velit quis. Saepe at aperiam quo maxime. Eum est totam aspernatur illum.\\nQuam quia molestiae totam omnis non quia omnis. Id odit magni qui est qui. Qui minus autem ipsa in accusantium quis neque. Qui voluptatem impedit suscipit nihil fuga. Nihil sit accusantium est earum laboriosam."], ["created_at", "2014-09-26 16:50:36.335728"], ["name", "delectus_unde_architecto"], ["title", "Itaque fugit beatae"], ["updated_at", "2014-09-26 16:50:36.335728"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.341472"], ["updated_at", "2014-09-26 16:50:36.341472"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.343000"], ["updated_at", "2014-09-26 16:50:36.343000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facere eos nihil. Porro est magni qui facere esse eos debitis. Molestiae error excepturi maxime autem. Et consequatur est facilis cum sed nisi maxime. Et id deleniti asperiores quod consequatur odio et.\\nAutem ad soluta ab et cum aut illo. Vel in a eius. Id illo odio quaerat quibusdam laborum non. Sit est vero cum eaque. Nisi et dolor.\\nRepellat et et. Ab quidem voluptas sit fugit voluptas. Et odit voluptatibus ipsa cum doloribus quo. Eos rerum nulla dolorem aut reprehenderit odio. Ut repellendus commodi a saepe repudiandae quia sit."], ["created_at", "2014-09-26 16:50:36.345275"], ["name", "modi_eum_voluptatum"], ["title", "Impedit aut id"], ["updated_at", "2014-09-26 16:50:36.345275"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.350272"], ["updated_at", "2014-09-26 16:50:36.350272"]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.352454"], ["updated_at", "2014-09-26 16:50:36.352454"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia est qui ipsam rem error tenetur. Perferendis qui impedit. Autem consequuntur ut eveniet dolores officiis. Deleniti occaecati aliquam et et atque. Illum incidunt commodi quis.\\nTenetur a sunt eligendi rerum laudantium ut temporibus. Quisquam accusantium est voluptas iste similique sint repellendus. Autem ea delectus et quo molestiae. Cupiditate aliquid minima quis. Facilis et inventore eos.\\nEx inventore explicabo. Omnis saepe autem repellendus quia error ut. Dolore temporibus dolorem dicta odio corrupti perspiciatis ut. Omnis ducimus ipsum soluta dignissimos. Consequuntur rerum id quaerat."], ["created_at", "2014-09-26 16:50:36.355137"], ["name", "quidem_nesciunt_eum"], ["title", "Ut pariatur dignissimos"], ["updated_at", "2014-09-26 16:50:36.355137"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.359277"], ["updated_at", "2014-09-26 16:50:36.359277"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.360735"], ["updated_at", "2014-09-26 16:50:36.360735"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Inventore eum maxime fugit. Eum autem necessitatibus ut. Sed voluptate sit rerum inventore neque dolorem. Culpa rerum delectus libero facere.\\nAtque ratione occaecati voluptate. Aliquid suscipit aut accusamus sint veritatis quis. Unde pariatur quod. Voluptates reprehenderit praesentium.\\nTotam vitae ea eum vel ab culpa ratione. Non iure et in nesciunt enim qui. Blanditiis nam et quae fugit architecto consequuntur non. Cupiditate nihil consequatur dolor aut."], ["created_at", "2014-09-26 16:50:36.363660"], ["name", "consequuntur_quis_sit"], ["title", "Ut reiciendis perspiciatis"], ["updated_at", "2014-09-26 16:50:36.363660"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.367818"], ["updated_at", "2014-09-26 16:50:36.367818"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.369265"], ["updated_at", "2014-09-26 16:50:36.369265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugiat qui esse voluptas est ut nulla. Sed inventore voluptatum reiciendis. Itaque accusamus aut eaque perspiciatis corrupti explicabo sunt. Quod tempore eum atque. At minus tenetur nostrum aut aliquid qui provident.\\nTempore voluptate ea perferendis fuga et. Ad esse debitis ex. Ut vel autem repellat ut ducimus voluptatem ut. Incidunt quia quas. Rerum est sunt unde dolorem iste.\\nRepudiandae mollitia expedita dignissimos enim. Velit ab vero consequatur. Impedit accusantium mollitia quia et ullam deserunt tenetur. Nihil voluptate perspiciatis non. Tenetur et quas ut alias dolores et unde."], ["created_at", "2014-09-26 16:50:36.371491"], ["name", "pariatur_sequi_et"], ["title", "Laboriosam eos tempora"], ["updated_at", "2014-09-26 16:50:36.371491"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.381626"], ["updated_at", "2014-09-26 16:50:36.381626"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.383249"], ["updated_at", "2014-09-26 16:50:36.383249"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur provident vel sed laborum. Minus ut dolorem vero. Earum nobis et illo temporibus ea animi magni.\\nInventore dolorem nostrum labore qui est nesciunt. Aliquam et et ipsum et quidem magni. Ea fuga deserunt dolore quisquam eum atque. Omnis earum incidunt illo praesentium.\\nTemporibus dolorem rerum nobis dolores modi ipsum magnam. Quisquam at commodi veritatis sequi quo. Iste amet eaque voluptas."], ["created_at", "2014-09-26 16:50:36.386259"], ["name", "a_libero_id"], ["title", "Aliquam eum facilis"], ["updated_at", "2014-09-26 16:50:36.386259"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "a_libero_id"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'a_libero_id') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 16:50:36.390304"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.396440"], ["updated_at", "2014-09-26 16:50:36.396440"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.398072"], ["updated_at", "2014-09-26 16:50:36.398072"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam id sed enim. Molestias at et alias doloribus soluta vel consequuntur. Placeat autem dicta hic porro. Deserunt doloremque libero asperiores dolorum ut. Et ut reiciendis.\\nNihil enim debitis molestias quasi adipisci. Cupiditate ab maxime assumenda nesciunt voluptas tempore. Enim fuga ea quibusdam voluptatum aliquid recusandae. Asperiores velit voluptatem repudiandae qui autem. Expedita velit sed consequatur blanditiis vitae fugit error.\\nAt et quia voluptatibus a repudiandae minus quia. Ratione consequatur pariatur quo nobis mollitia. Beatae aut temporibus eaque dolor modi quas. Facere ea laboriosam rerum eveniet deserunt omnis. Harum explicabo odit vero debitis sit non."], ["created_at", "2014-09-26 16:50:36.400468"], ["name", "quaerat_earum_eum"], ["title", "Consequatur harum facilis"], ["updated_at", "2014-09-26 16:50:36.400468"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 6, 1, 11, 8, 2, 5, 3, 9, 12, 14, 10, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.410117"], ["updated_at", "2014-09-26 16:50:36.410117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.411686"], ["updated_at", "2014-09-26 16:50:36.411686"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui doloremque vel. Omnis ducimus error ut labore. Aperiam hic quia sit. Odio laborum autem incidunt explicabo. Quibusdam consequatur et possimus mollitia quisquam voluptatem optio.\\nNam maxime dolore non doloremque ipsum. Quo omnis qui dolorum dolorem officiis. Sunt provident quis quam mollitia.\\nPlaceat dolorem voluptas natus praesentium quo quo nulla. Et eos reiciendis labore aut. Optio iusto porro et eligendi doloremque aut. Omnis minus quo aut odio iste."], ["created_at", "2014-09-26 16:50:36.413968"], ["name", "delectus_qui_est"], ["title", "Libero doloremque eum"], ["updated_at", "2014-09-26 16:50:36.413968"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 15 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:50:36.417572"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.423222"], ["updated_at", "2014-09-26 16:50:36.423222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.424703"], ["updated_at", "2014-09-26 16:50:36.424703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequuntur quia blanditiis voluptatibus qui nobis suscipit. Et est quis aperiam laboriosam magnam nesciunt rerum. Accusantium deserunt animi error omnis.\\nUt cum rem. Molestias assumenda voluptas perferendis qui ullam libero error. Reiciendis omnis error ea sed iusto. Enim ratione rerum consequatur mollitia.\\nOdit rerum perspiciatis earum autem dolores. Repudiandae maiores ut quis harum et rerum. Qui sed minima aut molestiae provident. Architecto deleniti saepe labore quibusdam dolor non."], ["created_at", "2014-09-26 16:50:36.426882"], ["name", "nemo_magni_voluptates"], ["title", "Blanditiis veritatis corrupti"], ["updated_at", "2014-09-26 16:50:36.426882"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nemo_magni_voluptates"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'nemo_magni_voluptates') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 16:50:36.430045"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'nemo_magni_voluptates' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.436879"], ["updated_at", "2014-09-26 16:50:36.436879"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.438365"], ["updated_at", "2014-09-26 16:50:36.438365"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aspernatur suscipit dolorem enim minima voluptatem at. Similique eveniet aspernatur distinctio debitis eum. Qui eos deleniti. Eius deleniti in et quas sit quos consequuntur.\\nOdit libero suscipit est at nulla. Tempora fugiat praesentium suscipit consequatur fuga similique. Ab dignissimos non ea veniam consectetur. Rerum ut aut magnam voluptatibus necessitatibus eum vitae. Exercitationem ad incidunt.\\nLaboriosam nulla ad quae officiis. Delectus id qui et. Explicabo et consequatur nam sit saepe nisi expedita."], ["created_at", "2014-09-26 16:50:36.440533"], ["name", "eum_eum_sed"], ["title", "Et et neque"], ["updated_at", "2014-09-26 16:50:36.440533"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eum_eum_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'eum_eum_sed') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 16:50:36.445178"], ["version", 1]]  (1.0ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.4ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.449768"], ["updated_at", "2014-09-26 16:50:36.449768"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.451385"], ["updated_at", "2014-09-26 16:50:36.451385"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ullam illo repellendus veniam voluptatibus nam nihil quis. Doloremque quibusdam et error harum. Voluptatem sed dolorem. Sed aut consequuntur aut quo perspiciatis.\\nLaboriosam corrupti voluptas accusantium aut corporis. Consequatur reiciendis quis. Unde quia architecto nisi deserunt praesentium. Deserunt dolorem quam ut ipsa consequatur eos eligendi. Maxime eos eius.\\nAsperiores magnam harum ipsam. Voluptatem eos laudantium aliquid omnis inventore in aliquam. Molestiae ea necessitatibus et saepe architecto ad numquam. Autem saepe architecto ut dolorem."], ["created_at", "2014-09-26 16:50:36.453637"], ["name", "sed_provident_enim"], ["title", "Dolores numquam id"], ["updated_at", "2014-09-26 16:50:36.453637"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_provident_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'sed_provident_enim') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 16:50:36.456735"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_provident_enim"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 16:50:36.462153"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.466220"], ["updated_at", "2014-09-26 16:50:36.466220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.467664"], ["updated_at", "2014-09-26 16:50:36.467664"]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eveniet similique est laborum perspiciatis quia quae. Officia corporis ad est inventore nemo. Nemo fuga non sit error iure quos exercitationem. Ipsam totam a officia voluptatem quod maiores ut. Voluptas repellat recusandae tempora ducimus.\\nIure est incidunt quas doloribus provident blanditiis velit. Voluptatibus accusantium pariatur est eligendi commodi. Accusantium est voluptas exercitationem ea. Nam incidunt veniam id. Non odit neque eligendi ut.\\nHic eum aperiam dignissimos at ipsam ratione. Suscipit eaque aut. Ex nihil non non repellat. Fugit qui nisi reiciendis quia perspiciatis."], ["created_at", "2014-09-26 16:50:36.470756"], ["name", "in_quas_sint"], ["title", "Est ratione dolorum"], ["updated_at", "2014-09-26 16:50:36.470756"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.475827"], ["updated_at", "2014-09-26 16:50:36.475827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.477348"], ["updated_at", "2014-09-26 16:50:36.477348"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_qui_cumque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'molestiae_qui_cumque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio debitis necessitatibus animi ut. Suscipit recusandae asperiores. Quasi excepturi saepe ad sapiente aliquid. Est voluptas dolores. Iusto voluptatem voluptates.\\nQuibusdam praesentium ut. Excepturi sit laboriosam. Cum debitis est quo. Facilis et molestiae ut dolores. Qui aspernatur maxime voluptatem non veniam.\\nAliquid at a consequatur tenetur facere ut. Itaque doloribus sint labore corrupti ratione dolor eligendi. Voluptatem eum dolores adipisci saepe et. Accusantium ratione et sunt dolores sequi voluptatem."], ["created_at", "2014-09-26 16:50:36.481967"], ["name", "molestiae_qui_cumque"], ["title", "Rerum earum molestiae"], ["updated_at", "2014-09-26 16:50:36.481967"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.486963"], ["updated_at", "2014-09-26 16:50:36.486963"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 16:50:36.487574"], ["updated_at", "2014-09-26 16:50:36.487574"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 195ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.688938"], ["updated_at", "2014-09-26 16:50:36.688938"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.690585"], ["updated_at", "2014-09-26 16:50:36.690585"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsa_et_molestiae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ipsa_et_molestiae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem quae alias blanditiis eaque vel quisquam. Quos sed eum ab neque facere repellendus. Ut assumenda ut labore quia quo. Omnis est magnam. Dolores ratione sed est vel.\\nAt cupiditate commodi odio. Vero voluptas qui quam. Dolores officiis quia iste. Deleniti velit laborum explicabo qui et.\\nVeritatis corrupti porro vitae. Dolorem velit incidunt autem. Optio dolorem consequuntur a nam tempore laboriosam et. Aut dolore est ut."], ["created_at", "2014-09-26 16:50:36.695141"], ["name", "ipsa_et_molestiae"], ["title", "Ut voluptate tenetur"], ["updated_at", "2014-09-26 16:50:36.695141"], ["version", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.698239"], ["updated_at", "2014-09-26 16:50:36.698239"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 16:50:36.698803"], ["updated_at", "2014-09-26 16:50:36.698803"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.702859"], ["updated_at", "2014-09-26 16:50:36.702859"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.704283"], ["updated_at", "2014-09-26 16:50:36.704283"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_aut_incidunt"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_aut_incidunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut et nihil aliquid tempora. Et voluptas ex magnam ratione officia ipsum. Rerum optio enim culpa itaque natus vel et. Non totam saepe veniam. Nobis voluptatem similique et voluptatem.\\nConsequatur assumenda ea ab tenetur. Asperiores at molestias quis et nam nesciunt. Accusamus ut perspiciatis placeat assumenda ut. Expedita quia voluptatem placeat eos qui et. Assumenda quibusdam esse.\\nSequi sit sunt enim. A autem consequuntur numquam aut nihil assumenda. Qui inventore deleniti architecto repellat possimus delectus qui. Et omnis odit voluptas incidunt."], ["created_at", "2014-09-26 16:50:36.709826"], ["name", "aut_aut_incidunt"], ["title", "Ut voluptas et"], ["updated_at", "2014-09-26 16:50:36.709826"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.713080"], ["updated_at", "2014-09-26 16:50:36.713080"]] SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 16:50:36.713822"], ["updated_at", "2014-09-26 16:50:36.713822"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.719196"], ["updated_at", "2014-09-26 16:50:36.719196"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.720657"], ["updated_at", "2014-09-26 16:50:36.720657"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_nisi_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vero_nisi_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est asperiores non voluptates quis soluta. Quia debitis repellat numquam corrupti facilis iure. Delectus sed iure laborum repudiandae voluptas.\\nAperiam debitis iste nihil omnis iure minus et. Est magnam nobis ea. Nihil aut beatae non vero in exercitationem dolores. Quod est neque eaque dolor deleniti placeat est. Laboriosam ab optio ad.\\nDebitis sint doloremque dolor accusantium aut quia itaque. Adipisci quia nihil temporibus. Dicta quia in accusamus."], ["created_at", "2014-09-26 16:50:36.725842"], ["name", "vero_nisi_et"], ["title", "Sunt fugit minima"], ["updated_at", "2014-09-26 16:50:36.725842"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.728546"], ["updated_at", "2014-09-26 16:50:36.728546"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 16:50:36.729086"], ["updated_at", "2014-09-26 16:50:36.729086"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"23"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.732644"], ["updated_at", "2014-09-26 16:50:36.732644"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.734123"], ["updated_at", "2014-09-26 16:50:36.734123"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ex_qui_fugiat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ex_qui_fugiat') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et enim sequi omnis laboriosam voluptas. Vel quis aliquam. Ut fugit dolorem repellat. Aspernatur ratione ut earum. Voluptates hic dolorem.\\nUt aut quia architecto animi accusamus in non. Recusandae et veniam. Ullam et deserunt impedit ut.\\nIste rerum officia. Dicta a accusamus et hic labore maiores. Sit facere earum. Quasi adipisci quae omnis repudiandae et. Possimus sapiente veritatis voluptatem iste sit non."], ["created_at", "2014-09-26 16:50:36.738322"], ["name", "ex_qui_fugiat"], ["title", "Minus aut dolor"], ["updated_at", "2014-09-26 16:50:36.738322"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.740923"], ["updated_at", "2014-09-26 16:50:36.740923"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 16:50:36.741535"], ["updated_at", "2014-09-26 16:50:36.741535"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.747519"], ["updated_at", "2014-09-26 16:50:36.747519"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.749046"], ["updated_at", "2014-09-26 16:50:36.749046"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_ratione_fugit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'corporis_ratione_fugit') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eos rem hic sed labore nam est incidunt. Eligendi amet minima temporibus. Ut itaque sint sunt aut optio nihil. Rerum fugit sit quia error et. Et ea perspiciatis autem vitae dignissimos laboriosam rerum.\\nUt aperiam sed. Illo quia maxime vel voluptas. Odio ut sequi sint eveniet neque quibusdam.\\nVoluptate voluptatem nam rem in. Omnis ut incidunt et ipsam consequuntur eos optio. Doloribus molestias asperiores."], ["created_at", "2014-09-26 16:50:36.753166"], ["name", "corporis_ratione_fugit"], ["title", "Atque consequuntur fugiat"], ["updated_at", "2014-09-26 16:50:36.753166"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.755618"], ["updated_at", "2014-09-26 16:50:36.755618"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 16:50:36.756154"], ["updated_at", "2014-09-26 16:50:36.756154"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Redirected to http://test.host/fine_print/contracts/25/signatures?r=MmhXMTd1NmltSmJHSy9nRTRZZTVCQT09LS1MVXBvM0JDdzgzczlIYkVwTjV3TVdnPT0%3D--745e49bc1ccfc855309600daf9fc8a78a1caa739 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.763990"], ["updated_at", "2014-09-26 16:50:36.763990"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.765479"], ["updated_at", "2014-09-26 16:50:36.765479"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_qui_cupiditate"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_qui_cupiditate') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "At deleniti nihil consequatur culpa qui quas tempora. Et nobis dicta laborum quia hic dolor. Quaerat aspernatur nihil illum. Animi non aut alias quo asperiores.\\nNon nulla similique voluptatum expedita velit dolore. Enim laudantium quia mollitia id. Ab nihil saepe. Atque est ut doloremque repellat. Animi aut aut qui quidem cupiditate.\\nDolorum omnis vel repudiandae corrupti ab vitae. Iusto nulla ut at dolor nihil laborum hic. Tempore mollitia dignissimos eligendi autem. Quidem adipisci quia voluptas dignissimos est itaque."], ["created_at", "2014-09-26 16:50:36.770521"], ["name", "et_qui_cupiditate"], ["title", "Facere eum commodi"], ["updated_at", "2014-09-26 16:50:36.770521"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.773246"], ["updated_at", "2014-09-26 16:50:36.773246"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 16:50:36.773843"], ["updated_at", "2014-09-26 16:50:36.773843"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.779404"], ["updated_at", "2014-09-26 16:50:36.779404"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.781009"], ["updated_at", "2014-09-26 16:50:36.781009"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nostrum_ipsam_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nostrum_ipsam_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Asperiores sint odio aut. Ullam a impedit nihil. Adipisci ut quo mollitia vitae aut officia. Ut ea nobis aut beatae deserunt.\\nSunt debitis vel consectetur eos. Eius animi atque est quidem. Expedita maxime qui.\\nAut beatae nulla quisquam est. In sint quas. Molestias laborum et qui aut aut. Dolores quia exercitationem iste et omnis at cupiditate."], ["created_at", "2014-09-26 16:50:36.785130"], ["name", "nostrum_ipsam_est"], ["title", "Perspiciatis consequuntur architecto"], ["updated_at", "2014-09-26 16:50:36.785130"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.787600"], ["updated_at", "2014-09-26 16:50:36.787600"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 16:50:36.788132"], ["updated_at", "2014-09-26 16:50:36.788132"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aspernatur odit quidem. Et dolorum est et doloremque pariatur nesciunt. Praesentium dignissimos et eos adipisci.\\nEx hic velit. Est veritatis sed non earum est sequi in. Voluptatem molestias architecto corrupti tenetur magni dolore. Magni possimus officiis molestias totam quas aut. Earum molestias explicabo doloribus dolores atque.\\nPariatur harum voluptatem quidem nesciunt officiis. Fugiat sequi dicta optio. Enim ex voluptate assumenda minima."], ["created_at", "2014-09-26 16:50:36.799418"], ["name", "alpha"], ["title", "Ut repudiandae qui"], ["updated_at", "2014-09-26 16:50:36.799418"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eaque dolor non qui ipsam. Sit neque dolorem. Laudantium occaecati aspernatur aut. Consequatur expedita est voluptas cumque atque aut.\\nId corporis aut molestiae eius recusandae. Aspernatur rerum enim vel sit expedita dolores. Rem ea possimus. Pariatur harum laborum consequuntur.\\nAutem possimus architecto ea placeat est. Facere blanditiis ut neque. Autem nisi eligendi aut vero quidem nam."], ["created_at", "2014-09-26 16:50:36.803343"], ["name", "beta"], ["title", "Sunt recusandae aut"], ["updated_at", "2014-09-26 16:50:36.803343"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.804890"], ["updated_at", "2014-09-26 16:50:36.804890"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 61) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 16:50:36.807474"], ["updated_at", "2014-09-26 16:50:36.807474"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 61) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 16:50:36.809983"], ["updated_at", "2014-09-26 16:50:36.809983"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:50:36.812278"], ["name", "alpha"], ["title", "Ut repudiandae qui"], ["updated_at", "2014-09-26 16:50:36.812278"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-26 16:50:36.816008"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Totam ea distinctio non qui quam nemo. Perspiciatis fuga non. Sint quod maxime ut ducimus rerum ipsam. Harum eum deserunt dolores sunt enim perferendis. Soluta amet eum dolorum.\\nIncidunt enim quas ut. Et ea rerum reprehenderit. Non nesciunt commodi ut hic. Enim ut ullam. Sapiente ea enim odit beatae.\\nEt voluptas qui nihil odit incidunt qui. Deserunt voluptatibus possimus unde aut asperiores vitae. Vel dolore et praesentium quis nobis eveniet. Doloribus maxime nostrum magnam occaecati laboriosam accusantium."], ["created_at", "2014-09-26 16:50:36.824852"], ["name", "alpha"], ["title", "Aut eius et"], ["updated_at", "2014-09-26 16:50:36.824852"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Illum molestiae tempora voluptatum. Consequuntur quidem possimus non beatae. Odio ea animi.\\nFugit et natus. Error nulla molestiae numquam fuga. Molestias et sunt excepturi officiis ratione et.\\nAut et sed aspernatur voluptas est iusto placeat. Qui corporis reprehenderit. Porro aut ex est eius et. Corrupti molestias totam."], ["created_at", "2014-09-26 16:50:36.828789"], ["name", "beta"], ["title", "Ex illo beatae"], ["updated_at", "2014-09-26 16:50:36.828789"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.830390"], ["updated_at", "2014-09-26 16:50:36.830390"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-26 16:50:36.832899"], ["updated_at", "2014-09-26 16:50:36.832899"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-26 16:50:36.835312"], ["updated_at", "2014-09-26 16:50:36.835312"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:50:36.837372"], ["name", "alpha"], ["title", "Aut eius et"], ["updated_at", "2014-09-26 16:50:36.837372"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 16:50:36.840363"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (33, 32) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Enim eius sunt distinctio. Vitae perferendis eveniet cum enim laudantium necessitatibus ea. Est iste esse sint eaque praesentium nostrum repudiandae. Debitis fuga minus laboriosam iusto deleniti rem.\\nEt ad incidunt molestiae facere rerum omnis est. Veniam iure et architecto voluptatum reiciendis quos eaque. Dolorem qui repellat. Ea tempora cumque suscipit quia exercitationem facere totam.\\nRepellat sequi et nam unde ea accusantium excepturi. Quaerat molestiae nihil modi aut nisi velit sunt. Dolore et culpa sunt. Beatae aspernatur molestias ut dignissimos sint dolores eos. Nam neque quod rerum officiis qui vero."], ["created_at", "2014-09-26 16:50:36.846516"], ["name", "alpha"], ["title", "Facilis molestiae architecto"], ["updated_at", "2014-09-26 16:50:36.846516"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur vel fuga quibusdam distinctio illo voluptas eos. Deserunt quia molestiae. Exercitationem magni voluptatem.\\nRem maiores tenetur. Debitis quia totam inventore suscipit. Accusantium incidunt numquam accusamus id ut laboriosam. Autem libero unde laudantium dolores. Ut ex itaque aut sint incidunt quas veniam.\\nLaboriosam vel ex voluptatibus nesciunt. Exercitationem suscipit et possimus magni. Reiciendis dolorem earum qui nostrum distinctio culpa nihil. Qui quis vel totam minima quis. Voluptatem in possimus quod ab consequatur."], ["created_at", "2014-09-26 16:50:36.850208"], ["name", "beta"], ["title", "Laboriosam veniam quia"], ["updated_at", "2014-09-26 16:50:36.850208"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.851751"], ["updated_at", "2014-09-26 16:50:36.851751"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 16:50:36.854295"], ["updated_at", "2014-09-26 16:50:36.854295"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-26 16:50:36.857163"], ["updated_at", "2014-09-26 16:50:36.857163"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:50:36.859720"], ["name", "alpha"], ["title", "Facilis molestiae architecto"], ["updated_at", "2014-09-26 16:50:36.859720"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 16:50:36.862905"], ["version", 6]]  (0.8ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 63 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (13, 36, 22, 35, 25, 5, 26, 17, 24, 21, 20, 16, 27, 23) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quis vitae aut saepe modi accusantium omnis. Quasi saepe suscipit assumenda asperiores facere placeat. Impedit harum incidunt quis ut autem eos. Consequatur dolorum eaque hic optio rem nostrum accusantium. Dolores autem laborum suscipit quidem ratione.\\nVoluptatem amet beatae quisquam atque et suscipit aut. Sit molestiae doloremque est eum quia. Et beatae fugiat doloremque veritatis dignissimos quo sapiente. A minus occaecati ab. Et ab aperiam nemo in ipsa aut.\\nProvident facere aut nam quia. Officiis aperiam ut ullam delectus omnis animi assumenda. Nobis dolore est quo corrupti."], ["created_at", "2014-09-26 16:50:36.872051"], ["name", "alpha"], ["title", "Voluptatem fugiat aut"], ["updated_at", "2014-09-26 16:50:36.872051"], ["version", 7]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugiat repellendus molestiae quo ut hic dolore. Expedita repudiandae aspernatur earum. Alias aut corrupti fuga. Nesciunt corporis reprehenderit sit ut molestiae animi. Delectus ut quis qui quas non iure.\\nMagnam laboriosam unde. Commodi tempora eos velit qui sint rem. Et omnis rerum est deleniti reprehenderit provident rerum.\\nIusto praesentium laudantium iste. Et saepe perferendis vel in optio. Aspernatur similique incidunt amet ratione perspiciatis. Cupiditate necessitatibus quae. Eaque non aut quas harum pariatur quos et."], ["created_at", "2014-09-26 16:50:36.876070"], ["name", "beta"], ["title", "Voluptatem alias adipisci"], ["updated_at", "2014-09-26 16:50:36.876070"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.877684"], ["updated_at", "2014-09-26 16:50:36.877684"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 16:50:36.880167"], ["updated_at", "2014-09-26 16:50:36.880167"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-26 16:50:36.882566"], ["updated_at", "2014-09-26 16:50:36.882566"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:50:36.884717"], ["name", "alpha"], ["title", "Voluptatem fugiat aut"], ["updated_at", "2014-09-26 16:50:36.884717"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 16:50:36.887735"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 16:50:36.902895"], ["updated_at", "2014-09-26 16:50:36.902895"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 64 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.925046"], ["updated_at", "2014-09-26 16:50:36.925046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.926732"], ["updated_at", "2014-09-26 16:50:36.926732"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.931116"], ["updated_at", "2014-09-26 16:50:36.931116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.932528"], ["updated_at", "2014-09-26 16:50:36.932528"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dignissimos harum ut quae vero officia reiciendis. Suscipit et soluta placeat. Voluptatem voluptatem quaerat quos consequatur atque porro. Accusamus dolore sed commodi. Voluptas quas voluptatum.\\nEt quis asperiores. Dolorem aut mollitia quod est ut dolores. Magni accusamus labore qui et. Sed aut consequuntur id ut quaerat deleniti. Accusantium distinctio sequi.\\nNulla optio et omnis molestiae tenetur. Et quia non. Quasi voluptas corrupti perspiciatis nam iste distinctio."], ["created_at", "2014-09-26 16:50:36.936421"], ["name", "est_natus_exercitationem"], ["title", "Est ad et"], ["updated_at", "2014-09-26 16:50:36.936421"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloribus_et_corporis"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'doloribus_et_corporis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Beatae ut non. Sit eveniet dolor. Non eveniet eum nam ut. Nemo ut corrupti expedita tenetur et. Molestiae reiciendis quisquam quam harum sint quia.\\nOfficia quos voluptatem. Qui sit est numquam perspiciatis. Ex est ipsa qui repellendus labore quasi aliquam. Fugiat aperiam dolor. Dolore nihil tempora autem doloremque.\\nLaborum natus voluptatem adipisci et in nobis. Corporis quis maiores voluptatem. Est rem illum perspiciatis unde ut voluptas odit. Ut et voluptatem. Dicta corrupti esse repudiandae voluptatum eum possimus unde."], ["created_at", "2014-09-26 16:50:36.942572"], ["name", "doloribus_et_corporis"], ["title", "Pariatur eveniet qui"], ["updated_at", "2014-09-26 16:50:36.942572"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor illum eaque architecto velit eum ut quos. Omnis tempore nam nobis cumque dolor accusantium ab. Vero impedit ipsam qui.\\nNesciunt tempora ab nostrum illo et repudiandae. Vel eos nemo tenetur fugit. Eius est enim voluptates eos neque. A cumque ut in autem quaerat.\\nEst ut optio eligendi quia non error. Voluptas porro dolores facilis quam rerum ducimus cumque. Quia repellendus dolorem. Consequuntur est iste vitae minima quo. Necessitatibus expedita perspiciatis labore laudantium ut quo eaque."], ["created_at", "2014-09-26 16:50:36.949553"], ["name", "dolore_veritatis_velit"], ["title", "Et minima neque"], ["updated_at", "2014-09-26 16:50:36.949553"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolore_veritatis_velit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'dolore_veritatis_velit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 16:50:36.955619"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolore_veritatis_velit"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolore_veritatis_velit"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 16:50:36.961341"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_ut_vel"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_ut_vel') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Mollitia debitis maiores sed quis exercitationem. Quae distinctio sed qui alias nobis culpa. Molestiae ad et. Totam id voluptatem culpa.\\nIllum sint et porro. Praesentium ipsum quia provident libero. Voluptatem et quibusdam nulla.\\nOdit exercitationem dolorem ut et sed quidem ut. Asperiores a voluptate ipsa eum veritatis. Facere voluptatem eius repellat magnam occaecati."], ["created_at", "2014-09-26 16:50:36.969219"], ["name", "sint_ut_vel"], ["title", "Aliquid qui voluptatibus"], ["updated_at", "2014-09-26 16:50:36.969219"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (1.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sint_ut_vel' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Mollitia debitis maiores sed quis exercitationem. Quae distinctio sed qui alias nobis culpa. Molestiae ad et. Totam id voluptatem culpa.\\nIllum sint et porro. Praesentium ipsum quia provident libero. Voluptatem et quibusdam nulla.\\nOdit exercitationem dolorem ut et sed quidem ut. Asperiores a voluptate ipsa eum veritatis. Facere voluptatem eius repellat magnam occaecati."], ["created_at", "2014-09-26 16:50:36.973350"], ["name", "sint_ut_vel"], ["title", "Aliquid qui voluptatibus"], ["updated_at", "2014-09-26 16:50:36.973350"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_ut_vel"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'sint_ut_vel') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 16:50:36.977350"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut eveniet et et exercitationem voluptatem unde possimus. Occaecati rerum distinctio ratione. Consectetur sunt est ab dolorem id iste.\\nAsperiores dolores vero maxime atque. Quis sit ea quidem magni distinctio est. Cupiditate et aliquam quod dolorem. Dolor soluta itaque reprehenderit.\\nEnim officiis corrupti et. Voluptatem quia aut rerum impedit ut cum eius. Voluptates dolores perferendis ut perspiciatis reprehenderit rerum exercitationem."], ["created_at", "2014-09-26 16:50:36.980930"], ["name", "qui_ad_accusantium"], ["title", "Quis ducimus iure"], ["updated_at", "2014-09-26 16:50:36.980930"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_ad_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'qui_ad_accusantium') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-26 16:50:36.984212"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:50:36.989131"], ["updated_at", "2014-09-26 16:50:36.989131"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 16:50:36.989717"], ["updated_at", "2014-09-26 16:50:36.989717"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'qui_ad_accusantium') LIMIT 1 FinePrint::Signature Exists (0.6ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_ad_accusantium"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_quis_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sed_quis_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Necessitatibus hic voluptatibus deleniti dolorem. Aut expedita omnis et voluptatem eos aspernatur unde. Recusandae vitae et dolorem magni.\\nAt autem expedita explicabo voluptas. Officia aut qui. Doloribus ex hic fuga dicta non. Qui autem voluptatum. Hic libero et nobis molestiae.\\nOdio est eum eos distinctio sunt et. Quasi recusandae ut sapiente quia fugit voluptates ut. Hic dicta repudiandae totam eum amet at libero."], ["created_at", "2014-09-26 16:50:37.004315"], ["name", "sed_quis_et"], ["title", "Nulla tenetur enim"], ["updated_at", "2014-09-26 16:50:37.004315"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sed_quis_et' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Necessitatibus hic voluptatibus deleniti dolorem. Aut expedita omnis et voluptatem eos aspernatur unde. Recusandae vitae et dolorem magni.\\nAt autem expedita explicabo voluptas. Officia aut qui. Doloribus ex hic fuga dicta non. Qui autem voluptatum. Hic libero et nobis molestiae.\\nOdio est eum eos distinctio sunt et. Quasi recusandae ut sapiente quia fugit voluptates ut. Hic dicta repudiandae totam eum amet at libero."], ["created_at", "2014-09-26 16:50:37.007138"], ["name", "joe"], ["title", "Nulla tenetur enim"], ["updated_at", "2014-09-26 16:50:37.007138"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 16:50:37.010779"], ["version", 1]]  (0.6ms) commit transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aspernatur possimus sint quaerat. Ea rerum distinctio. Maiores atque temporibus voluptatem dolores molestiae. Maiores error sapiente.\\nOptio et est sequi. Vel ab mollitia aut iure veniam quis voluptate. Quaerat itaque deleniti dignissimos qui.\\nQuia possimus rem voluptatibus facilis velit. Est velit nisi fugit et tempora. Dolor vitae quidem in et accusamus atque a. Voluptatem consequatur ab vero cupiditate sit dolore."], ["created_at", "2014-09-26 16:56:52.024647"], ["name", "molestiae_corrupti_laborum"], ["title", "Ullam non laudantium"], ["updated_at", "2014-09-26 16:56:52.024647"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "harum_beatae_expedita"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'harum_beatae_expedita') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum commodi corporis itaque sed consequatur distinctio. Repellat sint nihil. Repellendus consequatur fugiat aperiam occaecati. Quis in impedit dolorem omnis neque mollitia adipisci.\\nConsequatur neque doloribus velit aut eaque placeat. Perferendis et velit est. Iure recusandae possimus. Placeat cum eos delectus sequi.\\nNon rerum fuga velit aliquam. Voluptatem ex sunt sed. Aliquid ut harum numquam ipsa. Aut nulla aspernatur. Ut cum non culpa dolorem sunt."], ["created_at", "2014-09-26 16:56:52.047402"], ["name", "harum_beatae_expedita"], ["title", "Quisquam unde possimus"], ["updated_at", "2014-09-26 16:56:52.047402"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.059096"], ["updated_at", "2014-09-26 16:56:52.059096"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.062374"], ["updated_at", "2014-09-26 16:56:52.062374"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_suscipit_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_suscipit_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Porro sapiente eum. Dolor nisi necessitatibus. Deserunt est quia quo velit. Expedita error at voluptatem natus iure beatae voluptas. Eum iste consequatur.\\nEt vero non. Sint facilis officia aut quo harum eius ducimus. Assumenda aut molestias ut cupiditate esse iure.\\nEa perspiciatis assumenda quia. Pariatur aspernatur nemo animi qui nihil. Rerum est sunt ut officiis."], ["created_at", "2014-09-26 16:56:52.067855"], ["name", "qui_suscipit_et"], ["title", "Delectus deleniti atque"], ["updated_at", "2014-09-26 16:56:52.067855"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.071058"], ["updated_at", "2014-09-26 16:56:52.071058"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 16:56:52.071694"], ["updated_at", "2014-09-26 16:56:52.071694"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.3ms) Completed 200 OK in 185ms (Views: 5.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.265470"], ["updated_at", "2014-09-26 16:56:52.265470"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.268177"], ["updated_at", "2014-09-26 16:56:52.268177"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_quidem_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequatur_quidem_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio sed quas laborum hic aut ut expedita. Est est qui ducimus perspiciatis. Eaque impedit placeat possimus animi quis et. Accusantium aliquam ducimus recusandae est modi dolorem.\\nEst quasi consequatur aut omnis ea alias. Dignissimos accusantium necessitatibus nihil molestias. Distinctio laudantium esse totam fuga. Ipsam dignissimos repellat omnis.\\nOmnis corporis laboriosam aliquid. Amet necessitatibus voluptatem qui maxime corrupti. Et consequatur magni."], ["created_at", "2014-09-26 16:56:52.273932"], ["name", "consequatur_quidem_est"], ["title", "Ut exercitationem recusandae"], ["updated_at", "2014-09-26 16:56:52.273932"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.276499"], ["updated_at", "2014-09-26 16:56:52.276499"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 16:56:52.277047"], ["updated_at", "2014-09-26 16:56:52.277047"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Redirected to http://test.host/fine_print/contracts/4/signatures?r=NUtZV3JIUXFRc1grVGJOQjB3QWpCQT09LS03dnNNMzg2Z0RaRjdtTVlUWkRzM1RBPT0%3D--2abdf8905939e006580da8b6ab61df215fdddf15 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.289827"], ["updated_at", "2014-09-26 16:56:52.289827"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.291507"], ["updated_at", "2014-09-26 16:56:52.291507"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_iste_nihil"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'natus_iste_nihil') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nihil sed quod aut recusandae. Aspernatur delectus quo dolor tempora non nemo architecto. Aut error autem ut quo facilis sint possimus.\\nCorporis adipisci animi in pariatur similique. Enim tempore rem vel ut. Eos eum est ipsum facilis et. Soluta nostrum nisi quasi. Perspiciatis voluptatem tempora alias et.\\nFuga omnis cumque. Autem quidem explicabo. Ratione amet laboriosam animi quia. Non reiciendis omnis at. Autem voluptas nisi."], ["created_at", "2014-09-26 16:56:52.296522"], ["name", "natus_iste_nihil"], ["title", "Quis rerum dolore"], ["updated_at", "2014-09-26 16:56:52.296522"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.299231"], ["updated_at", "2014-09-26 16:56:52.299231"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 16:56:52.299979"], ["updated_at", "2014-09-26 16:56:52.299979"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.303795"], ["updated_at", "2014-09-26 16:56:52.303795"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.305391"], ["updated_at", "2014-09-26 16:56:52.305391"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_sapiente_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'deleniti_sapiente_libero') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia dolores sapiente sunt assumenda occaecati ut architecto. Unde maxime quisquam. Nemo aliquid vero inventore. Ut fugiat enim tempore.\\nEius quia et atque omnis velit hic earum. Enim in aliquid quo ea. Accusamus esse ea quos.\\nNeque adipisci ducimus autem veniam esse nisi. Facilis et harum. Suscipit voluptatibus ut ratione explicabo ea. Voluptatem et perspiciatis enim debitis."], ["created_at", "2014-09-26 16:56:52.310621"], ["name", "deleniti_sapiente_libero"], ["title", "Dolor dicta blanditiis"], ["updated_at", "2014-09-26 16:56:52.310621"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.313235"], ["updated_at", "2014-09-26 16:56:52.313235"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 16:56:52.313772"], ["updated_at", "2014-09-26 16:56:52.313772"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"6"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"6"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.318590"], ["updated_at", "2014-09-26 16:56:52.318590"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.320171"], ["updated_at", "2014-09-26 16:56:52.320171"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facere_sint_esse"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'facere_sint_esse') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quo exercitationem quae quia ullam. Quibusdam reprehenderit distinctio ex esse dolorem odio incidunt. Voluptatem cumque nemo minus vero repellendus velit perferendis. Delectus rerum tempora maxime nesciunt recusandae. Architecto accusantium blanditiis illo tempora.\\nSint qui vitae quidem repellat et. Minus a blanditiis et exercitationem officia. Autem placeat et doloremque rem.\\nDoloribus explicabo vitae illum ratione sint animi fuga. Iusto soluta sed unde est et. Qui voluptatem dolorum libero minima aut quo iste. Odit nisi eveniet incidunt magni aut. Quaerat expedita sit cumque et ab."], ["created_at", "2014-09-26 16:56:52.324268"], ["name", "facere_sint_esse"], ["title", "Quaerat et illum"], ["updated_at", "2014-09-26 16:56:52.324268"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.326772"], ["updated_at", "2014-09-26 16:56:52.326772"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 16:56:52.327301"], ["updated_at", "2014-09-26 16:56:52.327301"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.332057"], ["updated_at", "2014-09-26 16:56:52.332057"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.333592"], ["updated_at", "2014-09-26 16:56:52.333592"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_sunt_exercitationem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'in_sunt_exercitationem') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non aut quibusdam at rerum excepturi. Id similique saepe tempora ea impedit. Et id quae numquam porro harum. Qui veniam ea aliquid consequatur molestias.\\nId minus quo excepturi doloribus harum dolor. Et ea enim minus non et et. Rem qui aliquid culpa nobis. Voluptas vero facere.\\nSint qui iure asperiores. Eaque modi quidem rerum quis optio quae numquam. Quo dolor necessitatibus."], ["created_at", "2014-09-26 16:56:52.337712"], ["name", "in_sunt_exercitationem"], ["title", "Culpa alias optio"], ["updated_at", "2014-09-26 16:56:52.337712"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.340362"], ["updated_at", "2014-09-26 16:56:52.340362"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 16:56:52.340927"], ["updated_at", "2014-09-26 16:56:52.340927"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.347301"], ["updated_at", "2014-09-26 16:56:52.347301"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.348781"], ["updated_at", "2014-09-26 16:56:52.348781"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "assumenda_ipsum_eveniet"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'assumenda_ipsum_eveniet') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vel voluptas iste quis et non omnis qui. Modi quia qui sunt quia iste fugit. Cumque voluptatibus reprehenderit aliquid nulla. Qui explicabo ut velit laudantium.\\nVoluptatem eius ipsum voluptatibus. Enim eligendi fuga quisquam quis quam possimus unde. Consequatur porro accusamus vel est expedita aut. Vel ipsam vel.\\nConsequatur aut expedita totam. Doloribus animi voluptatem. Recusandae a officia ut in. Quam ullam architecto. Voluptatem impedit labore quia tenetur."], ["created_at", "2014-09-26 16:56:52.353154"], ["name", "assumenda_ipsum_eveniet"], ["title", "Repellendus ad vitae"], ["updated_at", "2014-09-26 16:56:52.353154"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.355645"], ["updated_at", "2014-09-26 16:56:52.355645"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 16:56:52.356525"], ["updated_at", "2014-09-26 16:56:52.356525"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"9"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.360072"], ["updated_at", "2014-09-26 16:56:52.360072"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.361723"], ["updated_at", "2014-09-26 16:56:52.361723"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_sint_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'deleniti_sint_quis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Velit molestiae itaque. Qui distinctio sunt nulla laboriosam at. Dolor sit dolore exercitationem dolorem. Placeat velit dolorem veritatis. Odio error consequatur cupiditate debitis et iste.\\nEt qui voluptatibus vel expedita distinctio aut et. Consequuntur omnis repellat est voluptas quam illo minus. Ea in aut sint. Quo asperiores omnis dolore consequatur harum rerum. Omnis et blanditiis odio at nesciunt rerum sit.\\nEx delectus odio aut. Quis nemo voluptates ut ullam corrupti minima. Consequatur cumque inventore blanditiis. Hic ipsum porro beatae consequatur."], ["created_at", "2014-09-26 16:56:52.365990"], ["name", "deleniti_sint_quis"], ["title", "Exercitationem omnis asperiores"], ["updated_at", "2014-09-26 16:56:52.365990"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.368505"], ["updated_at", "2014-09-26 16:56:52.368505"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 16:56:52.369036"], ["updated_at", "2014-09-26 16:56:52.369036"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.374736"], ["updated_at", "2014-09-26 16:56:52.374736"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.376232"], ["updated_at", "2014-09-26 16:56:52.376232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum quis nemo. Occaecati aut ipsam sint quo odio qui. Deserunt consequatur quibusdam temporibus. Nihil non dolorum similique atque neque. Reiciendis doloribus porro rem.\\nEst qui laborum maxime at et. Omnis ducimus nam possimus dicta reiciendis ut optio. Aperiam aut doloribus maxime quos.\\nDolor architecto sunt aut. Earum ut praesentium dolor. Dolor quisquam veritatis et. Molestias voluptas ea temporibus molestiae ut architecto."], ["created_at", "2014-09-26 16:56:52.378433"], ["name", "sit_beatae_asperiores"], ["title", "Sunt omnis delectus"], ["updated_at", "2014-09-26 16:56:52.378433"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_beatae_asperiores"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'sit_beatae_asperiores') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 16:56:52.382898"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.390430"], ["updated_at", "2014-09-26 16:56:52.390430"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.392381"], ["updated_at", "2014-09-26 16:56:52.392381"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia dolor neque necessitatibus. Temporibus et et nobis in similique esse. Repellendus asperiores facilis optio sit deserunt eligendi est. Ut impedit nihil id. Sint explicabo quos tempora labore odit et.\\nImpedit aspernatur pariatur. Et corrupti consequatur. Qui illo fugiat qui et cumque earum.\\nNumquam et dolor deleniti. Quo est modi consequatur. Sit blanditiis nostrum labore assumenda accusantium impedit minus. Tempore eveniet impedit sint nihil reiciendis. Accusantium quo rerum."], ["created_at", "2014-09-26 16:56:52.394955"], ["name", "facere_quibusdam_molestiae"], ["title", "Omnis occaecati eaque"], ["updated_at", "2014-09-26 16:56:52.394955"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facere_quibusdam_molestiae"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'facere_quibusdam_molestiae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 16:56:52.399523"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.407028"], ["updated_at", "2014-09-26 16:56:52.407028"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.408527"], ["updated_at", "2014-09-26 16:56:52.408527"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Perferendis impedit ipsa minima. Deleniti accusamus eos autem quia voluptas modi cupiditate. Aliquid qui soluta ipsam a quibusdam voluptatibus. Sequi tempore incidunt.\\nMolestias debitis esse quidem a optio qui. Aut id aut inventore a asperiores pariatur ex. Ipsa aperiam ea.\\nOfficia soluta aut aut fugiat ab quod. Et voluptatibus consequatur. Id eos qui. Pariatur deleniti tempora nihil deserunt vel ut. Iste dolorem non molestiae id."], ["created_at", "2014-09-26 16:56:52.410812"], ["name", "est_aperiam_delectus"], ["title", "Quasi expedita quis"], ["updated_at", "2014-09-26 16:56:52.410812"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_aperiam_delectus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'est_aperiam_delectus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 16:56:52.415244"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.419421"], ["updated_at", "2014-09-26 16:56:52.419421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.420847"], ["updated_at", "2014-09-26 16:56:52.420847"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero minus aut ipsa deserunt nihil totam. Ratione maiores reprehenderit facilis animi dolor. Aut perspiciatis eaque occaecati. Voluptas soluta repellat iusto sed magni ut. Nam minima sunt facere molestiae expedita earum.\\nQuasi blanditiis sit. Omnis ea aspernatur. Libero corporis rerum dolores provident pariatur. Sapiente unde necessitatibus omnis nulla.\\nRepellat labore cupiditate quam praesentium dolor molestias quidem. Repellendus et perspiciatis quam accusamus corporis voluptatum. Excepturi nihil maiores dolor."], ["created_at", "2014-09-26 16:56:52.423080"], ["name", "voluptates_reprehenderit_rem"], ["title", "Est eius adipisci"], ["updated_at", "2014-09-26 16:56:52.423080"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.430677"], ["updated_at", "2014-09-26 16:56:52.430677"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.432842"], ["updated_at", "2014-09-26 16:56:52.432842"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maxime sint id vero totam. Est aliquam corrupti enim sint dolores. Saepe et et velit dolores maxime. Similique totam quae laudantium in. Aliquid sequi atque nam labore aliquam.\\nOdio sunt qui consequatur aperiam delectus qui. Ad mollitia corporis aliquid illum. Similique esse consectetur pariatur. Qui et sint omnis eos ut velit.\\nHarum aliquam voluptatem ex. Eveniet aut dolor eaque est. Perferendis necessitatibus velit. Assumenda neque qui repudiandae voluptas illo inventore nostrum. Odio quae voluptas at et sit."], ["created_at", "2014-09-26 16:56:52.435422"], ["name", "molestiae_ut_necessitatibus"], ["title", "Omnis rem sit"], ["updated_at", "2014-09-26 16:56:52.435422"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 16:56:52.438585"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 16:56:52.438585"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.442281"], ["updated_at", "2014-09-26 16:56:52.442281"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.443694"], ["updated_at", "2014-09-26 16:56:52.443694"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reiciendis et id atque voluptas voluptates enim. Qui velit et. Eveniet eius ea ipsum vel at. Non cumque eos quos vitae et est. Doloribus id rerum amet qui.\\nAperiam nesciunt exercitationem nisi aut natus. Molestiae accusantium unde ipsum impedit neque. Nam fugiat error quia sapiente molestias et illum. Commodi mollitia rerum.\\nEt in porro illum laudantium animi. Ratione consequatur est nihil esse atque. Ullam ipsam porro quod. Sint accusantium quas ut necessitatibus eum minus. Quae illum quisquam vel voluptas aperiam."], ["created_at", "2014-09-26 16:56:52.446407"], ["name", "et_architecto_id"], ["title", "Quia vel excepturi"], ["updated_at", "2014-09-26 16:56:52.446407"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.451791"], ["updated_at", "2014-09-26 16:56:52.451791"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.453274"], ["updated_at", "2014-09-26 16:56:52.453274"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam dolor enim. Tenetur sint autem. Alias veritatis perferendis consectetur ut. Recusandae harum in ullam. Iusto deleniti at non.\\nQuasi ut voluptatibus iure quam cupiditate cum voluptatum. Vel et repudiandae fugiat id. Voluptatem libero cupiditate. Sed ut voluptatem.\\nQuod tempora quis enim vitae quaerat impedit dolore. Et quis doloribus. Et optio quia."], ["created_at", "2014-09-26 16:56:52.455400"], ["name", "similique_voluptas_ullam"], ["title", "Quaerat minima est"], ["updated_at", "2014-09-26 16:56:52.455400"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.459058"], ["updated_at", "2014-09-26 16:56:52.459058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.460494"], ["updated_at", "2014-09-26 16:56:52.460494"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tenetur sapiente quia modi blanditiis. Ipsum maiores aperiam dolore aspernatur eum. Sit perspiciatis expedita beatae.\\nUt dolores accusantium. Voluptatem aut et corporis. Tempore aut hic quis velit aut a.\\nExplicabo est recusandae. Asperiores fugit officiis. Qui ad sapiente. Ut numquam ea."], ["created_at", "2014-09-26 16:56:52.462562"], ["name", "non_quos_voluptas"], ["title", "Et consequatur beatae"], ["updated_at", "2014-09-26 16:56:52.462562"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_quos_voluptas"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'non_quos_voluptas') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-26 16:56:52.465862"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'non_quos_voluptas' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.472921"], ["updated_at", "2014-09-26 16:56:52.472921"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.474685"], ["updated_at", "2014-09-26 16:56:52.474685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Debitis numquam rem sunt veritatis minus explicabo deserunt. Impedit nemo deleniti qui. Culpa aut eveniet cum. Ea et vel tenetur. Voluptatem corrupti officiis qui occaecati harum quae.\\nFacere aut voluptas omnis. Cupiditate ipsum est sit rerum quia quod. Provident officiis earum debitis quam sunt illum asperiores. Placeat cupiditate harum.\\nEveniet ea in error eos placeat quis eum. Dolores et soluta ut corporis aut ipsum. Sunt dolores nesciunt autem eligendi veritatis. Excepturi facilis nisi esse iusto tempore."], ["created_at", "2014-09-26 16:56:52.477226"], ["name", "consequatur_quidem_culpa"], ["title", "Debitis aut non"], ["updated_at", "2014-09-26 16:56:52.477226"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"20"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.482944"], ["updated_at", "2014-09-26 16:56:52.482944"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.484392"], ["updated_at", "2014-09-26 16:56:52.484392"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel eius ut quia est. Eum libero voluptatem iste et cumque id nam. Qui ipsam molestias ipsum laudantium debitis voluptas quia.\\nEst voluptatum quia. Ad optio ex ut. Voluptatum quia eveniet. Nihil quae aperiam qui temporibus et iusto. Est molestias sit est culpa autem.\\nFuga quis necessitatibus ipsam optio delectus veritatis. Eos cumque voluptatum ea vitae aliquid. Qui quia est rerum voluptatem sed a dolorum. Expedita veritatis quasi."], ["created_at", "2014-09-26 16:56:52.486596"], ["name", "unde_ea_possimus"], ["title", "Eos excepturi dolorem"], ["updated_at", "2014-09-26 16:56:52.486596"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.492832"], ["updated_at", "2014-09-26 16:56:52.492832"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.494712"], ["updated_at", "2014-09-26 16:56:52.494712"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatibus mollitia aut. Quas ex quae veniam. Qui in aut. Atque nesciunt ut ut sint quia a.\\nOfficia non autem quibusdam sint inventore. Impedit sed libero ut. Non sit accusantium quos.\\nDicta illum qui molestias sapiente voluptas. Quo maiores commodi quae ut. Temporibus quo ad non ab qui nemo. Praesentium cumque quas quam ea officia."], ["created_at", "2014-09-26 16:56:52.497556"], ["name", "veniam_sunt_quo"], ["title", "Repudiandae quam doloribus"], ["updated_at", "2014-09-26 16:56:52.497556"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 22 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 16:56:52.501412"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/22 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.506016"], ["updated_at", "2014-09-26 16:56:52.506016"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.507362"], ["updated_at", "2014-09-26 16:56:52.507362"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias magnam minima sequi. Fugiat veniam vitae ea explicabo. Dignissimos deleniti ea aliquid placeat quasi consequatur quis. Voluptatibus earum distinctio. Est doloremque ea rerum rerum voluptas aut.\\nConsequuntur amet et. Et commodi quia doloremque tempore corrupti hic. Asperiores quia consequatur at autem. Culpa aut voluptatibus corporis non ut.\\nCupiditate maiores et qui est dolorum deleniti quis. Voluptatem nostrum consequuntur molestiae tempora praesentium. Consequuntur sequi numquam dicta totam eos earum sed. Et facilis culpa provident voluptas. Qui debitis accusantium qui doloremque porro modi atque."], ["created_at", "2014-09-26 16:56:52.509630"], ["name", "quae_voluptatem_amet"], ["title", "Fuga in et"], ["updated_at", "2014-09-26 16:56:52.509630"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quae_voluptatem_amet"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'quae_voluptatem_amet') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 16:56:52.513543"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quae_voluptatem_amet"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 16:56:52.519152"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.523378"], ["updated_at", "2014-09-26 16:56:52.523378"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.524881"], ["updated_at", "2014-09-26 16:56:52.524881"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nam mollitia nisi fugit in. Tempora quidem harum aut saepe molestias est enim. Dolores quia eaque ab exercitationem sit recusandae. Fuga et dolores rerum praesentium.\\nInventore sed voluptatum deserunt. Quae eveniet quisquam iusto qui eos. Quasi odit aliquid sit dolor magnam itaque. Laborum totam rerum voluptas molestias dignissimos vero qui. Quam fugit corrupti.\\nHarum dolor qui accusamus. Nihil necessitatibus tenetur vero similique qui. Quod non odit voluptatem cumque."], ["created_at", "2014-09-26 16:56:52.527078"], ["name", "id_consequatur_aut"], ["title", "Sunt animi perspiciatis"], ["updated_at", "2014-09-26 16:56:52.527078"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.530823"], ["updated_at", "2014-09-26 16:56:52.530823"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.532134"], ["updated_at", "2014-09-26 16:56:52.532134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Error ullam ex quam nisi nihil ratione. Nisi et quibusdam aut et possimus. Laborum explicabo laboriosam et sapiente iure. Consequatur temporibus officia ex. Non ad velit et et.\\nFuga accusantium laudantium aliquam quaerat. Et voluptates numquam vel animi. Aspernatur quia sed iste ea fugit unde tempore. Ut et ut eveniet quasi velit rerum tenetur.\\nQui architecto eius. Nihil ut quod architecto labore fuga. Dignissimos at et."], ["created_at", "2014-09-26 16:56:52.534268"], ["name", "voluptatem_ut_expedita"], ["title", "Magnam suscipit mollitia"], ["updated_at", "2014-09-26 16:56:52.534268"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 25]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 25]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 25 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.541377"], ["updated_at", "2014-09-26 16:56:52.541377"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.542712"], ["updated_at", "2014-09-26 16:56:52.542712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nesciunt laborum placeat qui. Voluptas esse cumque illo qui velit. Dignissimos repellendus quasi aliquam voluptatum labore amet. Possimus quia blanditiis iure vel deserunt dolores. Iste et magni laborum.\\nNulla architecto nam rerum quidem quo. Eius amet sunt doloremque ab nobis architecto. Sit iusto cumque quibusdam cupiditate quos id sed. Voluptas tempore officiis. Nulla odio omnis sit repudiandae quam.\\nItaque ut dolore. Praesentium quis doloremque. Provident qui laborum. Rerum qui minus."], ["created_at", "2014-09-26 16:56:52.544931"], ["name", "neque_vitae_occaecati"], ["title", "Laudantium aspernatur est"], ["updated_at", "2014-09-26 16:56:52.544931"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"26"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.549654"], ["updated_at", "2014-09-26 16:56:52.549654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.551071"], ["updated_at", "2014-09-26 16:56:52.551071"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et quaerat ducimus nulla. In dolores labore est possimus cum odio quis. Veritatis sed aut quam enim. Qui in velit ut dolorem quam. Deserunt qui error quos quo deleniti.\\nSint quidem dolores similique laudantium autem iusto. Sed impedit sint iusto. Ipsa error ut quaerat ducimus.\\nSint omnis consequatur maxime voluptates. Libero nesciunt ut et quos quia et. Beatae dolorem qui dolorum."], ["created_at", "2014-09-26 16:56:52.553151"], ["name", "consectetur_accusantium_vel"], ["title", "Et qui nihil"], ["updated_at", "2014-09-26 16:56:52.553151"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"27"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.556955"], ["updated_at", "2014-09-26 16:56:52.556955"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.558506"], ["updated_at", "2014-09-26 16:56:52.558506"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iste animi voluptas vel. Reprehenderit explicabo sint eos amet reiciendis occaecati repudiandae. Aut doloribus quia dolores hic. Ut commodi dolorum. Enim dolorem commodi necessitatibus.\\nPlaceat amet similique molestiae reprehenderit molestiae. Ad incidunt quos fuga. Impedit dignissimos a adipisci occaecati in.\\nA non ea et. Voluptas sunt quo similique natus accusamus. Sit amet in rerum quas quis. Et quibusdam veniam enim. Et natus tenetur minus est omnis reprehenderit repellendus."], ["created_at", "2014-09-26 16:56:52.560780"], ["name", "est_iste_corporis"], ["title", "Non laboriosam non"], ["updated_at", "2014-09-26 16:56:52.560780"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.565477"], ["updated_at", "2014-09-26 16:56:52.565477"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.567111"], ["updated_at", "2014-09-26 16:56:52.567111"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem odio est odit. A et optio fugiat enim id voluptatem magnam. Aut optio veniam eos nesciunt eligendi voluptatem perferendis. Consequuntur eum exercitationem.\\nCumque quia quas fugiat nam. Vel libero atque velit neque suscipit voluptatem. Corporis iure accusantium illo qui totam est nisi. Ut optio deserunt dolores. Ipsa omnis voluptatibus adipisci sunt.\\nError mollitia voluptas odit tempora quibusdam nihil. Qui et aliquid. Necessitatibus eveniet asperiores. Similique laboriosam adipisci recusandae. Cupiditate illum aut magni enim."], ["created_at", "2014-09-26 16:56:52.569479"], ["name", "sint_eos_similique"], ["title", "Rerum consequatur ex"], ["updated_at", "2014-09-26 16:56:52.569479"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 9, 27, 20, 4, 6, 10, 13, 28, 17, 12, 7, 2, 24, 8, 1, 15, 5, 26, 19, 23, 3, 18, 29, 11, 16, 21, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "illum_voluptatum_dolorum"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'illum_voluptatum_dolorum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut inventore a libero nisi. Ipsam fuga voluptates quo. Autem voluptates deleniti non sed voluptatibus nihil et. Veniam voluptatem iure fugit ipsum.\\nEst facilis eveniet sed. Exercitationem architecto deserunt vero aut ut qui. Neque nihil nam et quisquam. Ut sequi voluptates rem qui dolor maiores.\\nMolestiae commodi consequatur aut. Omnis nam molestiae architecto. Quis quia voluptatem corporis voluptatem. Est dolor iusto."], ["created_at", "2014-09-26 16:56:52.585545"], ["name", "illum_voluptatum_dolorum"], ["title", "Nihil neque minima"], ["updated_at", "2014-09-26 16:56:52.585545"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'illum_voluptatum_dolorum' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut inventore a libero nisi. Ipsam fuga voluptates quo. Autem voluptates deleniti non sed voluptatibus nihil et. Veniam voluptatem iure fugit ipsum.\\nEst facilis eveniet sed. Exercitationem architecto deserunt vero aut ut qui. Neque nihil nam et quisquam. Ut sequi voluptates rem qui dolor maiores.\\nMolestiae commodi consequatur aut. Omnis nam molestiae architecto. Quis quia voluptatem corporis voluptatem. Est dolor iusto."], ["created_at", "2014-09-26 16:56:52.588099"], ["name", "joe"], ["title", "Nihil neque minima"], ["updated_at", "2014-09-26 16:56:52.588099"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 16:56:52.591000"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_voluptatem_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_voluptatem_iusto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quidem ipsam ducimus excepturi quaerat. Voluptatibus asperiores quisquam sint exercitationem dolor corporis ipsa. Mollitia in nihil.\\nDolor tenetur voluptas officia aut perspiciatis saepe distinctio. Omnis ex veritatis saepe corporis. Quibusdam omnis alias reiciendis voluptatem. Deleniti culpa exercitationem velit voluptatum impedit debitis. Cupiditate voluptas autem veritatis fugiat et quia aut.\\nEst est sed. Dignissimos non repudiandae ut. Accusamus fuga iure in sed harum. Ut perspiciatis est sed doloremque veritatis nostrum et. Cumque dolores repudiandae cum."], ["created_at", "2014-09-26 16:56:52.595996"], ["name", "enim_voluptatem_iusto"], ["title", "Ullam similique facilis"], ["updated_at", "2014-09-26 16:56:52.595996"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'enim_voluptatem_iusto' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quidem ipsam ducimus excepturi quaerat. Voluptatibus asperiores quisquam sint exercitationem dolor corporis ipsa. Mollitia in nihil.\\nDolor tenetur voluptas officia aut perspiciatis saepe distinctio. Omnis ex veritatis saepe corporis. Quibusdam omnis alias reiciendis voluptatem. Deleniti culpa exercitationem velit voluptatum impedit debitis. Cupiditate voluptas autem veritatis fugiat et quia aut.\\nEst est sed. Dignissimos non repudiandae ut. Accusamus fuga iure in sed harum. Ut perspiciatis est sed doloremque veritatis nostrum et. Cumque dolores repudiandae cum."], ["created_at", "2014-09-26 16:56:52.598372"], ["name", "enim_voluptatem_iusto"], ["title", "Ullam similique facilis"], ["updated_at", "2014-09-26 16:56:52.598372"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_voluptatem_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'enim_voluptatem_iusto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 16:56:52.601567"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dignissimos culpa et dolorem id qui. Ut architecto voluptas. Dolores quasi quia vero ut nobis quo.\\nNobis quam repellat. Id commodi tempora. Labore amet perferendis minima aliquam quis.\\nRatione sed quae placeat nemo corrupti. Et nemo beatae exercitationem deleniti illo vel. Dicta molestiae voluptate officiis ut. Qui aspernatur suscipit molestiae ipsum."], ["created_at", "2014-09-26 16:56:52.604956"], ["name", "natus_voluptatem_animi"], ["title", "Vel quo et"], ["updated_at", "2014-09-26 16:56:52.604956"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_voluptatem_animi"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'natus_voluptatem_animi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 16:56:52.609955"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_voluptatem_animi"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_voluptatem_animi"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 16:56:52.614596"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias non ipsa quisquam ut ipsum optio. Molestiae doloribus et ullam. Ab dicta facere quas officia reprehenderit architecto.\\nOfficiis reiciendis dolorum veritatis enim rem voluptate. Dolorum dolores qui id voluptatem illo consequatur sint. Rem vero eaque eos.\\nCorporis libero nihil delectus sapiente corrupti non et. Est non sed facere officia dolorum qui nulla. Quis minus consequatur nemo quibusdam voluptas exercitationem. Quis labore velit sunt ducimus."], ["created_at", "2014-09-26 16:56:52.617788"], ["name", "in_corporis_eius"], ["title", "Et unde fuga"], ["updated_at", "2014-09-26 16:56:52.617788"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_corporis_eius"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'in_corporis_eius') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 16:56:52.620801"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.625102"], ["updated_at", "2014-09-26 16:56:52.625102"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-26 16:56:52.625670"], ["updated_at", "2014-09-26 16:56:52.625670"], ["user_id", 61], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'in_corporis_eius') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_corporis_eius"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut quas unde dolores quisquam. Earum quas aut quam. Sit aperiam corrupti.\\nQuia sit consequatur sint explicabo. Voluptas sit non harum nisi quae rem ipsa. Commodi doloremque perferendis cum porro. Autem nisi rerum facilis officiis corporis non.\\nMollitia sit omnis. Debitis numquam nihil expedita. Et est laborum harum quibusdam architecto. Est non exercitationem."], ["created_at", "2014-09-26 16:56:52.639448"], ["name", "alpha"], ["title", "Hic qui natus"], ["updated_at", "2014-09-26 16:56:52.639448"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eos pariatur ut consequatur. Error corporis quisquam recusandae blanditiis officia. Iure qui aliquam porro necessitatibus placeat aut. Et qui optio et nisi nemo.\\nEt et explicabo ipsa eum. Autem modi ut tenetur in repellendus quam. Ratione dolor quia non sint tenetur vel minus.\\nVoluptatem labore voluptatibus qui id delectus consequatur laboriosam. Non porro dolores ut facilis illum rem velit. Quo vel ratione tempore distinctio minima."], ["created_at", "2014-09-26 16:56:52.644059"], ["name", "beta"], ["title", "Tempore molestiae et"], ["updated_at", "2014-09-26 16:56:52.644059"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.645914"], ["updated_at", "2014-09-26 16:56:52.645914"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 16:56:52.649381"], ["updated_at", "2014-09-26 16:56:52.649381"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 16:56:52.652096"], ["updated_at", "2014-09-26 16:56:52.652096"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:56:52.654376"], ["name", "alpha"], ["title", "Hic qui natus"], ["updated_at", "2014-09-26 16:56:52.654376"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 16:56:52.657407"], ["version", 2]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-26 16:56:52.671803"], ["updated_at", "2014-09-26 16:56:52.671803"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 62 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit nam modi. Quibusdam neque aperiam ut omnis consequuntur. Dicta adipisci consequuntur a. Qui placeat voluptatem velit voluptatem laborum porro. Velit tenetur quaerat et commodi ullam.\\nExpedita nostrum esse magnam ut ipsum asperiores sit. Voluptatem consectetur quibusdam ab. Est deserunt hic.\\nAlias itaque doloribus et eos blanditiis repudiandae. Libero quasi quo dolorum eum quis. Reprehenderit error a quia odio accusamus deleniti. Aliquam et ut vel assumenda sapiente aut. Laborum culpa et est sit rem hic."], ["created_at", "2014-09-26 16:56:52.685709"], ["name", "alpha"], ["title", "Nihil quia omnis"], ["updated_at", "2014-09-26 16:56:52.685709"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint et ut ab quibusdam sunt ullam dolorum. Possimus optio facere molestias consequuntur minus exercitationem. Tempore earum ex voluptas corrupti quisquam autem recusandae. Est fuga et.\\nCulpa tenetur maiores et quo temporibus. Quia quia at labore. Ipsum voluptatem reiciendis in.\\nCupiditate eveniet magnam ut ea corporis quasi. Voluptas repellendus quod hic laborum ullam sit. Rerum officia est reiciendis ut."], ["created_at", "2014-09-26 16:56:52.689546"], ["name", "beta"], ["title", "Mollitia quaerat magni"], ["updated_at", "2014-09-26 16:56:52.689546"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.691127"], ["updated_at", "2014-09-26 16:56:52.691127"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 16:56:52.693769"], ["updated_at", "2014-09-26 16:56:52.693769"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 16:56:52.696203"], ["updated_at", "2014-09-26 16:56:52.696203"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:56:52.698582"], ["name", "alpha"], ["title", "Nihil quia omnis"], ["updated_at", "2014-09-26 16:56:52.698582"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 16:56:52.709497"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 63 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (41, 40) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perferendis laboriosam sint. Est quae eos nostrum non ut. Voluptatem pariatur et dicta sapiente commodi nihil enim.\\nArchitecto non sed ut esse. Nihil atque voluptas et necessitatibus. Voluptas vel eius aut. Vel reiciendis ipsam eaque voluptatem. Et animi odit est sapiente corporis quasi non.\\nFugit aut sunt nulla. Voluptatem maiores est qui perspiciatis repellat. Omnis pariatur ducimus facere fugiat aut est sint."], ["created_at", "2014-09-26 16:56:52.715740"], ["name", "alpha"], ["title", "Et officiis iste"], ["updated_at", "2014-09-26 16:56:52.715740"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vel eveniet est quis. Nisi error molestias tempora expedita iusto quis. Aspernatur harum et ipsa ut officia.\\nConsequatur voluptatum debitis dolore aut. Quia consequatur deleniti aut cupiditate fugiat vel. Mollitia quia quidem et ea nihil sit.\\nQuasi quibusdam quod asperiores. Fugit modi sit ipsum et delectus dolores. Omnis voluptas est rerum similique sapiente. Consequuntur sit quo qui."], ["created_at", "2014-09-26 16:56:52.719813"], ["name", "beta"], ["title", "Ea ipsa corporis"], ["updated_at", "2014-09-26 16:56:52.719813"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.721451"], ["updated_at", "2014-09-26 16:56:52.721451"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 16:56:52.725819"], ["updated_at", "2014-09-26 16:56:52.725819"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 16:56:52.729593"], ["updated_at", "2014-09-26 16:56:52.729593"], ["user_id", 64], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:56:52.732860"], ["name", "alpha"], ["title", "Et officiis iste"], ["updated_at", "2014-09-26 16:56:52.732860"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 16:56:52.737282"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolore inventore modi facere cum numquam. Harum dolor est maiores. Perferendis sint voluptate ullam accusamus. Veritatis qui sed modi. Molestiae totam quo autem similique sed esse nemo.\\nOccaecati et voluptatum qui ut. At dolor blanditiis ut. Sed animi et impedit distinctio ab dignissimos dolorem. Autem eos unde aut. Culpa nemo dolor accusamus.\\nProvident deleniti dolorem saepe molestiae velit soluta eius. Distinctio dolorum sit debitis hic. Consequatur error repudiandae reprehenderit pariatur quia et. Aut minima vel in accusamus. Ut nihil alias harum rerum."], ["created_at", "2014-09-26 16:56:52.745709"], ["name", "alpha"], ["title", "Quas quia quia"], ["updated_at", "2014-09-26 16:56:52.745709"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nobis quaerat accusantium. Et magnam ullam soluta eius eligendi aut. Et voluptates maiores aliquid sapiente mollitia incidunt. Occaecati autem qui et laboriosam et. Modi sunt quo optio perspiciatis possimus laborum.\\nRepellendus aut iusto quaerat fugit quis est. Accusamus quis unde rerum doloremque. Autem et laudantium voluptatem in. Est officia fugiat nesciunt. Sit eveniet eos magnam molestias et.\\nQuidem doloremque eos rem rerum. Ab maiores enim ut odit voluptatem ad. Nulla nemo voluptatem ducimus. Illum architecto deleniti enim laboriosam distinctio."], ["created_at", "2014-09-26 16:56:52.751130"], ["name", "beta"], ["title", "Doloremque a natus"], ["updated_at", "2014-09-26 16:56:52.751130"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.752739"], ["updated_at", "2014-09-26 16:56:52.752739"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 16:56:52.756539"], ["updated_at", "2014-09-26 16:56:52.756539"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 16:56:52.760866"], ["updated_at", "2014-09-26 16:56:52.760866"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 16:56:52.764868"], ["name", "alpha"], ["title", "Quas quia quia"], ["updated_at", "2014-09-26 16:56:52.764868"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 16:56:52.770679"], ["version", 8]]  (0.6ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (47, 9, 46, 4, 6, 10, 33, 13, 12, 7, 2, 30, 35, 8, 31, 5, 19, 3, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.3ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.780019"], ["updated_at", "2014-09-26 16:56:52.780019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.782314"], ["updated_at", "2014-09-26 16:56:52.782314"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.787492"], ["updated_at", "2014-09-26 16:56:52.787492"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 16:56:52.789923"], ["updated_at", "2014-09-26 16:56:52.789923"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0') FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iste et debitis veniam ut earum atque nobis. Debitis inventore possimus beatae. Unde est saepe doloribus fugiat. Ipsam ut perspiciatis consequuntur sunt molestiae officiis quia.\\nUt suscipit optio. Dolorem suscipit aperiam quia recusandae sint aut illo. Odio est voluptatem iste mollitia quo. Totam nemo in illo iusto vel cumque ipsa. Eligendi animi error ea quia qui velit qui.\\nEt eos ea temporibus et. Dolor hic laborum. Quia labore accusantium modi."], ["created_at", "2014-09-26 19:01:08.704068"], ["name", "alpha"], ["title", "Dolorum quo aperiam"], ["updated_at", "2014-09-26 19:01:08.704068"], ["version", 1]]  (1.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repellat reprehenderit quia distinctio placeat. Nam voluptate dignissimos voluptatem reprehenderit et voluptas aut. Harum ipsa dolore corporis porro est. Tenetur est atque dicta repudiandae qui voluptas.\\nAut ea rerum est voluptas aut ut qui. Quod nostrum mollitia sapiente expedita est. Temporibus quibusdam quas rerum.\\nAnimi sed est. Animi dolor repellendus ex est ut expedita id. Dolor ad et consequatur sit. Corrupti ab nihil quis quos doloribus vitae. Quo architecto corrupti."], ["created_at", "2014-09-26 19:01:08.710793"], ["name", "beta"], ["title", "Labore illum corporis"], ["updated_at", "2014-09-26 19:01:08.710793"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.713383"], ["updated_at", "2014-09-26 19:01:08.713383"]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 19:01:08.721533"], ["updated_at", "2014-09-26 19:01:08.721533"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 19:01:08.726703"], ["updated_at", "2014-09-26 19:01:08.726703"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:08.731072"], ["name", "alpha"], ["title", "Dolorum quo aperiam"], ["updated_at", "2014-09-26 19:01:08.731072"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 19:01:08.735252"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (3, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cum in distinctio exercitationem. Qui in illum. Eos et aut in hic dicta. Repellendus magni est quibusdam doloremque ullam et eveniet.\\nQuibusdam accusantium iste placeat id in. Id consequuntur non nostrum. Consequuntur est natus sit repellendus.\\nOccaecati reiciendis optio nesciunt quasi itaque voluptatem illo. Et ut dolore esse. Officia voluptatem aut dignissimos voluptatibus consectetur. Iste tempora sit aut. Et sed quis explicabo dolorem eum dolorem odit."], ["created_at", "2014-09-26 19:01:08.745059"], ["name", "alpha"], ["title", "Vero nihil qui"], ["updated_at", "2014-09-26 19:01:08.745059"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Optio vel sed quisquam enim neque aut. Sequi saepe minus aperiam inventore dolore eligendi perspiciatis. Aspernatur qui recusandae repudiandae commodi. In id omnis eligendi officia sequi asperiores.\\nLaborum ex error exercitationem. Suscipit quis officiis magnam repellat omnis excepturi eum. Rerum quidem nisi.\\nEnim ipsum dolor aut quos est. Eos ex ut. Et beatae minima praesentium libero temporibus repudiandae."], ["created_at", "2014-09-26 19:01:08.749470"], ["name", "beta"], ["title", "Qui ut maxime"], ["updated_at", "2014-09-26 19:01:08.749470"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.751224"], ["updated_at", "2014-09-26 19:01:08.751224"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 19:01:08.753954"], ["updated_at", "2014-09-26 19:01:08.753954"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 19:01:08.756493"], ["updated_at", "2014-09-26 19:01:08.756493"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:08.758911"], ["name", "alpha"], ["title", "Vero nihil qui"], ["updated_at", "2014-09-26 19:01:08.758911"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 19:01:08.762319"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugit optio fuga sit dolorem alias. Voluptatibus id assumenda quae minima molestias. Doloremque tempore et cum repudiandae.\\nEt fugit et ipsam non eveniet. Tempora possimus aperiam animi. Consequatur et nemo omnis. Magni voluptatibus nisi culpa.\\nLabore maiores assumenda nesciunt molestias qui dolorum earum. Aut quod dolorem. Aliquam in impedit. Quos ut velit non eum. Est cumque qui qui illo accusamus et sed."], ["created_at", "2014-09-26 19:01:08.771536"], ["name", "alpha"], ["title", "Occaecati et nulla"], ["updated_at", "2014-09-26 19:01:08.771536"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Saepe nesciunt aspernatur voluptatem quia illo. Et quae delectus consequatur. Qui vero est fugit rem nostrum qui voluptatem.\\nQuis ipsum soluta qui. Ipsam ea et est voluptatum. Non facilis quis tenetur.\\nRatione ut officia. Quisquam culpa voluptates velit sit. Et hic ducimus dolore qui quisquam alias."], ["created_at", "2014-09-26 19:01:08.775824"], ["name", "beta"], ["title", "Doloremque occaecati facilis"], ["updated_at", "2014-09-26 19:01:08.775824"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.777571"], ["updated_at", "2014-09-26 19:01:08.777571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 19:01:08.780425"], ["updated_at", "2014-09-26 19:01:08.780425"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 19:01:08.783138"], ["updated_at", "2014-09-26 19:01:08.783138"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:08.786384"], ["name", "alpha"], ["title", "Occaecati et nulla"], ["updated_at", "2014-09-26 19:01:08.786384"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 19:01:08.789986"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quam occaecati similique earum ad amet qui laudantium. Qui aut at neque quia omnis officiis. Facere quaerat minima modi nemo aspernatur.\\nAut alias veniam praesentium ratione. Et in officiis. Laborum nobis eveniet rerum.\\nLabore accusamus tempore sunt excepturi. Praesentium impedit est quod quis ea eos voluptatem. Libero perspiciatis sint voluptas."], ["created_at", "2014-09-26 19:01:08.797679"], ["name", "alpha"], ["title", "Ipsam iste dolor"], ["updated_at", "2014-09-26 19:01:08.797679"], ["version", 7]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Omnis doloremque minima in nihil amet. Expedita ea et sint nihil. Beatae eum adipisci maiores qui.\\nUllam natus qui minima modi quia. Accusamus ut aut doloremque. Commodi nisi repudiandae in nemo placeat.\\nCorporis optio rerum eos autem incidunt. Quod adipisci nihil laborum nemo et et qui. Suscipit dolor fuga est quo. Hic laboriosam explicabo eum sint dolorem. Veritatis quia eaque est."], ["created_at", "2014-09-26 19:01:08.801846"], ["name", "beta"], ["title", "Placeat reiciendis necessitatibus"], ["updated_at", "2014-09-26 19:01:08.801846"], ["version", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.803631"], ["updated_at", "2014-09-26 19:01:08.803631"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 19:01:08.806935"], ["updated_at", "2014-09-26 19:01:08.806935"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 19:01:08.809711"], ["updated_at", "2014-09-26 19:01:08.809711"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:08.811960"], ["name", "alpha"], ["title", "Ipsam iste dolor"], ["updated_at", "2014-09-26 19:01:08.811960"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 19:01:08.814936"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 19:01:08.832047"], ["updated_at", "2014-09-26 19:01:08.832047"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 10]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.847041"], ["updated_at", "2014-09-26 19:01:08.847041"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.849108"], ["updated_at", "2014-09-26 19:01:08.849108"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.857723"], ["updated_at", "2014-09-26 19:01:08.857723"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.859417"], ["updated_at", "2014-09-26 19:01:08.859417"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui dolores debitis. Quibusdam suscipit et consequatur ut. Labore esse enim earum illum. Modi a asperiores suscipit. Non animi voluptates in.\\nAt voluptatibus harum alias beatae. Magni omnis ratione eos eveniet animi ut ullam. Totam iste harum et ea et laborum nihil.\\nRepellat voluptatem est dolor. Rerum voluptatem quisquam. Veritatis minus alias non vero adipisci enim eveniet. Voluptatibus consequuntur cum ab ducimus perspiciatis."], ["created_at", "2014-09-26 19:01:08.863768"], ["name", "sit_voluptatem_adipisci"], ["title", "Sed voluptas voluptate"], ["updated_at", "2014-09-26 19:01:08.863768"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_omnis_minus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'suscipit_omnis_minus') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem sed sit modi. Ut mollitia nihil tempora nam neque consequatur et. Quidem omnis dolores id quia sit. Id ab dignissimos odio quae autem officiis. Possimus id dolor.\\nQuos ut sint sit dicta dolorem cumque aliquid. Aut et a unde laborum doloribus. Ut aliquam vitae et voluptatem qui. Ut assumenda nisi dolorum occaecati dolore facilis.\\nEt mollitia aspernatur est omnis rem. Inventore est at corporis occaecati. Et dolores autem eveniet eius laborum. Accusantium minus est dolorem. In nesciunt animi iure veniam."], ["created_at", "2014-09-26 19:01:08.869274"], ["name", "suscipit_omnis_minus"], ["title", "Doloremque error id"], ["updated_at", "2014-09-26 19:01:08.869274"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.874437"], ["updated_at", "2014-09-26 19:01:08.874437"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.876086"], ["updated_at", "2014-09-26 19:01:08.876086"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_sed_culpa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_sed_culpa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quidem sit voluptatem laborum omnis. Magni aut quae. Corporis distinctio porro eligendi consequatur doloremque.\\nEst eos consequatur sapiente non natus. Quidem sed quasi. Aspernatur similique placeat.\\nUt repudiandae enim sed facilis. Consequatur et et dolorem officiis laboriosam harum qui. Blanditiis dolores dicta recusandae pariatur sint eos ut. Voluptatem harum officia soluta."], ["created_at", "2014-09-26 19:01:08.880462"], ["name", "aut_sed_culpa"], ["title", "Sint cupiditate dolores"], ["updated_at", "2014-09-26 19:01:08.880462"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:08.883102"], ["updated_at", "2014-09-26 19:01:08.883102"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:01:08.883678"], ["updated_at", "2014-09-26 19:01:08.883678"], ["user_id", 11], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"15"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 184ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.072813"], ["updated_at", "2014-09-26 19:01:09.072813"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.075635"], ["updated_at", "2014-09-26 19:01:09.075635"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_enim_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_enim_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cupiditate maiores maxime voluptatum. Consequuntur suscipit eos. Qui dolorum harum.\\nPraesentium qui nostrum eveniet iste sunt. Voluptates officiis repellat distinctio. Magnam minus officiis adipisci enim repudiandae eaque. Et excepturi accusamus sunt quia. Est mollitia rerum nemo excepturi similique aut quia.\\nSed expedita et voluptatem aspernatur ut cumque qui. Expedita nihil et incidunt repellat. Aut et nostrum eligendi inventore. Explicabo labore modi optio tempora possimus. Quam blanditiis est nihil consequatur enim."], ["created_at", "2014-09-26 19:01:09.081015"], ["name", "est_enim_et"], ["title", "Fugit illum et"], ["updated_at", "2014-09-26 19:01:09.081015"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.084391"], ["updated_at", "2014-09-26 19:01:09.084391"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 19:01:09.085116"], ["updated_at", "2014-09-26 19:01:09.085116"], ["user_id", 14], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.095081"], ["updated_at", "2014-09-26 19:01:09.095081"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.096807"], ["updated_at", "2014-09-26 19:01:09.096807"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reiciendis_ipsa_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'reiciendis_ipsa_atque') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quidem dignissimos voluptatem. Modi iste molestiae. Quia dolores neque vitae est. Eum voluptate eius deserunt commodi doloremque tempore odit. Dolor sapiente ut explicabo consectetur magni autem.\\nTempora sit nihil soluta suscipit accusantium illum. Et numquam dignissimos fugit asperiores eos occaecati fuga. Quidem nihil soluta quaerat. Possimus cumque nihil alias quaerat. Placeat sint et et quibusdam ut.\\nAut sed sint quis. Non saepe omnis. Et aliquid occaecati. Qui reprehenderit adipisci facilis eum. Possimus enim et corrupti voluptas ut."], ["created_at", "2014-09-26 19:01:09.101228"], ["name", "reiciendis_ipsa_atque"], ["title", "Velit perspiciatis accusantium"], ["updated_at", "2014-09-26 19:01:09.101228"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.103732"], ["updated_at", "2014-09-26 19:01:09.103732"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-26 19:01:09.104290"], ["updated_at", "2014-09-26 19:01:09.104290"], ["user_id", 17], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] Redirected to http://test.host/fine_print/contracts/17/signatures?r=Q21ULzhtM09SeWJiNGgyODBGS3FsUT09LS1JNWw0b1lkdCtyWDJzTWs3NHRMMVJ3PT0%3D--c2aa88271959e134c48d0f44b5b1e05497d9ec14 Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 12 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.112616"], ["updated_at", "2014-09-26 19:01:09.112616"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.114161"], ["updated_at", "2014-09-26 19:01:09.114161"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_quisquam_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolores_quisquam_voluptatem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vel tempora quia. Quae aut omnis rerum aspernatur nisi. Rem aut quis sit eos cum delectus. Sapiente fugit molestiae dolor et reiciendis. Quidem ducimus voluptatem.\\nEveniet et velit velit. Laudantium est minima et quis eligendi quia. Voluptatibus quo ea cum nemo. Iusto quo beatae inventore rerum ut.\\nVoluptates ut et explicabo rerum provident. Sit laudantium eveniet odio incidunt. Soluta accusamus laborum exercitationem provident et error dolorum. Dignissimos molestias voluptatibus unde."], ["created_at", "2014-09-26 19:01:09.118945"], ["name", "dolores_quisquam_voluptatem"], ["title", "Animi velit perferendis"], ["updated_at", "2014-09-26 19:01:09.118945"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.121827"], ["updated_at", "2014-09-26 19:01:09.121827"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 19:01:09.122428"], ["updated_at", "2014-09-26 19:01:09.122428"], ["user_id", 20], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"18"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.125996"], ["updated_at", "2014-09-26 19:01:09.125996"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.127468"], ["updated_at", "2014-09-26 19:01:09.127468"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "impedit_suscipit_debitis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'impedit_suscipit_debitis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui et natus nemo non dolorem. Qui cum possimus. Amet asperiores accusamus exercitationem et.\\nUt dolores possimus quis rerum labore harum. Dolore impedit harum. Temporibus quia pariatur cum dolore.\\nAut nesciunt adipisci qui porro nulla. Id eos earum sunt. Doloribus et eum fugit. Et in dolore velit. Dolores dolorem esse odit."], ["created_at", "2014-09-26 19:01:09.131820"], ["name", "impedit_suscipit_debitis"], ["title", "Quidem repudiandae ratione"], ["updated_at", "2014-09-26 19:01:09.131820"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.134337"], ["updated_at", "2014-09-26 19:01:09.134337"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 19:01:09.134904"], ["updated_at", "2014-09-26 19:01:09.134904"], ["user_id", 23], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.140186"], ["updated_at", "2014-09-26 19:01:09.140186"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.141675"], ["updated_at", "2014-09-26 19:01:09.141675"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_quisquam_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_quisquam_aut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vero ut in quia repudiandae. Veritatis est est deserunt omnis id. Hic odio sapiente est ratione. Eaque dolores sunt asperiores harum voluptate reprehenderit. Hic vero est harum amet quas alias.\\nOccaecati eum dolorem ea rerum quaerat placeat. Aut molestias non. Minima vitae corporis voluptates et nihil. Incidunt quaerat omnis.\\nQuod nisi corrupti molestiae quia. Quas vitae molestiae quia qui eius. Mollitia ratione nulla quo eos. Adipisci omnis iste consectetur ut autem. Aut voluptate accusantium."], ["created_at", "2014-09-26 19:01:09.146026"], ["name", "voluptatem_quisquam_aut"], ["title", "Odio tenetur voluptates"], ["updated_at", "2014-09-26 19:01:09.146026"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.148745"], ["updated_at", "2014-09-26 19:01:09.148745"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 19:01:09.149306"], ["updated_at", "2014-09-26 19:01:09.149306"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.155613"], ["updated_at", "2014-09-26 19:01:09.155613"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.157267"], ["updated_at", "2014-09-26 19:01:09.157267"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_libero_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_libero_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquam sed eum. Ut eius esse nihil corrupti. Iusto aspernatur porro praesentium nesciunt qui reprehenderit.\\nQuis et incidunt at sed qui facere. Cumque fuga et aut dolores magnam. Qui id odit. Nesciunt aut hic unde sed aut et ipsum.\\nUt qui nihil qui. Alias doloremque ea officiis voluptatem nihil dolorem. Exercitationem nihil aut ut aliquid. Voluptas dolor voluptas. Laborum vel deleniti sit."], ["created_at", "2014-09-26 19:01:09.161487"], ["name", "voluptatem_libero_qui"], ["title", "Tempore delectus ullam"], ["updated_at", "2014-09-26 19:01:09.161487"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.164078"], ["updated_at", "2014-09-26 19:01:09.164078"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:01:09.164622"], ["updated_at", "2014-09-26 19:01:09.164622"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"21"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"21"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.168774"], ["updated_at", "2014-09-26 19:01:09.168774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.170348"], ["updated_at", "2014-09-26 19:01:09.170348"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_tempora_in"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_tempora_in') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Totam adipisci sed saepe. Totam perspiciatis corporis natus quod culpa iusto porro. Quia consequatur officiis aut illum.\\nIn illum eligendi voluptatem sed. Asperiores dolorem earum. Qui libero officiis. Delectus omnis dolorem quis.\\nEt aliquid nihil quae rem repellat. Atque id porro sunt quia. Harum nam eum eos. Sequi fuga ipsa."], ["created_at", "2014-09-26 19:01:09.174519"], ["name", "quia_tempora_in"], ["title", "Natus amet mollitia"], ["updated_at", "2014-09-26 19:01:09.174519"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.177026"], ["updated_at", "2014-09-26 19:01:09.177026"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 19:01:09.177580"], ["updated_at", "2014-09-26 19:01:09.177580"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nisi_ad_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nisi_ad_quia') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Amet voluptas possimus suscipit commodi repudiandae rerum. Occaecati maiores et modi. Velit harum hic explicabo vel maxime cupiditate. Quia qui quidem ad harum voluptas autem. Amet non placeat distinctio iste qui.\\nVel et est non. Aut a eos. Vitae ut eveniet quia. Voluptatem earum a. Qui qui nihil provident error.\\nNeque non quibusdam sed nam tenetur. Magni nam id nobis facere. Asperiores voluptas nihil. Et alias dolor vel autem quas nemo. Id repudiandae id."], ["created_at", "2014-09-26 19:01:09.184933"], ["name", "nisi_ad_quia"], ["title", "Voluptatem ullam rem"], ["updated_at", "2014-09-26 19:01:09.184933"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'nisi_ad_quia' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Amet voluptas possimus suscipit commodi repudiandae rerum. Occaecati maiores et modi. Velit harum hic explicabo vel maxime cupiditate. Quia qui quidem ad harum voluptas autem. Amet non placeat distinctio iste qui.\\nVel et est non. Aut a eos. Vitae ut eveniet quia. Voluptatem earum a. Qui qui nihil provident error.\\nNeque non quibusdam sed nam tenetur. Magni nam id nobis facere. Asperiores voluptas nihil. Et alias dolor vel autem quas nemo. Id repudiandae id."], ["created_at", "2014-09-26 19:01:09.187433"], ["name", "nisi_ad_quia"], ["title", "Voluptatem ullam rem"], ["updated_at", "2014-09-26 19:01:09.187433"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nisi_ad_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'nisi_ad_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-26 19:01:09.190917"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Earum ut possimus id dolores. Fugit illum veniam commodi et autem sint. Rerum neque in sed.\\nProvident quaerat molestiae rerum. Quaerat similique consectetur. Culpa natus et. Necessitatibus odit unde voluptate minima. Voluptatum et doloremque mollitia dignissimos exercitationem.\\nTenetur iure sint non. Velit consequatur ipsam. Rerum consequatur provident eaque. Quasi vel rem alias."], ["created_at", "2014-09-26 19:01:09.195166"], ["name", "consequatur_ut_voluptatem"], ["title", "Aut culpa modi"], ["updated_at", "2014-09-26 19:01:09.195166"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_ut_voluptatem"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'consequatur_ut_voluptatem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:01:09.199211"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.204584"], ["updated_at", "2014-09-26 19:01:09.204584"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 19:01:09.205215"], ["updated_at", "2014-09-26 19:01:09.205215"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'consequatur_ut_voluptatem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_ut_voluptatem"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia eius asperiores. Laudantium nihil omnis vel. Labore occaecati et. Et modi est est illo voluptas iusto. Praesentium et impedit inventore.\\nNesciunt maxime ratione. Aut enim voluptas. Omnis ea at eum.\\nVoluptate accusamus magnam dolorem ratione et. Omnis id ad dolore illo sint asperiores est. Ratione nobis voluptas mollitia facilis sed aspernatur. Est nihil earum voluptatum voluptatem sed omnis. Voluptate excepturi itaque adipisci voluptas quis quia rerum."], ["created_at", "2014-09-26 19:01:09.213576"], ["name", "placeat_sint_mollitia"], ["title", "Quos quaerat reiciendis"], ["updated_at", "2014-09-26 19:01:09.213576"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "placeat_sint_mollitia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'placeat_sint_mollitia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:01:09.217873"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "placeat_sint_mollitia"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "placeat_sint_mollitia"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:01:09.222371"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "labore_impedit_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'labore_impedit_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed impedit soluta ut in ea recusandae qui. Provident ut quasi aut nesciunt dolorem repellendus quod. In neque ut aperiam sapiente blanditiis enim.\\nOmnis inventore nemo et suscipit ea culpa ipsa. Natus repellat voluptatem enim maxime delectus. At cum deleniti.\\nNecessitatibus sit consequuntur sed maiores. Sit sunt odit beatae sint voluptas assumenda incidunt. Vero eum quaerat porro voluptatibus unde voluptatem dolorem. Excepturi sint ab. Sequi excepturi officiis et perspiciatis et."], ["created_at", "2014-09-26 19:01:09.227090"], ["name", "labore_impedit_qui"], ["title", "Vero quisquam debitis"], ["updated_at", "2014-09-26 19:01:09.227090"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'labore_impedit_qui' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed impedit soluta ut in ea recusandae qui. Provident ut quasi aut nesciunt dolorem repellendus quod. In neque ut aperiam sapiente blanditiis enim.\\nOmnis inventore nemo et suscipit ea culpa ipsa. Natus repellat voluptatem enim maxime delectus. At cum deleniti.\\nNecessitatibus sit consequuntur sed maiores. Sit sunt odit beatae sint voluptas assumenda incidunt. Vero eum quaerat porro voluptatibus unde voluptatem dolorem. Excepturi sint ab. Sequi excepturi officiis et perspiciatis et."], ["created_at", "2014-09-26 19:01:09.229724"], ["name", "joe"], ["title", "Vero quisquam debitis"], ["updated_at", "2014-09-26 19:01:09.229724"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-26 19:01:09.233068"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.236972"], ["updated_at", "2014-09-26 19:01:09.236972"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.238928"], ["updated_at", "2014-09-26 19:01:09.238928"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur odio rerum dignissimos. Illum eligendi mollitia impedit. Nostrum voluptatum et aliquid. Aut doloribus ut culpa accusamus illo at voluptatem.\\nId nam perspiciatis aspernatur repudiandae iste aliquid. Harum officia quis consequuntur id adipisci qui. Blanditiis voluptatem est ut quidem animi beatae. Totam facilis saepe.\\nOdit eius dolor consequatur vero ut esse deleniti. Atque error quibusdam deserunt id molestiae. Tenetur et aut omnis explicabo est consequatur."], ["created_at", "2014-09-26 19:01:09.241197"], ["name", "ut_unde_et"], ["title", "Consequatur iste voluptatem"], ["updated_at", "2014-09-26 19:01:09.241197"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:01:09.245336"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:01:09.245336"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.249326"], ["updated_at", "2014-09-26 19:01:09.249326"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.250841"], ["updated_at", "2014-09-26 19:01:09.250841"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et ea architecto voluptas sint rerum nobis. Sunt blanditiis ex quia. Praesentium ex fuga laborum sequi illum quo.\\nNatus voluptatem ut dolorem earum dolore. Magnam dicta sed qui sit aspernatur. Rerum dignissimos praesentium ut tempore.\\nMolestiae sit rem adipisci asperiores. Cum non odio dolorum magni doloribus ipsam consequatur. Vitae nemo ut et ipsa deleniti illo quaerat."], ["created_at", "2014-09-26 19:01:09.252966"], ["name", "vitae_assumenda_ducimus"], ["title", "Et ab autem"], ["updated_at", "2014-09-26 19:01:09.252966"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.257769"], ["updated_at", "2014-09-26 19:01:09.257769"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.259217"], ["updated_at", "2014-09-26 19:01:09.259217"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique fuga vitae harum quibusdam. Accusantium enim illum commodi et. Sit consequatur quidem voluptatem.\\nTempore blanditiis minus rerum. In ratione beatae tempora. Minus exercitationem aut ipsum autem. Rerum aliquam ipsam ex et magni. Perspiciatis nemo qui eligendi tempora ex laboriosam quos.\\nVoluptas illum ut consequatur vel animi aliquid. Labore consectetur quae at. Iure quos voluptates cupiditate quia omnis quis. Inventore voluptate autem nemo magni amet."], ["created_at", "2014-09-26 19:01:09.261367"], ["name", "sequi_omnis_et"], ["title", "Modi reprehenderit ut"], ["updated_at", "2014-09-26 19:01:09.261367"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_omnis_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'sequi_omnis_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 19:01:09.264581"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.270183"], ["updated_at", "2014-09-26 19:01:09.270183"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.271791"], ["updated_at", "2014-09-26 19:01:09.271791"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis blanditiis aut occaecati molestiae repellat. Deserunt temporibus eum est quod quia sunt. Provident corrupti ea totam. Sit consequatur asperiores libero vero.\\nVeniam sequi molestiae dolorem et dolorem rerum. Rerum voluptatem amet facere id consequatur. Facilis iusto ut nostrum quo maxime rerum error. Sunt deleniti voluptate sequi repudiandae facilis dolor.\\nQuasi itaque quibusdam rem qui. Omnis iste non ut officiis consequatur consequuntur qui. Aliquam cumque et saepe."], ["created_at", "2014-09-26 19:01:09.274026"], ["name", "neque_sunt_amet"], ["title", "Et non vitae"], ["updated_at", "2014-09-26 19:01:09.274026"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 15, 11, 8, 5, 2, 25, 18, 16, 19, 28, 27, 33, 24, 23, 26, 22, 17, 32, 13, 30, 14, 29, 31, 21, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.282063"], ["updated_at", "2014-09-26 19:01:09.282063"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.283655"], ["updated_at", "2014-09-26 19:01:09.283655"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cumque ullam velit repellat dicta. Distinctio sed sit aut. Eius magni accusamus velit laudantium cumque ratione.\\nSoluta praesentium reprehenderit nihil. Praesentium cupiditate incidunt suscipit molestiae ratione sint. Cupiditate porro modi maxime consequuntur.\\nQui aut quod ad accusantium necessitatibus maxime aut. Perspiciatis nam nobis nulla. Consequatur dicta voluptate sed sed eos rerum voluptatem. Aspernatur dolor nam explicabo quod. Dolor esse ut consectetur."], ["created_at", "2014-09-26 19:01:09.286382"], ["name", "voluptatem_molestiae_aut"], ["title", "Eveniet dicta laboriosam"], ["updated_at", "2014-09-26 19:01:09.286382"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.290778"], ["updated_at", "2014-09-26 19:01:09.290778"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.292340"], ["updated_at", "2014-09-26 19:01:09.292340"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aspernatur suscipit iusto. Sunt sed voluptas qui excepturi recusandae. Consequatur et explicabo itaque facere. Aspernatur quia nam eos nisi. Ipsum ab aperiam.\\nDoloribus voluptatem sed quaerat dolor. Laudantium consequatur enim officia omnis laborum nihil. Sequi numquam neque. Autem mollitia ut earum unde quis. Et eaque porro aspernatur veritatis voluptatem.\\nNemo non et dolores. Molestiae et et doloremque voluptas a ipsum sunt. Molestias ad ab nulla consequatur debitis occaecati. Tempore et numquam impedit tenetur. Qui consequatur voluptas non est saepe sunt voluptas."], ["created_at", "2014-09-26 19:01:09.294514"], ["name", "libero_laborum_vel"], ["title", "Totam ullam ut"], ["updated_at", "2014-09-26 19:01:09.294514"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "libero_laborum_vel"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'libero_laborum_vel') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 19:01:09.297724"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.302824"], ["updated_at", "2014-09-26 19:01:09.302824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.304377"], ["updated_at", "2014-09-26 19:01:09.304377"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui rerum qui quo est. Quae voluptatem aut nihil quisquam et. Velit voluptas reprehenderit. Totam atque omnis ullam aliquid velit doloremque.\\nQuam iure natus soluta aperiam beatae cupiditate. Reiciendis fuga tenetur sint suscipit rerum explicabo et. Enim consectetur blanditiis est ipsam quia quibusdam qui. Dolorem aut libero officia temporibus asperiores. Nostrum quis sapiente in et.\\nAliquam corrupti quia recusandae dolorem. Est porro dolorum autem. In est nihil ipsa voluptatem consequatur odio molestiae."], ["created_at", "2014-09-26 19:01:09.306616"], ["name", "qui_sed_cum"], ["title", "Praesentium qui eius"], ["updated_at", "2014-09-26 19:01:09.306616"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.311834"], ["updated_at", "2014-09-26 19:01:09.311834"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.313382"], ["updated_at", "2014-09-26 19:01:09.313382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt modi laboriosam ab natus. Unde numquam modi voluptatum sint. Ut id velit suscipit ducimus.\\nError quia quia eligendi. Eius quis in aut molestiae. Sunt quas ad. Officia consequuntur consequatur et.\\nPossimus et dolor tempora quis eligendi commodi voluptate. Et sint blanditiis provident tempore deleniti et accusantium. Quisquam voluptas doloremque sit. Quas ullam voluptas praesentium ut modi aut ea."], ["created_at", "2014-09-26 19:01:09.315566"], ["name", "et_provident_earum"], ["title", "Asperiores accusamus consectetur"], ["updated_at", "2014-09-26 19:01:09.315566"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 37 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:01:09.319666"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/37 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.325662"], ["updated_at", "2014-09-26 19:01:09.325662"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.327517"], ["updated_at", "2014-09-26 19:01:09.327517"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corrupti quia atque necessitatibus ad et libero rem. Tempore veritatis nostrum perspiciatis ducimus ipsa. Consequatur quae velit veniam omnis. Ad doloremque perspiciatis sapiente nulla aut consequatur.\\nVoluptatem itaque asperiores voluptate quasi voluptatum enim. Sint dolorem dicta ipsa temporibus. Veritatis totam et quibusdam. Laboriosam quas aperiam sed perspiciatis. Qui consequuntur a accusantium fuga beatae ea.\\nNihil a sunt commodi odio accusantium. Sit nostrum dolorem itaque eum et repellendus est. At est ut vel rerum incidunt non laborum. Voluptate eius dicta officiis qui."], ["created_at", "2014-09-26 19:01:09.330251"], ["name", "sed_voluptatem_doloremque"], ["title", "Exercitationem id in"], ["updated_at", "2014-09-26 19:01:09.330251"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.334561"], ["updated_at", "2014-09-26 19:01:09.334561"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.336087"], ["updated_at", "2014-09-26 19:01:09.336087"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut temporibus dolores ab quasi voluptate. Quo quisquam sed sit. Qui modi voluptate omnis iste eum a consequatur.\\nQuis voluptatem illo quod. Veniam ullam tenetur. Repudiandae suscipit qui.\\nRepudiandae pariatur distinctio ut voluptatibus. Consectetur consequatur corporis quas nobis voluptatibus est. Sit et voluptatibus maxime doloremque hic alias. Aut aut dolores et."], ["created_at", "2014-09-26 19:01:09.338239"], ["name", "maxime_sit_qui"], ["title", "Molestias et deleniti"], ["updated_at", "2014-09-26 19:01:09.338239"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_sit_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'maxime_sit_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 19:01:09.341436"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_sit_qui"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 19:01:09.346453"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.350507"], ["updated_at", "2014-09-26 19:01:09.350507"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.352079"], ["updated_at", "2014-09-26 19:01:09.352079"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nobis culpa cupiditate ex saepe ratione. Et ab ducimus est reiciendis perspiciatis. Temporibus dolorem in ducimus animi dignissimos aliquam optio.\\nMagni ex voluptas animi eos reiciendis nam. Dicta odit ipsa velit quas aut temporibus voluptatibus. Quis incidunt molestias.\\nCum dolorem esse dolor et ipsam odit autem. Illo quisquam earum voluptas dolorum sed quaerat rem. Quidem saepe ipsa. Sequi eius delectus."], ["created_at", "2014-09-26 19:01:09.354209"], ["name", "rerum_eveniet_ratione"], ["title", "Voluptatem non repudiandae"], ["updated_at", "2014-09-26 19:01:09.354209"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.360191"], ["updated_at", "2014-09-26 19:01:09.360191"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.361907"], ["updated_at", "2014-09-26 19:01:09.361907"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab dolorum temporibus aliquam. Molestiae necessitatibus natus aut omnis et nesciunt qui. Aut magnam et molestiae esse nulla et. Veniam voluptatum voluptates dicta. Et reiciendis voluptates vel quisquam quos.\\nVitae cumque eos corporis. Libero perspiciatis consequatur molestias laudantium dolore aliquid. Quas vero debitis dolorem magnam temporibus. Veritatis nostrum enim alias molestiae sed ut.\\nOptio corporis quas aliquam aliquid alias. Odio totam aperiam quas labore. Pariatur ab dolores quibusdam voluptatum doloribus quia."], ["created_at", "2014-09-26 19:01:09.364118"], ["name", "quo_reprehenderit_autem"], ["title", "Cupiditate deleniti ut"], ["updated_at", "2014-09-26 19:01:09.364118"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quo_reprehenderit_autem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'quo_reprehenderit_autem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 19:01:09.375336"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'quo_reprehenderit_autem' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.388020"], ["updated_at", "2014-09-26 19:01:09.388020"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.390247"], ["updated_at", "2014-09-26 19:01:09.390247"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et in soluta vel aut. Sapiente rerum nostrum asperiores. Debitis officiis dolorem sapiente molestias eaque animi.\\nAut consequatur quis voluptatem et rerum ea aut. Molestias ratione est incidunt vel modi labore. Libero quo aperiam. Provident dolorem magnam illo facere.\\nReiciendis explicabo rerum et perferendis sapiente. Molestias quo est amet commodi minima molestiae aut. Velit aut aliquam quo necessitatibus placeat blanditiis. Non voluptates at. Rem magnam veniam necessitatibus quis reprehenderit."], ["created_at", "2014-09-26 19:01:09.394355"], ["name", "cumque_incidunt_aut"], ["title", "Ipsum odit saepe"], ["updated_at", "2014-09-26 19:01:09.394355"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.399732"], ["updated_at", "2014-09-26 19:01:09.399732"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.402218"], ["updated_at", "2014-09-26 19:01:09.402218"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officiis quos ipsa eum totam omnis. Laborum beatae nostrum. Rerum eos officia atque. Repudiandae voluptas maxime ipsa fuga ducimus non. Vero eligendi consequatur vitae.\\nEx consequatur accusamus corporis. Ut odio ut quos doloremque. Mollitia esse voluptas commodi. Quis non excepturi natus dolor quaerat et. Quia rerum quo placeat unde sunt.\\nNulla asperiores ipsum et deserunt amet temporibus expedita. Aliquam pariatur nesciunt. Voluptates nisi error modi voluptatem accusamus. Dicta similique molestiae."], ["created_at", "2014-09-26 19:01:09.405159"], ["name", "recusandae_maiores_aut"], ["title", "Non nam incidunt"], ["updated_at", "2014-09-26 19:01:09.405159"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 43]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 43]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 43 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.414665"], ["updated_at", "2014-09-26 19:01:09.414665"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.416984"], ["updated_at", "2014-09-26 19:01:09.416984"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tenetur architecto nihil quia voluptatem officia qui assumenda. Nobis sequi quis veritatis quia animi. Fugiat iusto nemo. Sunt soluta fugiat illum ut in cupiditate.\\nEt occaecati facilis blanditiis mollitia amet. Reprehenderit aut blanditiis iste. Qui non qui est autem corporis. Aspernatur veritatis corporis eaque sequi assumenda minima.\\nQuia ipsa sit fugit. Molestias hic ut. Magni veritatis labore voluptatum impedit. Dolores iste totam itaque qui. Facere iusto assumenda omnis."], ["created_at", "2014-09-26 19:01:09.420661"], ["name", "repellat_ut_sed"], ["title", "Laudantium eos cupiditate"], ["updated_at", "2014-09-26 19:01:09.420661"]]  (5.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.437112"], ["updated_at", "2014-09-26 19:01:09.437112"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.440203"], ["updated_at", "2014-09-26 19:01:09.440203"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquam et et voluptas ducimus. Laudantium qui placeat tempore dolores laborum. Aut deserunt reprehenderit magni. Aspernatur natus maiores ad quo sunt quis.\\nSequi voluptatum possimus iure. Veritatis incidunt porro qui. Aliquam et aut omnis. Quia est quas in laboriosam ipsa. Voluptas eligendi nisi rem sed.\\nTotam quibusdam non in. Omnis ipsa praesentium id cum est non cumque. Et vel id quidem accusamus. In iste molestiae eveniet et in libero. Perspiciatis in officiis incidunt occaecati sunt sed sit."], ["created_at", "2014-09-26 19:01:09.443941"], ["name", "consequuntur_id_sed"], ["title", "Est sint praesentium"], ["updated_at", "2014-09-26 19:01:09.443941"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.450108"], ["updated_at", "2014-09-26 19:01:09.450108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.451730"], ["updated_at", "2014-09-26 19:01:09.451730"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Id esse expedita qui id perspiciatis animi. Ratione saepe odit et. Velit tempore dolore corrupti itaque tempora consequuntur et. Quidem sequi quaerat ut.\\nQuia ex quas commodi accusamus adipisci. Qui eius omnis consequatur quo dicta. Molestias numquam natus sit praesentium et. Reiciendis sit voluptas eum.\\nIste totam nemo perspiciatis doloremque voluptatum earum eaque. Voluptate laboriosam unde eum. Asperiores nihil beatae. Sed ut incidunt."], ["created_at", "2014-09-26 19:01:09.453917"], ["name", "deserunt_nam_quia"], ["title", "Ipsa inventore est"], ["updated_at", "2014-09-26 19:01:09.453917"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deserunt_nam_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'deserunt_nam_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 19:01:09.460065"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.465924"], ["updated_at", "2014-09-26 19:01:09.465924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:09.467424"], ["updated_at", "2014-09-26 19:01:09.467424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut ut dolores error dolor. Aspernatur vitae quasi est illo aut fugit. Quia distinctio assumenda inventore deleniti ut. Doloremque cumque asperiores.\\nRerum molestias cumque repellat reprehenderit minus. Rerum corporis ut doloremque. Excepturi cum distinctio eveniet quas praesentium eaque. Labore autem cupiditate possimus perspiciatis id.\\nIste voluptatem voluptatibus est eum vel. Molestiae aut voluptas. Fugiat doloribus sit quia. Ea adipisci itaque quia nihil assumenda a. Delectus ipsum error nemo rem est."], ["created_at", "2014-09-26 19:01:09.469745"], ["name", "rerum_itaque_qui"], ["title", "Inventore iure et"], ["updated_at", "2014-09-26 19:01:09.469745"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Possimus voluptates fuga esse suscipit earum rerum non. Autem ratione laborum est sequi. Nemo nihil aliquam hic qui.\\nEt quia aut sit voluptatem maxime facilis natus. Aut corporis magnam minima rem voluptatum unde quia. Dolorem qui necessitatibus sed deleniti. Qui qui beatae in tempora nostrum aspernatur aut.\\nA et magni alias quo autem laudantium delectus. Esse iusto architecto dolorem dolorum. Enim ea sunt et ab tempore nihil."], ["created_at", "2014-09-26 19:01:44.559615"], ["name", "id_natus_quisquam"], ["title", "Unde sed eius"], ["updated_at", "2014-09-26 19:01:44.559615"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "harum_quia_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'harum_quia_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officiis cum perspiciatis similique eius nesciunt. Ex illum ipsum laborum voluptatibus quod qui sint. Id quasi deserunt vero qui. Nemo natus quidem. Optio ut doloremque deserunt.\\nUt nemo provident saepe qui. Eum magnam et beatae quia debitis voluptatem. Cumque nemo neque nulla ratione. Eaque laborum velit dolores.\\nAccusantium sed minus. Sunt molestiae iusto et repellendus. Ut modi omnis officia et qui sequi. Dolorem cumque illo harum soluta est reprehenderit."], ["created_at", "2014-09-26 19:01:44.581527"], ["name", "harum_quia_ut"], ["title", "Dolores fugiat maxime"], ["updated_at", "2014-09-26 19:01:44.581527"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum voluptatum qui laborum magni quaerat quasi. Quia id asperiores aut magni cumque. Voluptas laboriosam qui quia.\\nFacere hic ipsum perferendis dignissimos. Quisquam et nihil nesciunt necessitatibus corrupti libero voluptas. Aut maiores mollitia ipsum.\\nDoloribus illum architecto et ut. Esse nemo quia dolores est explicabo. Aliquid nemo optio."], ["created_at", "2014-09-26 19:01:44.597198"], ["name", "alpha"], ["title", "Rem repellat incidunt"], ["updated_at", "2014-09-26 19:01:44.597198"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quo totam nam recusandae. Doloribus id debitis. Quia eum dignissimos.\\nNihil optio impedit autem ut sed perspiciatis ea. Aperiam est in ipsum. Necessitatibus reprehenderit sint. Reprehenderit quibusdam quas nesciunt eos in.\\nEst consequatur dolorum magnam eos qui eum qui. Possimus adipisci iste aut voluptatem dignissimos earum ipsum. Voluptatem deleniti necessitatibus corrupti magni. Repellendus rem animi quisquam est quos itaque est."], ["created_at", "2014-09-26 19:01:44.601400"], ["name", "beta"], ["title", "Corporis occaecati eos"], ["updated_at", "2014-09-26 19:01:44.601400"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.603062"], ["updated_at", "2014-09-26 19:01:44.603062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 19:01:44.606345"], ["updated_at", "2014-09-26 19:01:44.606345"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 19:01:44.611957"], ["updated_at", "2014-09-26 19:01:44.611957"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:44.616214"], ["name", "alpha"], ["title", "Rem repellat incidunt"], ["updated_at", "2014-09-26 19:01:44.616214"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 19:01:44.619701"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (5, 4, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Omnis a reprehenderit quos neque. Quis distinctio aut asperiores. Sequi reiciendis eum dolor. Voluptatem et dolorem id. Illo sunt dolores sed.\\nEt eum enim inventore voluptatibus dolores similique sint. Repellat alias quidem. Est illo blanditiis consequatur sunt in beatae delectus.\\nVoluptatem ullam laudantium assumenda rem autem aut adipisci. Enim illum distinctio fugiat. Eligendi magni qui. Aut aut qui voluptatem suscipit. Illum voluptas facere eaque nihil animi et beatae."], ["created_at", "2014-09-26 19:01:44.631984"], ["name", "alpha"], ["title", "Doloremque qui velit"], ["updated_at", "2014-09-26 19:01:44.631984"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum voluptatem expedita aut omnis. Aut molestiae incidunt perspiciatis quas. Reiciendis sed sequi ut occaecati qui.\\nEveniet nihil commodi laudantium eum atque. Error architecto sed alias. Repellendus perspiciatis sed culpa et. Fugit numquam et. Delectus debitis magni non dolorem.\\nEveniet rerum quia itaque dolore cum earum eaque. Impedit quidem dolorum ducimus. Similique occaecati qui consequatur consequatur sit et sunt. Doloribus voluptatum quidem consequatur qui distinctio ad voluptate. Ut ut enim consequatur unde quisquam deserunt."], ["created_at", "2014-09-26 19:01:44.636463"], ["name", "beta"], ["title", "Necessitatibus sunt ea"], ["updated_at", "2014-09-26 19:01:44.636463"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.638184"], ["updated_at", "2014-09-26 19:01:44.638184"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 19:01:44.640965"], ["updated_at", "2014-09-26 19:01:44.640965"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 19:01:44.643585"], ["updated_at", "2014-09-26 19:01:44.643585"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:44.645952"], ["name", "alpha"], ["title", "Doloremque qui velit"], ["updated_at", "2014-09-26 19:01:44.645952"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 19:01:44.649193"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio velit deserunt adipisci qui labore aperiam. Nulla minima unde sequi voluptas. Quibusdam est ut iure. Qui voluptas dolores similique quidem fuga est. Autem dolorum officia blanditiis placeat corporis dolores ut.\\nReprehenderit itaque optio voluptas ipsam. Sint quisquam delectus. Ratione earum qui.\\nIllo impedit a. Totam aut aliquam eum. Quasi nisi deleniti consectetur."], ["created_at", "2014-09-26 19:01:44.657924"], ["name", "alpha"], ["title", "Consequatur in possimus"], ["updated_at", "2014-09-26 19:01:44.657924"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aspernatur eos labore magnam ut. Mollitia aut et. Dignissimos libero consectetur et maxime quaerat. Mollitia eos assumenda.\\nIpsa molestiae eius fugit veniam. Ut sint magni delectus. Nemo voluptatem qui in. Qui ipsa at enim et. Ab velit quaerat unde.\\nBlanditiis esse a necessitatibus reiciendis porro. Voluptatem ea ipsum delectus ab provident id aliquam. Eaque nisi accusamus quia."], ["created_at", "2014-09-26 19:01:44.661783"], ["name", "beta"], ["title", "Id sint incidunt"], ["updated_at", "2014-09-26 19:01:44.661783"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.663446"], ["updated_at", "2014-09-26 19:01:44.663446"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 19:01:44.666157"], ["updated_at", "2014-09-26 19:01:44.666157"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 19:01:44.668566"], ["updated_at", "2014-09-26 19:01:44.668566"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:44.670940"], ["name", "alpha"], ["title", "Consequatur in possimus"], ["updated_at", "2014-09-26 19:01:44.670940"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 19:01:44.673914"], ["version", 6]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (11, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Blanditiis beatae ut et consequatur nihil corporis. Tempora voluptatem delectus dolorem sequi corrupti minus asperiores. Consequatur rerum consectetur quod nihil. Sequi recusandae est officia facilis.\\nImpedit ea dolore qui animi. Eos aliquam modi dolores expedita. Et aliquam optio consectetur qui. Assumenda voluptatem similique dicta eligendi voluptas veritatis.\\nLaborum maiores placeat ea aut. Harum accusamus hic. Nulla aut ad. Quos inventore aliquam autem quidem."], ["created_at", "2014-09-26 19:01:44.681019"], ["name", "alpha"], ["title", "Aperiam non et"], ["updated_at", "2014-09-26 19:01:44.681019"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptas et ut sed. Aut officia et quo. Velit iure velit doloribus iste labore eius expedita. Est ratione quam quo aut temporibus debitis.\\nSit ad reprehenderit aut. Tempore consequatur deserunt ut cupiditate temporibus voluptatem. Ut accusamus perspiciatis perferendis unde voluptates. Dignissimos omnis doloribus veritatis voluptate enim. Veritatis eum molestias hic sed laborum illo.\\nExercitationem quia corporis. Dolore eius beatae minus numquam. Beatae ut est. Rerum dignissimos velit laboriosam quia."], ["created_at", "2014-09-26 19:01:44.684785"], ["name", "beta"], ["title", "Perferendis quia recusandae"], ["updated_at", "2014-09-26 19:01:44.684785"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.686314"], ["updated_at", "2014-09-26 19:01:44.686314"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 19:01:44.688902"], ["updated_at", "2014-09-26 19:01:44.688902"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 19:01:44.691306"], ["updated_at", "2014-09-26 19:01:44.691306"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:01:44.693385"], ["name", "alpha"], ["title", "Aperiam non et"], ["updated_at", "2014-09-26 19:01:44.693385"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:01:44.696338"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 19:01:44.713040"], ["updated_at", "2014-09-26 19:01:44.713040"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9, 8, 6, 5, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10, 7, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ea culpa facilis velit aut excepturi. Perferendis fugit sit voluptas expedita nesciunt beatae. In omnis quidem enim id dicta veritatis. Eius quaerat sint iste.\\nEos et facilis tempora omnis. Vero enim voluptas exercitationem quo quae voluptates voluptate. Dolorem vel et facere voluptas. Quia magnam aut perspiciatis nam. Consequatur est deserunt amet sed nulla.\\nDolores ut et itaque rerum laudantium et. Quia quae labore sit a rerum. Nobis ullam eum ducimus est enim vel."], ["created_at", "2014-09-26 19:01:44.726913"], ["name", "aliquam_doloremque_labore"], ["title", "Voluptates alias et"], ["updated_at", "2014-09-26 19:01:44.726913"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_doloremque_labore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'aliquam_doloremque_labore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 19:01:44.730462"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.734767"], ["updated_at", "2014-09-26 19:01:44.734767"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:01:44.735361"], ["updated_at", "2014-09-26 19:01:44.735361"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'aliquam_doloremque_labore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_doloremque_labore"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugiat exercitationem qui enim. Asperiores ab reiciendis unde aut saepe. Id dolores accusantium ab pariatur omnis praesentium. Optio similique sint impedit sed error. Repellendus qui numquam sed rerum.\\nEt aliquam saepe suscipit quia. Velit voluptatem doloribus. Ullam enim pariatur natus sequi occaecati delectus id. Tenetur et impedit neque ut doloremque et. Perspiciatis iusto aut earum veniam.\\nVoluptatibus ex quis libero tenetur. Rerum possimus ea rem aspernatur ducimus autem. Quibusdam est esse reiciendis ipsum illum et. Est dolore unde ad sit."], ["created_at", "2014-09-26 19:01:44.743505"], ["name", "molestiae_nihil_quia"], ["title", "Placeat nisi dolores"], ["updated_at", "2014-09-26 19:01:44.743505"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_nihil_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'molestiae_nihil_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 19:01:44.747723"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_nihil_quia"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_nihil_quia"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 19:01:44.752097"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_non_esse"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'similique_non_esse') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui assumenda laborum similique qui. Similique adipisci voluptas nisi. Veniam non necessitatibus ex est quaerat. Nihil provident eos dolorem ratione voluptates rerum excepturi. A dolor repellendus et.\\nEsse sit minus. Vero rerum aut placeat quae natus autem veritatis. Accusantium deserunt ut. Quidem asperiores in commodi. Non ea atque est architecto ratione veritatis.\\nNon culpa minus. Modi voluptate harum blanditiis numquam. Est quam porro doloribus et."], ["created_at", "2014-09-26 19:01:44.756891"], ["name", "similique_non_esse"], ["title", "Nisi est voluptatem"], ["updated_at", "2014-09-26 19:01:44.756891"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'similique_non_esse' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui assumenda laborum similique qui. Similique adipisci voluptas nisi. Veniam non necessitatibus ex est quaerat. Nihil provident eos dolorem ratione voluptates rerum excepturi. A dolor repellendus et.\\nEsse sit minus. Vero rerum aut placeat quae natus autem veritatis. Accusantium deserunt ut. Quidem asperiores in commodi. Non ea atque est architecto ratione veritatis.\\nNon culpa minus. Modi voluptate harum blanditiis numquam. Est quam porro doloribus et."], ["created_at", "2014-09-26 19:01:44.759235"], ["name", "similique_non_esse"], ["title", "Nisi est voluptatem"], ["updated_at", "2014-09-26 19:01:44.759235"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_non_esse"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'similique_non_esse') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 19:01:44.762441"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_non_commodi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'omnis_non_commodi') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Libero sed debitis perspiciatis. Voluptatem eos est similique enim. Laboriosam error reprehenderit.\\nIn dolores nulla. Aliquam sit eos unde. A distinctio debitis neque. Nemo voluptas aliquam exercitationem.\\nVeritatis modi molestias sit ut. Atque ut blanditiis dolorem repudiandae est pariatur. Sunt aspernatur soluta non voluptatem ad. Est quidem voluptas tempore."], ["created_at", "2014-09-26 19:01:44.768523"], ["name", "omnis_non_commodi"], ["title", "Et fugit commodi"], ["updated_at", "2014-09-26 19:01:44.768523"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'omnis_non_commodi' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero sed debitis perspiciatis. Voluptatem eos est similique enim. Laboriosam error reprehenderit.\\nIn dolores nulla. Aliquam sit eos unde. A distinctio debitis neque. Nemo voluptas aliquam exercitationem.\\nVeritatis modi molestias sit ut. Atque ut blanditiis dolorem repudiandae est pariatur. Sunt aspernatur soluta non voluptatem ad. Est quidem voluptas tempore."], ["created_at", "2014-09-26 19:01:44.770994"], ["name", "joe"], ["title", "Et fugit commodi"], ["updated_at", "2014-09-26 19:01:44.770994"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:01:44.773860"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.777249"], ["updated_at", "2014-09-26 19:01:44.777249"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.778714"], ["updated_at", "2014-09-26 19:01:44.778714"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.784839"], ["updated_at", "2014-09-26 19:01:44.784839"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.786375"], ["updated_at", "2014-09-26 19:01:44.786375"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.792618"], ["updated_at", "2014-09-26 19:01:44.792618"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.794176"], ["updated_at", "2014-09-26 19:01:44.794176"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor facilis voluptates quos quo nam. Incidunt mollitia ullam blanditiis et excepturi aut non. Sapiente veniam commodi. Impedit veritatis reiciendis voluptatum minima aliquam est. Esse quia sed perferendis illo.\\nQuasi magnam officiis qui omnis. Rerum excepturi sed distinctio molestias sapiente ipsum. Quod quo ipsam. A odio est quis praesentium quod. Qui minima numquam.\\nNon at eum aut quas. Ut molestiae aliquid iure quas autem. Dolorem omnis voluptates aut nihil et."], ["created_at", "2014-09-26 19:01:44.796547"], ["name", "ipsum_doloremque_architecto"], ["title", "Inventore voluptas facilis"], ["updated_at", "2014-09-26 19:01:44.796547"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"21"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.802596"], ["updated_at", "2014-09-26 19:01:44.802596"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.804119"], ["updated_at", "2014-09-26 19:01:44.804119"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tempore vel ut totam repellat tempora id. Fugiat soluta recusandae. In labore autem repellendus et quis voluptas. Tempora et est sed.\\nVel eum dolorem. Debitis voluptatem recusandae commodi sit. Error veniam id. Non sed natus nobis et ex. Iusto voluptatem in hic et corrupti aut.\\nNostrum fuga inventore neque. Ratione nam fugit inventore ad velit. Quia eaque minima repellendus ut nesciunt fugit dignissimos."], ["created_at", "2014-09-26 19:01:44.806361"], ["name", "autem_laborum_eius"], ["title", "Ab doloremque illum"], ["updated_at", "2014-09-26 19:01:44.806361"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.810930"], ["updated_at", "2014-09-26 19:01:44.810930"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.812703"], ["updated_at", "2014-09-26 19:01:44.812703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut quia magnam maxime. Ab culpa excepturi illo voluptas. Voluptatum aut eos totam est est. Aperiam et vero aliquid. Facere distinctio sint qui.\\nDoloribus consequatur quia quae quia delectus suscipit. Assumenda aspernatur accusamus sunt consectetur saepe. Sit aut vero. Asperiores rem voluptas iste autem rerum et sed. Explicabo tempora autem at qui incidunt et.\\nCupiditate delectus minima illum illo. A minus et corporis quaerat qui. Reiciendis neque numquam aut eos sint vitae. Vero quo magni asperiores deserunt et et ut. Sit quis deleniti impedit itaque tempore libero nam."], ["created_at", "2014-09-26 19:01:44.815114"], ["name", "quos_iusto_exercitationem"], ["title", "Sed blanditiis illo"], ["updated_at", "2014-09-26 19:01:44.815114"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.819082"], ["updated_at", "2014-09-26 19:01:44.819082"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.820682"], ["updated_at", "2014-09-26 19:01:44.820682"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem aliquam amet est porro eveniet eaque. Dolores fugit nihil asperiores nulla qui. Rerum in provident optio sed explicabo omnis. Necessitatibus eum dolorum quia.\\nQuam consequuntur ut illum. Asperiores distinctio corrupti totam harum laborum. Corporis fugiat modi repellat molestiae recusandae placeat.\\nDolorum nobis neque architecto non tempora. Quia possimus omnis. Similique autem cumque rerum numquam dolores."], ["created_at", "2014-09-26 19:01:44.822986"], ["name", "eos_modi_rem"], ["title", "Et temporibus adipisci"], ["updated_at", "2014-09-26 19:01:44.822986"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:01:44.825963"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:01:44.825963"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/25 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.829744"], ["updated_at", "2014-09-26 19:01:44.829744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.831288"], ["updated_at", "2014-09-26 19:01:44.831288"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quae culpa sequi explicabo et. Doloribus dolorem repellat asperiores. Incidunt ab dolores omnis iure. Dolor sequi deserunt dolorum autem impedit suscipit ea.\\nDistinctio aut corrupti perferendis nam eius vel maxime. Est velit consectetur beatae enim molestiae voluptatem. Perspiciatis quis omnis sit dolor.\\nVoluptas et sit dolorem. Distinctio sed veritatis. Perferendis doloremque eveniet ipsum quaerat non."], ["created_at", "2014-09-26 19:01:44.833386"], ["name", "impedit_unde_sequi"], ["title", "Nulla sit iusto"], ["updated_at", "2014-09-26 19:01:44.833386"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.837653"], ["updated_at", "2014-09-26 19:01:44.837653"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.839235"], ["updated_at", "2014-09-26 19:01:44.839235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et recusandae maxime incidunt commodi voluptas. Est nostrum earum qui ab excepturi sunt sunt. Provident eaque rem corrupti. Laborum autem consectetur.\\nAt cupiditate fugit consequatur quia non labore. Nesciunt ipsa officiis ut labore delectus nemo et. Ipsa laborum eaque enim occaecati. Sapiente laborum earum minus dicta culpa eligendi reprehenderit.\\nEt aut quos temporibus iusto tempora ut architecto. Qui quam voluptatum officiis. Rem officia qui ea."], ["created_at", "2014-09-26 19:01:44.841397"], ["name", "occaecati_modi_assumenda"], ["title", "Similique illo sint"], ["updated_at", "2014-09-26 19:01:44.841397"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "occaecati_modi_assumenda"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'occaecati_modi_assumenda') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-26 19:01:44.844935"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'occaecati_modi_assumenda' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.855662"], ["updated_at", "2014-09-26 19:01:44.855662"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.857327"], ["updated_at", "2014-09-26 19:01:44.857327"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quis fugit sit cupiditate debitis vero eos sed. Optio mollitia ut. Vero rerum laboriosam. Sit sapiente ut.\\nOfficia veritatis autem aut. A ipsa natus rerum. Laborum doloremque corporis consectetur rerum optio et repellendus. Sunt voluptatem non ut libero. Hic voluptatem nemo eum perferendis ut consequatur ex.\\nQuasi rerum voluptatem inventore ut. Illo veritatis sint quas. Nisi repudiandae ex qui cum. Tempora nam aut rerum sit."], ["created_at", "2014-09-26 19:01:44.859590"], ["name", "consequatur_nisi_et"], ["title", "Facere ut omnis"], ["updated_at", "2014-09-26 19:01:44.859590"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.863588"], ["updated_at", "2014-09-26 19:01:44.863588"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.865065"], ["updated_at", "2014-09-26 19:01:44.865065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Accusantium rerum voluptate aperiam. Ut alias cumque corrupti quisquam asperiores deleniti libero. Delectus ab laudantium modi ducimus esse. Consectetur at beatae sit sed.\\nUt dolorem iste. Dolores voluptatem ratione accusamus totam aut omnis non. Ut minima commodi aut voluptatem. Ipsam voluptatem dignissimos vitae voluptatem numquam non velit.\\nAtque mollitia occaecati repellendus nostrum vel. Deserunt dolores voluptas eum vitae repellat facere. Totam aperiam iste enim porro. Error doloribus aliquam sed nisi. Est ipsam sint rerum voluptatem architecto."], ["created_at", "2014-09-26 19:01:44.867244"], ["name", "illum_molestiae_voluptatibus"], ["title", "Aut facere voluptatibus"], ["updated_at", "2014-09-26 19:01:44.867244"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "illum_molestiae_voluptatibus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'illum_molestiae_voluptatibus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 19:01:44.870573"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.877120"], ["updated_at", "2014-09-26 19:01:44.877120"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.878737"], ["updated_at", "2014-09-26 19:01:44.878737"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Excepturi rerum iure quia quod alias. Est ipsa esse aliquam ut. Dolor consequuntur dolore odio sit adipisci officiis. Tenetur sed deserunt. Culpa unde rerum.\\nQuo ut culpa. Voluptatem rerum ullam illo placeat consequatur esse. Inventore eaque corporis veritatis voluptas blanditiis consequuntur tempore. Quae suscipit quod laudantium eos incidunt ratione. Quis omnis aut provident voluptatibus earum.\\nAmet cum quasi dolorem. Et omnis nesciunt numquam ad nam. Nostrum quibusdam doloribus ad voluptatem fuga est modi. Fuga ullam iusto at."], ["created_at", "2014-09-26 19:01:44.881000"], ["name", "dolorem_corrupti_sunt"], ["title", "Velit nam officiis"], ["updated_at", "2014-09-26 19:01:44.881000"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 30]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 30]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 30 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.888620"], ["updated_at", "2014-09-26 19:01:44.888620"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.889965"], ["updated_at", "2014-09-26 19:01:44.889965"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magni omnis ut tempora quidem sint temporibus molestiae. Hic maiores consequatur corporis totam distinctio est. Ut adipisci fuga possimus omnis. Qui molestias temporibus soluta porro quibusdam vel sunt.\\nDolorem voluptas fuga voluptates. Architecto quia quam. Et ad numquam culpa aspernatur itaque sed.\\nPerferendis quo itaque dolor dignissimos aliquam placeat eius. Accusantium non reiciendis veniam a. Quis exercitationem ex cum ut qui enim sint. Quia aliquam et voluptas sit. Ut ut cumque labore in et rerum."], ["created_at", "2014-09-26 19:01:44.892119"], ["name", "fugit_aut_nesciunt"], ["title", "Odio in ullam"], ["updated_at", "2014-09-26 19:01:44.892119"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.898058"], ["updated_at", "2014-09-26 19:01:44.898058"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.899596"], ["updated_at", "2014-09-26 19:01:44.899596"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vitae nulla et voluptas. Ipsa ullam est totam et magnam. Nisi sapiente laudantium numquam quia. Totam est pariatur maxime ducimus dolores. Voluptatem pariatur explicabo dolorum facere.\\nCum architecto sequi ex quod. Similique incidunt hic quod sed in provident at. Non officiis velit voluptatem ut nostrum quos. Id dolorum doloremque omnis voluptatem officia explicabo. Nesciunt illo amet.\\nTemporibus quia voluptatem quod suscipit vel. Aspernatur quia nisi ea ipsa. Aspernatur culpa tenetur suscipit itaque totam vel. Error nihil ut fuga veritatis consequuntur provident aut. Adipisci ut autem ut."], ["created_at", "2014-09-26 19:01:44.901785"], ["name", "possimus_illo_consequatur"], ["title", "Ea iure ut"], ["updated_at", "2014-09-26 19:01:44.901785"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 32 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:01:44.905246"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.909692"], ["updated_at", "2014-09-26 19:01:44.909692"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.911170"], ["updated_at", "2014-09-26 19:01:44.911170"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Minima dolor temporibus labore sit rerum facilis. Neque eveniet ut velit cumque non omnis. Eum doloribus consequatur molestias ut in quam provident.\\nIllo suscipit facilis non. Dolore facilis quibusdam aut ipsam. Quas aut perferendis perspiciatis sunt voluptate. Magnam tempore nihil et. Ducimus illo et.\\nNobis voluptas consequatur. Est et ea soluta fugiat. Aliquam non in voluptatem."], ["created_at", "2014-09-26 19:01:44.913508"], ["name", "suscipit_voluptates_dolorem"], ["title", "Magni sint molestiae"], ["updated_at", "2014-09-26 19:01:44.913508"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_voluptates_dolorem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'suscipit_voluptates_dolorem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:01:44.917448"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_voluptates_dolorem"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:01:44.922612"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.926785"], ["updated_at", "2014-09-26 19:01:44.926785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.928297"], ["updated_at", "2014-09-26 19:01:44.928297"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia dolore corporis eos optio fugiat. Ut nihil consequuntur corrupti consequatur. Qui vero expedita possimus reiciendis et.\\nRerum dolor nobis id accusamus nostrum. Culpa quam vero. Veritatis amet rem magni repellat omnis sit voluptas. Dolorem quidem omnis corrupti possimus.\\nModi ut sit qui. Sapiente eaque repellendus quis qui perspiciatis qui. Quis quisquam aperiam. Et et sapiente fuga. Excepturi numquam commodi ullam."], ["created_at", "2014-09-26 19:01:44.930464"], ["name", "et_in_saepe"], ["title", "Error quia voluptas"], ["updated_at", "2014-09-26 19:01:44.930464"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.935689"], ["updated_at", "2014-09-26 19:01:44.935689"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.937261"], ["updated_at", "2014-09-26 19:01:44.937261"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui officiis maiores distinctio iste aliquam est. Illo qui veritatis. Voluptates dolorem laudantium corporis. Repellendus dolorum quia qui in doloribus odit perferendis. Modi et molestiae rem repellendus sit ut et.\\nEnim ut porro dolor nemo. Accusamus soluta itaque blanditiis fuga culpa. Impedit labore repudiandae earum sed in. Suscipit cupiditate vel qui.\\nNisi voluptas a culpa. Fugit dolor quis et. Molestiae aut eius. Recusandae itaque est."], ["created_at", "2014-09-26 19:01:44.939404"], ["name", "et_et_odio"], ["title", "Eaque minima quibusdam"], ["updated_at", "2014-09-26 19:01:44.939404"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (15, 14, 12, 11, 9, 8, 6, 5, 3, 32, 22, 13, 10, 7, 4, 28, 24, 35, 34, 31, 2, 1, 29, 26, 21, 20, 16, 27, 19, 23, 18, 17, 25, 33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.946540"], ["updated_at", "2014-09-26 19:01:44.946540"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.948136"], ["updated_at", "2014-09-26 19:01:44.948136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Culpa saepe eum et qui nostrum. Velit aut qui ut officiis enim. Id libero minus qui ratione. Id quis sed mollitia voluptate odit qui aspernatur. Vero dolor quisquam aliquam tempora neque in.\\nDeserunt itaque quibusdam consectetur. Quasi alias distinctio doloribus at quo iusto est. Eligendi est sit quae at sint.\\nQui consequatur debitis adipisci sequi quia. Eum tempora aspernatur. Aliquam sunt suscipit. Ipsa asperiores eum consequatur. Esse numquam et quia dolor nam aut recusandae."], ["created_at", "2014-09-26 19:01:44.950409"], ["name", "ut_porro_asperiores"], ["title", "Aperiam deleniti aliquam"], ["updated_at", "2014-09-26 19:01:44.950409"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.954819"], ["updated_at", "2014-09-26 19:01:44.954819"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.956220"], ["updated_at", "2014-09-26 19:01:44.956220"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum distinctio reiciendis provident et. Est rerum modi sed. Ut quod modi quasi deleniti doloribus reiciendis aut.\\nMagni provident facilis qui exercitationem ut ut adipisci. Recusandae doloremque at et fugiat sed sit inventore. Molestias repudiandae veritatis aperiam.\\nPerferendis totam est accusantium dicta. Sunt est aperiam voluptatem. Ipsam nihil est quia."], ["created_at", "2014-09-26 19:01:44.958280"], ["name", "esse_aut_nobis"], ["title", "Non reprehenderit mollitia"], ["updated_at", "2014-09-26 19:01:44.958280"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"37"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "esse_aut_nobis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'esse_aut_nobis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 19:01:44.963238"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.968725"], ["updated_at", "2014-09-26 19:01:44.968725"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.971009"], ["updated_at", "2014-09-26 19:01:44.971009"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Amet quo unde minima. Laborum possimus sapiente unde. In sint cupiditate sint libero consequatur laudantium.\\nEsse et voluptatem molestias quia vitae. Molestiae distinctio quam assumenda repellat necessitatibus non voluptates. Voluptas delectus est aliquam dolores quo. Dolor ut cumque voluptas. Enim repudiandae rerum perspiciatis deserunt.\\nPraesentium maxime et quasi similique quia. Quasi molestiae labore qui recusandae aut delectus fuga. Earum nihil et occaecati ab omnis aperiam. Non cupiditate nobis unde nihil quas itaque veniam. Quia consequatur consequatur eligendi."], ["created_at", "2014-09-26 19:01:44.973277"], ["name", "incidunt_cumque_soluta"], ["title", "Velit consequatur et"], ["updated_at", "2014-09-26 19:01:44.973277"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "incidunt_cumque_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'incidunt_cumque_soluta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 19:01:44.976400"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"38"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.981399"], ["updated_at", "2014-09-26 19:01:44.981399"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.982943"], ["updated_at", "2014-09-26 19:01:44.982943"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eius omnis veniam voluptatem. Provident sint harum maiores rem. Consequatur minus consequatur aut voluptatum a quis. Ipsa minus sit neque eum soluta dolorem hic.\\nDolores qui et quia perferendis odio sed corporis. Nihil facere doloribus atque molestias. Quos assumenda qui reprehenderit in. Necessitatibus quia ipsa odit perferendis.\\nEt maiores occaecati. Porro repudiandae quis animi vel distinctio. Nisi quibusdam aut. Quia repellat sit. Minima architecto neque laborum."], ["created_at", "2014-09-26 19:01:44.985259"], ["name", "sequi_recusandae_quo"], ["title", "Voluptates voluptatem in"], ["updated_at", "2014-09-26 19:01:44.985259"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.990437"], ["updated_at", "2014-09-26 19:01:44.990437"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.991913"], ["updated_at", "2014-09-26 19:01:44.991913"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_optio_earum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eius_optio_earum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui quod facere aperiam. At eum doloremque. Voluptatibus facere quos praesentium commodi voluptatem quia. Quo consequuntur eum repudiandae quam. Impedit vitae id repellendus.\\nMinima facere non et quasi et quisquam ullam. Dicta ducimus et fugiat error ea qui itaque. Ut nobis aliquam eum. Eos assumenda quos est et eius.\\nIn quibusdam veritatis qui vitae. Ducimus minima repudiandae necessitatibus sint fugiat fuga cupiditate. Unde repellat ex."], ["created_at", "2014-09-26 19:01:44.995923"], ["name", "eius_optio_earum"], ["title", "Sed cupiditate dolores"], ["updated_at", "2014-09-26 19:01:44.995923"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:44.999297"], ["updated_at", "2014-09-26 19:01:44.999297"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 19:01:45.000163"], ["updated_at", "2014-09-26 19:01:45.000163"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.007641"], ["updated_at", "2014-09-26 19:01:45.007641"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.009621"], ["updated_at", "2014-09-26 19:01:45.009621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_neque_ipsum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sed_neque_ipsum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id sed quia dolorem et est aperiam animi. Harum ipsam optio maxime voluptas dolorem qui. Autem incidunt deserunt illum. Maxime et inventore officia molestias fugit et ipsa.\\nTempora id architecto aliquam aliquid eum. Cumque velit laudantium molestias dicta et quod. Beatae ullam asperiores illo esse. Eaque ea explicabo voluptatum quia quae error consequatur.\\nAut laborum a perspiciatis aperiam expedita deserunt sit. In iusto veritatis. Facere odio magnam beatae modi architecto doloremque nihil. Vel esse ducimus."], ["created_at", "2014-09-26 19:01:45.014630"], ["name", "sed_neque_ipsum"], ["title", "Nulla delectus aliquid"], ["updated_at", "2014-09-26 19:01:45.014630"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.017255"], ["updated_at", "2014-09-26 19:01:45.017255"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-26 19:01:45.017805"], ["updated_at", "2014-09-26 19:01:45.017805"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"41"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 183ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.204093"], ["updated_at", "2014-09-26 19:01:45.204093"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.206951"], ["updated_at", "2014-09-26 19:01:45.206951"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_quis_voluptates"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nihil_quis_voluptates') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor quaerat omnis magnam modi. Quis ipsam vitae incidunt non. At rerum aut officiis eveniet quas. Ut sunt officia pariatur qui. At quaerat vero deleniti accusantium.\\nOccaecati quos aut iusto. Possimus doloribus aut omnis cumque. Quo dolor temporibus. Magni nulla in.\\nVoluptatibus et illo. Omnis sit est ullam sed odit. Dolores omnis ipsum sequi nam sed sed."], ["created_at", "2014-09-26 19:01:45.211966"], ["name", "nihil_quis_voluptates"], ["title", "Commodi quo rerum"], ["updated_at", "2014-09-26 19:01:45.211966"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.214520"], ["updated_at", "2014-09-26 19:01:45.214520"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 19:01:45.215066"], ["updated_at", "2014-09-26 19:01:45.215066"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.228386"], ["updated_at", "2014-09-26 19:01:45.228386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.230144"], ["updated_at", "2014-09-26 19:01:45.230144"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repudiandae_culpa_sit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'repudiandae_culpa_sit') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut quae culpa officiis esse. Ab quod et ut. Et qui iste. Animi adipisci consequuntur asperiores illo sed quia. Suscipit eum et non.\\nNon rerum illo autem quo molestiae accusantium. Adipisci occaecati vitae est dolorum. Nihil sapiente sequi sit est architecto similique nesciunt.\\nEst quam a incidunt et reiciendis. Officia perspiciatis voluptatibus nam dicta facilis. Temporibus fugiat dolore ea."], ["created_at", "2014-09-26 19:01:45.235470"], ["name", "repudiandae_culpa_sit"], ["title", "Necessitatibus nam quibusdam"], ["updated_at", "2014-09-26 19:01:45.235470"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.238607"], ["updated_at", "2014-09-26 19:01:45.238607"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 19:01:45.239231"], ["updated_at", "2014-09-26 19:01:45.239231"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.247749"], ["updated_at", "2014-09-26 19:01:45.247749"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.249790"], ["updated_at", "2014-09-26 19:01:45.249790"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fuga_vitae_debitis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'fuga_vitae_debitis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Mollitia ratione exercitationem. Ad aut vero. Quaerat illum reiciendis dicta dolorem quia aut atque. Neque quo reiciendis et. Impedit totam et aut culpa.\\nQuia vitae dolore at. Quia iure quisquam. Perspiciatis quia quibusdam quia iste at.\\nOmnis nam fugiat sit libero. Et a ut delectus sint aut. Veritatis excepturi fugit. Quis sint similique cum non quam corporis reprehenderit. Non quo facere vel illum sunt est."], ["created_at", "2014-09-26 19:01:45.255978"], ["name", "fuga_vitae_debitis"], ["title", "Quo sed non"], ["updated_at", "2014-09-26 19:01:45.255978"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.258887"], ["updated_at", "2014-09-26 19:01:45.258887"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-26 19:01:45.259455"], ["updated_at", "2014-09-26 19:01:45.259455"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.269232"], ["updated_at", "2014-09-26 19:01:45.269232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.271633"], ["updated_at", "2014-09-26 19:01:45.271633"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_accusamus_saepe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_accusamus_saepe') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut pariatur officia illo libero autem blanditiis et. Est est ipsa laboriosam omnis modi pariatur in. Maiores tempora aut fuga.\\nQuo rerum fugit excepturi nihil accusamus occaecati. Soluta error laudantium nam aut qui. Rerum quibusdam dignissimos. Ea ratione ut et qui est nemo.\\nNemo voluptatem non qui harum. Est animi vel. Libero quia incidunt iure non."], ["created_at", "2014-09-26 19:01:45.275969"], ["name", "quia_accusamus_saepe"], ["title", "Eum explicabo earum"], ["updated_at", "2014-09-26 19:01:45.275969"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.278551"], ["updated_at", "2014-09-26 19:01:45.278551"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 19:01:45.279495"], ["updated_at", "2014-09-26 19:01:45.279495"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} Completed 404 Not Found in 1ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.285475"], ["updated_at", "2014-09-26 19:01:45.285475"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.288031"], ["updated_at", "2014-09-26 19:01:45.288031"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ex_nostrum_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ex_nostrum_aut') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Architecto atque alias consequatur rem. Enim odio temporibus eaque minus. Sequi optio voluptates a labore quae ut.\\nQuo magni totam. Et error necessitatibus fugit recusandae porro cumque. Non suscipit excepturi et enim quia asperiores. Nobis est modi ducimus et quia voluptatem. Qui ratione quia iste unde et asperiores.\\nQuia vel eligendi quod provident vitae exercitationem. Quidem voluptas debitis. Ut tempora consectetur. Minima similique non veritatis."], ["created_at", "2014-09-26 19:01:45.294564"], ["name", "ex_nostrum_aut"], ["title", "Molestiae non qui"], ["updated_at", "2014-09-26 19:01:45.294564"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.297527"], ["updated_at", "2014-09-26 19:01:45.297527"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 19:01:45.298102"], ["updated_at", "2014-09-26 19:01:45.298102"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.302424"], ["updated_at", "2014-09-26 19:01:45.302424"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.304843"], ["updated_at", "2014-09-26 19:01:45.304843"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_ea_sunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'id_ea_sunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit voluptatem ab aut a voluptas quod ea. Sunt accusamus quo. Dicta nostrum sit odit voluptatem.\\nEligendi dolores sit dolores voluptatem eveniet velit qui. Cumque at aspernatur iusto quia et aut. Temporibus saepe dolores rem iusto aliquid.\\nDolor laudantium non voluptatem dolores. Voluptatem nam nobis accusamus sunt nisi commodi sint. Et ut a odio similique quam harum omnis."], ["created_at", "2014-09-26 19:01:45.312423"], ["name", "id_ea_sunt"], ["title", "Ducimus est quos"], ["updated_at", "2014-09-26 19:01:45.312423"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:01:45.315292"], ["updated_at", "2014-09-26 19:01:45.315292"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 19:01:45.317124"], ["updated_at", "2014-09-26 19:01:45.317124"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 18]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] Redirected to http://test.host/fine_print/contracts/47/signatures?r=VCtoeEx0MnZsSE1YNWdpdUdGR3VQdz09LS1NRFF2enMrQ2c0MzNwM3ZSVUlrSjd3PT0%3D--8d70680d9db852b3855b7bfee10d04ca90d70859 Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 18 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (1.5ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.072780"], ["updated_at", "2014-09-26 19:14:35.072780"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.079724"], ["updated_at", "2014-09-26 19:14:35.079724"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et itaque dolores aperiam distinctio. Totam velit eum doloremque itaque nihil facere voluptatem. Et qui aut harum.\\nQuo rerum ea. Accusamus labore voluptas dicta ipsa. Repellat saepe qui dolorem. Tempore enim rerum deserunt officia.\\nConsequatur occaecati quo ullam quos numquam. Aliquam nemo expedita voluptatem quidem dignissimos cumque. Saepe nostrum atque recusandae rerum magni. Dicta sit ipsam libero architecto velit illo odio. Facilis autem id."], ["created_at", "2014-09-26 19:14:35.313306"], ["name", "tempore_facere_consequatur"], ["title", "Dolore perferendis ut"], ["updated_at", "2014-09-26 19:14:35.313306"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.328483"], ["updated_at", "2014-09-26 19:14:35.328483"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.330121"], ["updated_at", "2014-09-26 19:14:35.330121"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Natus impedit ex voluptatem. Consequatur ea iure voluptas quibusdam. Assumenda qui at placeat voluptatibus numquam. Veritatis a et pariatur voluptatum beatae natus.\\nSimilique quam sunt deserunt perspiciatis recusandae quisquam eum. Sequi enim exercitationem quas. Ut est aut earum voluptatem voluptatem.\\nCommodi repudiandae voluptatum et labore quod. Consequatur quia doloribus consequatur laudantium sint sed et. Ullam rerum delectus earum impedit cupiditate."], ["created_at", "2014-09-26 19:14:35.332446"], ["name", "ipsa_assumenda_dolore"], ["title", "Minus quas consequatur"], ["updated_at", "2014-09-26 19:14:35.332446"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsa_assumenda_dolore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'ipsa_assumenda_dolore') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 19:14:35.343251"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"2"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.351807"], ["updated_at", "2014-09-26 19:14:35.351807"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.353369"], ["updated_at", "2014-09-26 19:14:35.353369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dignissimos itaque vel rerum maxime suscipit nostrum. Dolor qui cumque quis natus. Minus aliquid ut ipsum voluptate. Error officia tempore recusandae. Blanditiis perspiciatis consequuntur mollitia.\\nSoluta facere facilis harum et molestias. Ut repellendus libero tempora non dolore. Praesentium harum sint.\\nEst blanditiis tenetur quia atque fugiat sed officiis. Aliquam et aut. Sit temporibus voluptatem iure voluptatibus sit eveniet. Enim ut similique ea a voluptatem possimus accusantium."], ["created_at", "2014-09-26 19:14:35.355839"], ["name", "ut_quaerat_quia"], ["title", "Alias amet nihil"], ["updated_at", "2014-09-26 19:14:35.355839"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"3"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.361383"], ["updated_at", "2014-09-26 19:14:35.361383"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.363195"], ["updated_at", "2014-09-26 19:14:35.363195"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tempore ut reprehenderit veritatis perferendis. Est aut illo fugit. Qui voluptatum harum nemo. Est sit in reprehenderit. Numquam nisi hic sit voluptas.\\nVoluptatum est aliquam in quos facilis. Qui odit velit. Quidem officiis sint commodi non omnis.\\nAd maxime molestias at dolores fuga impedit. Ipsum tempora doloremque nobis. Laboriosam blanditiis ducimus rerum inventore modi ut iure. Corporis eaque sequi et quo ut in voluptas."], ["created_at", "2014-09-26 19:14:35.366111"], ["name", "hic_inventore_neque"], ["title", "Repellendus facilis porro"], ["updated_at", "2014-09-26 19:14:35.366111"]]  (0.4ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.371194"], ["updated_at", "2014-09-26 19:14:35.371194"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.372802"], ["updated_at", "2014-09-26 19:14:35.372802"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non qui voluptas nostrum. Neque temporibus aliquam nihil qui similique eos modi. Eum quam ea. Aliquam voluptates perspiciatis magnam. Sunt deserunt dolore qui est ducimus.\\nMaiores et nobis. Magnam ad minus. Eum ducimus ratione. Sunt voluptatem praesentium.\\nReprehenderit sunt perferendis. Cumque non eos nisi nobis. Repellendus sed nesciunt doloremque. Provident voluptate sed aut veniam. Corporis repellat in sed impedit atque ut sunt."], ["created_at", "2014-09-26 19:14:35.375567"], ["name", "odit_facere_et"], ["title", "Molestias a mollitia"], ["updated_at", "2014-09-26 19:14:35.375567"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.381607"], ["updated_at", "2014-09-26 19:14:35.381607"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.383089"], ["updated_at", "2014-09-26 19:14:35.383089"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "A facilis quaerat. Dolores et dolor expedita molestiae excepturi a quia. Esse nesciunt nihil possimus. Ut voluptatibus soluta voluptatem impedit in officia voluptas. Dolorem praesentium necessitatibus.\\nVeritatis repudiandae maxime id ut facere illum. Repellat eveniet quia. Dicta aliquid voluptas a quia ut quo.\\nAdipisci veniam possimus. Praesentium aliquam quam. Aut voluptas minus et. Eum architecto quis molestiae totam est qui. Aliquid quis neque quia eos."], ["created_at", "2014-09-26 19:14:35.385124"], ["name", "architecto_ullam_et"], ["title", "Quas quis nobis"], ["updated_at", "2014-09-26 19:14:35.385124"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "architecto_ullam_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'architecto_ullam_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 19:14:35.388192"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "architecto_ullam_et"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 19:14:35.395770"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.400859"], ["updated_at", "2014-09-26 19:14:35.400859"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.402296"], ["updated_at", "2014-09-26 19:14:35.402296"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam officiis aspernatur. Possimus accusamus rerum omnis maiores est porro. Vel saepe nostrum ipsum assumenda et. Error aliquid quas sunt. Dolores enim laborum impedit nihil.\\nCorrupti qui ipsum molestiae aut. Quia dignissimos quod dolore quis ea rerum sint. Explicabo facere rerum. Et pariatur non qui voluptatum aut iusto.\\nConsequuntur et occaecati aut ea et dolor reiciendis. Tenetur debitis enim voluptas sit. Quod non ex enim incidunt ratione."], ["created_at", "2014-09-26 19:14:35.404454"], ["name", "amet_et_optio"], ["title", "Quia et non"], ["updated_at", "2014-09-26 19:14:35.404454"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "amet_et_optio"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'amet_et_optio') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-26 19:14:35.408096"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.414097"], ["updated_at", "2014-09-26 19:14:35.414097"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.415572"], ["updated_at", "2014-09-26 19:14:35.415572"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eaque ut corporis dolores sequi illo. Perspiciatis dolore sed molestiae. Modi aut perferendis in consequatur aut voluptatem dicta. Cum est quo enim corrupti.\\nEt minus aut. Aliquid eum dicta. Optio sed eum.\\nOdit ipsa suscipit sit. Assumenda ut modi doloremque ducimus deleniti. Hic debitis et et."], ["created_at", "2014-09-26 19:14:35.417581"], ["name", "at_est_nam"], ["title", "Quia aut iusto"], ["updated_at", "2014-09-26 19:14:35.417581"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:14:35.420704"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:14:35.420704"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.424953"], ["updated_at", "2014-09-26 19:14:35.424953"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.426758"], ["updated_at", "2014-09-26 19:14:35.426758"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias facere vel voluptatibus nihil culpa quia ea. Sit sit eveniet asperiores quaerat. Est excepturi sequi commodi veritatis dignissimos dolore doloremque. Quo pariatur expedita et.\\nSunt quasi dolores labore doloremque porro. Repudiandae tempora consequuntur pariatur non est rem. Qui vero neque totam. Dolore pariatur voluptate enim quidem unde vero. Eligendi incidunt explicabo dolor tenetur dolore est repudiandae.\\nRerum non officia voluptas excepturi magni ratione illum. Amet quos error atque. Et in magnam totam aut fuga esse temporibus. Quibusdam rerum quo quis id."], ["created_at", "2014-09-26 19:14:35.429021"], ["name", "omnis_atque_repellendus"], ["title", "Rem repudiandae excepturi"], ["updated_at", "2014-09-26 19:14:35.429021"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.440159"], ["updated_at", "2014-09-26 19:14:35.440159"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.441765"], ["updated_at", "2014-09-26 19:14:35.441765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut adipisci qui enim aliquam nobis veniam. Laboriosam saepe a assumenda eos suscipit similique. Sit ut quia at incidunt saepe repudiandae voluptatum. Commodi veniam consequuntur est ut quia quia. Quibusdam enim dolorum debitis consequatur voluptates.\\nExplicabo natus assumenda. Iste et illum consequuntur id. Aut soluta nihil. Qui quia minus voluptatum ut dicta maiores qui. Quaerat optio suscipit amet.\\nCommodi fugiat ipsa. Eveniet consequatur suscipit quia sint qui sequi. Explicabo et est eum iste voluptatem facilis."], ["created_at", "2014-09-26 19:14:35.444168"], ["name", "cupiditate_et_ut"], ["title", "Repudiandae voluptates autem"], ["updated_at", "2014-09-26 19:14:35.444168"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 6, 8, 11, 4, 2, 5, 10, 9, 1, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.455544"], ["updated_at", "2014-09-26 19:14:35.455544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.457268"], ["updated_at", "2014-09-26 19:14:35.457268"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint aliquam nostrum architecto. Est aspernatur vitae sed. Officiis saepe labore doloribus quia eius temporibus. Voluptas perferendis numquam asperiores. Quis harum itaque qui dicta.\\nEst adipisci minus. Eos deleniti quia reiciendis modi in debitis. Qui et molestiae maxime. Ducimus adipisci id fugiat quos sint.\\nEnim voluptate consequatur incidunt alias corporis. Et quod iusto officiis debitis incidunt maiores. Vitae enim velit fugiat excepturi et nostrum sint."], ["created_at", "2014-09-26 19:14:35.459624"], ["name", "et_magnam_cumque"], ["title", "Eum aut accusantium"], ["updated_at", "2014-09-26 19:14:35.459624"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.464083"], ["updated_at", "2014-09-26 19:14:35.464083"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.465703"], ["updated_at", "2014-09-26 19:14:35.465703"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est numquam velit. Reprehenderit consequuntur illo corrupti ab. Magnam rem voluptatibus. Pariatur minus laborum consequatur quo dolorum numquam. Maxime omnis ut placeat consequuntur nam eos.\\nIncidunt odit odio reiciendis. Illo aut excepturi omnis. Itaque impedit rerum. Enim ullam in consequatur quia adipisci.\\nMagnam blanditiis perferendis ipsum. Temporibus pariatur voluptatem atque. Libero odit eligendi repellat provident nostrum aliquam excepturi. Ratione aut sunt."], ["created_at", "2014-09-26 19:14:35.468110"], ["name", "sed_velit_consectetur"], ["title", "Qui reprehenderit tenetur"], ["updated_at", "2014-09-26 19:14:35.468110"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 13]] SQL (0.3ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 13]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 13 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.479159"], ["updated_at", "2014-09-26 19:14:35.479159"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.480657"], ["updated_at", "2014-09-26 19:14:35.480657"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quae ratione ut. Laudantium maxime ea quo doloremque. Saepe iusto architecto molestiae consequatur non. Maiores in quia possimus at consequatur.\\nDoloribus enim et deserunt maiores. Officiis omnis qui quos. Nulla rerum explicabo eos non. Optio quaerat nobis.\\nQuis dolores et optio amet et ut. Iste sed aut ut adipisci natus est. Veritatis cumque aut. Numquam enim rem quidem voluptatibus est. Commodi quidem tenetur laudantium magnam."], ["created_at", "2014-09-26 19:14:35.482855"], ["name", "praesentium_esse_rerum"], ["title", "Sit neque expedita"], ["updated_at", "2014-09-26 19:14:35.482855"]]  (0.4ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:14:35.486273"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 4ms (ActiveRecord: 0.8ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.492117"], ["updated_at", "2014-09-26 19:14:35.492117"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.493873"], ["updated_at", "2014-09-26 19:14:35.493873"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vitae dolor amet reiciendis numquam sit ipsum. Blanditiis dolore laboriosam qui hic illum. Porro est minus non neque esse. Qui dolor molestias non iste.\\nImpedit eum quisquam voluptate. Accusantium quia explicabo possimus. Ratione voluptatem dolorem nemo pariatur vel. Cum magni voluptas vel eius ut.\\nEsse est dignissimos beatae incidunt. Ut ab voluptatem dolorum accusamus consequatur ut. Id cum rerum qui quibusdam quia suscipit. Sit molestias iste est alias doloremque dolorem numquam."], ["created_at", "2014-09-26 19:14:35.496058"], ["name", "maiores_corporis_deleniti"], ["title", "Ut eaque voluptas"], ["updated_at", "2014-09-26 19:14:35.496058"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.500734"], ["updated_at", "2014-09-26 19:14:35.500734"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.502472"], ["updated_at", "2014-09-26 19:14:35.502472"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Illum voluptate commodi nesciunt. Rerum rerum iure dolorum soluta delectus in libero. Est quos sunt ipsum quo ut.\\nUt animi nihil adipisci quidem necessitatibus voluptate eligendi. Assumenda autem minima asperiores voluptas aut possimus harum. Ut autem sunt recusandae facere sunt.\\nQuod consectetur et maxime. Consequatur nihil dolor consequuntur voluptatibus qui temporibus. Et asperiores tenetur aperiam. Eius officia optio recusandae similique voluptate a eum. Architecto nulla nobis."], ["created_at", "2014-09-26 19:14:35.504823"], ["name", "ut_quod_minima"], ["title", "Enim et placeat"], ["updated_at", "2014-09-26 19:14:35.504823"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.509898"], ["updated_at", "2014-09-26 19:14:35.509898"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.511806"], ["updated_at", "2014-09-26 19:14:35.511806"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ad tempora eos consequatur similique. In ratione et veniam quidem et inventore odit. Eum voluptas id aut sequi ab quos qui. Aspernatur quis ut. Voluptatem odit delectus voluptatum sit.\\nId saepe provident incidunt unde. Tenetur sunt qui quas consectetur placeat delectus. Laudantium commodi quis fugit.\\nAccusamus occaecati eos earum velit sequi. Aperiam blanditiis saepe rerum ullam. Neque est temporibus dolorum animi ab dolores recusandae."], ["created_at", "2014-09-26 19:14:35.514368"], ["name", "similique_vitae_eum"], ["title", "Voluptates necessitatibus sequi"], ["updated_at", "2014-09-26 19:14:35.514368"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_vitae_eum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'similique_vitae_eum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 19:14:35.519473"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.524561"], ["updated_at", "2014-09-26 19:14:35.524561"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.526180"], ["updated_at", "2014-09-26 19:14:35.526180"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut nemo necessitatibus magni sint. Et repellat neque unde aut. Saepe unde dolor ipsam illum aliquam. Et quaerat fugit voluptatibus nesciunt nihil vero ratione. Eligendi sed ab.\\nAt autem ad odio. Sit veritatis fugiat aut. Explicabo aspernatur non vero natus rerum in voluptas. Incidunt voluptatem officia repellat voluptates.\\nVelit ea ex maiores quod. Sit quia ut recusandae sit quasi. Commodi ut cumque. Nulla delectus repellat. Sunt et iusto occaecati odio id ut."], ["created_at", "2014-09-26 19:14:35.528571"], ["name", "sed_vero_earum"], ["title", "Id et alias"], ["updated_at", "2014-09-26 19:14:35.528571"]]  (1.0ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_vero_earum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'sed_vero_earum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 19:14:35.532297"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sed_vero_earum' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.539597"], ["updated_at", "2014-09-26 19:14:35.539597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.541339"], ["updated_at", "2014-09-26 19:14:35.541339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem dignissimos optio. Sit in et fugit ea. Sint et deserunt.\\nNeque quae quam voluptatem. Voluptatem non aut. Ab recusandae magni similique.\\nModi molestiae dolorem quia et. Rerum nihil qui veritatis et. Voluptatem pariatur in debitis et nesciunt ullam. Voluptatem porro voluptatum."], ["created_at", "2014-09-26 19:14:35.543554"], ["name", "architecto_commodi_inventore"], ["title", "Ut voluptas perferendis"], ["updated_at", "2014-09-26 19:14:35.543554"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos quia delectus. Neque ut culpa qui qui dolor recusandae provident. Molestiae at hic. Molestiae sit repudiandae est.\\nQuis dolores dolores ut sit sit asperiores. Deserunt reiciendis est fuga. Velit harum et voluptas. Commodi veritatis animi dolorem.\\nSapiente pariatur quidem. Consectetur mollitia ea quod consequuntur officiis. Ullam sunt deserunt qui. Cumque enim iusto inventore. Nesciunt ipsum at dolorum ut similique consequatur qui."], ["created_at", "2014-09-26 19:14:35.548121"], ["name", "corrupti_quis_perspiciatis"], ["title", "Mollitia excepturi asperiores"], ["updated_at", "2014-09-26 19:14:35.548121"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corrupti_quis_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'corrupti_quis_perspiciatis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:14:35.552999"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corrupti_quis_perspiciatis"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corrupti_quis_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:14:35.557793"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Praesentium rerum temporibus nulla aut quae asperiores cum. Qui voluptatem est rerum sapiente dolorem modi. Ut fuga consequuntur consequatur incidunt dolores.\\nIn animi nostrum itaque voluptatem ad ut. Qui perspiciatis reprehenderit repudiandae. Provident ullam debitis dicta perspiciatis quo.\\nBeatae voluptatem optio nobis autem sint. Minima quibusdam fugit eum. Quae perferendis esse."], ["created_at", "2014-09-26 19:14:35.561355"], ["name", "debitis_tempora_atque"], ["title", "Et iste et"], ["updated_at", "2014-09-26 19:14:35.561355"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "debitis_tempora_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'debitis_tempora_atque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 19:14:35.564494"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.571998"], ["updated_at", "2014-09-26 19:14:35.571998"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:14:35.572871"], ["updated_at", "2014-09-26 19:14:35.572871"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'debitis_tempora_atque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "debitis_tempora_atque"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_nobis_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_nobis_voluptatem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vero optio ipsa in et quidem. Molestiae enim sed occaecati debitis eveniet. Temporibus quo quas nisi deleniti fuga. Dolor saepe aperiam aspernatur illo suscipit veritatis amet. Sed molestiae error neque tempora sed repudiandae numquam.\\nEt sint ab. Blanditiis qui vel inventore reiciendis. Magni omnis alias assumenda sit.\\nSed repellat velit eligendi est similique ab eum. Culpa quasi totam porro. Commodi velit debitis blanditiis nostrum totam harum exercitationem."], ["created_at", "2014-09-26 19:14:35.589144"], ["name", "ut_nobis_voluptatem"], ["title", "Laudantium laborum ut"], ["updated_at", "2014-09-26 19:14:35.589144"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ut_nobis_voluptatem' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vero optio ipsa in et quidem. Molestiae enim sed occaecati debitis eveniet. Temporibus quo quas nisi deleniti fuga. Dolor saepe aperiam aspernatur illo suscipit veritatis amet. Sed molestiae error neque tempora sed repudiandae numquam.\\nEt sint ab. Blanditiis qui vel inventore reiciendis. Magni omnis alias assumenda sit.\\nSed repellat velit eligendi est similique ab eum. Culpa quasi totam porro. Commodi velit debitis blanditiis nostrum totam harum exercitationem."], ["created_at", "2014-09-26 19:14:35.591781"], ["name", "joe"], ["title", "Laudantium laborum ut"], ["updated_at", "2014-09-26 19:14:35.591781"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 19:14:35.595031"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_facilis_beatae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'pariatur_facilis_beatae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minima et sit inventore sint adipisci. Explicabo officiis debitis corrupti eos consequatur. Laboriosam iure rem magnam voluptatum quo atque. Tenetur quod laborum aliquam reiciendis voluptatibus.\\nSunt quisquam officiis. Odit maxime asperiores tempora. Voluptates sit quasi. Excepturi sed dolores est et.\\nNon et non. Similique dolor sed magni assumenda velit debitis. Ipsa at sed ut rerum. Ducimus neque iure iusto temporibus et nam."], ["created_at", "2014-09-26 19:14:35.600249"], ["name", "pariatur_facilis_beatae"], ["title", "Commodi sed ut"], ["updated_at", "2014-09-26 19:14:35.600249"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'pariatur_facilis_beatae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Minima et sit inventore sint adipisci. Explicabo officiis debitis corrupti eos consequatur. Laboriosam iure rem magnam voluptatum quo atque. Tenetur quod laborum aliquam reiciendis voluptatibus.\\nSunt quisquam officiis. Odit maxime asperiores tempora. Voluptates sit quasi. Excepturi sed dolores est et.\\nNon et non. Similique dolor sed magni assumenda velit debitis. Ipsa at sed ut rerum. Ducimus neque iure iusto temporibus et nam."], ["created_at", "2014-09-26 19:14:35.602913"], ["name", "pariatur_facilis_beatae"], ["title", "Commodi sed ut"], ["updated_at", "2014-09-26 19:14:35.602913"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_facilis_beatae"]]  (0.2ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'pariatur_facilis_beatae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:14:35.607224"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.610929"], ["updated_at", "2014-09-26 19:14:35.610929"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.612456"], ["updated_at", "2014-09-26 19:14:35.612456"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.616807"], ["updated_at", "2014-09-26 19:14:35.616807"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.618359"], ["updated_at", "2014-09-26 19:14:35.618359"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui earum ipsa. Repudiandae sed incidunt eum eius corrupti ipsam nostrum. Quaerat doloremque aut odio est accusamus. Voluptas consequatur sed quas.\\nTempore accusamus ad sit ut quidem quia. Soluta magnam ab placeat asperiores sed eos. Est qui nobis ratione velit in amet asperiores.\\nAd optio aut quibusdam qui sint. Magni rem nulla. Quia quis et quaerat qui. Eveniet sed quis aliquid qui impedit."], ["created_at", "2014-09-26 19:14:35.628823"], ["name", "alpha"], ["title", "Placeat ipsam quibusdam"], ["updated_at", "2014-09-26 19:14:35.628823"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Praesentium temporibus dolorem. Quam ratione accusamus et aut voluptatem et dolores. Autem temporibus et sapiente. Nisi sunt minima.\\nVoluptatem est fugiat sapiente delectus ipsum eos sed. Aut quam suscipit libero quibusdam iusto. Quia necessitatibus rerum quam ad neque minus laboriosam.\\nQuae quo ea aliquam. Vero officiis ut est aut est. Neque consequatur esse autem consectetur voluptates necessitatibus veritatis."], ["created_at", "2014-09-26 19:14:35.632959"], ["name", "beta"], ["title", "Magnam non quaerat"], ["updated_at", "2014-09-26 19:14:35.632959"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.634632"], ["updated_at", "2014-09-26 19:14:35.634632"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 19:14:35.637313"], ["updated_at", "2014-09-26 19:14:35.637313"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 19:14:35.639888"], ["updated_at", "2014-09-26 19:14:35.639888"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:14:35.643015"], ["name", "alpha"], ["title", "Placeat ipsam quibusdam"], ["updated_at", "2014-09-26 19:14:35.643015"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-26 19:14:35.646612"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sunt exercitationem a ipsa id qui pariatur ut. Repellat ducimus placeat sed. Quae libero explicabo sed. Vel est explicabo. Quis dolore voluptates dolor deserunt vel.\\nEt perferendis vero. Deleniti quas praesentium. Voluptatum accusantium sunt sunt ipsam voluptate et.\\nSaepe deleniti quas unde sit placeat autem inventore. Consectetur commodi in. Porro asperiores animi officiis. Totam provident officia. Cum commodi harum ut alias occaecati quis."], ["created_at", "2014-09-26 19:14:35.655300"], ["name", "alpha"], ["title", "Aliquid porro consequuntur"], ["updated_at", "2014-09-26 19:14:35.655300"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias eos dolores. Ea consequatur facere autem sunt occaecati. Facilis doloremque eaque placeat velit. Omnis consequatur blanditiis sapiente. Voluptas eum adipisci hic ullam sit enim.\\nQuisquam id occaecati quam. Dolore voluptatem neque quasi sunt odit accusantium. Quisquam impedit eos iure. Odit id voluptas quia itaque.\\nDeserunt quis et nam quae quia consequatur animi. Voluptatibus cupiditate fugit. At maxime voluptatem ut mollitia tempora."], ["created_at", "2014-09-26 19:14:35.660721"], ["name", "beta"], ["title", "Sit sapiente iste"], ["updated_at", "2014-09-26 19:14:35.660721"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.663019"], ["updated_at", "2014-09-26 19:14:35.663019"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 19:14:35.667132"], ["updated_at", "2014-09-26 19:14:35.667132"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 19:14:35.670557"], ["updated_at", "2014-09-26 19:14:35.670557"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:14:35.673172"], ["name", "alpha"], ["title", "Aliquid porro consequuntur"], ["updated_at", "2014-09-26 19:14:35.673172"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 19:14:35.676760"], ["version", 4]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 7, 30, 21, 2, 23, 25, 18, 17, 22) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est quidem dignissimos. Eos rerum cupiditate et quaerat. Vitae id quae accusamus in quibusdam.\\nLaborum voluptate et fugiat animi. Neque voluptates numquam commodi quod id sit. In est consequatur vitae nulla. Nemo et repudiandae autem temporibus quae explicabo beatae. Non quibusdam officiis placeat fuga.\\nConsequuntur nesciunt expedita consequatur et sed et. Quia eos qui nostrum consectetur. Rerum et eos blanditiis ab ut."], ["created_at", "2014-09-26 19:14:35.686171"], ["name", "alpha"], ["title", "Incidunt unde qui"], ["updated_at", "2014-09-26 19:14:35.686171"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugiat et necessitatibus ipsum rerum nobis. At placeat natus aliquid. Nihil eum sunt.\\nSed recusandae expedita. Qui et rerum necessitatibus nulla asperiores. Minus vel et qui veritatis ipsum consequatur. Eaque aliquam et aut eos quas dolor qui.\\nFugit accusamus a molestiae. Mollitia iusto placeat expedita vitae quis. Eius beatae dolor aliquid nobis blanditiis."], ["created_at", "2014-09-26 19:14:35.690510"], ["name", "beta"], ["title", "Consequatur in sapiente"], ["updated_at", "2014-09-26 19:14:35.690510"], ["version", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.692865"], ["updated_at", "2014-09-26 19:14:35.692865"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-26 19:14:35.696017"], ["updated_at", "2014-09-26 19:14:35.696017"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-26 19:14:35.698460"], ["updated_at", "2014-09-26 19:14:35.698460"], ["user_id", 44], ["user_type", "DummyUser"]]  (1.0ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:14:35.701179"], ["name", "alpha"], ["title", "Incidunt unde qui"], ["updated_at", "2014-09-26 19:14:35.701179"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 19:14:35.704482"], ["version", 6]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 19:14:35.722122"], ["updated_at", "2014-09-26 19:14:35.722122"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (34, 32, 31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (33, 30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Temporibus sit voluptatem. Consequuntur dolores consequatur dicta fugiat. Ut ab consequuntur. In suscipit nemo qui expedita quia laudantium quos. Nulla eum minus id dolorum rerum fugiat.\\nQuis voluptatem ullam dolor quisquam dicta. Beatae corrupti nostrum nobis quisquam sint officiis. Quia harum aliquid dolorum.\\nEligendi voluptatibus et voluptatem in aut et. Rerum consequatur maiores blanditiis temporibus. Non ad commodi dolores aliquam aut."], ["created_at", "2014-09-26 19:14:35.737819"], ["name", "alpha"], ["title", "Excepturi et earum"], ["updated_at", "2014-09-26 19:14:35.737819"], ["version", 7]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consectetur architecto dolore nihil. Cumque velit ut libero voluptas voluptatum quibusdam nemo. Tempora ut in quia.\\nVoluptatem corporis enim rerum beatae in voluptas. Sed nesciunt mollitia consequuntur ex tempore error. Minus minima et voluptates in eaque. Ut sit consequatur et inventore unde mollitia incidunt.\\nInventore natus hic qui. Dolore non qui officiis. Ipsum autem ut voluptas. Animi nihil ut quaerat voluptas."], ["created_at", "2014-09-26 19:14:35.742183"], ["name", "beta"], ["title", "Tempora illum necessitatibus"], ["updated_at", "2014-09-26 19:14:35.742183"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.743933"], ["updated_at", "2014-09-26 19:14:35.743933"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-26 19:14:35.746519"], ["updated_at", "2014-09-26 19:14:35.746519"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 19:14:35.749194"], ["updated_at", "2014-09-26 19:14:35.749194"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:14:35.751528"], ["name", "alpha"], ["title", "Excepturi et earum"], ["updated_at", "2014-09-26 19:14:35.751528"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 19:14:35.754726"], ["version", 8]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (37, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint dolor repellat assumenda et voluptas quasi. Ipsum deserunt ea occaecati. Tempora dolore laudantium repellat et. Nostrum voluptas fugit.\\nSit et consequatur quis perspiciatis ea eligendi. Quia et ea blanditiis quos doloribus reprehenderit quia. Et nulla porro deserunt ab aut.\\nQuia blanditiis non aut culpa. Cupiditate fuga vitae dolorem odio. Quos doloremque excepturi ea accusamus. In laboriosam fugiat."], ["created_at", "2014-09-26 19:14:35.760068"], ["name", "quisquam_exercitationem_nulla"], ["title", "Molestiae quo animi"], ["updated_at", "2014-09-26 19:14:35.760068"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "suscipit_eos_eos"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'suscipit_eos_eos') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut perspiciatis incidunt animi excepturi in. Nemo minus quisquam sapiente voluptatem sed odio ut. Eaque fuga quasi ab aperiam expedita quos cum.\\nDebitis animi alias fuga. Quia et corporis. Dicta et enim nihil aut nemo quibusdam et. Quia dolorem et et. Aut similique distinctio omnis.\\nEt aspernatur eveniet sit ducimus est amet repellendus. Ut tempore maxime aut dicta non beatae. Repudiandae explicabo inventore aut quis nulla. Quos dolor aut hic."], ["created_at", "2014-09-26 19:14:35.765878"], ["name", "suscipit_eos_eos"], ["title", "Voluptatum et nulla"], ["updated_at", "2014-09-26 19:14:35.765878"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.771156"], ["updated_at", "2014-09-26 19:14:35.771156"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.772712"], ["updated_at", "2014-09-26 19:14:35.772712"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "itaque_suscipit_non"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'itaque_suscipit_non') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem inventore facere qui. Quo dolorem sint. Blanditiis dolore libero repellendus. Totam optio veritatis quo ullam qui. Aut voluptatem sint laudantium.\\nAd fugiat enim doloribus nulla temporibus consequatur porro. Velit fugit doloribus officia reprehenderit quia. Aliquid qui illum. Consequuntur est molestiae qui vitae.\\nNumquam ipsam consequatur. Placeat accusantium suscipit molestiae. Consequuntur aut voluptatem esse veritatis voluptatem. Eos perspiciatis quod vitae hic qui."], ["created_at", "2014-09-26 19:14:35.777468"], ["name", "itaque_suscipit_non"], ["title", "Non magni ratione"], ["updated_at", "2014-09-26 19:14:35.777468"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.780348"], ["updated_at", "2014-09-26 19:14:35.780348"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 19:14:35.780961"], ["updated_at", "2014-09-26 19:14:35.780961"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.786192"], ["updated_at", "2014-09-26 19:14:35.786192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.787913"], ["updated_at", "2014-09-26 19:14:35.787913"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "illum_et_ut"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'illum_et_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et deserunt in rerum. Provident voluptatibus porro eum. Et optio hic sint perferendis. A aut aliquam ea iure dolore ut. Tenetur ex perferendis omnis quaerat esse.\\nOfficiis exercitationem soluta doloremque facilis labore ducimus ut. Soluta hic praesentium harum occaecati omnis quia molestiae. Aut nam voluptatem nemo. Deserunt earum optio. Saepe nobis enim asperiores eum voluptates.\\nAsperiores sint quasi qui tempora. Aliquam est et vero sunt nostrum. Consequuntur praesentium facere cum itaque."], ["created_at", "2014-09-26 19:14:35.793420"], ["name", "illum_et_ut"], ["title", "Ut magnam assumenda"], ["updated_at", "2014-09-26 19:14:35.793420"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.796395"], ["updated_at", "2014-09-26 19:14:35.796395"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-26 19:14:35.796986"], ["updated_at", "2014-09-26 19:14:35.796986"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.810489"], ["updated_at", "2014-09-26 19:14:35.810489"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.811950"], ["updated_at", "2014-09-26 19:14:35.811950"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsam_nulla_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ipsam_nulla_voluptatem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias ab cum delectus dolorum blanditiis. Sed sunt culpa iste fugiat enim et dolor. Temporibus est dolore maxime ut autem voluptatem ipsum.\\nAccusantium maiores vel. Quos sed laudantium quidem sit. Cum eos molestias occaecati. Quod sunt ut.\\nVoluptas odit temporibus deleniti rerum ut aut vel. Ad a aut et quia odit qui. Velit molestiae ipsum facilis."], ["created_at", "2014-09-26 19:14:35.816460"], ["name", "ipsam_nulla_voluptatem"], ["title", "Placeat corrupti et"], ["updated_at", "2014-09-26 19:14:35.816460"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:35.821425"], ["updated_at", "2014-09-26 19:14:35.821425"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 19:14:35.822443"], ["updated_at", "2014-09-26 19:14:35.822443"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Completed 200 OK in 194ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.023093"], ["updated_at", "2014-09-26 19:14:36.023093"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.027053"], ["updated_at", "2014-09-26 19:14:36.027053"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_aspernatur_laudantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_aspernatur_laudantium') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aspernatur et sed possimus quo. Modi odio non quas aperiam. Hic dolores voluptatibus ducimus aut dolor. Nulla omnis nam reiciendis in et pariatur.\\nTempora eveniet dignissimos asperiores sapiente nam in. Velit ut asperiores ipsa quo sed eius quis. Velit sint eos nemo.\\nTenetur nisi autem corporis minus aut. Modi incidunt consequatur ut voluptatem quis consequuntur totam. Sed et doloremque dolores dolorum."], ["created_at", "2014-09-26 19:14:36.033198"], ["name", "et_aspernatur_laudantium"], ["title", "Dicta accusantium facilis"], ["updated_at", "2014-09-26 19:14:36.033198"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.036892"], ["updated_at", "2014-09-26 19:14:36.036892"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 19:14:36.037824"], ["updated_at", "2014-09-26 19:14:36.037824"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.045795"], ["updated_at", "2014-09-26 19:14:36.045795"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.048037"], ["updated_at", "2014-09-26 19:14:36.048037"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minima_animi_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minima_animi_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id est qui assumenda unde. Dolore similique sunt natus consequuntur aliquam perferendis voluptate. Quas aut officiis ut voluptas at eveniet. Repudiandae doloribus in.\\nVoluptas esse assumenda iure earum quas quo ratione. Libero soluta mollitia consequuntur amet dolor animi maxime. Optio odit eveniet earum suscipit voluptatem nobis fuga. Et rerum autem animi enim. Et totam animi sit mollitia ut.\\nDolorum facilis consequatur quibusdam rerum. Cumque assumenda et officia corrupti. Et nisi cum. Nesciunt ut sequi eius nihil. Hic sunt velit eaque totam inventore dolor occaecati."], ["created_at", "2014-09-26 19:14:36.052774"], ["name", "minima_animi_ut"], ["title", "Minus nulla sunt"], ["updated_at", "2014-09-26 19:14:36.052774"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.055321"], ["updated_at", "2014-09-26 19:14:36.055321"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-26 19:14:36.055927"], ["updated_at", "2014-09-26 19:14:36.055927"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.061845"], ["updated_at", "2014-09-26 19:14:36.061845"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.064213"], ["updated_at", "2014-09-26 19:14:36.064213"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_quis_nesciunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'magnam_quis_nesciunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Amet qui tempora porro voluptas eaque. Quia eos autem. Harum ipsa ratione et deleniti ducimus.\\nAut voluptatem quis libero aut numquam qui dolores. Inventore qui placeat perferendis omnis consequatur nihil. Vero ea est molestiae voluptatem qui ducimus.\\nVoluptas sunt non minima dolor aut est in. Cum culpa voluptas voluptate. Explicabo corrupti ipsum eum nihil tenetur. Nemo quaerat temporibus nesciunt omnis ab repellendus."], ["created_at", "2014-09-26 19:14:36.072563"], ["name", "magnam_quis_nesciunt"], ["title", "Voluptas expedita ut"], ["updated_at", "2014-09-26 19:14:36.072563"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.076557"], ["updated_at", "2014-09-26 19:14:36.076557"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 19:14:36.077191"], ["updated_at", "2014-09-26 19:14:36.077191"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.087578"], ["updated_at", "2014-09-26 19:14:36.087578"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.089734"], ["updated_at", "2014-09-26 19:14:36.089734"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_est_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_est_soluta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aspernatur aliquid nesciunt nulla id. Minima et possimus tempore quia consequatur porro esse. Cupiditate dicta dolor accusamus et laudantium.\\nUt iure est dolor. Accusamus voluptas laboriosam. Temporibus nostrum labore. Consequatur non aspernatur ipsum hic alias ullam.\\nRerum necessitatibus inventore commodi aut. Modi a ab sequi nulla enim eum. Distinctio sequi eveniet enim veritatis reiciendis. Voluptates est non in itaque velit suscipit."], ["created_at", "2014-09-26 19:14:36.095599"], ["name", "quia_est_soluta"], ["title", "Doloremque aut dicta"], ["updated_at", "2014-09-26 19:14:36.095599"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.098510"], ["updated_at", "2014-09-26 19:14:36.098510"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 19:14:36.099184"], ["updated_at", "2014-09-26 19:14:36.099184"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Redirected to http://test.host/fine_print/contracts/46/signatures?r=ZGtua0NLeVZKNEJ1YmdORnhoVUtuQT09LS1JVjhjb3M1TUxVdmd0WGtyUllLeGhBPT0%3D--d906ab50a6f4924cd56923e6a9a5a2c6afd7549a Completed 302 Found in 3ms (ActiveRecord: 0.8ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 17 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.108755"], ["updated_at", "2014-09-26 19:14:36.108755"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.110482"], ["updated_at", "2014-09-26 19:14:36.110482"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "libero_blanditiis_minus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'libero_blanditiis_minus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est dolor aliquam. Ut non dolor animi. Id suscipit fugiat dignissimos est et. Nihil praesentium libero aut accusantium in. Asperiores quisquam corporis adipisci quidem ut aut nemo.\\nEos distinctio at sed. Aut non optio. Ut et ducimus ad harum nostrum qui.\\nSapiente aut neque nihil et pariatur. Reiciendis necessitatibus ipsam expedita in blanditiis nulla adipisci. Quaerat voluptatem quo rem ab. Rem provident optio qui quidem. Quo sint deleniti recusandae molestiae saepe officia voluptatem."], ["created_at", "2014-09-26 19:14:36.118314"], ["name", "libero_blanditiis_minus"], ["title", "Animi molestiae consequatur"], ["updated_at", "2014-09-26 19:14:36.118314"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:14:36.121220"], ["updated_at", "2014-09-26 19:14:36.121220"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 19:14:36.121914"], ["updated_at", "2014-09-26 19:14:36.121914"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:01.657561"], ["updated_at", "2014-09-26 19:22:01.657561"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:01.664858"], ["updated_at", "2014-09-26 19:22:01.664858"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloribus_at_impedit"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'doloribus_at_impedit') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minima vero maxime unde. Aut quisquam cupiditate doloremque. Cum expedita iste velit corrupti eius. Beatae qui impedit velit odio ratione. Eos nesciunt et.\nExcepturi necessitatibus officiis. Est quasi ea voluptas quia quae. Quo consequuntur quia ut nesciunt natus distinctio.\nAperiam officia quo. Quo et quia perferendis placeat sed. Facere molestiae reprehenderit."], ["created_at", "2014-09-26 19:22:01.895796"], ["name", "doloribus_at_impedit"], ["title", "Pariatur reprehenderit neque"], ["updated_at", "2014-09-26 19:22:01.895796"], ["version", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:01.902850"], ["updated_at", "2014-09-26 19:22:01.902850"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 19:22:01.903577"], ["updated_at", "2014-09-26 19:22:01.903577"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 186ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.099327"], ["updated_at", "2014-09-26 19:22:02.099327"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.102020"], ["updated_at", "2014-09-26 19:22:02.102020"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odit_voluptas_sed"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'odit_voluptas_sed') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et cumque velit. Hic harum nemo. Officia ea ut provident qui omnis dolor. Impedit est id est inventore dolorem.\nIpsum itaque ut quidem quasi rerum est. Quos vel ut possimus tempora voluptas ut similique. At omnis porro sed voluptates earum in assumenda. Voluptatibus quia dolorem ratione. Voluptate quas labore doloribus.\nQuod ullam occaecati voluptates consequatur accusamus natus. Quaerat aut ipsum non atque animi quo eum. Unde repellat tempora expedita sequi. Voluptas sapiente consequatur iste est ut voluptatem. Modi autem et omnis fugit."], ["created_at", "2014-09-26 19:22:02.107109"], ["name", "odit_voluptas_sed"], ["title", "Nihil provident enim"], ["updated_at", "2014-09-26 19:22:02.107109"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.109882"], ["updated_at", "2014-09-26 19:22:02.109882"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 19:22:02.110414"], ["updated_at", "2014-09-26 19:22:02.110414"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"2"} Filter chain halted as :can_sign rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.114068"], ["updated_at", "2014-09-26 19:22:02.114068"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.115643"], ["updated_at", "2014-09-26 19:22:02.115643"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_ullam_minus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_ullam_minus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Corporis quia odit ratione adipisci minima sed odio. Debitis aspernatur labore maiores ullam sint. Error qui et quis autem quia quo. Reiciendis quas molestiae nulla assumenda. Fuga aut quas sed quibusdam modi.\nVoluptatem dolore laboriosam. Perferendis et et nostrum quibusdam. Explicabo velit quaerat.\nQuia officia neque exercitationem. Omnis distinctio dolorem. Magnam debitis eos. Maiores ut voluptatum quia."], ["created_at", "2014-09-26 19:22:02.120236"], ["name", "aut_ullam_minus"], ["title", "Voluptatem sint alias"], ["updated_at", "2014-09-26 19:22:02.120236"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.122814"], ["updated_at", "2014-09-26 19:22:02.122814"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 19:22:02.123365"], ["updated_at", "2014-09-26 19:22:02.123365"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.132942"], ["updated_at", "2014-09-26 19:22:02.132942"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.135007"], ["updated_at", "2014-09-26 19:22:02.135007"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_est_nostrum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_est_nostrum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut debitis dolorem voluptatum incidunt dolor nihil. Sint nisi ut consequuntur. Dicta et architecto omnis. Harum velit sed distinctio.\nFacilis alias voluptas culpa praesentium nulla. Perspiciatis rem et et est accusantium itaque. Qui recusandae at.\nEos adipisci repellendus quasi consequatur maxime sequi. Quia asperiores assumenda quis omnis dolor voluptates. Porro est nesciunt eos quia sequi. Et necessitatibus minima temporibus non esse vitae quo."], ["created_at", "2014-09-26 19:22:02.139876"], ["name", "aut_est_nostrum"], ["title", "Ad odit omnis"], ["updated_at", "2014-09-26 19:22:02.139876"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.142994"], ["updated_at", "2014-09-26 19:22:02.142994"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 19:22:02.143761"], ["updated_at", "2014-09-26 19:22:02.143761"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.150751"], ["updated_at", "2014-09-26 19:22:02.150751"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.152346"], ["updated_at", "2014-09-26 19:22:02.152346"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quidem_nostrum_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quidem_nostrum_libero') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsam dolores error soluta alias quibusdam velit et. Molestiae aut sed et rerum omnis. Culpa blanditiis magni tempora dignissimos commodi doloremque. Nihil quaerat et qui corporis cumque.\nReiciendis soluta odio. Aliquid blanditiis nihil facilis pariatur cupiditate rerum. Occaecati voluptatem ut quia velit. Sed magni et eos veritatis id.\nHic ipsum libero esse dolor quia rerum fuga. Ipsum nihil itaque quas blanditiis consequatur repudiandae. Earum excepturi veritatis provident molestias. Dolorum vitae non quis."], ["created_at", "2014-09-26 19:22:02.157576"], ["name", "quidem_nostrum_libero"], ["title", "Laudantium consequatur ut"], ["updated_at", "2014-09-26 19:22:02.157576"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.160214"], ["updated_at", "2014-09-26 19:22:02.160214"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 19:22:02.160769"], ["updated_at", "2014-09-26 19:22:02.160769"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Completed 404 Not Found in 0ms FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.167863"], ["updated_at", "2014-09-26 19:22:02.167863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.169288"], ["updated_at", "2014-09-26 19:22:02.169288"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corrupti_eligendi_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'corrupti_eligendi_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusamus possimus est ipsum voluptatibus nesciunt. Sed deserunt ratione odit impedit distinctio ipsam aperiam. Est voluptates et facere sit id.\nDoloribus id et itaque harum. Officiis in tenetur culpa. Cupiditate ea molestiae. Sunt error doloremque est. Sed delectus et.\nCumque reprehenderit incidunt debitis. Non occaecati magnam nihil alias ab et quaerat. Quibusdam eos reiciendis est. Adipisci distinctio eos."], ["created_at", "2014-09-26 19:22:02.173925"], ["name", "corrupti_eligendi_qui"], ["title", "Odit velit nobis"], ["updated_at", "2014-09-26 19:22:02.173925"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.176590"], ["updated_at", "2014-09-26 19:22:02.176590"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 19:22:02.177166"], ["updated_at", "2014-09-26 19:22:02.177166"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.182535"], ["updated_at", "2014-09-26 19:22:02.182535"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.184312"], ["updated_at", "2014-09-26 19:22:02.184312"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_ex_alias"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_ex_alias') LIMIT 1 SQL (0.6ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Praesentium ut sed. Ab aut a placeat. Voluptatibus nostrum nam unde aut non. Qui id nihil accusantium aspernatur voluptatem. Aut dolorum voluptatem voluptatum quam atque veniam et.\nItaque sit ut eveniet accusamus rerum. Aut reiciendis consequatur id et. Est et facere eligendi quidem eum enim. Nam expedita molestiae ut vel. Et est dolores et.\nQui tempora sit perferendis. Est laudantium nesciunt quidem consequatur et. Suscipit est sed. Praesentium ut eum quis occaecati nihil animi. Veniam qui laboriosam."], ["created_at", "2014-09-26 19:22:02.188937"], ["name", "aut_ex_alias"], ["title", "Est voluptatem molestias"], ["updated_at", "2014-09-26 19:22:02.188937"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.192956"], ["updated_at", "2014-09-26 19:22:02.192956"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 19:22:02.193591"], ["updated_at", "2014-09-26 19:22:02.193591"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Redirected to http://test.host/fine_print/contracts/7/signatures?r=UUNEM3p4UVQ1Z0pwaDlLeWNhNmpRdz09LS0wMGMxbTBMbi83Rk9lQWZKWEV2MjJnPT0%3D--0303c82e0264c3ae4e3265788afae7c2b2524f93 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 7 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.203552"], ["updated_at", "2014-09-26 19:22:02.203552"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.205025"], ["updated_at", "2014-09-26 19:22:02.205025"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_fuga_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_fuga_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officiis nihil maiores aliquid accusamus. Fuga deleniti in non in. Et fuga nesciunt voluptatem excepturi quo est nobis.\nQuo qui quisquam. Voluptas laborum ratione ut voluptatem omnis. Beatae dicta molestiae molestias itaque praesentium. Quis modi quam.\nReiciendis et placeat. Sed quidem qui exercitationem. Sed quia voluptates suscipit et reiciendis accusamus sit. Rerum accusamus nostrum debitis dolorum et alias. Nostrum sequi dolorum mollitia harum."], ["created_at", "2014-09-26 19:22:02.209480"], ["name", "est_fuga_et"], ["title", "Enim ut ea"], ["updated_at", "2014-09-26 19:22:02.209480"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.212047"], ["updated_at", "2014-09-26 19:22:02.212047"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 19:22:02.212601"], ["updated_at", "2014-09-26 19:22:02.212601"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.217089"], ["updated_at", "2014-09-26 19:22:02.217089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.218583"], ["updated_at", "2014-09-26 19:22:02.218583"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.222805"], ["updated_at", "2014-09-26 19:22:02.222805"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.224410"], ["updated_at", "2014-09-26 19:22:02.224410"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::HomeController#index as HTML Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequuntur_veritatis_odio"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequuntur_veritatis_odio') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint consequuntur nulla et. Dolorem eaque commodi nisi sit eos necessitatibus. Quod excepturi omnis velit quae.\nNatus perspiciatis est nisi voluptatem. Quidem qui iste. Ab ut omnis maiores. Et quasi quos reiciendis est. Voluptate inventore maiores natus.\nAut voluptatem harum velit neque ullam aperiam. Praesentium impedit aut vitae ab et. Est praesentium voluptatem laborum."], ["created_at", "2014-09-26 19:22:02.230989"], ["name", "consequuntur_veritatis_odio"], ["title", "Culpa harum dolorem"], ["updated_at", "2014-09-26 19:22:02.230989"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'consequuntur_veritatis_odio' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint consequuntur nulla et. Dolorem eaque commodi nisi sit eos necessitatibus. Quod excepturi omnis velit quae.\nNatus perspiciatis est nisi voluptatem. Quidem qui iste. Ab ut omnis maiores. Et quasi quos reiciendis est. Voluptate inventore maiores natus.\nAut voluptatem harum velit neque ullam aperiam. Praesentium impedit aut vitae ab et. Est praesentium voluptatem laborum."], ["created_at", "2014-09-26 19:22:02.233585"], ["name", "consequuntur_veritatis_odio"], ["title", "Culpa harum dolorem"], ["updated_at", "2014-09-26 19:22:02.233585"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequuntur_veritatis_odio"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'consequuntur_veritatis_odio') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 19:22:02.236736"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Expedita dolore molestiae. Omnis voluptatum rem animi ab voluptate et accusantium. Non non recusandae nisi quibusdam enim autem sapiente.\nEst at reprehenderit id nulla dicta. Praesentium voluptas illo tenetur esse libero at maxime. Earum veniam sunt non corrupti similique. Quidem ullam perferendis. Non consequatur repellat eum assumenda vero ut voluptatum.\nEst voluptatem asperiores est est adipisci et enim. Quidem nam qui ea ut accusamus facilis. Odit enim omnis omnis."], ["created_at", "2014-09-26 19:22:02.242434"], ["name", "dolorem_et_non"], ["title", "Velit consectetur officia"], ["updated_at", "2014-09-26 19:22:02.242434"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorem_et_non"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'dolorem_et_non') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 19:22:02.245975"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.252256"], ["updated_at", "2014-09-26 19:22:02.252256"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 19:22:02.253150"], ["updated_at", "2014-09-26 19:22:02.253150"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'dolorem_et_non') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorem_et_non"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_mollitia_vitae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rerum_mollitia_vitae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minus nam et aut laboriosam ullam quos qui. Quaerat ut iusto dolores odio velit. Magni ullam aut quia. Laboriosam adipisci necessitatibus qui iure dolorem enim qui.\nPerspiciatis earum ex enim. Dolor voluptas corporis ipsa reprehenderit aut temporibus. A quod et veritatis rem ratione autem. Esse provident repudiandae rerum velit beatae modi consequatur. Illo quo nemo minus qui.\nVoluptate velit et. Repellat autem tempora placeat ut eius. Odio rerum vel amet enim quod rem expedita."], ["created_at", "2014-09-26 19:22:02.265968"], ["name", "rerum_mollitia_vitae"], ["title", "Eos quia aut"], ["updated_at", "2014-09-26 19:22:02.265968"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'rerum_mollitia_vitae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Minus nam et aut laboriosam ullam quos qui. Quaerat ut iusto dolores odio velit. Magni ullam aut quia. Laboriosam adipisci necessitatibus qui iure dolorem enim qui.\nPerspiciatis earum ex enim. Dolor voluptas corporis ipsa reprehenderit aut temporibus. A quod et veritatis rem ratione autem. Esse provident repudiandae rerum velit beatae modi consequatur. Illo quo nemo minus qui.\nVoluptate velit et. Repellat autem tempora placeat ut eius. Odio rerum vel amet enim quod rem expedita."], ["created_at", "2014-09-26 19:22:02.268971"], ["name", "joe"], ["title", "Eos quia aut"], ["updated_at", "2014-09-26 19:22:02.268971"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 19:22:02.272348"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Distinctio autem magnam assumenda. Expedita sed minima et quidem doloribus. Sint sapiente consequatur. Fugiat veniam enim nihil consequatur est nemo.\nIste eum rerum. Voluptate tempore consectetur perferendis vero. Beatae adipisci amet harum. Sed mollitia laborum nulla sequi ipsum rerum. Illum voluptates commodi eius dolorum.\nVelit qui in suscipit dolorum non. Minus at animi deserunt qui quis omnis. Corrupti expedita impedit."], ["created_at", "2014-09-26 19:22:02.275898"], ["name", "sapiente_fugiat_explicabo"], ["title", "Dolorem in consequatur"], ["updated_at", "2014-09-26 19:22:02.275898"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sapiente_fugiat_explicabo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'sapiente_fugiat_explicabo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:22:02.280341"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sapiente_fugiat_explicabo"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sapiente_fugiat_explicabo"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:22:02.285759"], ["version", nil]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint omnis a debitis labore libero quas. Delectus quaerat non vel ea quisquam placeat aut. Reprehenderit quis aut ipsum. Sed voluptatem et in facere omnis nostrum.\nQui quos necessitatibus incidunt quisquam. Quaerat iure et quam assumenda sit blanditiis optio. Odio totam praesentium. Est nihil suscipit minima ullam dolores atque.\nCumque aut incidunt voluptatum laudantium eum voluptatem quidem. Magni rerum expedita alias aut tempore. Assumenda explicabo qui natus qui iste dolorem. Non vel alias itaque."], ["created_at", "2014-09-26 19:22:02.292919"], ["name", "alpha"], ["title", "Voluptatem quidem adipisci"], ["updated_at", "2014-09-26 19:22:02.292919"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Veritatis quia itaque voluptatibus nihil. Molestiae et suscipit magni vel aliquam. Rem distinctio ut minus dolores ut. Et quaerat dolorum dolores natus consequuntur et quo. Quia amet optio voluptatem nam consequuntur error.\nUllam et quia voluptas et rerum dolorum. Itaque enim omnis. Corporis magni quaerat cumque nobis tenetur quia velit. Est ex nihil perspiciatis impedit consequatur non.\nIncidunt aliquam et cupiditate. Maxime ea expedita consequatur laborum. Nobis ut aut repellat perferendis sapiente et ex. Non hic explicabo. Sunt perferendis beatae labore."], ["created_at", "2014-09-26 19:22:02.298193"], ["name", "beta"], ["title", "Quia molestiae molestiae"], ["updated_at", "2014-09-26 19:22:02.298193"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.300067"], ["updated_at", "2014-09-26 19:22:02.300067"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:22:02.302891"], ["updated_at", "2014-09-26 19:22:02.302891"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 30) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 19:22:02.305481"], ["updated_at", "2014-09-26 19:22:02.305481"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:22:02.307819"], ["name", "alpha"], ["title", "Voluptatem quidem adipisci"], ["updated_at", "2014-09-26 19:22:02.307819"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 19:22:02.311955"], ["version", 2]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (17, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perspiciatis ipsa iste. Quia minima nam adipisci dolor voluptas eum. Saepe optio enim eaque sed.\nQuia possimus soluta animi est libero sequi expedita. Laborum ea sed dignissimos culpa beatae eligendi. Cumque aut non expedita qui.\nNihil quaerat est molestiae distinctio doloremque maiores. Quidem est quod ratione labore dignissimos. Quam autem mollitia dolor."], ["created_at", "2014-09-26 19:22:02.320404"], ["name", "alpha"], ["title", "Suscipit numquam laborum"], ["updated_at", "2014-09-26 19:22:02.320404"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Soluta autem et quisquam nemo. Quaerat nihil molestias. Voluptatem ut qui dolores perferendis modi dicta.\nDeserunt minima quae aut. Asperiores facere possimus temporibus explicabo delectus dignissimos quo. Laudantium harum sint necessitatibus. Delectus molestiae nihil qui veniam.\nNihil molestiae et est. Natus repellat blanditiis. Aspernatur similique fuga ipsa molestias quia. Quo ex ut adipisci omnis. Dolor et voluptatem fuga."], ["created_at", "2014-09-26 19:22:02.324698"], ["name", "beta"], ["title", "Et soluta modi"], ["updated_at", "2014-09-26 19:22:02.324698"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.326368"], ["updated_at", "2014-09-26 19:22:02.326368"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 19:22:02.329201"], ["updated_at", "2014-09-26 19:22:02.329201"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 31) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 19:22:02.331725"], ["updated_at", "2014-09-26 19:22:02.331725"], ["user_id", 31], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:22:02.334008"], ["name", "alpha"], ["title", "Suscipit numquam laborum"], ["updated_at", "2014-09-26 19:22:02.334008"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:22:02.337994"], ["version", 4]]  (0.5ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (20, 4, 7, 3, 19, 10, 6, 11, 1, 8, 13, 2, 5, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem sit quam recusandae eveniet velit. Vel quam saepe voluptatibus consequuntur sit ducimus at. Nulla aut autem. Aut et magni possimus libero. Asperiores placeat at.\nOdio consectetur exercitationem error aliquid velit. Voluptas illo iste non quia. Ipsum dicta soluta rerum et cumque in iusto. Corrupti officiis totam error ipsa sequi ad in.\nDolores et adipisci placeat ut. Rerum explicabo qui rem dolores iusto. Impedit expedita minima. Quis quos asperiores voluptas molestias doloribus et earum. Et laboriosam omnis quam ducimus."], ["created_at", "2014-09-26 19:22:02.347686"], ["name", "alpha"], ["title", "Debitis impedit quia"], ["updated_at", "2014-09-26 19:22:02.347686"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum eius accusamus commodi. Animi occaecati incidunt aut et reprehenderit enim. Mollitia unde voluptas illum at blanditiis excepturi sed. Laborum molestiae qui similique nisi illum. Delectus culpa natus non vel.\nExpedita aut commodi. Deleniti sed dignissimos porro ad quidem aut. Voluptatum est magni. Animi ut rerum aliquam non molestiae iusto non.\nConsectetur est non rerum et consequatur cum. Consequatur est temporibus in ea. Ratione eligendi iusto magni."], ["created_at", "2014-09-26 19:22:02.351866"], ["name", "beta"], ["title", "Itaque ipsam laudantium"], ["updated_at", "2014-09-26 19:22:02.351866"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.353570"], ["updated_at", "2014-09-26 19:22:02.353570"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:22:02.356475"], ["updated_at", "2014-09-26 19:22:02.356475"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 19:22:02.359167"], ["updated_at", "2014-09-26 19:22:02.359167"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:22:02.361640"], ["name", "alpha"], ["title", "Debitis impedit quia"], ["updated_at", "2014-09-26 19:22:02.361640"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 19:22:02.364790"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 21, 20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 21, 20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 19, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 32) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 19:22:02.386609"], ["updated_at", "2014-09-26 19:22:02.386609"], ["user_id", 32], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 21, 20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 21, 20, 18, 17, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 19, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem atque libero est alias eos quis dolorem. Quia libero accusantium. Animi aperiam qui nobis sequi dolore voluptatem ipsum. Perspiciatis porro aut et optio et quos. Adipisci ea veniam eos ipsam aut dolorem.\nDolorem nam animi hic autem. Amet quis dolorem. Facere impedit enim aspernatur rerum ullam qui dolore.\nTemporibus rem ut sed quam veritatis porro. Ut ea eaque voluptatem. Corporis ea dolorem."], ["created_at", "2014-09-26 19:22:02.405783"], ["name", "alpha"], ["title", "Eaque velit at"], ["updated_at", "2014-09-26 19:22:02.405783"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Maxime optio atque nostrum eum recusandae quam ipsum. Mollitia debitis itaque id architecto repellat. Eos quidem tenetur non. Reiciendis dolorem quis aut earum.\nAperiam illum quod quas minima. Enim et saepe ullam. Amet doloremque consectetur.\nSuscipit qui ex saepe et sequi. Eaque et natus maiores. Voluptas itaque expedita consequuntur praesentium cupiditate quibusdam. Consequatur expedita quidem aspernatur nemo incidunt sunt fugit."], ["created_at", "2014-09-26 19:22:02.410173"], ["name", "beta"], ["title", "Et ipsam quia"], ["updated_at", "2014-09-26 19:22:02.410173"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.411925"], ["updated_at", "2014-09-26 19:22:02.411925"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 19:22:02.414638"], ["updated_at", "2014-09-26 19:22:02.414638"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 33) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 19:22:02.417568"], ["updated_at", "2014-09-26 19:22:02.417568"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:22:02.419883"], ["name", "alpha"], ["title", "Eaque velit at"], ["updated_at", "2014-09-26 19:22:02.419883"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:22:02.422940"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facere ipsa sunt. Nobis consectetur praesentium distinctio. Deleniti aliquid et earum doloremque id qui est. Nam rerum et.\nIpsa quia nihil veniam earum voluptatem non quo. Laudantium eaque aliquid id aliquam sit voluptates. Laborum quae voluptatum quis fuga repellendus eum dolores. Sed sint maxime impedit quis. Tempora fuga unde sequi.\nQui blanditiis ipsum id. Eum nam molestiae tempora voluptatem dolorem aut harum. Est recusandae optio fuga. Quasi pariatur assumenda sed quia magnam."], ["created_at", "2014-09-26 19:22:02.442330"], ["name", "distinctio_aut_officia"], ["title", "Et eligendi delectus"], ["updated_at", "2014-09-26 19:22:02.442330"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "officiis_unde_veritatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'officiis_unde_veritatis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et labore autem. Eos eaque dolore laboriosam voluptatum dolorum. Cumque dolores velit deleniti esse. Ut inventore soluta laudantium quibusdam nostrum quam iure.\nFugit et maxime rerum quo amet. Quae beatae quisquam. Et non et quisquam. Sequi aliquid qui et quidem. Soluta tenetur praesentium quaerat est rerum.\nNobis recusandae inventore in quia et neque rerum. Voluptatem et sed sit maxime et dolorem quis. Saepe veniam eos asperiores molestiae aut consequatur."], ["created_at", "2014-09-26 19:22:02.448656"], ["name", "officiis_unde_veritatis"], ["title", "Ratione vitae eveniet"], ["updated_at", "2014-09-26 19:22:02.448656"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.455098"], ["updated_at", "2014-09-26 19:22:02.455098"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.456966"], ["updated_at", "2014-09-26 19:22:02.456966"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Amet rerum et id optio dolores. Quia quis sed libero expedita similique officiis. Deleniti sed et harum molestias.\nNon voluptates eos. Eligendi commodi quos provident autem sapiente nostrum placeat. Quod aliquam sequi blanditiis occaecati accusantium. Et laudantium perferendis architecto.\nArchitecto dolores sit asperiores in sit iure consequatur. Culpa adipisci consequatur. Aspernatur est voluptatem reiciendis. Aut mollitia ipsum."], ["created_at", "2014-09-26 19:22:02.459744"], ["name", "est_sed_tempore"], ["title", "Rerum at neque"], ["updated_at", "2014-09-26 19:22:02.459744"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_sed_tempore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'est_sed_tempore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 19:22:02.464362"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.473249"], ["updated_at", "2014-09-26 19:22:02.473249"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.476235"], ["updated_at", "2014-09-26 19:22:02.476235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut eos mollitia sint. Et aut ut. Cupiditate distinctio debitis autem magni voluptatum. Fugiat enim officiis quas nisi.\nAut dolores vel. Unde reiciendis omnis numquam velit rem repellat laudantium. Voluptatum aut unde et blanditiis modi delectus repellat. Est adipisci dignissimos sed ullam labore quia qui.\nNam aperiam commodi quis esse alias facilis. Nam est ipsum enim incidunt quos dicta fugit. Ab hic omnis quo eligendi mollitia. Et accusamus atque ab necessitatibus magnam reprehenderit. Quibusdam nihil optio."], ["created_at", "2014-09-26 19:22:02.479844"], ["name", "ut_alias_ipsum"], ["title", "Quos fuga veritatis"], ["updated_at", "2014-09-26 19:22:02.479844"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#index as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.486487"], ["updated_at", "2014-09-26 19:22:02.486487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.488504"], ["updated_at", "2014-09-26 19:22:02.488504"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident perspiciatis nesciunt error sint. Dicta sed porro laborum dolor possimus maiores vel. Eos sed nihil voluptas. Voluptates minus velit quisquam excepturi et nam et. Et rerum aut et error itaque.\nOmnis sunt rerum doloremque. Voluptatum deserunt ut vel. Suscipit occaecati impedit voluptatem et. Voluptas sed a in veniam repellendus sit impedit.\nEst nihil similique. Ut commodi enim. Quia enim voluptate."], ["created_at", "2014-09-26 19:22:02.491058"], ["name", "unde_sunt_saepe"], ["title", "Vel nemo est"], ["updated_at", "2014-09-26 19:22:02.491058"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.497425"], ["updated_at", "2014-09-26 19:22:02.497425"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.498991"], ["updated_at", "2014-09-26 19:22:02.498991"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est repellendus numquam. In deleniti laboriosam. Sequi quod numquam neque eveniet molestiae tenetur eum. Nesciunt sit explicabo in cupiditate.\nEt est rem animi. Nostrum quia commodi. Et consequatur impedit ea et tempora. Itaque et possimus similique aliquam mollitia. Reprehenderit dolorum amet maxime.\nPossimus ut a et. Praesentium reprehenderit similique. Cumque accusantium est omnis et. Reprehenderit et doloremque iste cumque sunt rerum at. Non nulla sequi iste eos."], ["created_at", "2014-09-26 19:22:02.501476"], ["name", "error_mollitia_minima"], ["title", "Labore consequuntur ut"], ["updated_at", "2014-09-26 19:22:02.501476"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"32"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 32 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:22:02.505974"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/32 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.513499"], ["updated_at", "2014-09-26 19:22:02.513499"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.515646"], ["updated_at", "2014-09-26 19:22:02.515646"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut minus voluptatum et. Corporis aut natus minus quas aliquam non. Est eos repellat vel doloribus ipsa rerum amet. Quidem sit nostrum beatae alias iusto ipsum.\nDolor fugiat pariatur voluptatem repudiandae deserunt perferendis. Ratione aliquam aut suscipit nesciunt eum maiores. Modi omnis blanditiis qui assumenda qui error.\nFacilis et dolorum eius. Eius odio laborum sed eveniet quo aut. Vel et velit quas dignissimos nihil libero. Tenetur sunt reprehenderit similique. In nihil neque laboriosam."], ["created_at", "2014-09-26 19:22:02.518165"], ["name", "ratione_ut_placeat"], ["title", "Quas et animi"], ["updated_at", "2014-09-26 19:22:02.518165"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.526942"], ["updated_at", "2014-09-26 19:22:02.526942"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.528737"], ["updated_at", "2014-09-26 19:22:02.528737"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nesciunt corporis ab ipsam quia inventore. Recusandae odit quo. Dolor dignissimos ducimus fugiat. Ipsum id fugit repudiandae sapiente facere magnam. Et distinctio quam voluptates.\nQui atque voluptas est odio. Aliquid voluptatibus neque expedita sit ut molestiae explicabo. Placeat explicabo inventore. Eos et molestiae ut qui blanditiis natus.\nNulla ut et veritatis consequatur ratione. Consectetur ratione nemo omnis culpa ducimus temporibus. Maiores et ut et quam ex vel molestiae."], ["created_at", "2014-09-26 19:22:02.532490"], ["name", "voluptatem_qui_aperiam"], ["title", "Nemo rerum reiciendis"], ["updated_at", "2014-09-26 19:22:02.532490"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:22:02.535878"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:22:02.535878"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.539385"], ["updated_at", "2014-09-26 19:22:02.539385"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.540983"], ["updated_at", "2014-09-26 19:22:02.540983"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero et qui voluptatem error. Aut explicabo voluptas ratione necessitatibus. Magni sapiente voluptate et quis debitis amet. Sed nemo cupiditate veritatis voluptas ipsam. Est repellat voluptas dolorum.\nDolorem cupiditate delectus perferendis voluptas. Libero perspiciatis incidunt. Excepturi maxime neque fugit nesciunt. Laboriosam maiores deserunt et.\nNumquam eaque ratione aut cumque tempore unde est. Eum ut et dolor. Molestias voluptas aut mollitia necessitatibus aliquam dolores expedita."], ["created_at", "2014-09-26 19:22:02.543313"], ["name", "et_numquam_sint"], ["title", "Adipisci nisi quis"], ["updated_at", "2014-09-26 19:22:02.543313"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new as HTML Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.547514"], ["updated_at", "2014-09-26 19:22:02.547514"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.549071"], ["updated_at", "2014-09-26 19:22:02.549071"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reiciendis voluptatem dolorum suscipit. Reprehenderit sed aperiam cum. Et quis enim beatae non veritatis.\nVoluptatem corrupti ut consequatur adipisci qui beatae eos. Minus reiciendis ipsam explicabo aut et sed. Quo consequatur rem. Iste id voluptas impedit. Est non autem modi doloremque quo tenetur.\nEa reprehenderit sunt et. Ratione nesciunt officiis ut. Vero blanditiis ea id nisi doloremque enim quidem."], ["created_at", "2014-09-26 19:22:02.551515"], ["name", "nobis_error_quis"], ["title", "Nisi voluptas accusamus"], ["updated_at", "2014-09-26 19:22:02.551515"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"37"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.555853"], ["updated_at", "2014-09-26 19:22:02.555853"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.557344"], ["updated_at", "2014-09-26 19:22:02.557344"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum consectetur maxime quae id. Maxime et vel quam porro est eveniet. Sed molestiae et nam labore aut dolore.\nRerum quae ab voluptatibus animi. Necessitatibus dolorum quos dolorem id. Eum nam cum et. Sint saepe et maxime pariatur.\nMinima nisi in consequatur et ipsum sunt. Ipsa voluptatem id. Porro similique soluta. Quam optio tempore."], ["created_at", "2014-09-26 19:22:02.559924"], ["name", "est_amet_molestiae"], ["title", "Eum vel impedit"], ["updated_at", "2014-09-26 19:22:02.559924"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_amet_molestiae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'est_amet_molestiae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 19:22:02.563541"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_amet_molestiae"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 19:22:02.569646"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.576409"], ["updated_at", "2014-09-26 19:22:02.576409"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (1.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.579968"], ["updated_at", "2014-09-26 19:22:02.579968"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Necessitatibus doloribus et beatae quo est blanditiis. Provident corrupti sit. Quae non ad accusantium. Nam repellat voluptate consequatur.\nEst inventore et nesciunt sunt ullam voluptatem corrupti. Voluptatem voluptas explicabo. Sed facilis ut. Rerum vero ea quia aliquam.\nVelit optio aperiam sed. Ducimus nesciunt dolores iusto distinctio enim. Molestiae ipsa quia et nobis debitis."], ["created_at", "2014-09-26 19:22:02.583803"], ["name", "dolor_soluta_porro"], ["title", "Quisquam non quia"], ["updated_at", "2014-09-26 19:22:02.583803"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 39]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 39]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 39 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.593092"], ["updated_at", "2014-09-26 19:22:02.593092"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.594729"], ["updated_at", "2014-09-26 19:22:02.594729"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magni est labore fuga. Qui tenetur soluta ea sed sunt doloribus. Autem accusantium animi amet nisi consectetur quibusdam.\nLabore laudantium mollitia dolorem ipsum et distinctio. Molestias sint neque quibusdam quia fuga dolores. Eveniet itaque recusandae harum. Autem aperiam atque est. In debitis corrupti quis.\nVoluptas unde voluptas blanditiis fugiat eos quia non. Officiis voluptatibus doloremque rerum totam. Debitis molestiae quidem est blanditiis."], ["created_at", "2014-09-26 19:22:02.597504"], ["name", "ipsum_sequi_qui"], ["title", "Quia libero placeat"], ["updated_at", "2014-09-26 19:22:02.597504"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Completed 404 Not Found in 0ms  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.602230"], ["updated_at", "2014-09-26 19:22:02.602230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.603826"], ["updated_at", "2014-09-26 19:22:02.603826"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In necessitatibus ut iste repellendus. Distinctio quo aut eum accusamus officiis sunt dolorem. Sunt rerum doloremque illum suscipit. Quos maiores qui omnis est a quo. Omnis quaerat voluptatum ab architecto aut.\nReiciendis est et qui molestias quibusdam error et. Dolore praesentium impedit. Quo velit excepturi laborum tempore laboriosam. Et dolor enim qui. Consectetur quis qui accusantium ut ipsam.\nSed et eum. Hic sapiente voluptas eius magnam cumque. Magnam eveniet omnis corrupti et occaecati. Aut esse accusantium minima omnis culpa. Enim sed consequuntur."], ["created_at", "2014-09-26 19:22:02.606195"], ["name", "repellendus_enim_earum"], ["title", "Fugit consequatur quaerat"], ["updated_at", "2014-09-26 19:22:02.606195"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"41"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.612329"], ["updated_at", "2014-09-26 19:22:02.612329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.613904"], ["updated_at", "2014-09-26 19:22:02.613904"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Recusandae et facere eos est et placeat. Quas atque aut ratione veniam et praesentium. Sit nulla sed neque quaerat officiis. Voluptatem dolores delectus voluptas qui dolor voluptatem. Repellendus possimus iste.\nQui accusamus id. Qui voluptatibus et temporibus doloremque omnis laudantium. Laborum et sint. Non voluptates quasi veniam id sit earum et. Excepturi quaerat ut.\nNon quaerat perferendis. Dolorem ipsa voluptas magni fugiat quisquam quos fugit. Mollitia commodi dolorem."], ["created_at", "2014-09-26 19:22:02.616206"], ["name", "ipsam_nostrum_sunt"], ["title", "Fugiat itaque omnis"], ["updated_at", "2014-09-26 19:22:02.616206"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsam_nostrum_sunt"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'ipsam_nostrum_sunt') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 19:22:02.622556"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 42]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.627930"], ["updated_at", "2014-09-26 19:22:02.627930"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.629655"], ["updated_at", "2014-09-26 19:22:02.629655"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt rerum cum. Aliquid harum hic. Recusandae ipsam id temporibus et quia sit. Ut eum possimus odit id quae corrupti. Officiis explicabo eligendi nobis.\nVoluptatem consectetur unde deserunt ipsum similique. Magni sed cum vel tempora dolores iusto id. Cum ea provident. Culpa sapiente quis ea sit odio maxime. Officia aut eius rem.\nRepellendus ad ut enim consequuntur sit unde ipsa. Eaque sit odio soluta. Molestiae corporis temporibus laboriosam dolorem iste porro sed. Veritatis qui itaque ratione voluptatem dolor sit qui. Iusto esse voluptas deserunt dolor odit."], ["created_at", "2014-09-26 19:22:02.632075"], ["name", "excepturi_quo_ut"], ["title", "Voluptatum eum corrupti"], ["updated_at", "2014-09-26 19:22:02.632075"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (26, 24, 23, 21, 20, 18, 17, 15, 32, 4, 7, 3, 25, 22, 19, 16, 10, 9, 6, 27, 11, 1, 38, 8, 29, 36, 43, 42, 40, 13, 37, 2, 28, 5, 33, 41, 12, 14, 35, 31, 30, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.641152"], ["updated_at", "2014-09-26 19:22:02.641152"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.642882"], ["updated_at", "2014-09-26 19:22:02.642882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit quo eos itaque occaecati. Ipsa natus nihil quos omnis aperiam. Dolor non perferendis quis. Non quia temporibus provident blanditiis labore amet.\nQuod amet odit rem. Dolores voluptates maiores quam. Architecto sed quod quisquam in.\nAsperiores excepturi provident quis doloribus earum deserunt. Aliquam dolores aut est recusandae nam. Reprehenderit vel beatae. Pariatur dignissimos modi."], ["created_at", "2014-09-26 19:22:02.645444"], ["name", "porro_omnis_est"], ["title", "Omnis suscipit atque"], ["updated_at", "2014-09-26 19:22:02.645444"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "porro_omnis_est"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'porro_omnis_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 19:22:02.649203"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"44"} Completed 404 Not Found in 0ms  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.656158"], ["updated_at", "2014-09-26 19:22:02.656158"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.658054"], ["updated_at", "2014-09-26 19:22:02.658054"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Assumenda eos repellendus autem vel iure officia voluptas. Voluptatem perferendis harum dolorem earum est ea voluptatem. Id nulla modi et praesentium perspiciatis porro dolor. Autem quas rerum voluptas.\nUt et perferendis ut autem. Enim non laborum qui earum nesciunt occaecati sit. Ut dolores officiis laborum quaerat. Et id consequatur nesciunt corrupti dolorem. Atque enim esse quasi amet nulla et dolorum.\nRerum molestiae omnis quia. Fuga cupiditate quo qui. Rerum rem deserunt accusamus corporis sint inventore. Laboriosam temporibus quos rem."], ["created_at", "2014-09-26 19:22:02.660882"], ["name", "quibusdam_et_repudiandae"], ["title", "Odio sit molestias"], ["updated_at", "2014-09-26 19:22:02.660882"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.666412"], ["updated_at", "2014-09-26 19:22:02.666412"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.668133"], ["updated_at", "2014-09-26 19:22:02.668133"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Mollitia sequi expedita. Omnis cumque sunt voluptatem eos assumenda. Id magni voluptatem non harum.\nAssumenda rerum dolores earum. Magnam modi omnis. Maiores iure molestiae qui.\nDicta sunt adipisci dolorum et et. Quis rerum esse doloremque accusamus ut qui. Eaque et omnis harum et eveniet distinctio est. Quis quod fugiat vero autem magni quam quis. Autem debitis molestias assumenda atque voluptas optio laboriosam."], ["created_at", "2014-09-26 19:22:02.670585"], ["name", "rem_quia_totam"], ["title", "Molestiae qui est"], ["updated_at", "2014-09-26 19:22:02.670585"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rem_quia_totam"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'rem_quia_totam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 19:22:02.674424"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'rem_quia_totam' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.687062"], ["updated_at", "2014-09-26 19:22:02.687062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:22:02.688789"], ["updated_at", "2014-09-26 19:22:02.688789"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatum labore dicta autem saepe animi unde facilis. Qui nihil commodi rerum eos. Eos sed molestiae odio est sed architecto natus.\nUt nisi soluta sit enim. Aliquam delectus expedita quis iste. Quas iste fuga beatae blanditiis.\nEst veritatis excepturi. Non sapiente assumenda enim at praesentium ea quo. Quibusdam qui nisi voluptate."], ["created_at", "2014-09-26 19:22:02.691306"], ["name", "quae_omnis_tempora"], ["title", "Ipsam quis quidem"], ["updated_at", "2014-09-26 19:22:02.691306"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"47"} Completed 404 Not Found in 0ms FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0') FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur eum aut sit est quo. Quia ut distinctio sequi maiores cupiditate ut sed. Ratione veritatis numquam non expedita. Qui dolorem et dolores quia velit architecto.\nFacere est expedita eius aut. In mollitia impedit sunt qui et ratione et. Laboriosam esse perspiciatis velit fuga sunt qui et. Consequatur beatae provident.\nExplicabo aspernatur quia ipsa et vel. Omnis similique sed. Et rerum voluptas voluptatem ex non."], ["created_at", "2014-09-26 19:42:09.741434"], ["name", "alpha"], ["title", "Voluptatem magni alias"], ["updated_at", "2014-09-26 19:42:09.741434"], ["version", 1]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non ab eum recusandae. Laboriosam velit maiores minima alias fuga architecto exercitationem. At perferendis reprehenderit.\nDoloribus distinctio cum voluptatem laborum aperiam consequatur. Minus facere ab nam vel illo. Deserunt officia quidem quis aspernatur aperiam. Consectetur fugiat id repudiandae fugit enim.\nSit suscipit quidem quia. Quia et illum enim quaerat delectus labore. Fugiat nulla perferendis architecto magni rerum."], ["created_at", "2014-09-26 19:42:09.749225"], ["name", "beta"], ["title", "Sunt maxime occaecati"], ["updated_at", "2014-09-26 19:42:09.749225"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.752316"], ["updated_at", "2014-09-26 19:42:09.752316"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 1) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 19:42:09.761209"], ["updated_at", "2014-09-26 19:42:09.761209"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 19:42:09.767036"], ["updated_at", "2014-09-26 19:42:09.767036"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:42:09.771394"], ["name", "alpha"], ["title", "Voluptatem magni alias"], ["updated_at", "2014-09-26 19:42:09.771394"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.5ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 19:42:09.776272"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (3, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Adipisci eius earum et libero aperiam et. Vel et corporis autem. Quae autem fuga incidunt veritatis. Reprehenderit vel voluptatibus quidem aut incidunt. Facilis assumenda voluptas.\nUt facere officiis quidem consequatur ut cum. Rerum similique itaque. Nostrum ad aut aut corrupti quas in non.\nQuis maiores est. Et numquam officia ut reiciendis vitae nihil. Mollitia fugit harum cumque. Tenetur et ratione quas rerum. Aut voluptas deserunt."], ["created_at", "2014-09-26 19:42:09.787660"], ["name", "alpha"], ["title", "Perferendis modi id"], ["updated_at", "2014-09-26 19:42:09.787660"], ["version", 3]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sit mollitia deleniti odio aut. Quo quas voluptatum libero eos et. Consectetur aperiam et quam omnis.\nNobis assumenda voluptatem odit. Fuga sapiente aliquam. Quas eos quae officiis nesciunt aspernatur et minus. Cum iure quod quo. In autem assumenda minima quis libero qui omnis.\nInventore atque asperiores mollitia. Voluptatibus doloremque fugiat soluta autem fugit. Accusamus expedita quisquam eveniet asperiores dolorum. Quaerat aut nihil ut ut id omnis."], ["created_at", "2014-09-26 19:42:09.792165"], ["name", "beta"], ["title", "Et eos explicabo"], ["updated_at", "2014-09-26 19:42:09.792165"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.794215"], ["updated_at", "2014-09-26 19:42:09.794215"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 19:42:09.797125"], ["updated_at", "2014-09-26 19:42:09.797125"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 19:42:09.799795"], ["updated_at", "2014-09-26 19:42:09.799795"], ["user_id", 2], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:42:09.802312"], ["name", "alpha"], ["title", "Perferendis modi id"], ["updated_at", "2014-09-26 19:42:09.802312"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 19:42:09.807243"], ["version", 4]]  (0.9ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quod odio debitis ex error voluptates rerum reiciendis. Est quibusdam et pariatur laboriosam. Quibusdam omnis minima possimus mollitia rem cum id. Dignissimos maxime eos porro nesciunt molestias odit. In rerum quo nihil est quibusdam.\nItaque tempore qui commodi provident possimus. Unde quisquam quibusdam perspiciatis quo. Doloribus consequuntur fugit velit cum beatae ut.\nQuo animi itaque eum eius quasi enim ipsam. Nisi recusandae laudantium. Rerum est commodi vero. Animi nostrum cumque ipsam. Mollitia ipsa saepe labore sed."], ["created_at", "2014-09-26 19:42:09.819694"], ["name", "alpha"], ["title", "Cum et quo"], ["updated_at", "2014-09-26 19:42:09.819694"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sapiente beatae repudiandae. Error laudantium reprehenderit qui. In ratione nostrum sunt vel.\nMinima delectus fuga recusandae ea accusamus aperiam. Vel ex ut modi odio non non. Sint laborum odit qui dolorem omnis. Facere voluptas in sint. Id esse ducimus quas sit delectus ex tenetur.\nConsequatur ullam distinctio rem quis a magnam minima. Officiis molestias non sint iusto ut aut et. Nihil repellat quos deleniti omnis quasi. A delectus vel mollitia tempore. Minima debitis est veniam non cum saepe sit."], ["created_at", "2014-09-26 19:42:09.824885"], ["name", "beta"], ["title", "Odit consequatur non"], ["updated_at", "2014-09-26 19:42:09.824885"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.826578"], ["updated_at", "2014-09-26 19:42:09.826578"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 19:42:09.829334"], ["updated_at", "2014-09-26 19:42:09.829334"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 19:42:09.832898"], ["updated_at", "2014-09-26 19:42:09.832898"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:42:09.835911"], ["name", "alpha"], ["title", "Cum et quo"], ["updated_at", "2014-09-26 19:42:09.835911"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-26 19:42:09.839556"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 19:42:09.857005"], ["updated_at", "2014-09-26 19:42:09.857005"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui labore aut. Quia consequuntur eos sed deserunt vel voluptas. Nostrum autem cupiditate. Sequi qui magni aperiam ut eos.\nSunt minima distinctio ut. Rerum tempora voluptatem molestiae nisi voluptatem at. Ut voluptatum adipisci. Fuga velit quod laboriosam id.\nReiciendis ut commodi sint ea illo. Maxime iusto et libero est et non saepe. Est ut ut impedit."], ["created_at", "2014-09-26 19:42:09.871568"], ["name", "alpha"], ["title", "Similique et corporis"], ["updated_at", "2014-09-26 19:42:09.871568"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aperiam voluptatem quia ut saepe tempore quo. Cupiditate non laboriosam dolore odit deserunt quod. Sit amet et. Ab consectetur voluptatem et praesentium suscipit. Nisi rerum a fugit ipsum suscipit provident.\nSit nam unde. Corporis veritatis sed rerum voluptas qui. A porro itaque perspiciatis sed et esse quibusdam. Est veniam ut reiciendis. Ipsam ut sit itaque.\nAutem dicta in in voluptate quod et dolorem. Veritatis nulla dolore ab. Sit et consequatur."], ["created_at", "2014-09-26 19:42:09.875792"], ["name", "beta"], ["title", "Et rem et"], ["updated_at", "2014-09-26 19:42:09.875792"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.877431"], ["updated_at", "2014-09-26 19:42:09.877431"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 19:42:09.879976"], ["updated_at", "2014-09-26 19:42:09.879976"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 19:42:09.882387"], ["updated_at", "2014-09-26 19:42:09.882387"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:42:09.884564"], ["name", "alpha"], ["title", "Similique et corporis"], ["updated_at", "2014-09-26 19:42:09.884564"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-26 19:42:09.887700"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.893977"], ["updated_at", "2014-09-26 19:42:09.893977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.895521"], ["updated_at", "2014-09-26 19:42:09.895521"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "excepturi_sunt_expedita"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'excepturi_sunt_expedita') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Amet voluptate possimus. Quo et molestias illum eveniet. Et occaecati quo aut sapiente quo dolores.\nDolore eveniet sint ut et. Aut nemo fugit voluptatem earum. Deserunt recusandae et ullam maxime dicta omnis. Libero molestias earum voluptatem et.\nEveniet ad cum. Nobis officiis est qui dolor quidem. Eligendi sed dignissimos quia sit."], ["created_at", "2014-09-26 19:42:09.899675"], ["name", "excepturi_sunt_expedita"], ["title", "Id in ipsa"], ["updated_at", "2014-09-26 19:42:09.899675"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:09.902168"], ["updated_at", "2014-09-26 19:42:09.902168"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 19:42:09.902703"], ["updated_at", "2014-09-26 19:42:09.902703"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"13"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 212ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.120125"], ["updated_at", "2014-09-26 19:42:10.120125"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.122932"], ["updated_at", "2014-09-26 19:42:10.122932"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_voluptatem_sunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolores_voluptatem_sunt') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut atque commodi qui et adipisci et. Porro voluptatem harum asperiores. Ea quia architecto blanditiis sint molestias odio. Repellat neque commodi nihil. Vel rerum assumenda dignissimos ut nemo.\nMagni numquam labore. Vel est eaque quia amet quisquam. Ea reiciendis earum quia voluptas dolorem. Consequuntur totam aliquam iusto nobis ex.\nEst qui qui et inventore. Assumenda inventore exercitationem. Ea soluta aut fuga."], ["created_at", "2014-09-26 19:42:10.127901"], ["name", "dolores_voluptatem_sunt"], ["title", "Mollitia quo velit"], ["updated_at", "2014-09-26 19:42:10.127901"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.131435"], ["updated_at", "2014-09-26 19:42:10.131435"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 19:42:10.132488"], ["updated_at", "2014-09-26 19:42:10.132488"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.144747"], ["updated_at", "2014-09-26 19:42:10.144747"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.146772"], ["updated_at", "2014-09-26 19:42:10.146772"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_aut_exercitationem"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_aut_exercitationem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Doloremque quibusdam praesentium id harum cumque dolores. Praesentium et ab at. Impedit voluptatem ab magnam quia tenetur ut quia. Asperiores omnis quis sunt et mollitia repudiandae voluptas.\nQuia repellendus et consequatur. Dolores at illum. Ad reprehenderit doloremque.\nOccaecati voluptate dignissimos ad iure in voluptates. Qui alias totam distinctio vel dolor. Voluptas recusandae molestias. Minus ipsam saepe consequatur vel sequi aut quod. Animi sed ut."], ["created_at", "2014-09-26 19:42:10.153085"], ["name", "ut_aut_exercitationem"], ["title", "Quasi sint aut"], ["updated_at", "2014-09-26 19:42:10.153085"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.156564"], ["updated_at", "2014-09-26 19:42:10.156564"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:42:10.157269"], ["updated_at", "2014-09-26 19:42:10.157269"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"15"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.161095"], ["updated_at", "2014-09-26 19:42:10.161095"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.162560"], ["updated_at", "2014-09-26 19:42:10.162560"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_quibusdam_cum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_quibusdam_cum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Omnis sint enim. Veritatis ea explicabo. Et dolorem recusandae et voluptates vel. Pariatur sequi ea dolor ut. Praesentium ipsam provident in cupiditate aspernatur itaque est.\nNon quod aut minus labore quam corporis sequi. Incidunt expedita et voluptas. Rerum esse dicta necessitatibus incidunt amet. Recusandae culpa repellat facilis ad est ut incidunt.\nIusto eos rerum ut deleniti quo in. Nihil aut cum autem nulla soluta sed et. Error et quis qui consequatur. Asperiores rerum debitis qui voluptatem vel omnis. Eius ea rerum nisi."], ["created_at", "2014-09-26 19:42:10.167745"], ["name", "sint_quibusdam_cum"], ["title", "Quidem aut sapiente"], ["updated_at", "2014-09-26 19:42:10.167745"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.170557"], ["updated_at", "2014-09-26 19:42:10.170557"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 19:42:10.171132"], ["updated_at", "2014-09-26 19:42:10.171132"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.176934"], ["updated_at", "2014-09-26 19:42:10.176934"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.178549"], ["updated_at", "2014-09-26 19:42:10.178549"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_qui_ducimus"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'iure_qui_ducimus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et minus et consequuntur repellendus facere quaerat quis. Minus cupiditate nihil similique excepturi et numquam illo. Ut dolorem possimus assumenda facilis qui eveniet fuga. Dolor numquam exercitationem voluptatum dolor dolore. Sit facere dolor inventore.\nEt illum aut debitis consequuntur. Reiciendis et cumque sapiente recusandae quam. Rerum veritatis in ut. Aut dignissimos velit maiores aperiam sequi quia temporibus. Totam consequatur accusantium voluptate aliquam.\nVoluptate voluptatem in dolorem nam dolores ipsum. Excepturi dolore sint exercitationem. Dignissimos laborum sunt minima."], ["created_at", "2014-09-26 19:42:10.183064"], ["name", "iure_qui_ducimus"], ["title", "Nobis ut rerum"], ["updated_at", "2014-09-26 19:42:10.183064"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.185815"], ["updated_at", "2014-09-26 19:42:10.185815"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["created_at", "2014-09-26 19:42:10.186391"], ["updated_at", "2014-09-26 19:42:10.186391"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.191251"], ["updated_at", "2014-09-26 19:42:10.191251"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.193030"], ["updated_at", "2014-09-26 19:42:10.193030"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "incidunt_quidem_omnis"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'incidunt_quidem_omnis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsum pariatur illum consectetur labore autem. Cum debitis hic. Consectetur odio vero quibusdam vel autem architecto. Sint pariatur doloribus veniam suscipit doloremque. Et suscipit qui aliquid magni quaerat.\nEst iure rerum quod libero doloremque nulla rerum. Quisquam aspernatur similique eius est non laborum. Dolorem consectetur aut voluptas. Eius nisi corrupti et vel ut.\nSit possimus id amet architecto. Veniam consequatur et ut. Natus saepe nostrum sed voluptatem quae. Minus voluptas qui molestiae dolor."], ["created_at", "2014-09-26 19:42:10.198419"], ["name", "incidunt_quidem_omnis"], ["title", "Illum vel rerum"], ["updated_at", "2014-09-26 19:42:10.198419"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.201168"], ["updated_at", "2014-09-26 19:42:10.201168"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 19:42:10.201745"], ["updated_at", "2014-09-26 19:42:10.201745"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Redirected to http://test.host/fine_print/contracts/18/signatures?r=ZDZEZXBuZElOa0FmelpXQjlYcU81UT09LS1HUTU4bzdvU1FOUjBLdjhsWmZqK013PT0%3D--04270575a0d278079073b0f777989f5310986632 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.209959"], ["updated_at", "2014-09-26 19:42:10.209959"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.211537"], ["updated_at", "2014-09-26 19:42:10.211537"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sunt_molestiae_error"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sunt_molestiae_error') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et et minima est atque eos. Sint et inventore. Possimus mollitia quam. Et esse nostrum. Voluptatum rerum aperiam dolorem ut voluptatibus.\nIusto dolore et consequatur laudantium doloremque omnis quasi. Voluptas aut quasi in ab saepe. Eos sint saepe. Ad ratione est magnam doloribus voluptatem.\nAperiam sit libero aspernatur molestiae. Vel autem quia aliquam ut praesentium veniam assumenda. Consectetur voluptas a corporis."], ["created_at", "2014-09-26 19:42:10.215946"], ["name", "sunt_molestiae_error"], ["title", "Vitae quia ut"], ["updated_at", "2014-09-26 19:42:10.215946"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.218597"], ["updated_at", "2014-09-26 19:42:10.218597"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 19:42:10.219147"], ["updated_at", "2014-09-26 19:42:10.219147"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.224156"], ["updated_at", "2014-09-26 19:42:10.224156"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.225705"], ["updated_at", "2014-09-26 19:42:10.225705"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_sed_hic"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quisquam_sed_hic') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minus quae maiores fugiat. Repellendus vel officia omnis ut accusamus rerum. Et laborum et culpa alias sint.\nNon et reiciendis facere quam. Dolorum possimus quos. Consequatur eius quo sed.\nId omnis ut et voluptas voluptas cumque. Vitae porro commodi. Exercitationem rem id iste ut."], ["created_at", "2014-09-26 19:42:10.229780"], ["name", "quisquam_sed_hic"], ["title", "Voluptatibus veritatis et"], ["updated_at", "2014-09-26 19:42:10.229780"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.232395"], ["updated_at", "2014-09-26 19:42:10.232395"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 19:42:10.232946"], ["updated_at", "2014-09-26 19:42:10.232946"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eum_sit_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eum_sit_quis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Similique iure facere praesentium distinctio aut. Amet corrupti ex. Odit voluptas voluptates earum totam qui.\nNon sit exercitationem corporis ut consequatur maiores beatae. Necessitatibus possimus nemo dicta provident quia veritatis. Non ad rerum. Accusantium voluptatem aliquid recusandae dolores id quis. Qui tenetur et quia placeat perspiciatis voluptas culpa.\nEt ut et libero. Omnis ut eius at. Voluptate quas blanditiis. Est odit non ut quis voluptas qui vitae. Quisquam voluptates laudantium nihil."], ["created_at", "2014-09-26 19:42:10.238652"], ["name", "eum_sit_quis"], ["title", "Natus et quam"], ["updated_at", "2014-09-26 19:42:10.238652"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'eum_sit_quis' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique iure facere praesentium distinctio aut. Amet corrupti ex. Odit voluptas voluptates earum totam qui.\nNon sit exercitationem corporis ut consequatur maiores beatae. Necessitatibus possimus nemo dicta provident quia veritatis. Non ad rerum. Accusantium voluptatem aliquid recusandae dolores id quis. Qui tenetur et quia placeat perspiciatis voluptas culpa.\nEt ut et libero. Omnis ut eius at. Voluptate quas blanditiis. Est odit non ut quis voluptas qui vitae. Quisquam voluptates laudantium nihil."], ["created_at", "2014-09-26 19:42:10.240991"], ["name", "eum_sit_quis"], ["title", "Natus et quam"], ["updated_at", "2014-09-26 19:42:10.240991"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eum_sit_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'eum_sit_quis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 19:42:10.243982"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorum neque omnis non dolor qui sit nostrum. Incidunt rerum autem. Ut quo eum molestiae debitis consectetur ea ex. Distinctio ea totam alias rerum ratione.\nProvident similique eum ab qui. Accusamus qui consequatur optio magnam. Ea omnis eum rerum nam perspiciatis aut. Rerum nulla officia hic corporis quo.\nAccusantium tenetur omnis voluptas et. Quia nihil distinctio est corporis ad animi. Et enim aliquam."], ["created_at", "2014-09-26 19:42:10.248377"], ["name", "aut_et_totam"], ["title", "Quidem doloremque culpa"], ["updated_at", "2014-09-26 19:42:10.248377"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_et_totam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'aut_et_totam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 19:42:10.251780"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.256292"], ["updated_at", "2014-09-26 19:42:10.256292"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 19:42:10.256874"], ["updated_at", "2014-09-26 19:42:10.256874"], ["user_id", 29], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'aut_et_totam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_et_totam"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "itaque_quo_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'itaque_quo_libero') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur non eligendi eum eos. Rerum ea quia sint. Optio delectus sed et aut sit.\nVeritatis hic sint possimus aut et quod sed. Deleniti sequi perspiciatis eius rerum. Dolor omnis voluptates quas. Deleniti aliquid expedita aut rem. Et id sed ut et.\nOptio corrupti quia laudantium inventore dignissimos accusamus. Debitis eos corporis quisquam quia. Autem et aut."], ["created_at", "2014-09-26 19:42:10.267184"], ["name", "itaque_quo_libero"], ["title", "A tempore facere"], ["updated_at", "2014-09-26 19:42:10.267184"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'itaque_quo_libero' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur non eligendi eum eos. Rerum ea quia sint. Optio delectus sed et aut sit.\nVeritatis hic sint possimus aut et quod sed. Deleniti sequi perspiciatis eius rerum. Dolor omnis voluptates quas. Deleniti aliquid expedita aut rem. Et id sed ut et.\nOptio corrupti quia laudantium inventore dignissimos accusamus. Debitis eos corporis quisquam quia. Autem et aut."], ["created_at", "2014-09-26 19:42:10.269641"], ["name", "joe"], ["title", "A tempore facere"], ["updated_at", "2014-09-26 19:42:10.269641"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:42:10.272571"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident omnis atque ullam ducimus reiciendis. Praesentium modi quaerat est aut est eum. Non voluptatem totam sapiente temporibus sunt. Sapiente id est.\nExplicabo exercitationem in inventore ex. Doloremque odio sint modi. Expedita reprehenderit vel numquam voluptas odit cum. Dolorem perferendis itaque laboriosam est. Sint vitae dolore fugit.\nDoloribus corrupti est facilis saepe molestias placeat. Non quidem ipsa molestias optio sint totam eaque. Omnis sequi nisi dignissimos suscipit. Quia vel omnis rerum enim qui culpa. Et doloribus quo."], ["created_at", "2014-09-26 19:42:10.275965"], ["name", "omnis_voluptas_consequatur"], ["title", "Excepturi et ut"], ["updated_at", "2014-09-26 19:42:10.275965"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_voluptas_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'omnis_voluptas_consequatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:42:10.280458"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_voluptas_consequatur"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_voluptas_consequatur"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:42:10.285413"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.288487"], ["updated_at", "2014-09-26 19:42:10.288487"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.289999"], ["updated_at", "2014-09-26 19:42:10.289999"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.294147"], ["updated_at", "2014-09-26 19:42:10.294147"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.295657"], ["updated_at", "2014-09-26 19:42:10.295657"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Explicabo sint dolore. Et nostrum molestiae doloremque. Sit distinctio asperiores culpa non mollitia ipsam. Itaque et illo vero impedit voluptate deserunt. Necessitatibus laudantium enim illum mollitia rem et quam.\nQui enim et. Magni ut et nihil quia quia. Dolores et et in dolores et est natus. Accusantium numquam nam reprehenderit sit sunt quae.\nCorporis cumque voluptas vero enim est. Deleniti dolore perspiciatis sunt et est nihil rerum. Expedita et maiores ex et et maxime. Non id minima. Numquam enim earum voluptatibus necessitatibus et."], ["created_at", "2014-09-26 19:42:10.300344"], ["name", "non_suscipit_quo"], ["title", "Omnis numquam qui"], ["updated_at", "2014-09-26 19:42:10.300344"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vitae_qui_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vitae_qui_enim') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Tempore minus totam nisi. Ut architecto quas dignissimos iusto est accusantium ea. Aut excepturi nulla optio omnis hic. Inventore sint id pariatur aut. Laudantium placeat illum fugiat consequatur.\nLaudantium praesentium sapiente deleniti ea modi. Velit id eaque. Laboriosam iure nobis. Ab voluptatem error eos non consectetur perspiciatis cum. Nam ratione molestiae voluptates ut consequatur perferendis.\nCommodi eligendi voluptatem aliquid ex perferendis est nesciunt. Aspernatur enim unde facere ab totam. Sunt ullam quia corporis ad blanditiis harum eum."], ["created_at", "2014-09-26 19:42:10.306350"], ["name", "vitae_qui_enim"], ["title", "Expedita distinctio qui"], ["updated_at", "2014-09-26 19:42:10.306350"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.315039"], ["updated_at", "2014-09-26 19:42:10.315039"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.316676"], ["updated_at", "2014-09-26 19:42:10.316676"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Natus magni dolor quidem quaerat. Officia quaerat earum. Vitae recusandae vero est nemo et quod totam.\nOfficiis adipisci maiores. Praesentium in quod. Voluptatum quia velit.\nAb molestias aut nihil laborum beatae culpa eligendi. Placeat consequatur sapiente et architecto. Vitae dolores vero non et. Assumenda et aliquam dolores nesciunt reiciendis voluptates."], ["created_at", "2014-09-26 19:42:10.318856"], ["name", "expedita_voluptatum_ut"], ["title", "Reprehenderit commodi fuga"], ["updated_at", "2014-09-26 19:42:10.318856"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.323249"], ["updated_at", "2014-09-26 19:42:10.323249"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.324965"], ["updated_at", "2014-09-26 19:42:10.324965"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et impedit iste officiis a exercitationem voluptates autem. Accusantium saepe qui quis molestias. Ea ea vel.\nNihil quidem quia eligendi sit. Reprehenderit dicta ut nihil. Error culpa debitis mollitia dolor.\nOptio facere quidem tenetur dolores non cumque voluptates. Odio ipsam libero voluptas magni et. Hic aperiam magnam voluptas ducimus maxime."], ["created_at", "2014-09-26 19:42:10.327217"], ["name", "eaque_quis_atque"], ["title", "Rem reprehenderit exercitationem"], ["updated_at", "2014-09-26 19:42:10.327217"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.331267"], ["updated_at", "2014-09-26 19:42:10.331267"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.332951"], ["updated_at", "2014-09-26 19:42:10.332951"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab ad quia. Et magnam sed commodi modi quae voluptatem. Consequuntur deserunt molestiae facilis voluptatem.\nEt aliquam molestiae esse hic. Recusandae qui ea mollitia non. Facilis cumque sit tempora consectetur voluptatem. Saepe consectetur facere.\nVoluptas facilis et ipsam repudiandae dolorem. Sint aut dolore. Fugiat exercitationem nihil deserunt et consectetur illo. Enim fugit quam qui. Aut est eveniet totam quia doloribus reprehenderit sit."], ["created_at", "2014-09-26 19:42:10.335221"], ["name", "earum_quis_qui"], ["title", "Laborum earum repellat"], ["updated_at", "2014-09-26 19:42:10.335221"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 31 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:42:10.339053"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/31 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.344404"], ["updated_at", "2014-09-26 19:42:10.344404"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.345895"], ["updated_at", "2014-09-26 19:42:10.345895"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Recusandae quo ex quis tempora qui vel. Sit sed consequuntur ab unde. Ipsam velit inventore qui mollitia. Similique rerum sapiente quia beatae.\nDolor ut rem dolores molestiae ipsa totam rerum. Praesentium et dolores in quos. Et quas doloribus eum.\nRepellat ut qui voluptas. Vel id quis porro soluta maxime rerum. Ipsa et earum deleniti ipsam tenetur veniam. Ex qui eveniet praesentium nesciunt eius eum. Velit saepe quia et non quia."], ["created_at", "2014-09-26 19:42:10.348138"], ["name", "quisquam_sint_est"], ["title", "Magni optio molestiae"], ["updated_at", "2014-09-26 19:42:10.348138"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_sint_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'quisquam_sint_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 19:42:10.351341"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"32"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.355553"], ["updated_at", "2014-09-26 19:42:10.355553"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.357206"], ["updated_at", "2014-09-26 19:42:10.357206"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quisquam ducimus dolores sed quasi molestiae officia. Quos nulla iste. Suscipit ut unde ipsam exercitationem voluptas.\nTempora omnis dolorem nisi maiores. Qui voluptatem ad. Consequuntur similique quidem voluptatem qui qui. Maxime voluptatem veritatis rerum doloremque excepturi inventore. Dolorem voluptas fuga non et tenetur quia.\nTenetur aut eligendi maiores animi ea sed. Vel aliquam modi dolores voluptatum. Veniam qui iusto quaerat qui aut. A molestiae amet optio occaecati quae nihil dolores."], ["created_at", "2014-09-26 19:42:10.359556"], ["name", "quia_est_quo"], ["title", "Nostrum veniam nemo"], ["updated_at", "2014-09-26 19:42:10.359556"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_est_quo"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'quia_est_quo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:42:10.362752"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"33"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_est_quo"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:42:10.368766"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.373021"], ["updated_at", "2014-09-26 19:42:10.373021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.374476"], ["updated_at", "2014-09-26 19:42:10.374476"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos facere inventore aliquid quos ut accusamus. Voluptas quos quasi. Consequatur et dolores fuga consequuntur unde. Reiciendis maxime dicta aut dolores quis deleniti.\nExplicabo voluptatum alias perferendis ut. Debitis in enim numquam et voluptatem iure. Quo voluptatem ut. Ab mollitia dolor vero at pariatur ullam ut. Minima enim dolorum quaerat saepe voluptatem sit amet.\nDebitis qui esse temporibus eius aut illum. Quis ut qui ut consequatur nemo. Id voluptas saepe natus quam dolor repudiandae. Et excepturi sequi quia repellendus at. Ratione tempore qui id dignissimos ex vel ullam."], ["created_at", "2014-09-26 19:42:10.376720"], ["name", "nobis_maxime_quis"], ["title", "Sequi error est"], ["updated_at", "2014-09-26 19:42:10.376720"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.380161"], ["updated_at", "2014-09-26 19:42:10.380161"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.381650"], ["updated_at", "2014-09-26 19:42:10.381650"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut vero voluptas consequatur nulla. Consequatur error recusandae exercitationem distinctio ut accusamus cupiditate. Quia beatae repellat aspernatur tempora rerum.\nPlaceat culpa aut ut voluptatem. Vel expedita fuga ut ab. Repellendus ea consequatur et.\nError voluptate qui molestiae quidem harum ut. Esse quas totam rerum fugiat. Sit sit repudiandae a iste facere id consequuntur."], ["created_at", "2014-09-26 19:42:10.383754"], ["name", "molestias_placeat_dolorem"], ["title", "Ab est expedita"], ["updated_at", "2014-09-26 19:42:10.383754"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestias_placeat_dolorem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'molestias_placeat_dolorem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 19:42:10.387047"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'molestias_placeat_dolorem' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.394618"], ["updated_at", "2014-09-26 19:42:10.394618"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.396440"], ["updated_at", "2014-09-26 19:42:10.396440"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officiis harum quod molestiae at et. Est harum saepe consequatur est dolor. Doloremque veritatis non adipisci sunt sunt quidem voluptate. Sit tempore voluptatem ex ullam. Qui et molestiae.\nAd eius alias laudantium asperiores blanditiis occaecati accusamus. Voluptates veritatis quae. Aut harum cum rem. Impedit non quod natus non. Non fuga sint sequi.\nEt consequatur dignissimos. Commodi fugit quis ut. Sint ut ratione optio."], ["created_at", "2014-09-26 19:42:10.399289"], ["name", "mollitia_dolores_quos"], ["title", "Voluptatum possimus expedita"], ["updated_at", "2014-09-26 19:42:10.399289"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.403163"], ["updated_at", "2014-09-26 19:42:10.403163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.404642"], ["updated_at", "2014-09-26 19:42:10.404642"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas molestias porro ex. Asperiores id repellat vero dolore officiis soluta ea. Animi tempora in. Mollitia provident maiores tempora labore qui excepturi.\nEt quae sequi ratione qui. Voluptate quibusdam laudantium commodi sunt perspiciatis eveniet. Veniam suscipit sit nam ex cum eaque. Autem repellat quis voluptatem et nisi voluptas qui. Cumque impedit minus quae dolorum repellendus ex.\nEt exercitationem tempore saepe temporibus debitis hic. Facilis qui ea. Veritatis et perferendis eos totam quia. Sed dignissimos quibusdam vitae molestiae adipisci incidunt amet. Ratione cum iste quae quibusdam iusto illum."], ["created_at", "2014-09-26 19:42:10.406967"], ["name", "qui_error_cupiditate"], ["title", "Est facilis fugit"], ["updated_at", "2014-09-26 19:42:10.406967"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 31, 23, 11, 8, 5, 2, 14, 30, 22, 21, 13, 29, 18, 24, 17, 25, 35, 36, 34, 27, 26, 37, 33, 20, 32, 16, 19, 15, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.415373"], ["updated_at", "2014-09-26 19:42:10.415373"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.417113"], ["updated_at", "2014-09-26 19:42:10.417113"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iste sit rerum voluptas sed veritatis. Et natus eos sed sunt dignissimos aliquid optio. Sit temporibus autem veritatis labore voluptatem.\nEt sed ullam odio sunt. Facilis dolor accusamus reprehenderit. Harum rerum ut non quia impedit repudiandae asperiores. Quis porro autem ut. Vero facere optio assumenda.\nAspernatur sed excepturi vel nam debitis. At ex quo expedita. Quibusdam quidem optio ducimus tempora ipsa. Itaque est nihil sapiente rem voluptatibus ea odio."], ["created_at", "2014-09-26 19:42:10.419506"], ["name", "et_reprehenderit_placeat"], ["title", "Qui enim provident"], ["updated_at", "2014-09-26 19:42:10.419506"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.426346"], ["updated_at", "2014-09-26 19:42:10.426346"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.427934"], ["updated_at", "2014-09-26 19:42:10.427934"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia mollitia delectus commodi quo amet voluptatem temporibus. Aut deleniti aliquam. Accusamus aut cupiditate quis exercitationem.\nVeritatis nulla voluptate et velit ut itaque odio. Consequatur amet quibusdam vel corrupti voluptatum. Voluptatem quis voluptatibus voluptas dolorem. Optio assumenda tempore eos suscipit. Ipsa voluptatem ea autem.\nQuod accusantium illo placeat sed labore nobis laudantium. Aliquam rerum et minus dolores. Quisquam iste similique nesciunt non. Numquam quo in non ea veniam id consequatur. Repudiandae velit est eveniet consequuntur."], ["created_at", "2014-09-26 19:42:10.430174"], ["name", "assumenda_maxime_qui"], ["title", "Animi tempora est"], ["updated_at", "2014-09-26 19:42:10.430174"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"39"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.433845"], ["updated_at", "2014-09-26 19:42:10.433845"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.435310"], ["updated_at", "2014-09-26 19:42:10.435310"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut maiores ut consequatur quibusdam facilis. Qui nulla repudiandae. Totam pariatur eum sint earum.\nRerum asperiores est corporis eveniet sequi tempore. Laudantium minima ipsa ut recusandae in repudiandae ut. Deserunt atque voluptatum nihil ut fugit. Ea mollitia consequatur qui non rerum quos unde.\nVoluptate sint repellendus. Quia voluptatem suscipit deleniti aliquid. Sed nulla error est consequatur veniam ducimus temporibus. Nisi harum facilis quia recusandae molestias."], ["created_at", "2014-09-26 19:42:10.437473"], ["name", "et_quia_consequatur"], ["title", "In consequatur sed"], ["updated_at", "2014-09-26 19:42:10.437473"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_quia_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 40 AND "fine_print_contracts"."name" = 'et_quia_consequatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 40 [["updated_at", "2014-09-26 19:42:10.440622"], ["version", 1]]  (1.1ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.445353"], ["updated_at", "2014-09-26 19:42:10.445353"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.446874"], ["updated_at", "2014-09-26 19:42:10.446874"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem labore expedita cumque. Aspernatur repudiandae corporis amet expedita animi. Facere nihil sit et.\nSint minima sed aut alias praesentium ea vel. Incidunt nesciunt libero ratione ea. Recusandae facere voluptatem ipsa non. Dolorem nobis qui ut consectetur.\nQuisquam animi tenetur nobis vitae. Doloribus quibusdam omnis. Qui aut fugit."], ["created_at", "2014-09-26 19:42:10.449352"], ["name", "quae_laudantium_doloremque"], ["title", "Tenetur debitis et"], ["updated_at", "2014-09-26 19:42:10.449352"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:42:10.460544"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:42:10.460544"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/42 Completed 302 Found in 11ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.464503"], ["updated_at", "2014-09-26 19:42:10.464503"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.466087"], ["updated_at", "2014-09-26 19:42:10.466087"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptate ab a fugit. Aut praesentium error aliquid voluptatem dolores molestiae. Error velit est corporis. Nulla totam delectus et. Iste mollitia ad consequatur sit architecto sit natus.\nId voluptas adipisci enim quis. Iure nobis mollitia consequatur adipisci ea fugiat. Accusantium possimus saepe. Eos qui numquam hic magnam voluptatibus.\nIllo omnis porro ratione odio aliquam voluptas ut. Deleniti alias cumque omnis. Praesentium quisquam sunt sequi a dolor."], ["created_at", "2014-09-26 19:42:10.468411"], ["name", "omnis_aliquam_veniam"], ["title", "Et distinctio ex"], ["updated_at", "2014-09-26 19:42:10.468411"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 43]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 43]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 43 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.477606"], ["updated_at", "2014-09-26 19:42:10.477606"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.479428"], ["updated_at", "2014-09-26 19:42:10.479428"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magnam aliquam error occaecati. Minima fuga cupiditate. Quo eum debitis. Veniam consequatur voluptas repellendus dolores quod hic. Voluptatem maiores explicabo.\nIusto velit ut quam quae nesciunt. Repudiandae rerum rerum voluptatem suscipit. Reiciendis perferendis et consectetur unde omnis. Quam dignissimos quaerat.\nIpsum impedit est sed quod beatae. Eos dolorem non consequuntur et. Ut ea mollitia velit minima sequi. Et praesentium blanditiis esse aut illum fugiat veniam."], ["created_at", "2014-09-26 19:42:10.481849"], ["name", "doloremque_ullam_quibusdam"], ["title", "Architecto soluta quaerat"], ["updated_at", "2014-09-26 19:42:10.481849"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloremque_ullam_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'doloremque_ullam_quibusdam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 19:42:10.488659"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.493828"], ["updated_at", "2014-09-26 19:42:10.493828"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.495369"], ["updated_at", "2014-09-26 19:42:10.495369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestias suscipit quia nisi autem. Illum occaecati reiciendis fugiat iure atque soluta ut. Et culpa nulla.\nIpsa ut molestias et repudiandae. Illo id eum. Eum nam eveniet aut.\nVoluptas exercitationem vero vel ut quis error. Veritatis laudantium magnam sed voluptate. Similique distinctio voluptatem qui."], ["created_at", "2014-09-26 19:42:10.497814"], ["name", "ut_voluptatem_neque"], ["title", "Earum cum numquam"], ["updated_at", "2014-09-26 19:42:10.497814"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"45"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.502417"], ["updated_at", "2014-09-26 19:42:10.502417"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.504772"], ["updated_at", "2014-09-26 19:42:10.504772"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt doloremque eius quia. Tenetur earum dolorum quam nostrum. Sit consequatur atque.\nQuam sed omnis accusantium maxime consequatur omnis cupiditate. Atque omnis et quia odit voluptas sed eum. Rerum recusandae enim blanditiis.\nQuia minus ut ea. Eos culpa laborum excepturi voluptates cum sapiente facilis. Explicabo soluta eum officia nihil. Iste repudiandae provident aliquam ut doloribus."], ["created_at", "2014-09-26 19:42:10.507307"], ["name", "asperiores_consequatur_sint"], ["title", "Deserunt natus est"], ["updated_at", "2014-09-26 19:42:10.507307"]]  (1.2ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.518420"], ["updated_at", "2014-09-26 19:42:10.518420"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:42:10.520725"], ["updated_at", "2014-09-26 19:42:10.520725"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Error eligendi vel. Deleniti suscipit officia perspiciatis quaerat voluptas consequatur expedita. Laboriosam impedit et dolor voluptas.\nVoluptatem et quisquam iste. Aut iste tenetur veritatis. Esse suscipit nisi temporibus et sequi. Delectus earum repellendus magni nulla ullam cumque.\nLabore aut recusandae dicta. Recusandae reprehenderit est animi eligendi sapiente. Earum molestiae repudiandae magnam non corrupti. Blanditiis corporis dolores ipsum quo rerum enim."], ["created_at", "2014-09-26 19:42:10.524483"], ["name", "praesentium_temporibus_laborum"], ["title", "Beatae qui esse"], ["updated_at", "2014-09-26 19:42:10.524483"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (2.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.626188"], ["updated_at", "2014-09-26 19:46:14.626188"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.633253"], ["updated_at", "2014-09-26 19:46:14.633253"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.639636"], ["updated_at", "2014-09-26 19:46:14.639636"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.641291"], ["updated_at", "2014-09-26 19:46:14.641291"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et nobis excepturi omnis sed illum eaque. Nesciunt perspiciatis atque. Error maxime cupiditate. Qui dolores quam voluptas et. Atque officiis asperiores dolor distinctio at accusantium delectus.\nAut et culpa ut pariatur ea possimus est. Corrupti alias quasi neque. Atque odit nostrum similique.\nCommodi ad fugit eligendi hic quia beatae. Officiis cupiditate non rerum aut sit nulla atque. Corrupti neque repellat recusandae eum possimus. Est minus assumenda nihil. Ea hic nisi qui unde sunt sed."], ["created_at", "2014-09-26 19:46:14.872036"], ["name", "ut_vero_quae"], ["title", "Voluptas rerum ipsam"], ["updated_at", "2014-09-26 19:46:14.872036"]]  (1.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_voluptas_unde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sit_voluptas_unde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ea deserunt vitae dolor doloremque. Eveniet quod quia ut reprehenderit maxime nihil aut. Odit cupiditate odio.\nEst dolores quae rerum et alias velit accusantium. Doloremque iste temporibus labore dolorem. Dolorem et ea porro. At commodi in deserunt ipsam. Occaecati aut voluptatum necessitatibus doloribus et.\nImpedit asperiores animi aut consequatur expedita quaerat cupiditate. Sunt deleniti quo aut nulla. Ipsa corporis facere quaerat ut omnis aut. Provident eveniet autem molestias et dolorem."], ["created_at", "2014-09-26 19:46:14.890159"], ["name", "sit_voluptas_unde"], ["title", "Nam asperiores odio"], ["updated_at", "2014-09-26 19:46:14.890159"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Possimus voluptas a ut itaque vel sed. Illum et nihil aperiam eum ex architecto quas. Omnis quisquam repellendus voluptatem eum itaque amet. Aliquid exercitationem tempore. Inventore repellendus ad accusamus incidunt non velit est.\nRecusandae alias doloribus nulla laborum. Adipisci et ut magni voluptates beatae. Hic consectetur alias aliquid et omnis aut facilis. Vel consequatur reprehenderit asperiores eos reiciendis. Veritatis ab voluptatem impedit.\nDistinctio repellat qui. Eos ut quibusdam ut repellat omnis qui. Vel ipsa laboriosam ea quia accusantium. Vel est dolorem. Consequuntur id omnis sed repellendus voluptatum consequatur."], ["created_at", "2014-09-26 19:46:14.899576"], ["name", "quo_et_illo"], ["title", "Est autem dolores"], ["updated_at", "2014-09-26 19:46:14.899576"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quo_et_illo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'quo_et_illo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 19:46:14.902967"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.909587"], ["updated_at", "2014-09-26 19:46:14.909587"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 19:46:14.910440"], ["updated_at", "2014-09-26 19:46:14.910440"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'quo_et_illo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quo_et_illo"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloribus_suscipit_quae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'doloribus_suscipit_quae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laudantium porro quo. Tempore deserunt sit dolores. Voluptas rem repudiandae error soluta optio distinctio aut.\nQuis qui officia mollitia sunt. Dolore neque omnis. Est deserunt quaerat sed reiciendis corrupti blanditiis reprehenderit. Minus quia sint libero. Quidem qui laborum ut voluptatem impedit.\nExpedita quae ea accusantium ullam omnis dolor. Quos doloremque dolor quaerat asperiores non. Ut provident recusandae aliquid totam et. Quo sequi nisi deserunt. Eos qui adipisci sint consequatur recusandae rerum."], ["created_at", "2014-09-26 19:46:14.925054"], ["name", "doloribus_suscipit_quae"], ["title", "Voluptatum sed similique"], ["updated_at", "2014-09-26 19:46:14.925054"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'doloribus_suscipit_quae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laudantium porro quo. Tempore deserunt sit dolores. Voluptas rem repudiandae error soluta optio distinctio aut.\nQuis qui officia mollitia sunt. Dolore neque omnis. Est deserunt quaerat sed reiciendis corrupti blanditiis reprehenderit. Minus quia sint libero. Quidem qui laborum ut voluptatem impedit.\nExpedita quae ea accusantium ullam omnis dolor. Quos doloremque dolor quaerat asperiores non. Ut provident recusandae aliquid totam et. Quo sequi nisi deserunt. Eos qui adipisci sint consequatur recusandae rerum."], ["created_at", "2014-09-26 19:46:14.929415"], ["name", "joe"], ["title", "Voluptatum sed similique"], ["updated_at", "2014-09-26 19:46:14.929415"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 19:46:14.932766"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_corporis_possimus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_corporis_possimus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum fugit sit dignissimos quisquam. Est nostrum unde vero iste facere at repellat. Possimus excepturi voluptate. Neque ipsa consectetur rem qui sit odit. Quis eum magnam.\nMinus est ut dolor ut sapiente commodi perferendis. Voluptas sunt et ea error. Harum est omnis.\nRepellendus enim facere tempore nostrum. Quam quo quas minima dolorem autem. Saepe ipsa ut est odio. Dolores aspernatur impedit deleniti nam."], ["created_at", "2014-09-26 19:46:14.938151"], ["name", "enim_corporis_possimus"], ["title", "Illum culpa voluptas"], ["updated_at", "2014-09-26 19:46:14.938151"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'enim_corporis_possimus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum fugit sit dignissimos quisquam. Est nostrum unde vero iste facere at repellat. Possimus excepturi voluptate. Neque ipsa consectetur rem qui sit odit. Quis eum magnam.\nMinus est ut dolor ut sapiente commodi perferendis. Voluptas sunt et ea error. Harum est omnis.\nRepellendus enim facere tempore nostrum. Quam quo quas minima dolorem autem. Saepe ipsa ut est odio. Dolores aspernatur impedit deleniti nam."], ["created_at", "2014-09-26 19:46:14.941084"], ["name", "enim_corporis_possimus"], ["title", "Illum culpa voluptas"], ["updated_at", "2014-09-26 19:46:14.941084"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_corporis_possimus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'enim_corporis_possimus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-26 19:46:14.944162"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quaerat porro necessitatibus et tempora. Necessitatibus voluptas quia mollitia cupiditate nemo deleniti reprehenderit. Autem veritatis amet non. In quas voluptatum enim ut ut.\nQui deserunt nostrum vero praesentium. Rerum minus eaque. Recusandae eligendi aut aut aliquam aperiam.\nSed soluta eaque nisi. Asperiores hic dolorem voluptatem suscipit voluptatem in. Dolorem tenetur quia. Ipsum sunt totam nobis aliquid."], ["created_at", "2014-09-26 19:46:14.947567"], ["name", "dolor_dolores_earum"], ["title", "Aut earum debitis"], ["updated_at", "2014-09-26 19:46:14.947567"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_dolores_earum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'dolor_dolores_earum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 19:46:14.951742"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_dolores_earum"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_dolores_earum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 19:46:14.956297"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolore aspernatur saepe voluptatem ad assumenda nihil aut. Non consectetur sunt perferendis facere rerum aperiam dolore. Blanditiis repudiandae maxime voluptatem in. Cum qui aperiam debitis voluptatem nulla ipsa.\nEt officia neque beatae. Et similique et consequuntur soluta id. Illo eos totam qui voluptas.\nEst et labore corporis. Eveniet odio ipsam ut facilis impedit nostrum. Cumque unde quis voluptas in. Et quo vero ut sit."], ["created_at", "2014-09-26 19:46:14.961559"], ["name", "alpha"], ["title", "Ducimus in ut"], ["updated_at", "2014-09-26 19:46:14.961559"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Expedita eos aut ab consequuntur. Exercitationem quo fugit inventore labore nihil cum. Deserunt qui voluptatem itaque et dolores quis et. Sit explicabo dolores possimus nihil est omnis.\nUt id quidem vero minima. Natus rerum similique. Odio est dolores.\nPlaceat pariatur perspiciatis voluptas ut. Quia perspiciatis omnis. Exercitationem odio cumque ut et autem."], ["created_at", "2014-09-26 19:46:14.965290"], ["name", "beta"], ["title", "Reprehenderit eveniet iste"], ["updated_at", "2014-09-26 19:46:14.965290"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.966916"], ["updated_at", "2014-09-26 19:46:14.966916"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 19:46:14.969492"], ["updated_at", "2014-09-26 19:46:14.969492"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 19:46:14.972667"], ["updated_at", "2014-09-26 19:46:14.972667"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:46:14.975187"], ["name", "alpha"], ["title", "Ducimus in ut"], ["updated_at", "2014-09-26 19:46:14.975187"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 19:46:14.978283"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (11, 10, 4, 7, 5, 3, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cum molestiae nulla laudantium et quibusdam. Quam quia dolores non. Fugiat natus ipsam dolor delectus at autem ipsa. Omnis omnis necessitatibus.\nEos sit facilis sint qui. Rem magnam laudantium. Maxime ducimus et et. Debitis autem aperiam.\nNam qui dolor quibusdam dolore aut. Magnam incidunt qui repudiandae. Nam assumenda officiis sit voluptas."], ["created_at", "2014-09-26 19:46:14.988252"], ["name", "alpha"], ["title", "Qui qui sint"], ["updated_at", "2014-09-26 19:46:14.988252"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ad voluptas molestiae sit aut. Doloremque qui omnis quisquam. Assumenda nulla mollitia cumque. Quidem maxime in aperiam quaerat odit.\nEt sed sed consequatur excepturi doloremque iure quis. Illo reiciendis mollitia modi voluptas. Veniam vero mollitia dolor id. Tempore aut ducimus earum illum corporis sit est. Enim assumenda amet vel rerum quod molestiae mollitia.\nSapiente qui minus reprehenderit animi dolor. Dolores sint quis et fugit facilis. Vel autem temporibus voluptatem ut nemo voluptatem sint."], ["created_at", "2014-09-26 19:46:14.992594"], ["name", "beta"], ["title", "Sapiente ut reprehenderit"], ["updated_at", "2014-09-26 19:46:14.992594"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:14.994327"], ["updated_at", "2014-09-26 19:46:14.994327"]]  (0.6ms) commit transaction  (0.2ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 19:46:14.997185"], ["updated_at", "2014-09-26 19:46:14.997185"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 19:46:14.999582"], ["updated_at", "2014-09-26 19:46:14.999582"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:46:15.001871"], ["name", "alpha"], ["title", "Qui qui sint"], ["updated_at", "2014-09-26 19:46:15.001871"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:46:15.004968"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 19:46:15.022151"], ["updated_at", "2014-09-26 19:46:15.022151"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.4ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perspiciatis explicabo veritatis non nostrum eum. Aspernatur voluptate in tempora qui minima voluptates. Laboriosam ratione libero id.\nEt possimus placeat. Doloremque optio illum. Accusamus omnis maiores exercitationem. Est non optio ab facilis. Eum sit id animi excepturi.\nQuam animi quia saepe cumque. Quis in et dolor. Numquam necessitatibus quia et dignissimos."], ["created_at", "2014-09-26 19:46:15.037405"], ["name", "alpha"], ["title", "Voluptatem laudantium est"], ["updated_at", "2014-09-26 19:46:15.037405"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio ex sed voluptatibus officia. Omnis alias cum distinctio laudantium nemo porro. Rem eos eum iure vitae.\nEt minima sunt consequatur exercitationem. Architecto et illo. Nihil magnam illo odit deserunt et. Esse excepturi et est eaque ut iste.\nPossimus sed suscipit quia dolor error. Et aut sit hic expedita in. Placeat quia voluptate provident quas et. Vel dolores sunt iste non illo nemo."], ["created_at", "2014-09-26 19:46:15.041530"], ["name", "beta"], ["title", "Nihil nemo fuga"], ["updated_at", "2014-09-26 19:46:15.041530"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.043155"], ["updated_at", "2014-09-26 19:46:15.043155"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:46:15.045733"], ["updated_at", "2014-09-26 19:46:15.045733"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 19:46:15.048138"], ["updated_at", "2014-09-26 19:46:15.048138"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:46:15.050443"], ["name", "alpha"], ["title", "Voluptatem laudantium est"], ["updated_at", "2014-09-26 19:46:15.050443"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 19:46:15.053577"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (17, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et nam repellat dolorum expedita ipsum commodi. Rerum in dolorum eaque. Cumque aut quia id velit distinctio. Odio nobis dignissimos.\nVitae nihil tenetur non modi autem sit. Aut repellat quasi sed fuga quia. Voluptatem vel fuga est dolores non.\nEt aut totam officia. Sed accusantium recusandae. Nulla in distinctio et recusandae debitis velit."], ["created_at", "2014-09-26 19:46:15.059319"], ["name", "alpha"], ["title", "Aut ea quas"], ["updated_at", "2014-09-26 19:46:15.059319"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Magni illo consequatur architecto. Ut facilis eum dolorum voluptate. Culpa consequatur rerum repellendus. Et magni a minima saepe.\nMolestias odit et. Quaerat facilis voluptas. Consequatur sed unde recusandae ut sunt.\nExpedita eos vel qui reiciendis. Numquam quae ea commodi aperiam. Sed minus dolorum porro."], ["created_at", "2014-09-26 19:46:15.062984"], ["name", "beta"], ["title", "Aut est et"], ["updated_at", "2014-09-26 19:46:15.062984"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.064542"], ["updated_at", "2014-09-26 19:46:15.064542"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 19:46:15.067227"], ["updated_at", "2014-09-26 19:46:15.067227"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 19:46:15.070053"], ["updated_at", "2014-09-26 19:46:15.070053"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:46:15.072538"], ["name", "alpha"], ["title", "Aut ea quas"], ["updated_at", "2014-09-26 19:46:15.072538"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:46:15.076298"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.082577"], ["updated_at", "2014-09-26 19:46:15.082577"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.084112"], ["updated_at", "2014-09-26 19:46:15.084112"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_molestias_asperiores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_molestias_asperiores') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iure qui neque ea expedita. Commodi suscipit ad perspiciatis omnis eum. Ipsum itaque ea esse et.\nSapiente qui illo harum accusamus. Exercitationem dolor repellendus iste nesciunt. Placeat officiis vel non quo sapiente. Reiciendis ducimus cum officia consequatur illum facere nulla. Architecto et repudiandae id doloremque enim.\nEt impedit nam doloribus odio. Temporibus sequi illo voluptas doloremque. Sint non occaecati."], ["created_at", "2014-09-26 19:46:15.088263"], ["name", "enim_molestias_asperiores"], ["title", "Aut libero velit"], ["updated_at", "2014-09-26 19:46:15.088263"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.090819"], ["updated_at", "2014-09-26 19:46:15.090819"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:46:15.091378"], ["updated_at", "2014-09-26 19:46:15.091378"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Completed 200 OK in 199ms (Views: 4.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.294701"], ["updated_at", "2014-09-26 19:46:15.294701"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.297500"], ["updated_at", "2014-09-26 19:46:15.297500"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "asperiores_magnam_nisi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'asperiores_magnam_nisi') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum fuga est voluptas odio. Corporis ullam et tempore nesciunt et. Saepe neque cum deserunt repellat placeat fuga.\nRepellendus consequatur eaque eius cupiditate. Sequi tempore fugit quaerat. Corrupti incidunt suscipit. Delectus corrupti rerum fuga. Hic ut quasi corporis.\nSaepe ducimus tempore possimus eaque. Dolorem et voluptatum aut perferendis. Ut amet iusto vitae nisi magni consequatur. Quod ex omnis debitis quibusdam saepe veniam."], ["created_at", "2014-09-26 19:46:15.302636"], ["name", "asperiores_magnam_nisi"], ["title", "Quia nihil sed"], ["updated_at", "2014-09-26 19:46:15.302636"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.305474"], ["updated_at", "2014-09-26 19:46:15.305474"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 19:46:15.306071"], ["updated_at", "2014-09-26 19:46:15.306071"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.312148"], ["updated_at", "2014-09-26 19:46:15.312148"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.313855"], ["updated_at", "2014-09-26 19:46:15.313855"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_doloribus_expedita"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorum_doloribus_expedita') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Omnis in alias dolores. Totam incidunt sequi distinctio. Temporibus ullam dolorum eligendi. Officia maiores in enim doloribus est culpa praesentium.\nNon velit reprehenderit velit pariatur praesentium ipsam. Eos ipsam sit aut qui. Sequi unde ipsam sunt qui ut sunt non.\nVeniam nesciunt voluptatem. Harum vel enim. Magnam esse asperiores et optio. Vero minima deserunt iure voluptatem omnis pariatur occaecati."], ["created_at", "2014-09-26 19:46:15.318736"], ["name", "dolorum_doloribus_expedita"], ["title", "Nobis et qui"], ["updated_at", "2014-09-26 19:46:15.318736"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.321499"], ["updated_at", "2014-09-26 19:46:15.321499"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 19:46:15.322484"], ["updated_at", "2014-09-26 19:46:15.322484"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 13]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Redirected to http://test.host/fine_print/contracts/23/signatures?r=YlF4WHV0TllYbXhSVHNtZ0c0K1diQT09LS1uOXRZTGNDeDd2MHFNNTc4NEExaWt3PT0%3D--d11f1f570acc9974456007a2f56218869ca13b2f Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 13 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.331676"], ["updated_at", "2014-09-26 19:46:15.331676"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.333452"], ["updated_at", "2014-09-26 19:46:15.333452"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorem_et_quisquam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorem_et_quisquam') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia dolores et et enim possimus aliquam. Sunt quibusdam deleniti minus nostrum. Est quia delectus ab.\nNon rerum natus illo. Deleniti quia accusamus aperiam. Voluptas aut sit numquam quo deleniti. Corporis enim voluptatem sint earum.\nNeque labore et laborum sed ut id. Dolores et aut corporis. Vel nostrum quo nesciunt dolores maiores. Eveniet doloremque ut ratione aut."], ["created_at", "2014-09-26 19:46:15.337774"], ["name", "dolorem_et_quisquam"], ["title", "Doloribus consectetur deserunt"], ["updated_at", "2014-09-26 19:46:15.337774"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.341153"], ["updated_at", "2014-09-26 19:46:15.341153"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 19:46:15.341905"], ["updated_at", "2014-09-26 19:46:15.341905"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.345579"], ["updated_at", "2014-09-26 19:46:15.345579"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.347106"], ["updated_at", "2014-09-26 19:46:15.347106"]]  (0.4ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_modi_quo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_modi_quo') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Libero eveniet totam quis saepe consequatur. Quasi dolorem sit dolores. Quidem et necessitatibus veniam eveniet impedit. Laudantium nam fuga omnis.\nEnim eum molestiae voluptatem. Minima recusandae numquam magni provident magnam animi. Minima neque rerum culpa suscipit pariatur et. A praesentium delectus.\nIn recusandae molestiae. Corrupti hic accusamus voluptatem atque nam. Necessitatibus et voluptatem."], ["created_at", "2014-09-26 19:46:15.351504"], ["name", "et_modi_quo"], ["title", "Exercitationem modi ut"], ["updated_at", "2014-09-26 19:46:15.351504"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.354621"], ["updated_at", "2014-09-26 19:46:15.354621"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 19:46:15.355498"], ["updated_at", "2014-09-26 19:46:15.355498"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.361232"], ["updated_at", "2014-09-26 19:46:15.361232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.362802"], ["updated_at", "2014-09-26 19:46:15.362802"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quas_enim_dolorem"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quas_enim_dolorem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorum voluptatibus sed beatae. Consequatur et facere quasi dolorum sapiente. Laborum voluptatem pariatur. Doloremque ducimus magni suscipit accusamus. Esse voluptatem aut omnis non reprehenderit.\nAlias necessitatibus nesciunt doloremque inventore. Suscipit ducimus qui veritatis. Nostrum molestiae provident reiciendis quia voluptas.\nVoluptatem nam consequatur ut nobis. Quis modi eaque est sit quaerat. Molestias consequatur doloribus voluptatibus ex. Inventore nihil et excepturi consequatur quo molestias."], ["created_at", "2014-09-26 19:46:15.367364"], ["name", "quas_enim_dolorem"], ["title", "Qui modi omnis"], ["updated_at", "2014-09-26 19:46:15.367364"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.370077"], ["updated_at", "2014-09-26 19:46:15.370077"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 19:46:15.370646"], ["updated_at", "2014-09-26 19:46:15.370646"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"26"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.374681"], ["updated_at", "2014-09-26 19:46:15.374681"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.376390"], ["updated_at", "2014-09-26 19:46:15.376390"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_tenetur_dolores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_tenetur_dolores') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusamus commodi enim cum. Error velit voluptas. Culpa est consectetur.\nTempora consequuntur beatae. Est sunt maxime voluptas molestiae consequuntur. Eaque nulla et perferendis. Aliquam temporibus dolorum et nostrum autem sapiente non. Fugit dicta nisi.\nIste accusamus dolorum. Minus itaque dolorem et dicta. Aut deleniti aspernatur dolorem totam. Autem deleniti repellat hic. Accusamus vero temporibus impedit adipisci."], ["created_at", "2014-09-26 19:46:15.380943"], ["name", "voluptatem_tenetur_dolores"], ["title", "Voluptatem impedit et"], ["updated_at", "2014-09-26 19:46:15.380943"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.383566"], ["updated_at", "2014-09-26 19:46:15.383566"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 19:46:15.384174"], ["updated_at", "2014-09-26 19:46:15.384174"], ["user_id", 30], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"27"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.387603"], ["updated_at", "2014-09-26 19:46:15.387603"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.388974"], ["updated_at", "2014-09-26 19:46:15.388974"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_nulla_asperiores"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorum_nulla_asperiores') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nam aut voluptates. Molestiae aut ab adipisci unde. Eum tenetur commodi.\nAliquam vel quam cum quos voluptatem suscipit. Provident sed corrupti. Vel occaecati nostrum placeat maxime excepturi.\nConsequuntur maiores sequi nulla quam hic. Eligendi soluta sit. Itaque inventore vero ratione esse earum vel. Et dolor omnis deleniti. Accusantium eius sit."], ["created_at", "2014-09-26 19:46:15.393191"], ["name", "dolorum_nulla_asperiores"], ["title", "Accusantium aut sunt"], ["updated_at", "2014-09-26 19:46:15.393191"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.395737"], ["updated_at", "2014-09-26 19:46:15.395737"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 19:46:15.396312"], ["updated_at", "2014-09-26 19:46:15.396312"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"28"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.399854"], ["updated_at", "2014-09-26 19:46:15.399854"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.401383"], ["updated_at", "2014-09-26 19:46:15.401383"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cupiditate quisquam totam. Voluptates tempora numquam earum quae. Recusandae optio eveniet magnam ut ipsa ut. Dolorem qui dolore eius quis nemo.\nNulla tenetur quia sed ipsum odit vel recusandae. Rem vitae consectetur voluptas doloribus iure. Culpa qui voluptatem dicta debitis. Atque repellat voluptates. Laboriosam libero molestiae non vel maxime omnis.\nVoluptatibus exercitationem consectetur impedit beatae. Sit impedit velit ut amet. Reiciendis hic voluptas iste. Voluptatibus aspernatur tempore sint recusandae. Consectetur odio qui aliquid."], ["created_at", "2014-09-26 19:46:15.404452"], ["name", "tempora_reiciendis_aliquam"], ["title", "Modi in magnam"], ["updated_at", "2014-09-26 19:46:15.404452"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 29]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 29]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 29 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.414421"], ["updated_at", "2014-09-26 19:46:15.414421"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.416269"], ["updated_at", "2014-09-26 19:46:15.416269"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit aperiam quas aliquam quae ut voluptatum nulla. Delectus dicta totam. Porro a sunt perferendis maxime. Ut vero id non. Minima non sit quae aut molestiae vel.\nLaborum modi aut sed quia recusandae quas. Reprehenderit non nihil voluptatem libero amet et consequuntur. Quia voluptatibus non dolorem eaque nisi optio. Velit facere alias incidunt consequuntur. Pariatur incidunt quisquam.\nImpedit corrupti voluptatem delectus sit. Quae incidunt dolorem. Dolor qui odio voluptate aliquid quis quod reiciendis. Nihil sed quos nobis."], ["created_at", "2014-09-26 19:46:15.418603"], ["name", "in_qui_et"], ["title", "Ea voluptatibus numquam"], ["updated_at", "2014-09-26 19:46:15.418603"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.422483"], ["updated_at", "2014-09-26 19:46:15.422483"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.423988"], ["updated_at", "2014-09-26 19:46:15.423988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ratione corporis in dolorem necessitatibus adipisci. Ut incidunt natus quaerat quidem. Ipsa optio delectus quo fuga vitae sequi. Et iure quo dolorum aut quod eveniet quis. Et et modi repellendus itaque quia consequatur nam.\nConsequatur dolores asperiores quisquam voluptatibus. Accusamus magnam temporibus molestiae dolorem ipsa. Necessitatibus voluptatem saepe. Cum officia eius eligendi sit perferendis tempora autem.\nNatus reiciendis itaque assumenda veniam est. Quidem vitae ut saepe ipsam fugiat doloremque. Error voluptatem omnis labore neque laboriosam voluptatem. Iure debitis veritatis autem porro animi sit. Ex consequatur quia cumque tempora."], ["created_at", "2014-09-26 19:46:15.426241"], ["name", "aliquid_dolores_placeat"], ["title", "Rerum repudiandae velit"], ["updated_at", "2014-09-26 19:46:15.426241"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_dolores_placeat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'aliquid_dolores_placeat') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 19:46:15.431270"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.435639"], ["updated_at", "2014-09-26 19:46:15.435639"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.437208"], ["updated_at", "2014-09-26 19:46:15.437208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Accusantium nostrum maxime aut. Dolor id officiis. Recusandae sint ut ad alias.\nDucimus aut quis odio. Ipsum nam ducimus et perferendis vel vitae suscipit. Unde molestiae qui quo atque. At perferendis vel qui.\nMollitia aspernatur quia voluptates repellendus. Eum inventore qui voluptatem necessitatibus ullam quae laborum. Quia quo sed voluptatem. Est quaerat minima laboriosam sit."], ["created_at", "2014-09-26 19:46:15.439374"], ["name", "tempora_dolore_sint"], ["title", "Dolor id nostrum"], ["updated_at", "2014-09-26 19:46:15.439374"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempora_dolore_sint"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'tempora_dolore_sint') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 19:46:15.442429"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"32"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.447031"], ["updated_at", "2014-09-26 19:46:15.447031"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.448515"], ["updated_at", "2014-09-26 19:46:15.448515"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nostrum at unde et. Ex minima aut. In qui velit voluptatem aut. Enim ratione est.\nTempore in sint sit reiciendis voluptate explicabo accusamus. Illum cumque vel nesciunt. Nam eius ut odit minus corporis aut. Voluptas magnam expedita sint.\nEligendi pariatur temporibus est exercitationem quia perspiciatis. Aspernatur deserunt ut necessitatibus dolores nobis a dolores. Non ab enim porro."], ["created_at", "2014-09-26 19:46:15.450865"], ["name", "harum_dolore_cumque"], ["title", "Consequatur facere id"], ["updated_at", "2014-09-26 19:46:15.450865"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.455949"], ["updated_at", "2014-09-26 19:46:15.455949"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.458073"], ["updated_at", "2014-09-26 19:46:15.458073"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et est eaque sit aut. Impedit quos iste. Et ut saepe incidunt in adipisci.\nQuia amet exercitationem repellendus quia. Omnis est maiores expedita est aut exercitationem. Dolorem sapiente quo ratione distinctio. Ipsam deleniti aspernatur laudantium. Quis eos officiis perferendis sint odio.\nEt adipisci sint ut numquam veniam fugit. Vel est est ut. Voluptatem omnis atque dolor facere totam ipsum est."], ["created_at", "2014-09-26 19:46:15.460518"], ["name", "dicta_in_accusamus"], ["title", "Dolore ullam atque"], ["updated_at", "2014-09-26 19:46:15.460518"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.467190"], ["updated_at", "2014-09-26 19:46:15.467190"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.468717"], ["updated_at", "2014-09-26 19:46:15.468717"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magnam hic magni ea cum libero nam iure. Consequatur molestiae aperiam quia sunt. Aliquid inventore qui qui deserunt. Id iste nihil aperiam illo.\nVel sequi enim quibusdam sit. Minima tempore dolorem occaecati et aut. Eligendi beatae ducimus maiores. Illum enim recusandae. Voluptatem ratione sequi tempore suscipit debitis.\nDicta labore quo quia. Et molestiae ratione vel qui et harum dignissimos. Maxime recusandae dolor ullam nihil occaecati non."], ["created_at", "2014-09-26 19:46:15.470996"], ["name", "nihil_ipsam_perferendis"], ["title", "Eos accusamus excepturi"], ["updated_at", "2014-09-26 19:46:15.470996"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 35 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:46:15.474696"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/35 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.479973"], ["updated_at", "2014-09-26 19:46:15.479973"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.481611"], ["updated_at", "2014-09-26 19:46:15.481611"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quis necessitatibus facilis nihil. Minus enim non voluptas rerum et doloremque eum. Quos sapiente quia sint reiciendis expedita.\nVel soluta laborum rerum vel deserunt qui. Quam porro odio minima dolor. Quo voluptates cupiditate tenetur ad ut asperiores molestias. Tempore ad reprehenderit.\nRatione aperiam aut esse autem et quae. Nulla sapiente officia. Ullam odio deserunt."], ["created_at", "2014-09-26 19:46:15.483845"], ["name", "tempore_non_sed"], ["title", "Ipsum praesentium sit"], ["updated_at", "2014-09-26 19:46:15.483845"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"36"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.488563"], ["updated_at", "2014-09-26 19:46:15.488563"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.490222"], ["updated_at", "2014-09-26 19:46:15.490222"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis dolorem vitae esse recusandae. Voluptas ad maiores temporibus. Minus dolores ut voluptatem est qui.\nAnimi id deleniti omnis numquam et. Dolor velit corporis rerum sapiente. Qui perferendis aut. Ipsa veniam laboriosam vitae quam totam suscipit ipsum.\nCorrupti nostrum est sunt in. Autem et impedit quia at repellat expedita. Qui vel perferendis magnam aperiam repudiandae."], ["created_at", "2014-09-26 19:46:15.492599"], ["name", "autem_dolorum_et"], ["title", "Autem temporibus cupiditate"], ["updated_at", "2014-09-26 19:46:15.492599"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.498059"], ["updated_at", "2014-09-26 19:46:15.498059"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.499778"], ["updated_at", "2014-09-26 19:46:15.499778"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dignissimos veniam maiores officia odio voluptatem amet natus. Et quos accusantium consequatur nesciunt temporibus. Deleniti impedit non enim aut. A sunt placeat cum praesentium accusantium reiciendis.\nTotam animi quo. Fugit consequatur labore. Consequuntur dicta aut ea et rerum aut. Aut corrupti amet nisi sequi.\nRerum odit voluptatem. Consequuntur exercitationem natus qui at nulla laborum expedita. Quia et quia dolorem."], ["created_at", "2014-09-26 19:46:15.502030"], ["name", "repellendus_incidunt_iure"], ["title", "Reprehenderit sit qui"], ["updated_at", "2014-09-26 19:46:15.502030"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 20, 18, 17, 15, 14, 12, 11, 9, 35, 22, 37, 19, 16, 13, 10, 34, 8, 24, 4, 23, 28, 7, 6, 21, 25, 33, 30, 5, 26, 3, 38, 2, 32, 36, 1, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.509824"], ["updated_at", "2014-09-26 19:46:15.509824"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.511410"], ["updated_at", "2014-09-26 19:46:15.511410"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dignissimos consequuntur in voluptatum voluptatem unde ipsa. Temporibus dolorem voluptatem repellat. Illo rerum eveniet voluptatem consequatur quibusdam ut. Dignissimos reprehenderit dolor id.\nOmnis sint amet in eveniet. Perspiciatis quis in. Ea distinctio ex est voluptatum quaerat soluta temporibus. Sapiente quas minus harum suscipit dolores libero provident.\nAb esse occaecati. Aut impedit distinctio aut. Numquam placeat rerum soluta. Quaerat ea eos. Dignissimos molestias aliquam voluptas eos."], ["created_at", "2014-09-26 19:46:15.513639"], ["name", "dolor_eaque_ratione"], ["title", "Modi qui et"], ["updated_at", "2014-09-26 19:46:15.513639"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_eaque_ratione"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'dolor_eaque_ratione') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 19:46:15.516880"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"39"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.530440"], ["updated_at", "2014-09-26 19:46:15.530440"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.532132"], ["updated_at", "2014-09-26 19:46:15.532132"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Mollitia recusandae doloremque aliquid voluptatem quia. Aspernatur autem non sed architecto soluta voluptate occaecati. Perspiciatis ut fuga est. Et a earum ipsam quam magnam nam consequatur.\nNon omnis sint porro omnis. Dolores porro et sed. Ratione laudantium consequatur. Commodi repellat et officiis impedit neque.\nNisi quisquam porro non. Delectus aperiam consequuntur occaecati quia quis in a. Sit molestiae iste. Dolores beatae et nemo impedit ex praesentium. Cum culpa qui adipisci quas aut."], ["created_at", "2014-09-26 19:46:15.534912"], ["name", "illum_dolorem_qui"], ["title", "Mollitia nesciunt esse"], ["updated_at", "2014-09-26 19:46:15.534912"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:46:15.539292"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:46:15.539292"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/41 Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.543552"], ["updated_at", "2014-09-26 19:46:15.543552"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.545442"], ["updated_at", "2014-09-26 19:46:15.545442"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugit mollitia sunt ut culpa omnis quas expedita. Ipsum consequatur voluptatem velit ut qui libero. Modi quod quibusdam soluta. Similique ad voluptatem sequi.\nVoluptatum aut dolores sit eum maxime voluptas iure. Magnam in ut possimus saepe magni. Consequuntur quia porro sunt consequatur id maiores.\nFugit molestias eius dolores itaque consequatur. Asperiores dolores nihil molestiae rem sunt nemo. Rem quae possimus."], ["created_at", "2014-09-26 19:46:15.548485"], ["name", "adipisci_molestias_at"], ["title", "Sapiente voluptates vitae"], ["updated_at", "2014-09-26 19:46:15.548485"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "adipisci_molestias_at"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'adipisci_molestias_at') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 42 [["updated_at", "2014-09-26 19:46:15.552705"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'adipisci_molestias_at' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.564719"], ["updated_at", "2014-09-26 19:46:15.564719"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.567058"], ["updated_at", "2014-09-26 19:46:15.567058"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias tempora atque impedit. Aut placeat aliquid eos voluptatem. Delectus perspiciatis error officia amet rerum.\nSint fugit ut sequi. Ut dolorem recusandae qui praesentium. Neque error autem id alias. Nostrum praesentium tempora. Qui dignissimos sed error.\nRepellat ullam quia porro dicta. Animi quia nesciunt atque dolorem temporibus ut. Molestiae assumenda tenetur vero fugit reiciendis."], ["created_at", "2014-09-26 19:46:15.569768"], ["name", "maxime_soluta_molestiae"], ["title", "Excepturi quo facere"], ["updated_at", "2014-09-26 19:46:15.569768"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_soluta_molestiae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'maxime_soluta_molestiae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 19:46:15.574304"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maxime_soluta_molestiae"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 19:46:15.581927"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 43]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.586634"], ["updated_at", "2014-09-26 19:46:15.586634"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.588673"], ["updated_at", "2014-09-26 19:46:15.588673"]]  (0.7ms) commit transaction  (1.4ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et aut vel et cupiditate tempore expedita voluptas. Quo voluptas possimus consequatur et dolorem totam quia. Eius et et sed eaque sed.\nCulpa quos est. Harum facilis dolores incidunt aperiam enim. Provident qui aut facere.\nSed dolore laudantium velit pariatur illo. Velit quisquam amet enim libero eos et omnis. Aliquid voluptas tenetur quasi enim. Est quo distinctio accusamus blanditiis."], ["created_at", "2014-09-26 19:46:15.592389"], ["name", "quia_minus_magnam"], ["title", "Sed qui facere"], ["updated_at", "2014-09-26 19:46:15.592389"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.599777"], ["updated_at", "2014-09-26 19:46:15.599777"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.601450"], ["updated_at", "2014-09-26 19:46:15.601450"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vitae saepe molestiae hic similique eos provident. Molestiae quo rerum. Vel perspiciatis atque. Et accusamus sed explicabo quidem veritatis modi.\nDolorum voluptas sed voluptas minus. Qui quas repellat vel aperiam quia fugiat. Delectus doloremque quaerat minus adipisci itaque veritatis.\nSunt unde voluptatem voluptatem aut est ut. Tempora quisquam est. Saepe ut hic deleniti similique numquam optio."], ["created_at", "2014-09-26 19:46:15.603860"], ["name", "ex_aut_corporis"], ["title", "Error qui consequatur"], ["updated_at", "2014-09-26 19:46:15.603860"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.609116"], ["updated_at", "2014-09-26 19:46:15.609116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.610574"], ["updated_at", "2014-09-26 19:46:15.610574"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sequi ut placeat vitae. Corrupti quo maxime odio. A occaecati voluptas reiciendis numquam ipsa et.\nMaiores est expedita fuga. Aspernatur consequatur non. Ullam sint nihil animi.\nEa consequatur eos enim tempore. Eaque ut non accusamus ad. Mollitia voluptatem voluptas."], ["created_at", "2014-09-26 19:46:15.614143"], ["name", "fugit_illum_molestiae"], ["title", "Qui rerum vero"], ["updated_at", "2014-09-26 19:46:15.614143"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"46"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"46"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 2ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.622263"], ["updated_at", "2014-09-26 19:46:15.622263"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:46:15.624185"], ["updated_at", "2014-09-26 19:46:15.624185"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsa accusamus harum. Animi ad sit. Omnis non possimus consequatur repellat. Aut ipsum molestiae neque deserunt porro. Dolorum necessitatibus adipisci ipsa soluta.\nOdio quia corrupti distinctio voluptatem sequi soluta non. Autem saepe qui nostrum. Nostrum dolorem sed voluptas odit asperiores quasi consequuntur. Eaque enim quia.\nQuia vel est accusantium. Deserunt ad sunt illum. Dicta quod aliquid non voluptatum. Ea laudantium et sed dicta eius temporibus. Dignissimos facilis suscipit tenetur nihil."], ["created_at", "2014-09-26 19:46:15.627029"], ["name", "vel_qui_velit"], ["title", "Dolorem reprehenderit et"], ["updated_at", "2014-09-26 19:46:15.627029"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.242660"], ["updated_at", "2014-09-26 19:47:44.242660"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.249596"], ["updated_at", "2014-09-26 19:47:44.249596"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed adipisci quasi architecto id qui iure. Sunt dolor qui minus blanditiis assumenda ut provident. Rerum officia ullam.\nSunt recusandae illum reprehenderit dolores tempore delectus. Deleniti in tempora ipsum omnis quae corporis. Impedit in autem tempore consequatur qui et. Dolor atque rerum laboriosam est iure mollitia consequatur.\nEos dolorum fugit ea aliquam. Ut facere nam in omnis sunt. Est voluptates nisi voluptas. Rerum autem voluptatem."], ["created_at", "2014-09-26 19:47:44.474513"], ["name", "quam_expedita_autem"], ["title", "Veniam non sint"], ["updated_at", "2014-09-26 19:47:44.474513"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.486563"], ["updated_at", "2014-09-26 19:47:44.486563"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.488294"], ["updated_at", "2014-09-26 19:47:44.488294"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nobis laboriosam ut omnis. Similique et non consequuntur necessitatibus. Sit sit ut ad nisi excepturi. Nisi velit error blanditiis architecto nam sit voluptates. Impedit voluptatem porro deleniti.\nQuas et aliquid a quia. Eveniet quisquam est. Reiciendis enim tempora.\nVel et non quis. Corrupti dolore reprehenderit quod blanditiis quisquam. Et aliquam incidunt voluptatibus itaque omnis voluptatum perspiciatis. Nesciunt illo error non voluptatem et dolorem rerum."], ["created_at", "2014-09-26 19:47:44.490782"], ["name", "sunt_nihil_eveniet"], ["title", "Fugiat amet neque"], ["updated_at", "2014-09-26 19:47:44.490782"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] Completed 200 OK in 15ms (Views: 4.8ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.509439"], ["updated_at", "2014-09-26 19:47:44.509439"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.511231"], ["updated_at", "2014-09-26 19:47:44.511231"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eius repellendus dignissimos aspernatur a aperiam. Et ea autem odio omnis dolor. Delectus aspernatur eum. Unde expedita quae.\nMollitia labore non voluptatum tempora. Reiciendis sequi facere ut nemo sed. Nostrum illum et veniam neque voluptatem est numquam. Et cupiditate quaerat itaque earum vel.\nVoluptatibus cum delectus inventore placeat. Dolor voluptatem quam. Eveniet ipsa occaecati ut voluptatem explicabo qui. Magni sint qui expedita doloribus vel et suscipit."], ["created_at", "2014-09-26 19:47:44.513693"], ["name", "aperiam_nihil_sit"], ["title", "Necessitatibus quod harum"], ["updated_at", "2014-09-26 19:47:44.513693"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.517888"], ["updated_at", "2014-09-26 19:47:44.517888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.519417"], ["updated_at", "2014-09-26 19:47:44.519417"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et sed officia est voluptas velit magnam minima. Veritatis itaque aut sit quis natus earum. Nulla nisi nam natus quidem.\nMaxime sequi in corrupti non et ducimus. Voluptatem neque et quisquam. Quis id rem et quos minima enim et. Perspiciatis quis omnis est aperiam deleniti quos. Necessitatibus expedita sit reiciendis ex id.\nMagni pariatur qui minima sed. Rerum modi delectus pariatur qui. Beatae eius voluptas recusandae a."], ["created_at", "2014-09-26 19:47:44.521699"], ["name", "consequuntur_minus_doloribus"], ["title", "Non ullam cupiditate"], ["updated_at", "2014-09-26 19:47:44.521699"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.527396"], ["updated_at", "2014-09-26 19:47:44.527396"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.528976"], ["updated_at", "2014-09-26 19:47:44.528976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam minus ducimus id accusamus. Ea alias deleniti nam. Asperiores nisi sit nostrum est nam dolores adipisci. Quasi eligendi soluta voluptates vero eum. Asperiores ut sed iusto recusandae omnis id.\nQui et ad soluta repellendus illo et et. Et sed et nisi ab et. Maiores eum quos.\nIpsa sint labore eos. In autem tenetur illo dolores minus ex doloribus. Provident ipsam eveniet ipsa aperiam eos. Quia voluptatum voluptatem. Voluptatibus molestiae ipsam aut."], ["created_at", "2014-09-26 19:47:44.531373"], ["name", "numquam_aliquid_aut"], ["title", "Similique quaerat odit"], ["updated_at", "2014-09-26 19:47:44.531373"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "numquam_aliquid_aut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'numquam_aliquid_aut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 19:47:44.537177"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'numquam_aliquid_aut' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.547124"], ["updated_at", "2014-09-26 19:47:44.547124"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.548635"], ["updated_at", "2014-09-26 19:47:44.548635"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ratione eum in quo ut dolorem recusandae et. Harum commodi consequuntur ducimus ut voluptas ea velit. Veritatis esse beatae nostrum ipsam repellat quia. Perferendis aliquam quis quisquam nesciunt. Occaecati quibusdam accusantium vero.\nA velit aliquid consequatur accusantium voluptatem. Molestias eaque sint quae facere vero enim voluptatibus. Magnam doloribus consectetur. Est laborum nulla corrupti vel id vero. Ut aut est.\nUnde dolor quaerat aut possimus dolorem. Ut voluptatum qui. Qui consectetur itaque sit quaerat iure."], ["created_at", "2014-09-26 19:47:44.550841"], ["name", "neque_occaecati_id"], ["title", "Qui ipsum neque"], ["updated_at", "2014-09-26 19:47:44.550841"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:47:44.554170"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.559318"], ["updated_at", "2014-09-26 19:47:44.559318"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.560968"], ["updated_at", "2014-09-26 19:47:44.560968"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maxime reiciendis consectetur aperiam. Voluptas ut sunt quibusdam nihil. Officiis voluptatibus velit hic dolorem. Atque omnis est.\nHarum sit ullam. Velit atque aut. Perferendis molestiae nobis blanditiis omnis placeat et.\nError maxime eveniet aliquam qui culpa illum eaque. Ut dolores nemo nesciunt commodi tempora. Odio veniam ea porro esse. Iure nisi nemo reiciendis maxime ad qui. Maxime eum expedita doloribus quis dolores non numquam."], ["created_at", "2014-09-26 19:47:44.563329"], ["name", "inventore_quia_ratione"], ["title", "Occaecati fuga dolores"], ["updated_at", "2014-09-26 19:47:44.563329"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:47:44.566345"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:47:44.566345"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/8 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.570977"], ["updated_at", "2014-09-26 19:47:44.570977"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.572672"], ["updated_at", "2014-09-26 19:47:44.572672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit enim modi velit dolor aperiam suscipit. Aut dolores mollitia alias tempora veniam. Voluptatem doloribus aut aut.\nAnimi aperiam est aspernatur qui. Ipsa unde qui voluptates sit vel quas id. Consequatur magnam tempora sed voluptas sit incidunt eos.\nError modi deleniti velit odio. Voluptatum in laborum. Nihil cumque consequuntur ab sint sit labore delectus. Delectus aliquid est rerum doloribus tempore voluptatum vel."], ["created_at", "2014-09-26 19:47:44.574881"], ["name", "ad_ratione_animi"], ["title", "Et voluptas est"], ["updated_at", "2014-09-26 19:47:44.574881"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.578483"], ["updated_at", "2014-09-26 19:47:44.578483"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.579932"], ["updated_at", "2014-09-26 19:47:44.579932"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur cumque voluptates adipisci nesciunt. Sint excepturi quaerat. Fuga delectus suscipit magni pariatur qui earum.\nMollitia dignissimos laudantium. Assumenda ratione sit ipsam iste corporis aperiam quo. Ex dolore assumenda nesciunt id. Fugiat ut neque placeat ea inventore necessitatibus alias.\nFugiat labore aut sunt vitae quisquam. Sint libero voluptatum non voluptatem quasi quis sit. Qui aut incidunt libero omnis quam aut autem."], ["created_at", "2014-09-26 19:47:44.582014"], ["name", "quia_molestiae_aperiam"], ["title", "Dignissimos ab suscipit"], ["updated_at", "2014-09-26 19:47:44.582014"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_molestiae_aperiam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'quia_molestiae_aperiam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 19:47:44.585126"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_molestiae_aperiam"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-26 19:47:44.590663"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.595772"], ["updated_at", "2014-09-26 19:47:44.595772"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.597519"], ["updated_at", "2014-09-26 19:47:44.597519"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Blanditiis porro velit atque aut et distinctio. Suscipit non occaecati. Voluptas dolore quod placeat. Suscipit perferendis consequatur harum error at consequuntur cumque. Voluptates dolor laboriosam voluptatem aut rem cupiditate.\nIn error temporibus repellendus. Maxime ut eligendi quo. Hic quia commodi voluptates ipsam at ut rerum. Aut nobis perspiciatis id autem.\nNisi adipisci voluptas. Eum est eligendi. Nihil et rerum vitae fugiat. Ea non at cupiditate praesentium. Illum qui optio neque adipisci cum."], ["created_at", "2014-09-26 19:47:44.600564"], ["name", "sunt_inventore_dolor"], ["title", "Rerum cupiditate ut"], ["updated_at", "2014-09-26 19:47:44.600564"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.606719"], ["updated_at", "2014-09-26 19:47:44.606719"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.608556"], ["updated_at", "2014-09-26 19:47:44.608556"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Modi rem iure quidem molestiae magnam. Eaque laborum fugiat vero deserunt totam. Distinctio unde molestiae rem.\nNumquam odio modi ipsum ducimus autem quia. Maxime impedit voluptates blanditiis rerum. Perferendis officiis rerum.\nVoluptatem qui dicta ut. Ad dolor aliquam fuga. Hic et enim consequatur quibusdam et. Debitis reiciendis voluptatem eos. Dolore deleniti quia et."], ["created_at", "2014-09-26 19:47:44.610908"], ["name", "esse_sequi_ducimus"], ["title", "Odit et saepe"], ["updated_at", "2014-09-26 19:47:44.610908"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.615526"], ["updated_at", "2014-09-26 19:47:44.615526"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.616947"], ["updated_at", "2014-09-26 19:47:44.616947"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorum adipisci voluptatem unde. Explicabo omnis qui. Eum quam distinctio maxime id occaecati beatae. Suscipit ea quia enim quod facere et. Qui laudantium eos eveniet quos sapiente aperiam nisi.\nIn voluptatem delectus iusto esse ipsa quos atque. Distinctio doloribus dolorem ex itaque sunt sapiente ipsum. Doloremque consequuntur assumenda et est est a. Neque qui sunt omnis perferendis velit. Sed suscipit rerum maiores alias ut qui aspernatur.\nMolestias suscipit enim et animi dolorum. Tenetur molestias nostrum et quis animi. Cumque nam voluptatem minus nesciunt nulla quisquam ut. Cum ut in et dolores impedit ipsum."], ["created_at", "2014-09-26 19:47:44.619937"], ["name", "quis_perferendis_accusamus"], ["title", "Hic culpa dignissimos"], ["updated_at", "2014-09-26 19:47:44.619937"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_perferendis_accusamus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'quis_perferendis_accusamus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 19:47:44.624926"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.629137"], ["updated_at", "2014-09-26 19:47:44.629137"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.630712"], ["updated_at", "2014-09-26 19:47:44.630712"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Recusandae animi necessitatibus quia veritatis blanditiis aliquid nesciunt. Et ea et. Occaecati sint dolores laudantium rerum et dolor quidem. Error quaerat est. Ullam aut et explicabo repellat tenetur.\nEt aut mollitia voluptates perferendis illum illo. Voluptatibus perferendis qui sapiente magni officia et numquam. Repellat inventore quia exercitationem assumenda voluptatem.\nQuam temporibus tempora animi. Esse dolores aperiam. Rerum eos et. Ut aut et itaque in. At delectus alias enim."], ["created_at", "2014-09-26 19:47:44.632880"], ["name", "vitae_dolores_suscipit"], ["title", "Blanditiis nemo neque"], ["updated_at", "2014-09-26 19:47:44.632880"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vitae_dolores_suscipit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'vitae_dolores_suscipit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:47:44.635869"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.640482"], ["updated_at", "2014-09-26 19:47:44.640482"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.642080"], ["updated_at", "2014-09-26 19:47:44.642080"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cupiditate libero tempora pariatur sed reiciendis. Veniam in cum velit. Aut deserunt molestiae qui quidem atque fugit laborum. A eveniet ipsam blanditiis vel. Vel dicta sit optio aut sequi quibusdam.\nEt provident est est. Id quisquam sunt temporibus optio sequi. Dicta tempore quos architecto qui. Odit esse similique omnis quia. Molestiae qui omnis officiis sed expedita esse.\nDolorem assumenda consequuntur vel cupiditate nihil. Enim incidunt labore et tenetur aspernatur eveniet quos. Excepturi voluptas dignissimos voluptas aut non qui accusamus. Possimus commodi temporibus nisi inventore doloribus ex. Voluptas omnis cupiditate qui est tempore."], ["created_at", "2014-09-26 19:47:44.644382"], ["name", "iure_eos_aspernatur"], ["title", "Voluptatem similique autem"], ["updated_at", "2014-09-26 19:47:44.644382"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_eos_aspernatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'iure_eos_aspernatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 19:47:44.647467"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.653715"], ["updated_at", "2014-09-26 19:47:44.653715"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.655391"], ["updated_at", "2014-09-26 19:47:44.655391"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Natus voluptatem sit beatae minus aperiam reiciendis id. Placeat voluptatem totam. Et quidem dicta. Eveniet voluptatem est inventore. Voluptates qui facilis et et.\nEt aut qui. Commodi omnis perferendis. Quibusdam error quia fugiat ex facilis. Eius est voluptates maiores. Recusandae nihil delectus ea maxime est.\nEligendi rerum dolores. Est possimus fugit. Molestias minus modi officia id hic repellendus quia."], ["created_at", "2014-09-26 19:47:44.657645"], ["name", "neque_cumque_iusto"], ["title", "Maxime asperiores nostrum"], ["updated_at", "2014-09-26 19:47:44.657645"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 6, 3, 4, 12, 7, 15, 16, 5, 1, 10, 13, 8, 11, 2, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.667515"], ["updated_at", "2014-09-26 19:47:44.667515"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.669337"], ["updated_at", "2014-09-26 19:47:44.669337"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut perspiciatis enim reprehenderit quae sed. Voluptatum aut non consectetur id eaque voluptates ex. Praesentium dicta et neque maiores aliquid vitae vel. Sint reiciendis minus.\nUt id quasi repudiandae rem. Quo omnis sed qui laudantium enim doloribus. Vel amet quia in hic occaecati ullam.\nEaque distinctio aut dicta. Iste est modi sunt. Aut eaque sunt assumenda qui asperiores omnis esse."], ["created_at", "2014-09-26 19:47:44.672129"], ["name", "at_sed_quam"], ["title", "Dolorem odio enim"], ["updated_at", "2014-09-26 19:47:44.672129"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.676245"], ["updated_at", "2014-09-26 19:47:44.676245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.677729"], ["updated_at", "2014-09-26 19:47:44.677729"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quaerat neque suscipit cumque tempora explicabo. Necessitatibus expedita voluptatum quis minus aut. Dolorem nostrum dolor qui sunt. Vero doloribus minus animi. Voluptatibus voluptatem amet velit.\nDistinctio libero enim non. Earum rerum exercitationem consequatur veniam. Deserunt id qui excepturi error aliquam velit et.\nAd et aperiam nisi. Sed aut quibusdam voluptas non earum velit. Sed eveniet occaecati."], ["created_at", "2014-09-26 19:47:44.679758"], ["name", "doloribus_quo_dolorem"], ["title", "Delectus mollitia harum"], ["updated_at", "2014-09-26 19:47:44.679758"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 18]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 18]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 18 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.687304"], ["updated_at", "2014-09-26 19:47:44.687304"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.688932"], ["updated_at", "2014-09-26 19:47:44.688932"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi corrupti ea voluptas ipsum aliquam sed iure. Odit voluptatem aspernatur quos reprehenderit sunt non quis. Nihil expedita ut quae est provident nesciunt hic. Accusamus neque suscipit quisquam pariatur et.\nDolores sit facere corrupti possimus et facilis sit. Maiores natus molestias. Molestias quis in. Adipisci illo laborum ut accusamus doloribus.\nFacere omnis illum. Eos ut facilis tempora harum. Molestiae velit aliquam. Cum ipsam rerum dolorem laborum atque voluptas qui."], ["created_at", "2014-09-26 19:47:44.691276"], ["name", "maiores_et_non"], ["title", "Et totam ratione"], ["updated_at", "2014-09-26 19:47:44.691276"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cum eos deserunt aspernatur minima voluptatum dolores repudiandae. Distinctio itaque et quibusdam. Fuga omnis dolores dolorum labore placeat.\nVoluptatem mollitia neque veritatis sed labore est. Quam sunt aliquid qui reiciendis quia quo. Expedita consequatur voluptate.\nSit sunt quis rem. Adipisci esse deserunt. Sed omnis non. Odio molestiae consectetur ipsum dolore necessitatibus. Quod est consequuntur impedit aperiam in suscipit omnis."], ["created_at", "2014-09-26 19:47:44.695737"], ["name", "hic_itaque_voluptatem"], ["title", "Repellat nobis impedit"], ["updated_at", "2014-09-26 19:47:44.695737"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repudiandae_quisquam_suscipit"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'repudiandae_quisquam_suscipit') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut fugit explicabo deleniti. Distinctio quibusdam tempore non veritatis. Sunt dolor et. Et saepe molestiae harum. Cum excepturi exercitationem.\nUt sint laudantium tempore odit possimus. Cum quia enim et modi. Voluptate dolorem sed incidunt qui non officia at.\nQuam eligendi et et rerum provident praesentium. Ducimus distinctio ab voluptatum in tenetur. Autem dolores autem aut explicabo repudiandae. Sunt iusto iste dolores est voluptatem vel. Sint ipsum iste voluptatem voluptates."], ["created_at", "2014-09-26 19:47:44.702394"], ["name", "repudiandae_quisquam_suscipit"], ["title", "Quam distinctio optio"], ["updated_at", "2014-09-26 19:47:44.702394"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "similique_dolorem_ipsa"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'similique_dolorem_ipsa') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Mollitia ratione odit nemo rerum iure distinctio. Corporis doloribus laudantium aut sunt. Quos dolore hic nulla. Reprehenderit consequuntur autem nobis itaque ad.\nEarum alias non. Perferendis molestiae consectetur. Suscipit dolor omnis perspiciatis. Iure ducimus enim consequatur placeat adipisci. Laboriosam repellat ut.\nNemo odio dolorem. Delectus sit ea illo. Molestiae cupiditate illo recusandae eum. Dicta similique sint quidem praesentium qui. Voluptas dolores dolor possimus aut quia recusandae magnam."], ["created_at", "2014-09-26 19:47:44.712434"], ["name", "similique_dolorem_ipsa"], ["title", "Consequuntur corporis molestiae"], ["updated_at", "2014-09-26 19:47:44.712434"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'similique_dolorem_ipsa' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Mollitia ratione odit nemo rerum iure distinctio. Corporis doloribus laudantium aut sunt. Quos dolore hic nulla. Reprehenderit consequuntur autem nobis itaque ad.\nEarum alias non. Perferendis molestiae consectetur. Suscipit dolor omnis perspiciatis. Iure ducimus enim consequatur placeat adipisci. Laboriosam repellat ut.\nNemo odio dolorem. Delectus sit ea illo. Molestiae cupiditate illo recusandae eum. Dicta similique sint quidem praesentium qui. Voluptas dolores dolor possimus aut quia recusandae magnam."], ["created_at", "2014-09-26 19:47:44.714930"], ["name", "joe"], ["title", "Consequuntur corporis molestiae"], ["updated_at", "2014-09-26 19:47:44.714930"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 19:47:44.717861"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique reiciendis eum. Suscipit quibusdam voluptas corporis. Quis natus architecto mollitia ad laudantium temporibus. Voluptate error et eveniet sequi reprehenderit dolore. Et voluptas accusamus velit possimus eveniet.\nError et minus id explicabo dolores. Voluptas molestiae alias quo quis nam non. Voluptatem ut neque eum ut quod. Enim officia et voluptatibus adipisci ut tempore.\nDignissimos ut tempora. Magni id ratione et consequatur iusto. Aspernatur distinctio quia eius ut fugit. Architecto quasi quae quos."], ["created_at", "2014-09-26 19:47:44.721561"], ["name", "neque_quod_tempora"], ["title", "Ipsum rerum ut"], ["updated_at", "2014-09-26 19:47:44.721561"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "neque_quod_tempora"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'neque_quod_tempora') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-26 19:47:44.724543"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.729053"], ["updated_at", "2014-09-26 19:47:44.729053"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 19:47:44.729801"], ["updated_at", "2014-09-26 19:47:44.729801"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'neque_quod_tempora') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "neque_quod_tempora"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Perferendis vel quia laboriosam est aut. Quaerat nam et corporis sequi consequatur. Molestiae voluptas reiciendis sit aliquid et nisi. Nostrum et ipsum est repellat rerum sit ut. Explicabo in eius delectus quas voluptas fuga.\nOdio unde autem vitae eum error soluta repudiandae. Voluptatem eum suscipit deserunt. Laborum nulla rerum voluptas. Et a quam. Deserunt dolor voluptatem neque.\nAut ut aliquam velit error rerum optio. Eligendi exercitationem amet enim repellendus et ipsam. Ducimus tempore qui ipsam ipsum. Autem consequatur dolor et aperiam odio. Eum dolores eaque quod consequuntur recusandae odit."], ["created_at", "2014-09-26 19:47:44.741691"], ["name", "id_earum_et"], ["title", "Accusantium enim debitis"], ["updated_at", "2014-09-26 19:47:44.741691"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_earum_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'id_earum_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:47:44.746004"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_earum_et"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_earum_et"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:47:44.750464"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_tempore_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ea_tempore_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Distinctio est vero et tempore reiciendis ut. Dolores et aut eligendi. Itaque omnis eum recusandae tempore est similique quae. Fuga cum omnis cumque dolor nihil odio blanditiis.\nDolorem unde recusandae. Ea maiores quis dolore nam. Pariatur a sunt praesentium fuga.\nNam libero fugiat accusantium. Exercitationem laboriosam labore reprehenderit. Non et sit facere ipsa error."], ["created_at", "2014-09-26 19:47:44.755358"], ["name", "ea_tempore_qui"], ["title", "Veniam dolor nobis"], ["updated_at", "2014-09-26 19:47:44.755358"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ea_tempore_qui' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Distinctio est vero et tempore reiciendis ut. Dolores et aut eligendi. Itaque omnis eum recusandae tempore est similique quae. Fuga cum omnis cumque dolor nihil odio blanditiis.\nDolorem unde recusandae. Ea maiores quis dolore nam. Pariatur a sunt praesentium fuga.\nNam libero fugiat accusantium. Exercitationem laboriosam labore reprehenderit. Non et sit facere ipsa error."], ["created_at", "2014-09-26 19:47:44.757738"], ["name", "ea_tempore_qui"], ["title", "Veniam dolor nobis"], ["updated_at", "2014-09-26 19:47:44.757738"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_tempore_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'ea_tempore_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-26 19:47:44.760732"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.764069"], ["updated_at", "2014-09-26 19:47:44.764069"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.765533"], ["updated_at", "2014-09-26 19:47:44.765533"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.770667"], ["updated_at", "2014-09-26 19:47:44.770667"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.772777"], ["updated_at", "2014-09-26 19:47:44.772777"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem explicabo sapiente. Quod quaerat dignissimos. Est id quaerat vel quia quam porro. Ducimus molestias rem aperiam molestiae.\nRepudiandae consectetur nihil. Distinctio et ab eveniet. Perferendis fugit consequuntur.\nSit in minima excepturi similique natus. Est et nulla ipsa. Cumque saepe occaecati repellendus. Distinctio quam autem qui explicabo voluptatem. Vitae aperiam eligendi ipsam et."], ["created_at", "2014-09-26 19:47:44.780108"], ["name", "alpha"], ["title", "Distinctio voluptatem deleniti"], ["updated_at", "2014-09-26 19:47:44.780108"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Deserunt vel autem. Fugit dolor et eius ratione. Corporis enim aspernatur ut sint est quo eum.\nAsperiores ex fugit omnis nobis corporis. Provident libero porro reprehenderit odio. Unde exercitationem omnis vitae alias. Vel perferendis ipsum voluptatem. Omnis expedita autem et porro.\nBlanditiis molestiae dicta et facilis ipsa. Similique est mollitia quas. Eligendi molestiae et id cumque et error."], ["created_at", "2014-09-26 19:47:44.783985"], ["name", "beta"], ["title", "Consectetur vitae quas"], ["updated_at", "2014-09-26 19:47:44.783985"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.786150"], ["updated_at", "2014-09-26 19:47:44.786150"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 19:47:44.789007"], ["updated_at", "2014-09-26 19:47:44.789007"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 19:47:44.791506"], ["updated_at", "2014-09-26 19:47:44.791506"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:47:44.793872"], ["name", "alpha"], ["title", "Distinctio voluptatem deleniti"], ["updated_at", "2014-09-26 19:47:44.793872"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-26 19:47:44.797048"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 19:47:44.812039"], ["updated_at", "2014-09-26 19:47:44.812039"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ad accusamus nihil consequatur. Qui libero in debitis voluptatum est similique. Corrupti dolor aut. Pariatur officia ratione rerum nostrum facere voluptas quaerat. Enim error totam.\nAd atque cumque architecto non sit provident. Voluptas porro itaque ad distinctio et rem illo. Et ex vitae veniam. Sed impedit enim nesciunt corrupti. Quasi ut quos distinctio numquam.\nDoloribus id quaerat quos illum expedita perferendis temporibus. Dolorem est aspernatur cupiditate. Illum consectetur consequuntur et qui. Quis in velit est. Aliquam reiciendis voluptatem debitis minima laborum commodi ea."], ["created_at", "2014-09-26 19:47:44.827198"], ["name", "alpha"], ["title", "Animi saepe occaecati"], ["updated_at", "2014-09-26 19:47:44.827198"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor error et vel non. Eum occaecati eveniet aliquam nihil quisquam aut. Dolores nihil eum tenetur deleniti assumenda velit velit.\nVoluptatum minima adipisci laborum. Commodi sequi nam tempore modi culpa. Est voluptatum magni sunt minus.\nSoluta blanditiis fugiat ipsum adipisci dolor doloremque animi. Quae eius qui corrupti doloribus. Occaecati in eos ut dolore. Iusto dolores exercitationem amet."], ["created_at", "2014-09-26 19:47:44.831244"], ["name", "beta"], ["title", "Temporibus sequi et"], ["updated_at", "2014-09-26 19:47:44.831244"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.832825"], ["updated_at", "2014-09-26 19:47:44.832825"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-26 19:47:44.835464"], ["updated_at", "2014-09-26 19:47:44.835464"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-26 19:47:44.838017"], ["updated_at", "2014-09-26 19:47:44.838017"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:47:44.840259"], ["name", "alpha"], ["title", "Animi saepe occaecati"], ["updated_at", "2014-09-26 19:47:44.840259"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:47:44.843280"], ["version", 4]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (33, 32, 27, 15, 23, 24, 5, 13, 21, 22, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Atque sit deserunt. Sunt reprehenderit dolor sed modi sed et qui. Quasi in porro.\nNatus accusantium et id at quia maiores nemo. Qui fuga praesentium tempore aut ducimus sunt. Voluptas qui laudantium alias eum fuga voluptatem reprehenderit. Nihil enim dolorem fugit et. At neque est.\nVel occaecati ad sit officiis repudiandae quos itaque. Aut et quis quam qui nisi. Sed error omnis ipsam eum. Enim voluptate commodi ullam. Accusantium laboriosam quasi officia impedit quis sequi quia."], ["created_at", "2014-09-26 19:47:44.851905"], ["name", "alpha"], ["title", "Qui voluptates soluta"], ["updated_at", "2014-09-26 19:47:44.851905"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur quasi eius dolorem accusamus. Tenetur ea quidem similique nemo voluptas at. Enim molestiae sapiente architecto.\nAccusantium id quia libero. Sunt non est qui. Debitis reiciendis quaerat nam fugiat ut. Nihil blanditiis est eaque. Molestiae voluptatem voluptatibus qui amet accusantium voluptas.\nSed odio sint fuga nihil laborum. Quasi alias aut commodi molestiae qui est et. Accusantium qui enim id. Eum distinctio architecto minus. Ipsum ea placeat perferendis vel ut."], ["created_at", "2014-09-26 19:47:44.855886"], ["name", "beta"], ["title", "Illo quis autem"], ["updated_at", "2014-09-26 19:47:44.855886"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.857584"], ["updated_at", "2014-09-26 19:47:44.857584"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 19:47:44.860389"], ["updated_at", "2014-09-26 19:47:44.860389"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-26 19:47:44.862840"], ["updated_at", "2014-09-26 19:47:44.862840"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:47:44.865057"], ["name", "alpha"], ["title", "Qui voluptates soluta"], ["updated_at", "2014-09-26 19:47:44.865057"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 19:47:44.868735"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cumque temporibus aut. Aut ut eos sit impedit. Sunt et consequatur fugiat.\nMinima quia aliquid expedita perspiciatis voluptatem sunt. Voluptas dolor minus ea. Optio minima voluptatum.\nDolor ratione expedita. Optio vitae necessitatibus. Molestiae tempora asperiores laborum. Animi quo voluptatum fugit."], ["created_at", "2014-09-26 19:47:44.876985"], ["name", "alpha"], ["title", "Quibusdam odio commodi"], ["updated_at", "2014-09-26 19:47:44.876985"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius voluptatem voluptas nostrum sint enim cumque est. Natus et qui. Eum qui amet et sunt quam. Consectetur nihil nemo dolor. Et praesentium sit unde porro velit.\nRecusandae optio dolores ut. Ut distinctio qui aut enim. Deleniti cupiditate dolorum ex. Molestiae rerum repudiandae sed autem. Repudiandae dolor expedita earum non velit itaque.\nConsequatur quam quo dolores quia error. Neque ut voluptas et nostrum et quia. Est quia est autem non est sit fuga. Aliquam ea placeat nulla odit. Qui id nam suscipit."], ["created_at", "2014-09-26 19:47:44.881054"], ["name", "beta"], ["title", "Culpa et nihil"], ["updated_at", "2014-09-26 19:47:44.881054"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.882704"], ["updated_at", "2014-09-26 19:47:44.882704"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 19:47:44.885296"], ["updated_at", "2014-09-26 19:47:44.885296"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-26 19:47:44.888101"], ["updated_at", "2014-09-26 19:47:44.888101"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:47:44.890394"], ["name", "alpha"], ["title", "Quibusdam odio commodi"], ["updated_at", "2014-09-26 19:47:44.890394"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-26 19:47:44.893421"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (39, 38) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.900369"], ["updated_at", "2014-09-26 19:47:44.900369"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.902010"], ["updated_at", "2014-09-26 19:47:44.902010"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_recusandae_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rerum_recusandae_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iusto asperiores voluptatem laborum. Fugit ea itaque est et voluptatem. Expedita voluptatem quia amet laudantium sed.\nCorporis saepe aperiam sed quidem vero. Dolor dolor autem et. Eos fugit dicta porro quas.\nMaxime vel itaque fugit accusamus. Voluptas ut ea voluptatem sunt accusantium facere. Tempore sapiente voluptatum voluptatem. Voluptatem est incidunt explicabo. Sunt doloremque enim cum quas nihil fugit asperiores."], ["created_at", "2014-09-26 19:47:44.906324"], ["name", "rerum_recusandae_et"], ["title", "Cum assumenda impedit"], ["updated_at", "2014-09-26 19:47:44.906324"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.909137"], ["updated_at", "2014-09-26 19:47:44.909137"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 19:47:44.909749"], ["updated_at", "2014-09-26 19:47:44.909749"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.914609"], ["updated_at", "2014-09-26 19:47:44.914609"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.916194"], ["updated_at", "2014-09-26 19:47:44.916194"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequuntur_hic_voluptatem"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequuntur_hic_voluptatem') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae rerum tempore eveniet veniam. Rerum libero sunt quam eaque accusantium eum quia. Aperiam dolor et porro consequatur quos velit ut. Nobis eos aut non amet. Aspernatur reiciendis quia excepturi.\nEa voluptatem dolores delectus. Id error est et at quasi minima. Voluptatum voluptate reprehenderit molestias ut a id esse.\nVel quis eligendi consequatur atque numquam consequatur aperiam. Tempora sunt asperiores excepturi voluptatem et. Reprehenderit facilis quod magnam. Ratione quibusdam quia quaerat. Et similique molestiae ut modi."], ["created_at", "2014-09-26 19:47:44.921838"], ["name", "consequuntur_hic_voluptatem"], ["title", "Laboriosam quos consequatur"], ["updated_at", "2014-09-26 19:47:44.921838"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:44.924683"], ["updated_at", "2014-09-26 19:47:44.924683"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-26 19:47:44.925267"], ["updated_at", "2014-09-26 19:47:44.925267"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Redirected to http://test.host/fine_print/contracts/41/signatures?r=bWREd1BuTks2UTd1VW1jc0llOC9Ddz09LS13bjdsY2JEOXlqVFU4dk5zNk1nUVRBPT0%3D--296772dbff2a3328532a17f3bda3801ca873ea51 Completed 302 Found in 197ms (ActiveRecord: 1.2ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 12 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.126618"], ["updated_at", "2014-09-26 19:47:45.126618"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.128327"], ["updated_at", "2014-09-26 19:47:45.128327"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "necessitatibus_aliquid_cupiditate"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'necessitatibus_aliquid_cupiditate') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Impedit sunt pariatur. Nulla quia tempora ut asperiores sint eos est. Voluptatum velit ducimus delectus qui.\nQuia voluptas reprehenderit ullam et ut voluptatem. Id esse vitae. Et qui maiores temporibus nihil tempora. Explicabo ipsum dolor quidem voluptatem.\nAdipisci voluptatem dignissimos voluptas maiores. Illo qui impedit. Quas ut aspernatur error."], ["created_at", "2014-09-26 19:47:45.132687"], ["name", "necessitatibus_aliquid_cupiditate"], ["title", "Eligendi quo molestiae"], ["updated_at", "2014-09-26 19:47:45.132687"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.135310"], ["updated_at", "2014-09-26 19:47:45.135310"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 19:47:45.135967"], ["updated_at", "2014-09-26 19:47:45.135967"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.141593"], ["updated_at", "2014-09-26 19:47:45.141593"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.144169"], ["updated_at", "2014-09-26 19:47:45.144169"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "soluta_odit_ducimus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'soluta_odit_ducimus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sit consequatur quas. Et quod et est sint. Atque et et aut voluptas totam veniam. Perspiciatis neque voluptatem quam perferendis vel dolorum suscipit.\nMolestiae est vel. Exercitationem nisi eum molestiae. Qui eius sequi possimus odit quas. Aut qui error esse dolor consectetur delectus. Est eos fugit consequatur repellat.\nUllam aut dolore dolor ratione. Voluptates ut et dicta at. Ex qui numquam delectus. Maxime praesentium quas sint."], ["created_at", "2014-09-26 19:47:45.149794"], ["name", "soluta_odit_ducimus"], ["title", "Quod corporis consequatur"], ["updated_at", "2014-09-26 19:47:45.149794"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.154804"], ["updated_at", "2014-09-26 19:47:45.154804"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 19:47:45.155580"], ["updated_at", "2014-09-26 19:47:45.155580"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.163187"], ["updated_at", "2014-09-26 19:47:45.163187"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.164768"], ["updated_at", "2014-09-26 19:47:45.164768"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_est_ut"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vel_est_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut doloribus necessitatibus rem voluptatibus quasi a et. Veniam est dolores officiis exercitationem libero sit officia. Id ipsa soluta magni delectus facilis.\nConsequuntur itaque recusandae accusamus. Est aperiam aut enim voluptatibus sunt. Et officiis atque.\nQuaerat ullam vero. Est reprehenderit totam eos est magnam sunt. Harum unde vel omnis. Soluta sint eligendi voluptatibus dolore minus et nostrum. Repudiandae eaque reprehenderit quidem."], ["created_at", "2014-09-26 19:47:45.171550"], ["name", "vel_est_ut"], ["title", "Quo aut praesentium"], ["updated_at", "2014-09-26 19:47:45.171550"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.174567"], ["updated_at", "2014-09-26 19:47:45.174567"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-26 19:47:45.175169"], ["updated_at", "2014-09-26 19:47:45.175169"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.184531"], ["updated_at", "2014-09-26 19:47:45.184531"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.186646"], ["updated_at", "2014-09-26 19:47:45.186646"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rem_cumque_magni"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rem_cumque_magni') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iste quasi praesentium quas voluptatem. Ut sed tenetur consequatur molestiae eius saepe laudantium. Expedita ut voluptatem dolores modi commodi dolore. Deserunt quisquam labore nam. Nostrum excepturi qui deleniti rem enim aut at.\nConsequatur sunt amet rem consectetur autem cupiditate vero. Ipsa rerum et facere voluptatem est. Delectus laborum fugit qui similique quia sed alias.\nVero et autem dolorem expedita optio. Eius non cum ullam consequatur esse fugiat ea. Voluptates animi in. Vel iste velit porro."], ["created_at", "2014-09-26 19:47:45.193087"], ["name", "rem_cumque_magni"], ["title", "Est minima saepe"], ["updated_at", "2014-09-26 19:47:45.193087"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.196477"], ["updated_at", "2014-09-26 19:47:45.196477"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 19:47:45.197133"], ["updated_at", "2014-09-26 19:47:45.197133"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.202161"], ["updated_at", "2014-09-26 19:47:45.202161"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.203886"], ["updated_at", "2014-09-26 19:47:45.203886"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "cupiditate_facere_voluptatum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'cupiditate_facere_voluptatum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nesciunt accusamus alias occaecati cum a. Odit aut reiciendis culpa. Consequatur doloribus exercitationem occaecati libero corrupti aut neque. Esse rerum quibusdam voluptatem.\nEos eos sint quo consequatur facere accusamus. Dolore soluta distinctio doloremque. Voluptas illo magni. Sapiente expedita veritatis voluptate cum. Eum tempora ratione non recusandae in aut.\nAutem vero ut ipsum id quo eum soluta. Beatae dignissimos vero dolores officiis aspernatur. Iusto voluptatem omnis et. Assumenda expedita voluptas laudantium. Qui dolores repudiandae dicta dolore explicabo ad id."], ["created_at", "2014-09-26 19:47:45.209524"], ["name", "cupiditate_facere_voluptatum"], ["title", "Saepe et vero"], ["updated_at", "2014-09-26 19:47:45.209524"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.212841"], ["updated_at", "2014-09-26 19:47:45.212841"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 19:47:45.214063"], ["updated_at", "2014-09-26 19:47:45.214063"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.225545"], ["updated_at", "2014-09-26 19:47:45.225545"]]  (0.6ms) commit transaction  (0.4ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.227804"], ["updated_at", "2014-09-26 19:47:45.227804"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_esse_tempora"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_esse_tempora') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Reprehenderit et consequatur iure est omnis veritatis. Et voluptatem molestias consequatur reprehenderit enim quia. Pariatur facere impedit aut odit. Quo fugit mollitia voluptates enim. Aut officia rerum iure magni molestiae atque.\nAut hic corrupti adipisci. Non qui veritatis facilis. Alias qui voluptas. Eaque eum qui at enim in reprehenderit et. Nulla odio ut quia molestiae.\nSapiente quas fugiat dolorem velit ad. Voluptate accusamus ut aspernatur necessitatibus qui ab nostrum. Doloribus nesciunt vero sint quia."], ["created_at", "2014-09-26 19:47:45.233989"], ["name", "et_esse_tempora"], ["title", "Dolor molestiae alias"], ["updated_at", "2014-09-26 19:47:45.233989"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:47:45.237691"], ["updated_at", "2014-09-26 19:47:45.237691"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 19:47:45.238311"], ["updated_at", "2014-09-26 19:47:45.238311"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.390315"], ["updated_at", "2014-09-26 19:48:06.390315"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.397285"], ["updated_at", "2014-09-26 19:48:06.397285"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil in aspernatur cum. Sunt quam doloremque mollitia ut nihil non. Voluptatibus et optio voluptatem neque laboriosam. Accusamus est voluptatem ut velit expedita molestiae in. Doloribus amet qui.\nTempora magnam ad. Optio incidunt quas. Autem qui quia quis.\nConsectetur laudantium ipsum est sapiente. Repellat iusto fugiat suscipit et repellendus mollitia. Et assumenda omnis voluptatem hic laboriosam incidunt. Occaecati facilis sed. Quibusdam voluptatibus quo modi."], ["created_at", "2014-09-26 19:48:06.610624"], ["name", "quod_iste_enim"], ["title", "Eum illo illum"], ["updated_at", "2014-09-26 19:48:06.610624"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quod_iste_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'quod_iste_enim') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 19:48:06.625782"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 14ms (ActiveRecord: 1.6ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.632598"], ["updated_at", "2014-09-26 19:48:06.632598"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.634199"], ["updated_at", "2014-09-26 19:48:06.634199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et a eum non. Commodi inventore sit. Placeat voluptatibus voluptate. Aperiam ea magni repellat et et. Aut perferendis aut est ex rerum.\nRem et et ullam. Consequatur repudiandae enim quaerat dicta. Sint dignissimos in illum culpa temporibus ratione. Iste maiores accusantium exercitationem nesciunt ullam.\nRerum repellat in autem sit. Velit ut modi soluta laudantium a. Optio nemo quaerat ea nihil. Commodi perspiciatis nihil consectetur. Saepe ipsa voluptas."], ["created_at", "2014-09-26 19:48:06.636461"], ["name", "et_maxime_similique"], ["title", "Facilis voluptatem architecto"], ["updated_at", "2014-09-26 19:48:06.636461"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_maxime_similique"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'et_maxime_similique') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 19:48:06.639595"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_maxime_similique"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-26 19:48:06.644807"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.649065"], ["updated_at", "2014-09-26 19:48:06.649065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.650556"], ["updated_at", "2014-09-26 19:48:06.650556"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Atque debitis quis. Eius veniam omnis. Aut voluptas voluptas et autem occaecati qui beatae. Neque dignissimos est.\nFuga quas sit ipsa quia cumque repudiandae qui. Ut fugiat eum amet est. Et ratione quia saepe consequatur excepturi labore dolor. Voluptas et rerum adipisci.\nQuibusdam sequi sapiente omnis consectetur expedita voluptas. Ut commodi animi quae illum id aut aut. Ratione enim eos. Id tempore odio iusto. Dicta voluptatem culpa aliquid maiores qui voluptatem aliquam."], ["created_at", "2014-09-26 19:48:06.652714"], ["name", "voluptatem_libero_cumque"], ["title", "Et natus repellendus"], ["updated_at", "2014-09-26 19:48:06.652714"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (2, 1, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.665604"], ["updated_at", "2014-09-26 19:48:06.665604"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.667370"], ["updated_at", "2014-09-26 19:48:06.667370"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maiores et sed laboriosam. Optio voluptas atque aut minima adipisci accusantium. Unde beatae sequi tempora cum reprehenderit totam maxime. Aut velit placeat inventore veritatis.\nNumquam cum quasi aut libero beatae. Unde exercitationem sed similique ut autem qui. Quia ut dolore officia nesciunt. Laborum at tempore nobis enim fugit.\nVeniam molestias laborum voluptate est. Ipsam ut assumenda. Dolores sit nisi in velit aut est dolor."], ["created_at", "2014-09-26 19:48:06.670310"], ["name", "expedita_corrupti_fugiat"], ["title", "Nisi quasi minus"], ["updated_at", "2014-09-26 19:48:06.670310"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.675115"], ["updated_at", "2014-09-26 19:48:06.675115"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.676590"], ["updated_at", "2014-09-26 19:48:06.676590"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quos voluptatem at enim nobis excepturi debitis sed. Quo ut soluta. Hic quas quam. Ullam aut excepturi qui eveniet fugit.\nVoluptate officiis deserunt praesentium. Quia eum aut est dolores. Ipsa excepturi consectetur nihil voluptatibus odit consequatur facere. Repudiandae accusantium reprehenderit est molestias.\nOmnis illo dolorem iure eos. Quam nostrum enim. Necessitatibus delectus adipisci sed molestiae. Reprehenderit dolores assumenda. Similique enim rerum omnis iusto non."], ["created_at", "2014-09-26 19:48:06.678939"], ["name", "soluta_non_et"], ["title", "Et assumenda rerum"], ["updated_at", "2014-09-26 19:48:06.678939"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "soluta_non_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'soluta_non_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 19:48:06.682238"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.686706"], ["updated_at", "2014-09-26 19:48:06.686706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.688162"], ["updated_at", "2014-09-26 19:48:06.688162"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Unde excepturi dicta error ut hic et. Sapiente dolor quos. Autem officiis vel laborum libero. Velit laborum minima perferendis impedit facilis corrupti et. Cum et dolor.\nItaque debitis impedit vel. Dolorum quae aliquid quasi error laboriosam in. Corporis qui doloribus ea quaerat. Hic ducimus laudantium tenetur in voluptas. Mollitia quasi est aut quo quaerat voluptas reprehenderit.\nEarum aut ullam odio. In rem recusandae beatae nihil excepturi. Unde soluta placeat autem rerum ipsum veniam cupiditate. Illo molestias enim."], ["created_at", "2014-09-26 19:48:06.690444"], ["name", "sed_rerum_sed"], ["title", "Perferendis pariatur alias"], ["updated_at", "2014-09-26 19:48:06.690444"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:48:06.693263"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:48:06.693263"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.696949"], ["updated_at", "2014-09-26 19:48:06.696949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.698459"], ["updated_at", "2014-09-26 19:48:06.698459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem earum saepe. Distinctio beatae quod amet quis. Optio labore eum. Autem nihil repudiandae.\nQuidem rem magnam sit alias enim ipsam veritatis. Mollitia eaque repellendus voluptatem similique ut sit pariatur. Repellat dolore maxime quod quam aut ut.\nExplicabo velit ducimus dignissimos. Qui nobis ut qui debitis sit est. Quidem repudiandae enim ut hic a. Harum a doloremque deserunt voluptates ex sit placeat."], ["created_at", "2014-09-26 19:48:06.700628"], ["name", "autem_quia_asperiores"], ["title", "Nihil iure deleniti"], ["updated_at", "2014-09-26 19:48:06.700628"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.704505"], ["updated_at", "2014-09-26 19:48:06.704505"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.706043"], ["updated_at", "2014-09-26 19:48:06.706043"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ad neque eum commodi architecto esse aliquid facilis. Ipsum in excepturi aut. Eveniet animi a aut eligendi quod tempora. Sit praesentium odio.\nDolore accusamus aliquid. Doloribus natus nostrum ipsa nam repellat aut dignissimos. Quis itaque distinctio quidem sed.\nLabore odio cumque deleniti. Et aut quasi libero officia deleniti et totam. Et eos corrupti aliquid eos."], ["created_at", "2014-09-26 19:48:06.708197"], ["name", "fugiat_hic_quis"], ["title", "Omnis aut sunt"], ["updated_at", "2014-09-26 19:48:06.708197"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.713487"], ["updated_at", "2014-09-26 19:48:06.713487"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.715245"], ["updated_at", "2014-09-26 19:48:06.715245"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magni et non quis architecto ipsam odio. Et et id fugiat corporis. Nemo repudiandae magnam quia et distinctio. Sit eligendi velit. Reiciendis nemo eius rem provident ut.\nEarum dolor dolor laborum aut voluptas et. Est libero sed suscipit possimus et non voluptatibus. Soluta et et amet nisi nulla consequatur.\nMolestiae sit quam ipsa et sed consequuntur. Omnis assumenda praesentium et. Neque esse libero officiis est doloremque amet quis. Fuga facilis impedit nihil quam."], ["created_at", "2014-09-26 19:48:06.717919"], ["name", "natus_dignissimos_quia"], ["title", "Rerum laudantium quibusdam"], ["updated_at", "2014-09-26 19:48:06.717919"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.723980"], ["updated_at", "2014-09-26 19:48:06.723980"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.725633"], ["updated_at", "2014-09-26 19:48:06.725633"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iste enim ducimus accusamus qui deserunt. Quibusdam non a culpa. Aperiam eligendi nostrum voluptas aliquid tempore vitae aut. Eligendi sint temporibus. Voluptatum blanditiis et accusamus.\nVeniam iure amet quas. Atque adipisci inventore nam. Enim at optio. Dolore perspiciatis incidunt et accusamus maiores.\nQuam in qui expedita voluptas qui ab. Voluptatem in voluptas nihil. Ducimus et illum. Occaecati velit dolorum voluptates sint reiciendis ab omnis. Qui ipsam est corrupti."], ["created_at", "2014-09-26 19:48:06.727865"], ["name", "sit_aliquid_eos"], ["title", "Aut rerum minima"], ["updated_at", "2014-09-26 19:48:06.727865"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.732354"], ["updated_at", "2014-09-26 19:48:06.732354"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.733860"], ["updated_at", "2014-09-26 19:48:06.733860"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem amet aut doloremque fugiat et dolorem non. Ut atque ea blanditiis nostrum. Repellat eum ea. Sunt nesciunt porro. Minima et quaerat aut.\nVelit et doloribus quod commodi asperiores. Veniam excepturi eaque est dolor sed fuga. Aspernatur aut eaque hic sint sed nostrum sit.\nQuos vero qui porro eligendi aut. Eius quis esse. Quae incidunt voluptatem est. Beatae numquam sit voluptas."], ["created_at", "2014-09-26 19:48:06.736129"], ["name", "natus_in_et"], ["title", "Alias officiis voluptatem"], ["updated_at", "2014-09-26 19:48:06.736129"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.741524"], ["updated_at", "2014-09-26 19:48:06.741524"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.742990"], ["updated_at", "2014-09-26 19:48:06.742990"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est repudiandae ipsum minus iusto qui omnis. Molestiae voluptas enim. Voluptatum ut est aut vero placeat vel. Eaque ut odit distinctio id dolorem consequatur. Cumque iste ut.\nNumquam et saepe nulla. Cumque eos perferendis fugiat rerum porro non. Mollitia nisi est tempora aut.\nAd et ipsam iste voluptatem corporis et est. Eum explicabo qui qui optio at similique. Quibusdam est voluptates ab qui temporibus consequuntur. Impedit deleniti ratione necessitatibus iste. Hic possimus earum perferendis totam dolor qui distinctio."], ["created_at", "2014-09-26 19:48:06.745310"], ["name", "ipsa_saepe_explicabo"], ["title", "Consectetur autem exercitationem"], ["updated_at", "2014-09-26 19:48:06.745310"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.749408"], ["updated_at", "2014-09-26 19:48:06.749408"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.750988"], ["updated_at", "2014-09-26 19:48:06.750988"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "At ratione aliquid. Dolorem rerum perferendis beatae adipisci. Animi sint ratione dolor nostrum.\nAnimi temporibus dolorum quos deserunt dicta. Dolore nihil sit sed dolorem enim. Consequatur magni nemo et officiis aut in. Mollitia dolores cupiditate neque voluptatem explicabo.\nLaboriosam qui neque. Qui et officiis autem qui deleniti. Nihil a sint est suscipit aspernatur molestiae sunt."], ["created_at", "2014-09-26 19:48:06.753770"], ["name", "non_est_magnam"], ["title", "Dicta aut fugiat"], ["updated_at", "2014-09-26 19:48:06.753770"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.760291"], ["updated_at", "2014-09-26 19:48:06.760291"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.761841"], ["updated_at", "2014-09-26 19:48:06.761841"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Blanditiis voluptas delectus aut cumque repudiandae consectetur nisi. Cumque harum qui tempora perspiciatis amet sunt. Aperiam accusamus non corrupti nostrum.\nPlaceat ut aut delectus rerum aspernatur incidunt voluptatem. Sint est perspiciatis ullam modi quae. Quasi aliquid necessitatibus esse doloribus inventore.\nVoluptas velit error fugit qui consequuntur minus. Voluptas et quia. Eius corporis molestiae nulla in autem. Iure aut velit voluptas."], ["created_at", "2014-09-26 19:48:06.764027"], ["name", "quae_possimus_repellendus"], ["title", "Nobis dolor in"], ["updated_at", "2014-09-26 19:48:06.764027"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.767950"], ["updated_at", "2014-09-26 19:48:06.767950"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.769516"], ["updated_at", "2014-09-26 19:48:06.769516"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum quo sed pariatur voluptas. Numquam corporis tempore ea ratione. Voluptatibus quia iusto minus laudantium magni voluptas at. Maxime officia voluptatum velit est. Architecto dolor et voluptates ut dolorem.\nVel recusandae optio minima ut quibusdam et. Quisquam qui blanditiis. Unde illo ut sunt quos beatae provident. Quam dolor illo. Iure assumenda temporibus.\nEt quia necessitatibus veritatis quia ut autem. Consequatur maiores odio quis magni iure pariatur rerum. Magnam autem tempore."], ["created_at", "2014-09-26 19:48:06.771810"], ["name", "quidem_reiciendis_iure"], ["title", "Facere sed voluptatum"], ["updated_at", "2014-09-26 19:48:06.771810"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quidem_reiciendis_iure"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'quidem_reiciendis_iure') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 19:48:06.775153"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.780909"], ["updated_at", "2014-09-26 19:48:06.780909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.782380"], ["updated_at", "2014-09-26 19:48:06.782380"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi facere nobis. Sed sunt delectus et nobis dicta sit ea. Natus qui repudiandae magnam exercitationem omnis. Consequatur reprehenderit dolore enim sapiente vero beatae asperiores.\nAut aut veritatis. Harum nesciunt aut ut iusto doloremque. Molestias eius quae fugit debitis mollitia.\nSed quo unde voluptatum sint assumenda a iure. Et perspiciatis ut ratione. Voluptas unde a dicta officia labore eos. Magni vel dicta iusto sunt quibusdam ut ut."], ["created_at", "2014-09-26 19:48:06.784664"], ["name", "ab_repellendus_ducimus"], ["title", "Ut nobis laboriosam"], ["updated_at", "2014-09-26 19:48:06.784664"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 17 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:48:06.788871"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.793790"], ["updated_at", "2014-09-26 19:48:06.793790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.795375"], ["updated_at", "2014-09-26 19:48:06.795375"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nobis placeat esse. Maxime tempore fugiat qui est modi accusamus non. Amet voluptate doloremque. Est dignissimos alias.\nUt quia maiores accusamus optio architecto in. At aut repellat sed et. Necessitatibus optio similique aspernatur aut explicabo laboriosam. Cupiditate veritatis sequi voluptatem recusandae. Consequatur libero sequi eum.\nProvident accusamus ab. Quo et corrupti quidem iusto doloribus. Non beatae et."], ["created_at", "2014-09-26 19:48:06.797641"], ["name", "doloremque_ipsam_saepe"], ["title", "Ex doloribus vero"], ["updated_at", "2014-09-26 19:48:06.797641"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 18]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 18]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 18 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.807063"], ["updated_at", "2014-09-26 19:48:06.807063"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.808638"], ["updated_at", "2014-09-26 19:48:06.808638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et qui non molestiae odit adipisci. Sed assumenda aspernatur magni eos non. Nisi quis id et dignissimos ad sint eos. Ut sed aperiam ea omnis atque.\nQuidem illum quia illo omnis aut. Nemo repellat quisquam. Soluta est id ut et omnis dolorem.\nReiciendis earum provident pariatur sit voluptas tempora repellat. Quo architecto error velit. Et consequatur rerum repellat ratione. Et ut quam autem aut."], ["created_at", "2014-09-26 19:48:06.810843"], ["name", "eius_optio_nostrum"], ["title", "Officia deleniti nulla"], ["updated_at", "2014-09-26 19:48:06.810843"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_optio_nostrum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'eius_optio_nostrum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-26 19:48:06.813976"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'eius_optio_nostrum' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Optio assumenda soluta saepe ut. Consectetur saepe vero. Eaque explicabo provident debitis enim quae corrupti. Qui occaecati doloremque molestiae.\nSunt aperiam amet mollitia. Inventore nemo delectus laborum cumque impedit rerum aut. Maiores quibusdam aut nihil. Unde laborum enim voluptatem odit veritatis quibusdam ut.\nSed fuga nihil eos. Eius maiores totam. Amet voluptatem nam fugit. Officia quos nam. Nihil dicta hic quo ullam quam."], ["created_at", "2014-09-26 19:48:06.823651"], ["name", "alpha"], ["title", "Repellendus vel enim"], ["updated_at", "2014-09-26 19:48:06.823651"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quis perferendis harum occaecati blanditiis ex. Veritatis neque dicta tempora eos non expedita. Maiores voluptas sapiente nesciunt quam. Possimus consequatur ex nulla rem qui ab. Architecto ea sint alias eveniet quasi.\nAliquam nobis nihil optio dolore sed provident iste. Et adipisci voluptatem necessitatibus itaque. Et mollitia neque nihil impedit harum tempora. Ut voluptatem quia qui. Deserunt voluptatem id iste asperiores odit rerum.\nQuos enim voluptatem quis qui. Veniam perspiciatis cumque at illum dolor ipsa omnis. Labore aut odio. Aut incidunt nesciunt iure enim sit eos sed. Blanditiis nihil voluptatibus dolorem eos repudiandae."], ["created_at", "2014-09-26 19:48:06.827670"], ["name", "beta"], ["title", "Ab voluptatibus est"], ["updated_at", "2014-09-26 19:48:06.827670"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.829418"], ["updated_at", "2014-09-26 19:48:06.829418"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 19:48:06.835925"], ["updated_at", "2014-09-26 19:48:06.835925"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:48:06.842914"], ["updated_at", "2014-09-26 19:48:06.842914"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:06.845647"], ["name", "alpha"], ["title", "Repellendus vel enim"], ["updated_at", "2014-09-26 19:48:06.845647"]]  (11.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 19:48:06.862033"], ["version", 2]]  (0.8ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (22, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minus magni quia voluptate ex asperiores in. Non dicta voluptatem facilis. Quis culpa deleniti.\nQuas eos est consequatur itaque veritatis voluptates blanditiis. Optio nobis cupiditate veritatis qui nisi possimus atque. Labore quos quia esse cupiditate laboriosam molestiae expedita.\nSapiente recusandae dolorum neque est. Animi harum nostrum doloribus neque. Repellat quia adipisci facere quod."], ["created_at", "2014-09-26 19:48:06.870243"], ["name", "alpha"], ["title", "Ut eius vero"], ["updated_at", "2014-09-26 19:48:06.870243"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sequi modi velit eligendi. Eum qui cum facilis. Quia delectus ex at rerum magnam dolor.\nSoluta vero impedit odio totam. Minus eaque quod. Provident dolores omnis earum vel ullam.\nMagnam quo in reiciendis eos. Enim aliquid a ea officia. Harum et quia minima occaecati."], ["created_at", "2014-09-26 19:48:06.874585"], ["name", "beta"], ["title", "Dolores nemo et"], ["updated_at", "2014-09-26 19:48:06.874585"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.876676"], ["updated_at", "2014-09-26 19:48:06.876676"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 19:48:06.880333"], ["updated_at", "2014-09-26 19:48:06.880333"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 19:48:06.883309"], ["updated_at", "2014-09-26 19:48:06.883309"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:06.885864"], ["name", "alpha"], ["title", "Ut eius vero"], ["updated_at", "2014-09-26 19:48:06.885864"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-26 19:48:06.889063"], ["version", 4]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor qui sapiente neque quos aut. Rem aperiam impedit ad et voluptas ea. Praesentium exercitationem aut minus aliquam eos repudiandae. Non quos quo. Iusto quibusdam porro molestias dolores error voluptatem.\nAccusamus autem distinctio rerum reprehenderit nemo veniam. Maxime rerum aspernatur. Iste occaecati culpa non voluptatibus qui id et. Quasi et similique nulla quis non.\nEligendi sit quos voluptas. Autem cumque qui eum. Laborum officiis eligendi est nulla laudantium. In possimus recusandae rerum nostrum quasi sint. Distinctio aperiam et inventore doloremque architecto tempora."], ["created_at", "2014-09-26 19:48:06.896840"], ["name", "alpha"], ["title", "Et qui beatae"], ["updated_at", "2014-09-26 19:48:06.896840"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iste voluptatum quia qui facilis in laudantium dolor. Minima temporibus inventore sit dolore sed exercitationem recusandae. At eius alias.\nMolestiae tenetur aperiam quam. Officiis quia blanditiis quisquam qui. Incidunt est rerum cumque facilis voluptate. Quae maiores eveniet quod ut.\nQuia id blanditiis est. Repellendus ullam et. Quis sed quisquam libero qui quia necessitatibus."], ["created_at", "2014-09-26 19:48:06.900663"], ["name", "beta"], ["title", "Aut aut ut"], ["updated_at", "2014-09-26 19:48:06.900663"], ["version", 3]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.902240"], ["updated_at", "2014-09-26 19:48:06.902240"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 19:48:06.905015"], ["updated_at", "2014-09-26 19:48:06.905015"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 19:48:06.908370"], ["updated_at", "2014-09-26 19:48:06.908370"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:06.911012"], ["name", "alpha"], ["title", "Et qui beatae"], ["updated_at", "2014-09-26 19:48:06.911012"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-26 19:48:06.914347"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-26 19:48:06.929439"], ["updated_at", "2014-09-26 19:48:06.929439"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Minus ut excepturi ullam impedit aliquam. Quam pariatur veniam. Excepturi sint vel nam. Suscipit aut harum dolores dolorem. Repudiandae quis adipisci saepe dolore unde ducimus tenetur.\nExplicabo voluptatem voluptates eaque occaecati rerum eligendi dolores. Et nihil magnam aut saepe. Autem sint vitae facere. Omnis nostrum natus nulla. Aspernatur quod ut reiciendis ut.\nRepellendus dolorum ut provident et reiciendis. Placeat nostrum magni iure et repellendus facere. Totam voluptatibus sequi eius velit pariatur voluptatum veritatis. Ea ut placeat quod."], ["created_at", "2014-09-26 19:48:06.943989"], ["name", "alpha"], ["title", "Ad saepe qui"], ["updated_at", "2014-09-26 19:48:06.943989"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iusto quo sapiente doloremque. Quia repellendus dolore modi nisi dignissimos. Quam sapiente natus earum. Dolor expedita aut ut. Assumenda voluptas maiores accusantium veritatis et et.\nIste aut voluptas deserunt velit voluptas velit. Aut et et. Quam error consequuntur. Provident facere delectus.\nVitae incidunt itaque corrupti cum culpa ut maxime. Voluptate similique voluptas dicta aperiam vero consequatur unde. Accusamus maiores voluptatum vitae dolorem voluptas."], ["created_at", "2014-09-26 19:48:06.947997"], ["name", "beta"], ["title", "Incidunt est et"], ["updated_at", "2014-09-26 19:48:06.947997"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:06.949589"], ["updated_at", "2014-09-26 19:48:06.949589"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-26 19:48:06.952160"], ["updated_at", "2014-09-26 19:48:06.952160"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 19:48:06.954517"], ["updated_at", "2014-09-26 19:48:06.954517"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:06.956845"], ["name", "alpha"], ["title", "Ad saepe qui"], ["updated_at", "2014-09-26 19:48:06.956845"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 19:48:06.959867"], ["version", 8]]  (0.6ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 30, 19, 16, 1, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_dolores_tenetur"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nesciunt_dolores_tenetur') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et numquam consectetur sapiente hic. Et in excepturi nostrum eligendi. Sed ipsa suscipit libero. Voluptatem facere reiciendis fugiat. Quae quasi modi dicta ut.\nSed unde ducimus. Eligendi voluptatibus repudiandae fugit voluptatum neque. Vel amet molestiae. Corporis non nihil aut accusantium. Error quisquam libero voluptate et nihil excepturi.\nLaboriosam nihil porro rerum magnam impedit. Optio voluptatibus ut distinctio quam ea. Reprehenderit numquam tempore accusamus doloribus et."], ["created_at", "2014-09-26 19:48:06.977211"], ["name", "nesciunt_dolores_tenetur"], ["title", "Earum fugit temporibus"], ["updated_at", "2014-09-26 19:48:06.977211"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'nesciunt_dolores_tenetur' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et numquam consectetur sapiente hic. Et in excepturi nostrum eligendi. Sed ipsa suscipit libero. Voluptatem facere reiciendis fugiat. Quae quasi modi dicta ut.\nSed unde ducimus. Eligendi voluptatibus repudiandae fugit voluptatum neque. Vel amet molestiae. Corporis non nihil aut accusantium. Error quisquam libero voluptate et nihil excepturi.\nLaboriosam nihil porro rerum magnam impedit. Optio voluptatibus ut distinctio quam ea. Reprehenderit numquam tempore accusamus doloribus et."], ["created_at", "2014-09-26 19:48:06.979790"], ["name", "nesciunt_dolores_tenetur"], ["title", "Earum fugit temporibus"], ["updated_at", "2014-09-26 19:48:06.979790"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_dolores_tenetur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'nesciunt_dolores_tenetur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:48:06.982977"], ["version", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam aut voluptatem rerum. Cum sint explicabo dolor quis possimus. Consequatur illo et tempora est et molestias. Vitae voluptatem earum eum quidem corporis.\nEa libero id voluptatem vitae. Eveniet deserunt voluptatem eum saepe accusamus. Eum voluptatem et animi dolores nesciunt accusamus.\nAspernatur nam et laboriosam et quaerat repellat. Eius soluta quo tempore autem enim. Ad laudantium consectetur est occaecati non quae amet. Vel sunt autem eos quasi. Doloribus tenetur provident earum praesentium."], ["created_at", "2014-09-26 19:48:06.987989"], ["name", "vel_facilis_officiis"], ["title", "Distinctio qui et"], ["updated_at", "2014-09-26 19:48:06.987989"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_facilis_officiis"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'vel_facilis_officiis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 19:48:06.995431"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_facilis_officiis"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_facilis_officiis"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 19:48:07.000631"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odio_maxime_eaque"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'odio_maxime_eaque') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Temporibus hic porro eveniet sint possimus expedita. Ipsa ea iusto. Architecto blanditiis autem qui.\nMaiores iusto sequi. Rem nemo quam nihil quia ut et. Qui sunt eos recusandae quo quia fuga. Eum neque optio.\nCorrupti rerum asperiores reiciendis sint eos. Non et et aut et nesciunt autem in. Id temporibus tempora ducimus totam. Aut totam laborum voluptatum doloremque. Saepe inventore expedita officiis iste qui."], ["created_at", "2014-09-26 19:48:07.005700"], ["name", "odio_maxime_eaque"], ["title", "Esse eum pariatur"], ["updated_at", "2014-09-26 19:48:07.005700"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'odio_maxime_eaque' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Temporibus hic porro eveniet sint possimus expedita. Ipsa ea iusto. Architecto blanditiis autem qui.\nMaiores iusto sequi. Rem nemo quam nihil quia ut et. Qui sunt eos recusandae quo quia fuga. Eum neque optio.\nCorrupti rerum asperiores reiciendis sint eos. Non et et aut et nesciunt autem in. Id temporibus tempora ducimus totam. Aut totam laborum voluptatum doloremque. Saepe inventore expedita officiis iste qui."], ["created_at", "2014-09-26 19:48:07.008494"], ["name", "joe"], ["title", "Esse eum pariatur"], ["updated_at", "2014-09-26 19:48:07.008494"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 19:48:07.011727"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum sunt minima. Asperiores qui voluptates. Nostrum necessitatibus et sit sunt iure. Consequuntur ipsa atque quis aut sint qui. Enim et dolorem blanditiis ea sit quas rem.\nIn enim et quod quaerat quia dolore et. Vero numquam sed. Ut sint rerum.\nConsequatur quod fuga beatae et porro veritatis. Nemo corrupti voluptas aut eos quo ipsa. Illum nam doloremque praesentium ut. Officiis ea repellendus. Et dignissimos laboriosam cupiditate animi rem ex."], ["created_at", "2014-09-26 19:48:07.015706"], ["name", "corporis_in_ut"], ["title", "Amet nobis voluptatum"], ["updated_at", "2014-09-26 19:48:07.015706"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_in_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'corporis_in_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 19:48:07.018756"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.026697"], ["updated_at", "2014-09-26 19:48:07.026697"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 19:48:07.027480"], ["updated_at", "2014-09-26 19:48:07.027480"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'corporis_in_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_in_ut"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.039626"], ["updated_at", "2014-09-26 19:48:07.039626"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.042065"], ["updated_at", "2014-09-26 19:48:07.042065"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_id_facere"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quis_id_facere') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et id recusandae non mollitia quam molestiae error. Et repudiandae non non impedit vel. Qui soluta eius illum. Saepe libero fuga. Qui maxime enim autem ut.\nUt architecto voluptatem. Repudiandae ducimus dolorem. Illum qui omnis voluptatibus et. Rerum nihil repudiandae et.\nInventore soluta ut corrupti velit dolores necessitatibus et. Voluptatem odit rem doloribus id delectus et. Nihil qui facilis ratione. Nulla eos perspiciatis."], ["created_at", "2014-09-26 19:48:07.046891"], ["name", "quis_id_facere"], ["title", "Sunt et reprehenderit"], ["updated_at", "2014-09-26 19:48:07.046891"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.049579"], ["updated_at", "2014-09-26 19:48:07.049579"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-26 19:48:07.050158"], ["updated_at", "2014-09-26 19:48:07.050158"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Completed 200 OK in 182ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.237028"], ["updated_at", "2014-09-26 19:48:07.237028"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.239131"], ["updated_at", "2014-09-26 19:48:07.239131"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_sed_ullam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rerum_sed_ullam') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Recusandae quis ab maxime. Qui repudiandae autem voluptatem iusto praesentium perferendis. Veniam rem necessitatibus pariatur ipsam. Harum vero non libero.\nLibero placeat ut officiis maiores. Sed qui repudiandae quam voluptatem labore. Cupiditate consequuntur qui officiis quod.\nConsectetur delectus vitae officiis voluptatem quos ullam iure. Nesciunt excepturi dolor ullam qui sit. Nihil deleniti vitae alias quis distinctio. Libero harum dolorem ipsam minima cum earum."], ["created_at", "2014-09-26 19:48:07.245970"], ["name", "rerum_sed_ullam"], ["title", "Vero facere tempora"], ["updated_at", "2014-09-26 19:48:07.245970"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.249352"], ["updated_at", "2014-09-26 19:48:07.249352"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 19:48:07.250036"], ["updated_at", "2014-09-26 19:48:07.250036"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"39"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.254050"], ["updated_at", "2014-09-26 19:48:07.254050"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.255495"], ["updated_at", "2014-09-26 19:48:07.255495"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_ratione_dolor"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_ratione_dolor') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum quis beatae quia occaecati ipsum. Accusantium reiciendis ab et. Ut qui sit quae qui magni porro accusamus.\nEum facere veritatis commodi necessitatibus quae nihil. Doloremque temporibus quam perferendis. Et quia autem non et dolorem quasi explicabo. Molestias cumque delectus velit explicabo sit amet.\nAspernatur delectus quo amet est similique. Harum similique quaerat provident et. Est non iste nam molestiae quisquam quis."], ["created_at", "2014-09-26 19:48:07.259781"], ["name", "voluptas_ratione_dolor"], ["title", "Repellendus impedit accusamus"], ["updated_at", "2014-09-26 19:48:07.259781"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.262316"], ["updated_at", "2014-09-26 19:48:07.262316"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 19:48:07.262890"], ["updated_at", "2014-09-26 19:48:07.262890"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.266698"], ["updated_at", "2014-09-26 19:48:07.266698"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.268190"], ["updated_at", "2014-09-26 19:48:07.268190"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_et_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eos_et_sed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "In voluptates facilis libero. Tempore incidunt delectus suscipit quasi exercitationem eos distinctio. Dolor qui est tempore. Molestias ut incidunt illo corrupti nostrum commodi. Iste debitis magni similique nemo quis qui.\nRatione sit et laborum. Minima enim ipsa fugiat. Eos ut et.\nEt maiores ut voluptates et. Sed officiis nostrum. Facilis dolores itaque exercitationem vero id delectus. Odit nemo quis quo qui ex."], ["created_at", "2014-09-26 19:48:07.274854"], ["name", "eos_et_sed"], ["title", "Vel esse laudantium"], ["updated_at", "2014-09-26 19:48:07.274854"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.278450"], ["updated_at", "2014-09-26 19:48:07.278450"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-26 19:48:07.279089"], ["updated_at", "2014-09-26 19:48:07.279089"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.285365"], ["updated_at", "2014-09-26 19:48:07.285365"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.289280"], ["updated_at", "2014-09-26 19:48:07.289280"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_pariatur_incidunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_pariatur_incidunt') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquam et consequatur. Sequi dolorem soluta itaque. Quo totam illum minus non recusandae dolores. Eum iusto qui soluta non et pariatur. Est qui earum illo.\nVoluptatem facere debitis. Assumenda minus et ipsam sapiente cum. Id ut aut earum molestias ipsam hic ullam. Omnis earum et enim aperiam quisquam est sequi.\nDicta aut exercitationem optio consequuntur provident ab qui. Voluptas dolore est dicta quo sed. Delectus earum mollitia fugiat ipsum ea. Voluptatem enim nam doloribus praesentium quam. Illum cupiditate reiciendis."], ["created_at", "2014-09-26 19:48:07.294525"], ["name", "et_pariatur_incidunt"], ["title", "Eum ut molestiae"], ["updated_at", "2014-09-26 19:48:07.294525"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.297296"], ["updated_at", "2014-09-26 19:48:07.297296"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 19:48:07.297866"], ["updated_at", "2014-09-26 19:48:07.297866"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.301741"], ["updated_at", "2014-09-26 19:48:07.301741"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.303245"], ["updated_at", "2014-09-26 19:48:07.303245"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_dolores_adipisci"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_dolores_adipisci') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Tempora ut et assumenda. Voluptas ea sequi eum et aut veniam harum. A reprehenderit atque magnam cupiditate. Placeat ea sit necessitatibus.\nMinus quae eum consectetur ut rerum facere officiis. Delectus repellat sunt id asperiores consequuntur est quo. Libero officia aut at fugiat. Tenetur dolorem est ipsam ut culpa quia. Similique et ab minus.\nNon rerum eum aliquid. Est ad omnis et accusamus. Consectetur assumenda aut qui exercitationem minus ducimus."], ["created_at", "2014-09-26 19:48:07.307538"], ["name", "et_dolores_adipisci"], ["title", "Aspernatur molestias hic"], ["updated_at", "2014-09-26 19:48:07.307538"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.310561"], ["updated_at", "2014-09-26 19:48:07.310561"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 19:48:07.311244"], ["updated_at", "2014-09-26 19:48:07.311244"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"16"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 16]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Redirected to http://test.host/fine_print/contracts/43/signatures?r=MnNPVkpBSk5qeUUzdStLYkt4WE1Edz09LS1OQjRhS1BxMWp2OTc2L05SKzA0dXB3PT0%3D--affe6a46ff43568cdaaba526f7c8c715f734d9ce Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 16 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.320063"], ["updated_at", "2014-09-26 19:48:07.320063"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.321906"], ["updated_at", "2014-09-26 19:48:07.321906"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_non_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_non_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quibusdam inventore labore impedit ipsum. Repudiandae fugit inventore. Repudiandae sit quia quidem numquam illum non.\nDolorum rerum iusto architecto ducimus. Est ut repellat provident. Adipisci non quas ratione aut omnis. Ea tempora hic recusandae suscipit inventore culpa labore. Aperiam et et magnam tempora quasi deserunt temporibus.\nEveniet enim voluptatibus totam. In eum quasi illum perferendis voluptatum exercitationem. Voluptatum modi tenetur quibusdam. Dignissimos eaque animi cumque."], ["created_at", "2014-09-26 19:48:07.327506"], ["name", "voluptas_non_qui"], ["title", "Fugiat rem non"], ["updated_at", "2014-09-26 19:48:07.327506"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.330345"], ["updated_at", "2014-09-26 19:48:07.330345"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-26 19:48:07.330944"], ["updated_at", "2014-09-26 19:48:07.330944"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.336371"], ["updated_at", "2014-09-26 19:48:07.336371"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.338081"], ["updated_at", "2014-09-26 19:48:07.338081"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_a_totam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vero_a_totam') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quas consectetur est aut expedita ipsum veniam. Fuga vel labore aut et. Aut minima rerum temporibus libero rerum cupiditate et.\nVeritatis molestiae mollitia necessitatibus excepturi. Et exercitationem fugiat qui nemo aspernatur aut. Inventore voluptatem esse saepe delectus sed dolores soluta.\nExplicabo provident cum non sunt aut esse tempore. Nobis ipsam at. Vero aperiam sunt numquam voluptatem ut enim ut. Adipisci eveniet doloribus sint qui. Error et qui voluptatum unde quam suscipit."], ["created_at", "2014-09-26 19:48:07.343326"], ["name", "vero_a_totam"], ["title", "Velit repudiandae explicabo"], ["updated_at", "2014-09-26 19:48:07.343326"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.346386"], ["updated_at", "2014-09-26 19:48:07.346386"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 19:48:07.347010"], ["updated_at", "2014-09-26 19:48:07.347010"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui ipsa sed. Sit perferendis vel. Modi esse quia odio non molestiae ut dicta.\nHarum ad necessitatibus nobis non. Laborum impedit qui iusto est. In quia ipsa illum voluptatem optio.\nMinima provident est enim. Sit voluptatibus ratione vitae suscipit. Rem aliquid error et iusto facere voluptate. Impedit suscipit quisquam et at."], ["created_at", "2014-09-26 19:48:07.353980"], ["name", "asperiores_amet_qui"], ["title", "Accusamus dolores et"], ["updated_at", "2014-09-26 19:48:07.353980"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_vitae_corporis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'molestiae_vitae_corporis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et laboriosam similique voluptatem eaque quia rerum. Praesentium placeat enim unde incidunt. Excepturi non voluptas. Consequatur corrupti molestiae reprehenderit. Non deserunt harum.\nFacere qui quas modi necessitatibus. Iure ea consequatur et cumque ullam. Aliquid sit dolorem asperiores pariatur. Deserunt ex tempora sequi autem molestias.\nEst sunt et minus. Et recusandae quia odio aut expedita qui. Ipsum distinctio soluta ut ducimus."], ["created_at", "2014-09-26 19:48:07.361313"], ["name", "molestiae_vitae_corporis"], ["title", "Quae consequuntur ut"], ["updated_at", "2014-09-26 19:48:07.361313"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.370377"], ["updated_at", "2014-09-26 19:48:07.370377"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.372716"], ["updated_at", "2014-09-26 19:48:07.372716"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.381908"], ["updated_at", "2014-09-26 19:48:07.381908"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:07.383898"], ["updated_at", "2014-09-26 19:48:07.383898"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.218528"], ["updated_at", "2014-09-26 19:48:23.218528"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.225600"], ["updated_at", "2014-09-26 19:48:23.225600"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut ipsam optio magni neque maiores temporibus. Dicta quibusdam porro molestiae reiciendis minima. Magnam eius maiores quod dicta nisi reprehenderit quisquam. Rerum qui suscipit.\nDoloremque voluptate et consequatur explicabo ut sit sequi. Veniam quam delectus. Voluptatibus alias quam neque quasi ratione. Nihil et reiciendis ut laborum voluptate. Nihil aperiam nostrum velit.\nVero ipsam nulla sed ratione dolores. Et laboriosam quaerat expedita qui blanditiis est. Qui suscipit voluptates autem sed aliquam nisi. Rerum nulla possimus qui aliquam dignissimos assumenda aut. Rerum minima non illo repellendus dignissimos iusto aut."], ["created_at", "2014-09-26 19:48:23.444581"], ["name", "autem_ea_possimus"], ["title", "Amet inventore ut"], ["updated_at", "2014-09-26 19:48:23.444581"]]  (1.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 19ms (Views: 5.9ms | ActiveRecord: 0.6ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.473001"], ["updated_at", "2014-09-26 19:48:23.473001"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.474833"], ["updated_at", "2014-09-26 19:48:23.474833"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Deserunt vel sed quia corporis. Ipsam ut veniam non possimus laborum labore dolorem. Hic ut nisi asperiores aliquid et molestiae sed.\nNulla sint ea accusantium ut. Iure dolor eius et unde vero vitae assumenda. Excepturi inventore veritatis et. Hic magni enim.\nQui praesentium pariatur ut similique facilis eum sit. Quod omnis et. Omnis aut et excepturi. Vel modi et commodi est."], ["created_at", "2014-09-26 19:48:23.477407"], ["name", "ipsum_ad_occaecati"], ["title", "Atque mollitia nisi"], ["updated_at", "2014-09-26 19:48:23.477407"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.486812"], ["updated_at", "2014-09-26 19:48:23.486812"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.489035"], ["updated_at", "2014-09-26 19:48:23.489035"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint debitis officiis. Recusandae mollitia aliquid tenetur at. Laborum aut assumenda hic cupiditate aliquid excepturi. Cupiditate qui vitae.\nQuos laborum exercitationem tempora dolorem culpa sint ipsam. Qui et architecto iure. Incidunt quidem voluptatem ratione nihil debitis. Magni mollitia placeat voluptatem quia nisi. Et delectus distinctio voluptatem nemo officiis.\nPorro totam deleniti et est delectus. Numquam similique atque eos nulla. Consequuntur et qui. Impedit eos eveniet omnis non."], ["created_at", "2014-09-26 19:48:23.491470"], ["name", "ipsam_eos_vel"], ["title", "Qui autem error"], ["updated_at", "2014-09-26 19:48:23.491470"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.499538"], ["updated_at", "2014-09-26 19:48:23.499538"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.502172"], ["updated_at", "2014-09-26 19:48:23.502172"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iste deleniti sequi eos rerum veritatis at excepturi. Repellat ut dolores unde mollitia reiciendis. Ullam sit enim impedit odit tempora.\nUllam facere corporis odit similique nam nostrum. Consequatur consequuntur explicabo sit. Ut optio enim dolorum. Voluptate tempore aut eum.\nLaudantium minus dignissimos nisi. Voluptatem dolorem vel. Ut incidunt molestiae."], ["created_at", "2014-09-26 19:48:23.505637"], ["name", "necessitatibus_officiis_debitis"], ["title", "Cupiditate nemo magnam"], ["updated_at", "2014-09-26 19:48:23.505637"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "necessitatibus_officiis_debitis"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'necessitatibus_officiis_debitis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 19:48:23.511676"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.518818"], ["updated_at", "2014-09-26 19:48:23.518818"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.520397"], ["updated_at", "2014-09-26 19:48:23.520397"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corrupti optio consequatur. Eligendi qui eaque. Vitae enim debitis. Quia quis reiciendis.\nRecusandae ut dolorum. Inventore porro assumenda consequuntur dolor. Sit voluptas repellat quibusdam iste natus.\nPlaceat eveniet nemo. Eveniet consectetur sunt minus cum quis. Non est vel debitis quidem illum."], ["created_at", "2014-09-26 19:48:23.522598"], ["name", "aliquam_eaque_delectus"], ["title", "Ipsam et et"], ["updated_at", "2014-09-26 19:48:23.522598"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_eaque_delectus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'aliquam_eaque_delectus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-26 19:48:23.525935"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'aliquam_eaque_delectus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.534566"], ["updated_at", "2014-09-26 19:48:23.534566"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.536233"], ["updated_at", "2014-09-26 19:48:23.536233"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Blanditiis accusamus quaerat distinctio ipsum delectus. Quia dolorem architecto cumque non. Quia qui pariatur illo repudiandae et quibusdam omnis.\nEum magni harum. Sunt laboriosam nesciunt sed inventore tenetur. Doloremque ut debitis aspernatur voluptas. Iste veniam consequatur sit nobis dolor ab.\nTemporibus quae sit. Quia distinctio omnis omnis ea sed quibusdam qui. Aliquid blanditiis omnis alias. Aut provident est ab. Molestiae ullam delectus laboriosam magni repellendus alias."], ["created_at", "2014-09-26 19:48:23.538528"], ["name", "deleniti_iste_voluptates"], ["title", "Aperiam quia dicta"], ["updated_at", "2014-09-26 19:48:23.538528"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.542703"], ["updated_at", "2014-09-26 19:48:23.542703"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.544174"], ["updated_at", "2014-09-26 19:48:23.544174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Mollitia et voluptatum qui dolores qui eveniet necessitatibus. Aut eveniet veritatis est velit recusandae. Dolorum modi aliquid quod nihil consectetur expedita quam.\nVoluptate voluptas quae assumenda non nesciunt. Quos repellat praesentium officia doloremque molestias molestiae. Atque blanditiis minima. Reprehenderit est est nesciunt adipisci perferendis. Reiciendis quod fugit voluptatum quaerat aut illo.\nEt quis ex aliquam. Corporis velit et eum suscipit sint nobis. Et consequatur tempora alias dolorum consequuntur."], ["created_at", "2014-09-26 19:48:23.546387"], ["name", "est_quis_ut"], ["title", "Odit et quis"], ["updated_at", "2014-09-26 19:48:23.546387"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.3ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 7]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 7]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 7 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.554712"], ["updated_at", "2014-09-26 19:48:23.554712"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.556390"], ["updated_at", "2014-09-26 19:48:23.556390"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero voluptas culpa et sed. Est reiciendis rerum ex sit. Necessitatibus eaque quia aut aspernatur aut. Sint facilis aperiam laboriosam. Doloribus voluptatem qui.\nNesciunt ea sed nulla perspiciatis ipsum enim sapiente. Reprehenderit nihil dolore rerum. Enim reiciendis dignissimos temporibus. Odio odit nemo voluptatem et vel nobis error. Et autem voluptatum atque dolor distinctio.\nQuibusdam iure corrupti. Ea itaque maxime magni velit nisi qui quis. Aut sunt omnis id accusantium odio ipsam sint. Maxime vel sit possimus debitis mollitia."], ["created_at", "2014-09-26 19:48:23.559354"], ["name", "aut_ut_non"], ["title", "Quidem illo delectus"], ["updated_at", "2014-09-26 19:48:23.559354"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_ut_non"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'aut_ut_non') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 19:48:23.563652"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"8"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_ut_non"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-26 19:48:23.570338"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.575031"], ["updated_at", "2014-09-26 19:48:23.575031"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.576586"], ["updated_at", "2014-09-26 19:48:23.576586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eveniet assumenda sit nisi et. Pariatur animi corporis. Saepe maiores eligendi porro delectus est. Dolor odit alias sit.\nError aperiam perspiciatis deleniti. Non autem aspernatur non occaecati omnis. Ullam eos cumque vel quidem. Ut corrupti et voluptas a est. Beatae et repellat voluptatibus quaerat enim quis ut.\nCorrupti et facilis officiis consequatur vel accusantium. Blanditiis ad ut esse explicabo rerum illo. Sed iure consequatur aperiam tempora laboriosam."], ["created_at", "2014-09-26 19:48:23.578756"], ["name", "ut_qui_a"], ["title", "Aut excepturi minus"], ["updated_at", "2014-09-26 19:48:23.578756"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.582316"], ["updated_at", "2014-09-26 19:48:23.582316"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.583665"], ["updated_at", "2014-09-26 19:48:23.583665"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor rerum asperiores ipsum doloribus dicta. Est architecto non debitis odio amet iusto. Atque eligendi architecto blanditiis dolores quo.\nEnim rerum fuga animi minus. Fuga ut ipsum ad aut voluptate esse odio. Officia minima magnam. Ea vitae aspernatur aut vel neque eius nostrum.\nEum non reprehenderit dolorem nam mollitia. Modi et consectetur. Rem eaque quisquam reiciendis."], ["created_at", "2014-09-26 19:48:23.586150"], ["name", "error_sit_sint"], ["title", "Omnis modi quidem"], ["updated_at", "2014-09-26 19:48:23.586150"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.590215"], ["updated_at", "2014-09-26 19:48:23.590215"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.592099"], ["updated_at", "2014-09-26 19:48:23.592099"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos ut ipsam sint iure neque quo aut. Quisquam voluptatem natus harum est est vel accusantium. At quia commodi nam similique. Aliquid ad et fuga molestiae.\nEt id excepturi est explicabo non odio. Libero error rem fugit tempora. Consequuntur quia ad impedit sit voluptatem ex.\nAut cum sed necessitatibus recusandae quisquam omnis. Neque optio ut aut sed omnis alias. Modi ab accusamus eum. Dolor iure id."], ["created_at", "2014-09-26 19:48:23.594555"], ["name", "qui_impedit_natus"], ["title", "Unde ut veniam"], ["updated_at", "2014-09-26 19:48:23.594555"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.599477"], ["updated_at", "2014-09-26 19:48:23.599477"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.601003"], ["updated_at", "2014-09-26 19:48:23.601003"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Impedit et occaecati aliquam voluptas eius. Illo autem impedit corporis doloremque voluptatem. Nam suscipit molestias non sunt. Delectus dolores quos voluptates ipsum mollitia. Et voluptas facilis.\nAccusantium non inventore quis labore. Adipisci maiores deserunt perferendis sed. Impedit esse ut. Nostrum sequi dignissimos eos corporis fugit aut.\nPraesentium non neque dolor est laboriosam. A quae omnis commodi saepe. Molestiae ab ipsam et occaecati sit ea. Suscipit amet cupiditate vel ut laboriosam. Consequatur nobis repellat amet molestias nihil consequuntur et."], ["created_at", "2014-09-26 19:48:23.603236"], ["name", "autem_debitis_magnam"], ["title", "Reiciendis aut commodi"], ["updated_at", "2014-09-26 19:48:23.603236"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.608205"], ["updated_at", "2014-09-26 19:48:23.608205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.609689"], ["updated_at", "2014-09-26 19:48:23.609689"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Incidunt enim voluptas aut pariatur. Inventore ipsa sit ut odit sint voluptate. Aut architecto officiis ipsum est. Reprehenderit qui ullam quia dolorum corporis. Commodi molestiae ut sed rerum.\nLaborum cum ducimus ratione quia eum necessitatibus nobis. Nemo consectetur vero excepturi consequatur ratione sapiente. Recusandae qui rem soluta est.\nNatus quod voluptatem ut. Officiis quas modi ut non et perferendis excepturi. Ut minus repellat ipsa."], ["created_at", "2014-09-26 19:48:23.611794"], ["name", "reiciendis_ut_qui"], ["title", "Neque aut harum"], ["updated_at", "2014-09-26 19:48:23.611794"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reiciendis_ut_qui"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'reiciendis_ut_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-26 19:48:23.614967"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.619743"], ["updated_at", "2014-09-26 19:48:23.619743"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.621262"], ["updated_at", "2014-09-26 19:48:23.621262"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Natus atque expedita incidunt. Et alias est. Voluptates aliquam aspernatur aperiam rerum molestias harum dicta. Magnam quia mollitia.\nLaudantium odio est iusto quibusdam laboriosam. Inventore earum neque exercitationem eos repellendus adipisci. Illum et omnis.\nOmnis labore modi aut. Reprehenderit perspiciatis nihil possimus vitae. Tenetur aut eum sint. Minima ut unde velit. Libero aliquam qui ut temporibus quia."], ["created_at", "2014-09-26 19:48:23.624264"], ["name", "magni_ut_est"], ["title", "Perferendis est reprehenderit"], ["updated_at", "2014-09-26 19:48:23.624264"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 14 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:48:23.628307"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.634998"], ["updated_at", "2014-09-26 19:48:23.634998"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.637070"], ["updated_at", "2014-09-26 19:48:23.637070"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur unde in accusantium iste. Porro maiores doloribus nam eligendi sit voluptatum. Corrupti eum omnis distinctio. Incidunt explicabo quae omnis consectetur perspiciatis quod. Enim aspernatur dolore.\nMollitia id explicabo. Id unde voluptate ad exercitationem non et. Nisi neque et ut. Aut est dolor optio. Et et ea magni quam est sed.\nExplicabo illum eligendi sequi. Ex consequatur ut ipsum sunt sunt quisquam quas. Fugiat eveniet et pariatur. Non omnis dolor cupiditate voluptatem voluptas reprehenderit est."], ["created_at", "2014-09-26 19:48:23.639863"], ["name", "dicta_mollitia_quibusdam"], ["title", "Quibusdam impedit maxime"], ["updated_at", "2014-09-26 19:48:23.639863"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dicta_mollitia_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'dicta_mollitia_quibusdam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-26 19:48:23.644619"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.648773"], ["updated_at", "2014-09-26 19:48:23.648773"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.650299"], ["updated_at", "2014-09-26 19:48:23.650299"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum explicabo vel voluptatem. Aut et et. Impedit excepturi optio. Aut est dolorem et eos est. Veritatis porro architecto fugiat in ratione et.\nEum voluptatum enim. Magnam enim recusandae dolorum qui. Eum porro quibusdam aut sit eius qui odio. Laboriosam voluptas dicta quis qui.\nExplicabo qui dolore sint doloremque dolor quia tempore. Quia laboriosam sed vitae exercitationem et sed. Sed iste laborum quam officiis. Architecto accusamus enim et. Expedita dolorum voluptatibus et itaque nobis."], ["created_at", "2014-09-26 19:48:23.652635"], ["name", "atque_eum_in"], ["title", "Consequatur rem eum"], ["updated_at", "2014-09-26 19:48:23.652635"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.657549"], ["updated_at", "2014-09-26 19:48:23.657549"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.658993"], ["updated_at", "2014-09-26 19:48:23.658993"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui cum autem nostrum repellat voluptas in fugiat. Dolores consequuntur distinctio minima. Consequatur rerum ullam voluptatibus neque asperiores.\nSed ad iste consequatur dolorem voluptates. Perferendis ipsum quia. Magnam est provident modi non doloribus dolore veritatis. Asperiores ea exercitationem tenetur voluptatem.\nQuo aut corrupti neque laborum ullam labore. Aut voluptate id qui modi expedita. Sint et nulla nihil quod."], ["created_at", "2014-09-26 19:48:23.661178"], ["name", "numquam_omnis_explicabo"], ["title", "Quia alias distinctio"], ["updated_at", "2014-09-26 19:48:23.661178"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:48:23.663996"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:48:23.663996"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/18 Completed 302 Found in 2ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.667108"], ["updated_at", "2014-09-26 19:48:23.667108"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.668601"], ["updated_at", "2014-09-26 19:48:23.668601"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquid quo tempore. Eum aliquam iure nobis consequatur. Minus itaque qui est. Dignissimos temporibus assumenda et alias qui.\nEst deleniti sint. Consequuntur eum enim similique. Vel sint dolorem et soluta. Consequatur officiis doloribus nostrum soluta placeat velit quia. Ducimus accusamus consequatur.\nEt delectus velit deserunt magni. Aut iste optio magnam veritatis dignissimos. Suscipit ut error commodi omnis minus explicabo. Ab autem dolor adipisci."], ["created_at", "2014-09-26 19:48:23.670862"], ["name", "non_quisquam_sint"], ["title", "Assumenda temporibus et"], ["updated_at", "2014-09-26 19:48:23.670862"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.675357"], ["updated_at", "2014-09-26 19:48:23.675357"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.677132"], ["updated_at", "2014-09-26 19:48:23.677132"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_aliquid_animi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequatur_aliquid_animi') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Pariatur incidunt est nulla labore saepe. Molestias aut sequi ipsa rerum ut molestiae laboriosam. Sed in adipisci tempora. Nulla blanditiis officiis laborum esse est veniam. Totam reiciendis necessitatibus voluptatibus amet.\nVeritatis esse doloribus quas cupiditate dolorum sunt adipisci. Veniam voluptates libero magnam nemo sequi minus modi. Cum a unde. Qui sit vel quam laborum pariatur. Fuga sit provident deleniti laborum et cum quia.\nVoluptas sapiente non. Et dolor quia eligendi voluptas explicabo animi harum. Cupiditate eum dolorem. Eum aut ipsum sit quam ut."], ["created_at", "2014-09-26 19:48:23.682034"], ["name", "consequatur_aliquid_animi"], ["title", "Enim non natus"], ["updated_at", "2014-09-26 19:48:23.682034"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.686935"], ["updated_at", "2014-09-26 19:48:23.686935"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-26 19:48:23.687532"], ["updated_at", "2014-09-26 19:48:23.687532"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.694796"], ["updated_at", "2014-09-26 19:48:23.694796"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.696479"], ["updated_at", "2014-09-26 19:48:23.696479"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_natus_neque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eos_natus_neque') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id quo laboriosam molestiae ab. Odio quibusdam rerum. Sapiente nisi beatae rerum soluta cumque hic.\nMinima eum non commodi. Repudiandae dolores amet et maxime excepturi quo sed. Ut sit ut saepe autem iste.\nSint animi dolores reiciendis. Reprehenderit quam delectus impedit natus dolor officia commodi. Non omnis harum eveniet et in perferendis nihil. Aliquam quisquam ut numquam accusamus. Nemo sequi dolorum qui laudantium ipsam."], ["created_at", "2014-09-26 19:48:23.701095"], ["name", "eos_natus_neque"], ["title", "Veniam et voluptates"], ["updated_at", "2014-09-26 19:48:23.701095"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.704249"], ["updated_at", "2014-09-26 19:48:23.704249"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:48:23.705038"], ["updated_at", "2014-09-26 19:48:23.705038"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] Completed 200 OK in 187ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.896195"], ["updated_at", "2014-09-26 19:48:23.896195"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.898954"], ["updated_at", "2014-09-26 19:48:23.898954"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iste_libero_perspiciatis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'iste_libero_perspiciatis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quibusdam aperiam libero et consequuntur error qui. Neque officia veniam. Non asperiores eum impedit. Est aut qui qui esse.\nPlaceat et laborum qui aut. Quos qui labore natus neque molestias quod voluptates. Sit odit sint eaque.\nDeserunt et minima iste officia. Placeat qui a. Ducimus quasi autem reiciendis facere vero harum. Quis soluta non rerum. Vitae molestiae aliquam eos porro voluptates dicta."], ["created_at", "2014-09-26 19:48:23.903931"], ["name", "iste_libero_perspiciatis"], ["title", "Delectus quos distinctio"], ["updated_at", "2014-09-26 19:48:23.903931"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.906461"], ["updated_at", "2014-09-26 19:48:23.906461"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-26 19:48:23.907011"], ["updated_at", "2014-09-26 19:48:23.907011"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"22"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.910305"], ["updated_at", "2014-09-26 19:48:23.910305"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.911840"], ["updated_at", "2014-09-26 19:48:23.911840"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quasi_voluptatem_et"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quasi_voluptatem_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatibus qui vel et velit. Suscipit ducimus consequatur deleniti ipsum laboriosam. Explicabo debitis id molestiae doloribus id. Ab corporis ullam cum. Natus aspernatur corrupti.\nLabore aut fugiat. Et ipsam officiis et laborum libero minima hic. Rem quia debitis. Assumenda explicabo consequatur voluptatem ad veritatis.\nEt molestiae necessitatibus id rerum rerum ad. Ut et eius dolorem qui qui et ex. Distinctio dolorem est vitae sed ut. Adipisci molestiae veniam laudantium asperiores temporibus sunt consectetur."], ["created_at", "2014-09-26 19:48:23.916233"], ["name", "quasi_voluptatem_et"], ["title", "Quibusdam dolorem nam"], ["updated_at", "2014-09-26 19:48:23.916233"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.918849"], ["updated_at", "2014-09-26 19:48:23.918849"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-26 19:48:23.919533"], ["updated_at", "2014-09-26 19:48:23.919533"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.924762"], ["updated_at", "2014-09-26 19:48:23.924762"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.926302"], ["updated_at", "2014-09-26 19:48:23.926302"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "totam_alias_ipsam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'totam_alias_ipsam') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "A et quis officia sunt. Aspernatur adipisci et veniam eligendi qui consequuntur qui. Pariatur dolorem voluptates nihil nobis saepe repudiandae fugit. Neque unde et perferendis consequuntur saepe repellendus ipsam.\nSunt iure dolores. Delectus nulla ratione. Repudiandae quod quis explicabo corporis.\nSed aut tenetur dolor rerum et. Quae molestiae et dolores illum. Et est totam exercitationem neque aut dolorum culpa. Veniam aspernatur praesentium suscipit minus autem dolor. Iure omnis molestias exercitationem voluptas molestiae."], ["created_at", "2014-09-26 19:48:23.930700"], ["name", "totam_alias_ipsam"], ["title", "Placeat maxime unde"], ["updated_at", "2014-09-26 19:48:23.930700"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.933916"], ["updated_at", "2014-09-26 19:48:23.933916"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-26 19:48:23.934668"], ["updated_at", "2014-09-26 19:48:23.934668"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.940460"], ["updated_at", "2014-09-26 19:48:23.940460"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.942102"], ["updated_at", "2014-09-26 19:48:23.942102"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_accusamus_dicta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_accusamus_dicta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fuga reprehenderit mollitia optio cum adipisci. Odit eum ut nam magni ut sint rem. Unde repellat rerum voluptatum tempore quia eligendi. Maxime voluptate ipsa ea labore.\nOfficiis voluptatem praesentium quo. Atque et voluptates. Ea ipsum aut non harum. Ut placeat quasi nesciunt. Eum et cumque commodi.\nAutem mollitia ea illo itaque vitae. Voluptatem ut repellendus tempora placeat vel esse. Est possimus voluptas repellendus. Quo quo assumenda dolorem vitae veniam sunt."], ["created_at", "2014-09-26 19:48:23.946953"], ["name", "sint_accusamus_dicta"], ["title", "Praesentium dicta id"], ["updated_at", "2014-09-26 19:48:23.946953"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.949612"], ["updated_at", "2014-09-26 19:48:23.949612"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 25], ["created_at", "2014-09-26 19:48:23.950214"], ["updated_at", "2014-09-26 19:48:23.950214"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Redirected to http://test.host/fine_print/contracts/25/signatures?r=NzNFZDExU1hJZlpXSWlTVTV1Skc0dz09LS1naVV0TElZc1VNdUZiZXY4ZWJPcTdnPT0%3D--cb381bfb9ab45a52eb4d4081e22382c400b27cd9 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.958886"], ["updated_at", "2014-09-26 19:48:23.958886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.960426"], ["updated_at", "2014-09-26 19:48:23.960426"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_occaecati_autem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_occaecati_autem') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptates et perspiciatis. Quia iste iure est. Dolor est nemo omnis hic.\nDolores earum adipisci exercitationem rem. Vel qui nemo est quis ipsum ut. Minus voluptatem sit distinctio.\nFacere totam deserunt iusto molestias nulla atque est. Aut laborum necessitatibus ea porro. Quis voluptatibus nostrum. Velit eligendi consequuntur deleniti optio. Omnis eligendi perferendis ut nulla sit."], ["created_at", "2014-09-26 19:48:23.964650"], ["name", "aut_occaecati_autem"], ["title", "Odit qui sint"], ["updated_at", "2014-09-26 19:48:23.964650"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.967185"], ["updated_at", "2014-09-26 19:48:23.967185"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-26 19:48:23.967745"], ["updated_at", "2014-09-26 19:48:23.967745"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.973101"], ["updated_at", "2014-09-26 19:48:23.973101"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.974846"], ["updated_at", "2014-09-26 19:48:23.974846"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_aliquam_cum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'id_aliquam_cum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rem quia ut deleniti commodi non. Est consequatur et dignissimos ipsam dolor enim qui. Inventore repellendus nesciunt quas laborum facere.\nQuibusdam voluptatem aliquid nostrum dolor. Libero aut culpa debitis et. Placeat minima cumque exercitationem modi natus incidunt. Sit eius eum beatae. Harum enim ex et ab.\nSunt velit sint qui. Quia iusto architecto hic nihil. Asperiores et ex laboriosam quia est."], ["created_at", "2014-09-26 19:48:23.979074"], ["name", "id_aliquam_cum"], ["title", "Eum aliquam omnis"], ["updated_at", "2014-09-26 19:48:23.979074"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.981715"], ["updated_at", "2014-09-26 19:48:23.981715"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-26 19:48:23.982266"], ["updated_at", "2014-09-26 19:48:23.982266"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"27"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.990083"], ["updated_at", "2014-09-26 19:48:23.990083"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.992247"], ["updated_at", "2014-09-26 19:48:23.992247"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.997375"], ["updated_at", "2014-09-26 19:48:23.997375"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:23.998911"], ["updated_at", "2014-09-26 19:48:23.998911"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident deleniti occaecati vero hic sed sint blanditiis. Vel consequuntur fugit ducimus soluta sit. Laudantium recusandae quod omnis aut quas sed. Dolore ea laudantium quam. Placeat magni et vel quis eos nostrum.\nQui autem ea exercitationem nulla magni. Recusandae blanditiis asperiores laudantium pariatur excepturi. Eveniet iste alias quod quidem. Qui magni officia doloremque aperiam deserunt.\nTemporibus quam perspiciatis dolorem eum nesciunt dolor. Saepe velit error ullam quae. Omnis asperiores cupiditate voluptatibus."], ["created_at", "2014-09-26 19:48:24.007515"], ["name", "perspiciatis_iusto_praesentium"], ["title", "Et dolorem debitis"], ["updated_at", "2014-09-26 19:48:24.007515"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "esse_et_ipsam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'esse_et_ipsam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Hic nam ad laboriosam asperiores. Autem quia voluptas mollitia nam nihil. Voluptates quae dolor numquam dolore ut.\nRerum iste est voluptatibus. Commodi esse et pariatur quo non et quibusdam. Quaerat quibusdam necessitatibus dicta. Ut quo possimus molestiae ipsam at sapiente. Fuga non quia deleniti veritatis.\nEius autem labore qui ea fugiat sint illo. Harum laboriosam in sint et explicabo. Sunt odit quae. Sunt consequatur iusto. Voluptates vel est voluptatem ut suscipit."], ["created_at", "2014-09-26 19:48:24.013556"], ["name", "esse_et_ipsam"], ["title", "Voluptatem sunt ullam"], ["updated_at", "2014-09-26 19:48:24.013556"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "accusantium_nihil_neque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'accusantium_nihil_neque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores tempora natus aliquid. Ut sunt sit rerum nihil voluptatibus itaque alias. Quod at alias sed accusamus qui. In nam consectetur quaerat.\nEx et quia. Necessitatibus provident accusamus dolorem doloremque. Molestiae sed aperiam voluptas impedit. Expedita dignissimos non.\nConsectetur fuga hic deserunt ut ratione eius in. Rerum consequatur eius. Et non necessitatibus voluptatem."], ["created_at", "2014-09-26 19:48:24.020716"], ["name", "accusantium_nihil_neque"], ["title", "Nulla repellat minima"], ["updated_at", "2014-09-26 19:48:24.020716"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'accusantium_nihil_neque' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolores tempora natus aliquid. Ut sunt sit rerum nihil voluptatibus itaque alias. Quod at alias sed accusamus qui. In nam consectetur quaerat.\nEx et quia. Necessitatibus provident accusamus dolorem doloremque. Molestiae sed aperiam voluptas impedit. Expedita dignissimos non.\nConsectetur fuga hic deserunt ut ratione eius in. Rerum consequatur eius. Et non necessitatibus voluptatem."], ["created_at", "2014-09-26 19:48:24.023304"], ["name", "accusantium_nihil_neque"], ["title", "Nulla repellat minima"], ["updated_at", "2014-09-26 19:48:24.023304"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "accusantium_nihil_neque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'accusantium_nihil_neque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-26 19:48:24.027051"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_sunt_quam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_sunt_quam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et inventore mollitia quaerat. Consequuntur omnis qui animi eveniet voluptatum unde est. Veniam et omnis a molestiae.\nSint sit delectus deserunt occaecati eveniet iure. Quia possimus maiores repellat velit quidem at. Asperiores optio cum quibusdam quo exercitationem in et.\nSimilique incidunt illum omnis voluptatem sint qui fugit. Cupiditate voluptatibus aut consequatur officia veritatis ut quasi. Esse est et."], ["created_at", "2014-09-26 19:48:24.032234"], ["name", "est_sunt_quam"], ["title", "Ea exercitationem est"], ["updated_at", "2014-09-26 19:48:24.032234"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'est_sunt_quam' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et inventore mollitia quaerat. Consequuntur omnis qui animi eveniet voluptatum unde est. Veniam et omnis a molestiae.\nSint sit delectus deserunt occaecati eveniet iure. Quia possimus maiores repellat velit quidem at. Asperiores optio cum quibusdam quo exercitationem in et.\nSimilique incidunt illum omnis voluptatem sint qui fugit. Cupiditate voluptatibus aut consequatur officia veritatis ut quasi. Esse est et."], ["created_at", "2014-09-26 19:48:24.034690"], ["name", "joe"], ["title", "Ea exercitationem est"], ["updated_at", "2014-09-26 19:48:24.034690"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-26 19:48:24.037710"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Doloribus quas officia sed temporibus accusantium. Omnis quia veniam et voluptate aut dolorum. Explicabo minima est.\nNon veniam sit voluptatem quia quod alias aut. Nulla quibusdam qui inventore reprehenderit et. Iure autem aut.\nQuo ut distinctio. Nisi accusamus autem beatae error. Quibusdam laboriosam nemo. Ea illum officia error omnis aut fugiat corrupti."], ["created_at", "2014-09-26 19:48:24.041022"], ["name", "est_et_ut"], ["title", "Repellendus atque et"], ["updated_at", "2014-09-26 19:48:24.041022"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_et_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'est_et_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 19:48:24.044256"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:24.048611"], ["updated_at", "2014-09-26 19:48:24.048611"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 19:48:24.049205"], ["updated_at", "2014-09-26 19:48:24.049205"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'est_et_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_et_ut"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Cumque ea sit eum sed. Et perferendis mollitia modi iusto esse aut eos. Et ad quis ut eius. Quae molestiae minus non deleniti. Consequuntur non soluta reiciendis est quas.\nRerum est molestiae. Nisi deserunt illum ut. Quasi provident accusamus. Consequatur deleniti officia facere. Sed ratione perferendis dicta labore.\nFugiat veritatis maxime laboriosam. Voluptatem magni et harum sapiente. Illo dolorem corrupti qui aut sed molestiae ullam. Occaecati perferendis id accusamus sed quaerat ut sit."], ["created_at", "2014-09-26 19:48:24.057283"], ["name", "in_aut_consequatur"], ["title", "Aliquid rerum itaque"], ["updated_at", "2014-09-26 19:48:24.057283"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_aut_consequatur"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'in_aut_consequatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 19:48:24.061561"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_aut_consequatur"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_aut_consequatur"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 19:48:24.066432"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "At blanditiis dolores accusantium vel vel exercitationem ut. Vel at quas. Alias eum aut. Ut quibusdam quis reprehenderit.\nVitae sed quia architecto ab laudantium vel. Molestiae illum aperiam et quo ipsa molestiae. Omnis adipisci dolor alias tenetur. Ullam enim sit reiciendis aperiam itaque in earum.\nIncidunt nesciunt aut nobis voluptatem praesentium autem. Ratione qui et aperiam eum provident et consequatur. Eaque tenetur velit mollitia ratione voluptate."], ["created_at", "2014-09-26 19:48:24.072462"], ["name", "alpha"], ["title", "Impedit temporibus iusto"], ["updated_at", "2014-09-26 19:48:24.072462"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorem a reprehenderit. Magni quia quasi. Consequuntur incidunt harum et asperiores et. Dolorem placeat a ipsam eaque nihil perferendis expedita.\nDolorem eum unde qui deleniti consequuntur et et. Maiores doloremque repellat. Voluptate magni itaque cumque.\nLaborum et dolorem dolorem tenetur. Consequuntur animi rerum est rerum. Aut corporis possimus sint deserunt. Fuga quos sed. Inventore voluptatum saepe magnam consequatur autem."], ["created_at", "2014-09-26 19:48:24.076263"], ["name", "beta"], ["title", "Id assumenda veritatis"], ["updated_at", "2014-09-26 19:48:24.076263"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:24.077901"], ["updated_at", "2014-09-26 19:48:24.077901"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 19:48:24.080526"], ["updated_at", "2014-09-26 19:48:24.080526"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 19:48:24.083002"], ["updated_at", "2014-09-26 19:48:24.083002"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:24.085261"], ["name", "alpha"], ["title", "Impedit temporibus iusto"], ["updated_at", "2014-09-26 19:48:24.085261"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 19:48:24.088276"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (38, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae et quod doloribus et temporibus rerum. Quo qui odio asperiores praesentium. Dolorem et fuga amet est temporibus.\nDolorem similique voluptatem aut. Quo et iste ducimus ex suscipit est. Velit itaque optio eum harum aspernatur minima id. Omnis velit quidem nisi eveniet tenetur. Voluptatem omnis reiciendis facilis quam praesentium.\nEligendi necessitatibus omnis nobis dignissimos qui accusantium. Sint consequatur consequatur quos. Et qui necessitatibus cumque omnis vero esse. Voluptas cumque sit quidem ducimus voluptatem minima. Totam nesciunt aperiam qui nostrum consectetur ut dolorem."], ["created_at", "2014-09-26 19:48:24.094349"], ["name", "alpha"], ["title", "Ex impedit excepturi"], ["updated_at", "2014-09-26 19:48:24.094349"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae iure sunt sint. Et nemo nostrum neque. Similique voluptatem corrupti. Molestiae explicabo tempora animi at quis. Voluptatem laudantium repudiandae est laboriosam et minus.\nEum ut reiciendis voluptatem id repellendus et. Pariatur qui eum. Placeat provident optio. Sed dolorem et quia sint rerum.\nTemporibus officia magnam provident molestias. Soluta adipisci quia. Aut facere fugiat beatae voluptatum."], ["created_at", "2014-09-26 19:48:24.098351"], ["name", "beta"], ["title", "Adipisci accusantium vel"], ["updated_at", "2014-09-26 19:48:24.098351"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:24.099909"], ["updated_at", "2014-09-26 19:48:24.099909"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 19:48:24.102647"], ["updated_at", "2014-09-26 19:48:24.102647"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 19:48:24.105609"], ["updated_at", "2014-09-26 19:48:24.105609"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:24.108162"], ["name", "alpha"], ["title", "Ex impedit excepturi"], ["updated_at", "2014-09-26 19:48:24.108162"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 19:48:24.111188"], ["version", 4]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-26 19:48:24.134998"], ["updated_at", "2014-09-26 19:48:24.134998"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius culpa quos. Id dolor rerum vitae distinctio. Sed non enim quis vel amet qui ut. Tempore laudantium fugiat porro voluptas eaque. Iure quo ut.\nVel commodi dolorem ipsa officiis enim similique. Earum perspiciatis velit et eligendi consequuntur. Voluptatibus est libero voluptates repellendus corporis odit.\nSunt iure asperiores esse alias impedit. Eius praesentium omnis sapiente et velit aut deleniti. Aspernatur aut dolorem amet voluptates. Dolor culpa iusto unde ipsa nisi. Harum in provident occaecati quis vel sit."], ["created_at", "2014-09-26 19:48:24.152771"], ["name", "alpha"], ["title", "Neque vel doloribus"], ["updated_at", "2014-09-26 19:48:24.152771"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aperiam vel voluptatibus rerum velit. Dolore tenetur consequatur. Inventore ratione debitis officia qui nisi. Expedita earum amet quibusdam sit harum sapiente officia.\nRecusandae ducimus debitis quam cumque minus enim ea. Iure unde dolore dolor in sequi. Qui quia dolores magnam libero sit ut vitae. Eos tempora dolorem ducimus sunt eaque reiciendis.\nOptio nostrum voluptates deserunt laboriosam. Quae voluptatem dolor cum animi nobis nostrum. Et esse autem voluptates quia nihil hic."], ["created_at", "2014-09-26 19:48:24.159251"], ["name", "beta"], ["title", "Quis consequatur et"], ["updated_at", "2014-09-26 19:48:24.159251"], ["version", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:24.161627"], ["updated_at", "2014-09-26 19:48:24.161627"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 19:48:24.165793"], ["updated_at", "2014-09-26 19:48:24.165793"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 19:48:24.169480"], ["updated_at", "2014-09-26 19:48:24.169480"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.6ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:24.173050"], ["name", "alpha"], ["title", "Neque vel doloribus"], ["updated_at", "2014-09-26 19:48:24.173050"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 19:48:24.177744"], ["version", 6]]  (0.6ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 5, 44, 26, 43, 20, 15, 21, 29, 34, 32, 27, 22, 33, 4, 23, 13, 25, 24) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et voluptatem impedit est. Molestiae saepe ab placeat consequatur id non qui. Iure est et autem sit quae fugit.\nVoluptate eum ut. Ut cum at enim sed. Nostrum et fugit est aliquid. Natus doloremque omnis ratione est et autem. Possimus nihil nobis ut exercitationem ut.\nSint itaque sint cupiditate veritatis quibusdam quo. Quod debitis est dolores reprehenderit sunt. Deserunt et et voluptas earum accusamus autem."], ["created_at", "2014-09-26 19:48:24.187945"], ["name", "alpha"], ["title", "Similique expedita dolor"], ["updated_at", "2014-09-26 19:48:24.187945"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Enim sint in. Nam a ut laudantium tempora rem magnam culpa. Autem quaerat facilis. Distinctio eum ut tempore.\nQuae impedit provident eveniet cum. Blanditiis excepturi est. Non quia et molestias corrupti commodi qui.\nSint esse ex ab. Est debitis voluptatem architecto molestiae qui quidem et. Et explicabo et consequuntur nobis molestiae voluptatem. Qui ipsum et."], ["created_at", "2014-09-26 19:48:24.192779"], ["name", "beta"], ["title", "Consequatur et facilis"], ["updated_at", "2014-09-26 19:48:24.192779"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:24.194947"], ["updated_at", "2014-09-26 19:48:24.194947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 19:48:24.197759"], ["updated_at", "2014-09-26 19:48:24.197759"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 19:48:24.201559"], ["updated_at", "2014-09-26 19:48:24.201559"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:24.204923"], ["name", "alpha"], ["title", "Similique expedita dolor"], ["updated_at", "2014-09-26 19:48:24.204923"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 19:48:24.210148"], ["version", 8]]  (0.5ms) commit transaction FinePrint::Contract Load (0.8ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.040567"], ["updated_at", "2014-09-26 19:48:47.040567"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.047770"], ["updated_at", "2014-09-26 19:48:47.047770"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_ducimus_optio"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nesciunt_ducimus_optio') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laborum alias dolores perspiciatis et consequuntur. Cupiditate quis cumque ut architecto error fuga pariatur. Cumque incidunt maiores et. Temporibus velit dolor.\nAsperiores veniam aspernatur sunt provident explicabo inventore. Et neque qui quia et ut. Quaerat qui molestiae magni quo illum. Et possimus alias. Eum optio laudantium voluptatum repellendus.\nDolore earum quia nisi quasi labore possimus ea. Ut nisi minima similique. Qui adipisci earum minus qui optio. Voluptatum distinctio rerum."], ["created_at", "2014-09-26 19:48:47.279773"], ["name", "nesciunt_ducimus_optio"], ["title", "Voluptates iusto quam"], ["updated_at", "2014-09-26 19:48:47.279773"], ["version", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.288676"], ["updated_at", "2014-09-26 19:48:47.288676"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 19:48:47.289635"], ["updated_at", "2014-09-26 19:48:47.289635"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 175ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.475025"], ["updated_at", "2014-09-26 19:48:47.475025"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.478117"], ["updated_at", "2014-09-26 19:48:47.478117"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quam_qui_architecto"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quam_qui_architecto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit quasi sint natus velit adipisci nesciunt. Quia fuga quod. Fugit eaque et nostrum.\nVoluptas sequi ut id dolores earum. Dolorem aliquam rerum quae non. Sed placeat voluptatem sint voluptas eum optio. Minima dolor molestiae dolorem quidem eius. Autem quam est dolorem.\nNobis ipsam adipisci aut. Repudiandae voluptatem architecto id officiis sed autem rerum. Velit quidem dolores libero quibusdam temporibus. Nisi sunt dignissimos quis explicabo. Nemo quisquam in quae."], ["created_at", "2014-09-26 19:48:47.483884"], ["name", "quam_qui_architecto"], ["title", "Vel nostrum sed"], ["updated_at", "2014-09-26 19:48:47.483884"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.487977"], ["updated_at", "2014-09-26 19:48:47.487977"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-26 19:48:47.488958"], ["updated_at", "2014-09-26 19:48:47.488958"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.502021"], ["updated_at", "2014-09-26 19:48:47.502021"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.504073"], ["updated_at", "2014-09-26 19:48:47.504073"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_voluptas_saepe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'corporis_voluptas_saepe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et ipsum occaecati porro. Corporis illum vitae assumenda doloribus nam. Adipisci odio ut inventore ut. Non enim omnis maxime laudantium aspernatur impedit.\nMinima suscipit porro qui. Accusamus quia dolorum maxime. Omnis rem quo et. Totam error inventore molestiae. Et voluptate minus inventore est maxime.\nConsequuntur consequatur aliquid et vel excepturi. Dolorum porro ad qui suscipit fuga. Recusandae dolor sunt. Repellendus quidem rerum nam vel in iure nisi. Non sed molestiae earum dolorem non dolor sed."], ["created_at", "2014-09-26 19:48:47.509865"], ["name", "corporis_voluptas_saepe"], ["title", "Excepturi asperiores maiores"], ["updated_at", "2014-09-26 19:48:47.509865"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.513392"], ["updated_at", "2014-09-26 19:48:47.513392"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 19:48:47.514243"], ["updated_at", "2014-09-26 19:48:47.514243"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.522457"], ["updated_at", "2014-09-26 19:48:47.522457"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.524144"], ["updated_at", "2014-09-26 19:48:47.524144"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_ipsum_voluptatum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_ipsum_voluptatum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut animi ipsum et totam voluptatem et. Vel ea qui. Omnis illo magnam accusamus.\nSunt dolorem et doloremque sapiente dolore. Sint autem possimus voluptatem. Atque ea vel vero.\nDolorum quae occaecati tempore harum delectus ea vitae. Eos facilis ut sit nostrum inventore in voluptatem. Magni expedita quod rerum ut sequi itaque ullam. Pariatur illum iusto. Neque ducimus et quo quam quisquam aut."], ["created_at", "2014-09-26 19:48:47.528370"], ["name", "non_ipsum_voluptatum"], ["title", "Quia quidem enim"], ["updated_at", "2014-09-26 19:48:47.528370"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.531056"], ["updated_at", "2014-09-26 19:48:47.531056"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 19:48:47.531615"], ["updated_at", "2014-09-26 19:48:47.531615"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"4"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.534798"], ["updated_at", "2014-09-26 19:48:47.534798"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.536179"], ["updated_at", "2014-09-26 19:48:47.536179"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_sit_rerum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolores_sit_rerum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorum facilis praesentium repudiandae eligendi. Corporis nostrum architecto eligendi quia quis sit perspiciatis. Ullam ut adipisci possimus.\nEt doloribus voluptatem exercitationem qui. Sit placeat sunt facere non ea hic officiis. Vitae quis ea enim placeat voluptatibus. Quia dolores officiis eos ducimus amet et qui. Necessitatibus placeat perspiciatis ut.\nEt omnis enim quaerat est in occaecati. Possimus placeat iusto accusamus assumenda debitis quod et. Consequatur qui exercitationem ipsum dolorem."], ["created_at", "2014-09-26 19:48:47.540513"], ["name", "dolores_sit_rerum"], ["title", "Aspernatur ex soluta"], ["updated_at", "2014-09-26 19:48:47.540513"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.543137"], ["updated_at", "2014-09-26 19:48:47.543137"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 19:48:47.543705"], ["updated_at", "2014-09-26 19:48:47.543705"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.548807"], ["updated_at", "2014-09-26 19:48:47.548807"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.550300"], ["updated_at", "2014-09-26 19:48:47.550300"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_quia_tempora"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_quia_tempora') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor earum aut provident. Et iusto aut aut laudantium at quibusdam explicabo. Rem dolorem quis vero similique at voluptas. Repudiandae impedit rerum voluptas iusto sed iure quasi.\nDolore eveniet ipsum. Sit aut molestiae qui nisi accusamus quia. Consequuntur odio quia dolor et. Aut quos explicabo quibusdam voluptatem inventore illum qui. Mollitia est eos ut quae est voluptates.\nUt provident corporis nihil debitis pariatur ea. Mollitia optio vero autem. Hic nesciunt officiis ea."], ["created_at", "2014-09-26 19:48:47.554538"], ["name", "voluptatem_quia_tempora"], ["title", "Delectus sunt eveniet"], ["updated_at", "2014-09-26 19:48:47.554538"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.557373"], ["updated_at", "2014-09-26 19:48:47.557373"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 19:48:47.557954"], ["updated_at", "2014-09-26 19:48:47.557954"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.5ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Redirected to http://test.host/fine_print/contracts/6/signatures?r=bUZQWU9wS3lqajRpVW51Mlo3SVNkQT09LS1VQ1Y2djdmOEtMcytJNi9RT0h5TGlnPT0%3D--7977978f93a03a77a1a827c4f4c01efa1317ce9b Completed 302 Found in 5ms (ActiveRecord: 1.4ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.569482"], ["updated_at", "2014-09-26 19:48:47.569482"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.571398"], ["updated_at", "2014-09-26 19:48:47.571398"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempora_voluptas_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'tempora_voluptas_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Natus est esse quia. Ut aut porro ab reprehenderit sed. Saepe nesciunt exercitationem et aut. Cum recusandae error eos corporis quos id. Doloremque accusamus hic ipsum perspiciatis in.\nVero voluptas dolor. Ut et voluptas temporibus repudiandae et. Nesciunt cum excepturi sed fuga et. Aut omnis et ratione itaque.\nEst magni officia atque. Tempore maiores quibusdam deserunt. Deserunt blanditiis et reiciendis."], ["created_at", "2014-09-26 19:48:47.576998"], ["name", "tempora_voluptas_et"], ["title", "Ea dignissimos occaecati"], ["updated_at", "2014-09-26 19:48:47.576998"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.580904"], ["updated_at", "2014-09-26 19:48:47.580904"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 19:48:47.581894"], ["updated_at", "2014-09-26 19:48:47.581894"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.587491"], ["updated_at", "2014-09-26 19:48:47.587491"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.589259"], ["updated_at", "2014-09-26 19:48:47.589259"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_itaque_deleniti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_itaque_deleniti') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sit commodi debitis. Tempora necessitatibus mollitia laudantium. Ut harum aliquid et dolorum. Eius est in dolore ex facere consectetur. Id nisi quaerat praesentium porro nulla quis sequi.\nEligendi sit quis id tempore animi quas culpa. Ea voluptas natus repellendus facilis fuga. Maiores magnam provident velit repellendus nam molestiae. Ex molestiae nihil repellendus animi. Non ipsam ut accusantium ab est dolor odit.\nNeque nemo temporibus ad ut officia molestiae autem. Expedita at repudiandae debitis quos autem et. In alias nesciunt. Cupiditate optio et alias. Perspiciatis suscipit nobis earum est."], ["created_at", "2014-09-26 19:48:47.594059"], ["name", "aut_itaque_deleniti"], ["title", "Earum et cumque"], ["updated_at", "2014-09-26 19:48:47.594059"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.596739"], ["updated_at", "2014-09-26 19:48:47.596739"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 19:48:47.597346"], ["updated_at", "2014-09-26 19:48:47.597346"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias veniam est dolorum. Aut et deleniti commodi et ab unde. Rerum sunt quo. Est nihil nostrum earum sed deserunt eum perferendis. Aliquam architecto quidem labore.\nSimilique est excepturi ut id. In sint perspiciatis. Soluta reiciendis ipsa.\nQuos corrupti autem est illum. Tempora optio aut. Provident natus nesciunt. Enim reprehenderit aut. Eveniet amet asperiores sunt eum."], ["created_at", "2014-09-26 19:48:47.605074"], ["name", "alpha"], ["title", "Quis sint quas"], ["updated_at", "2014-09-26 19:48:47.605074"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eaque beatae voluptatem odio aliquam tenetur et. Ab sit dolores. Modi velit voluptatem necessitatibus sapiente sed excepturi. Nam qui accusamus aut veritatis nemo.\nQui ut dolores quo. Consequatur repudiandae minima nihil. Velit et laudantium. Sunt ipsa quasi quia sunt odit qui. Pariatur ullam ea delectus.\nRepellat ipsam harum tempore. Corrupti aliquid consequuntur aut ea unde. Eius doloremque qui qui suscipit sequi. Est porro magni molestiae sit enim."], ["created_at", "2014-09-26 19:48:47.609738"], ["name", "beta"], ["title", "Eligendi repellendus ab"], ["updated_at", "2014-09-26 19:48:47.609738"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.611718"], ["updated_at", "2014-09-26 19:48:47.611718"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 19:48:47.614826"], ["updated_at", "2014-09-26 19:48:47.614826"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 25) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 19:48:47.617539"], ["updated_at", "2014-09-26 19:48:47.617539"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:47.619926"], ["name", "alpha"], ["title", "Quis sint quas"], ["updated_at", "2014-09-26 19:48:47.619926"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-09-26 19:48:47.623206"], ["version", 2]]  (0.5ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 25 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (11, 8, 10, 3, 5, 1, 4, 2, 7, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut rerum aspernatur nihil. Saepe voluptatem molestias. Quo ab animi laudantium repudiandae autem.\nEa aut doloremque sed quia. Quia repudiandae qui inventore consequatur corrupti alias. Tenetur saepe et pariatur voluptas perferendis sunt dolor. Quia rerum nam consequatur et et libero mollitia. Fugit ratione eaque et hic vel officiis.\nCorrupti quo qui similique laudantium sunt est. Quod voluptas eius minus. Unde quam dolorem id. Aliquam doloribus consectetur libero. In a numquam in rerum."], ["created_at", "2014-09-26 19:48:47.634786"], ["name", "alpha"], ["title", "Animi perspiciatis autem"], ["updated_at", "2014-09-26 19:48:47.634786"], ["version", 3]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nihil velit non cupiditate ex perferendis architecto. Dolores et amet molestiae et iure ut voluptatibus. Quos quis occaecati labore. Similique aut velit nihil in dolores tempora. Fugiat aspernatur alias.\nSuscipit numquam impedit autem quo eos neque reprehenderit. Voluptas aliquam quia quas fuga est expedita. Voluptas expedita nobis.\nSit ipsa architecto non recusandae ex molestias. Consequatur voluptatem provident rerum illum. Ducimus totam aut omnis assumenda. Quia et sit officiis."], ["created_at", "2014-09-26 19:48:47.640343"], ["name", "beta"], ["title", "A voluptatum fugit"], ["updated_at", "2014-09-26 19:48:47.640343"], ["version", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.642535"], ["updated_at", "2014-09-26 19:48:47.642535"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 19:48:47.645739"], ["updated_at", "2014-09-26 19:48:47.645739"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 19:48:47.648487"], ["updated_at", "2014-09-26 19:48:47.648487"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:47.650746"], ["name", "alpha"], ["title", "Animi perspiciatis autem"], ["updated_at", "2014-09-26 19:48:47.650746"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 19:48:47.653874"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 26) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 19:48:47.671763"], ["updated_at", "2014-09-26 19:48:47.671763"], ["user_id", 26], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Enim sit iure et consequuntur amet beatae non. Eos velit quo. Harum repellendus nisi laborum accusamus quo in expedita.\nBeatae et quo labore. Sint sit magnam et libero doloremque magni. Dolor voluptatibus nobis. Dolorum possimus necessitatibus nisi. Eum perspiciatis aspernatur provident ut et eos impedit.\nIpsa est sapiente atque perferendis itaque. Nihil unde est enim ipsum ut. Ratione dolor occaecati perferendis odio molestias minus est. Voluptate vitae rem occaecati."], ["created_at", "2014-09-26 19:48:47.686764"], ["name", "alpha"], ["title", "Nihil voluptatum qui"], ["updated_at", "2014-09-26 19:48:47.686764"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Esse ipsum sint illum et. Voluptatibus perferendis dolore. Est aut perspiciatis quia ad corrupti. Dicta aliquid voluptas quod consequuntur nam repudiandae.\nMagni soluta debitis. Iure fugit quo velit sed saepe et. Voluptatem a et expedita.\nEnim soluta delectus quae iure. Perspiciatis vero ut qui consequuntur. Eius ut ut repellat qui dolor nulla ut."], ["created_at", "2014-09-26 19:48:47.690892"], ["name", "beta"], ["title", "Autem tempora voluptatem"], ["updated_at", "2014-09-26 19:48:47.690892"], ["version", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.692678"], ["updated_at", "2014-09-26 19:48:47.692678"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-09-26 19:48:47.695648"], ["updated_at", "2014-09-26 19:48:47.695648"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 27) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-09-26 19:48:47.698180"], ["updated_at", "2014-09-26 19:48:47.698180"], ["user_id", 27], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:47.700473"], ["name", "alpha"], ["title", "Nihil voluptatum qui"], ["updated_at", "2014-09-26 19:48:47.700473"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 19:48:47.703502"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dignissimos distinctio vel cumque quia. Fugit velit nihil facilis. Blanditiis delectus voluptate eos. Velit expedita sunt est omnis commodi.\nRecusandae aliquid aut voluptatum quos enim. Nostrum id omnis vitae consectetur rerum. Similique eius esse. Magnam a vero. Laudantium enim quia voluptatem.\nAnimi non quisquam officia aut perspiciatis suscipit. Odio enim cum. Neque ea in labore."], ["created_at", "2014-09-26 19:48:47.711347"], ["name", "alpha"], ["title", "Incidunt reiciendis asperiores"], ["updated_at", "2014-09-26 19:48:47.711347"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quod sit autem. Et sequi qui eos. Nobis aperiam doloremque. Labore deserunt et ut. Voluptatem quae eum nisi sit sit velit et.\nDeleniti voluptatem eligendi ipsa non. Nisi dolores nobis reiciendis illum. Non quia quia aut dolores ex atque totam. Cumque est aperiam.\nIpsam veniam est repellendus excepturi sed non. Repellendus quis quo eum sunt et et. Repudiandae itaque eius asperiores molestias. Dolor porro vitae eos amet voluptate. Itaque officiis iusto in velit et dolor."], ["created_at", "2014-09-26 19:48:47.715641"], ["name", "beta"], ["title", "Libero et eos"], ["updated_at", "2014-09-26 19:48:47.715641"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.717249"], ["updated_at", "2014-09-26 19:48:47.717249"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-09-26 19:48:47.720054"], ["updated_at", "2014-09-26 19:48:47.720054"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 28) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-09-26 19:48:47.722598"], ["updated_at", "2014-09-26 19:48:47.722598"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 19:48:47.724869"], ["name", "alpha"], ["title", "Incidunt reiciendis asperiores"], ["updated_at", "2014-09-26 19:48:47.724869"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 19:48:47.727902"], ["version", 8]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (20, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.733346"], ["updated_at", "2014-09-26 19:48:47.733346"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.734779"], ["updated_at", "2014-09-26 19:48:47.734779"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.739373"], ["updated_at", "2014-09-26 19:48:47.739373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.740944"], ["updated_at", "2014-09-26 19:48:47.740944"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Distinctio cumque commodi. Qui eligendi est et at tempora. Et sequi suscipit maxime itaque molestias. Ut facilis repellendus modi. Fugiat delectus cumque sit aut enim molestiae dolorem.\nTempore ea vel. Impedit suscipit dignissimos rerum dicta ut consequatur. Velit ex qui eveniet omnis. Perferendis eius voluptas voluptas quia sapiente vel odit.\nAut nostrum cumque fuga id. Qui fugit quis mollitia dicta illum eos exercitationem. Consequatur sit odio est. Rerum voluptas quo sit. Nihil corrupti odio itaque."], ["created_at", "2014-09-26 19:48:47.748799"], ["name", "a_et_eligendi"], ["title", "Deserunt voluptatem excepturi"], ["updated_at", "2014-09-26 19:48:47.748799"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "a_et_eligendi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'a_et_eligendi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 19:48:47.752408"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.756954"], ["updated_at", "2014-09-26 19:48:47.756954"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-26 19:48:47.757566"], ["updated_at", "2014-09-26 19:48:47.757566"], ["user_id", 33], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'a_et_eligendi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "a_et_eligendi"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_sequi_possimus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_sequi_possimus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores consequatur hic consequatur. Et tempora rerum eveniet unde excepturi. Recusandae et illum reiciendis. Dolor dolores natus. Quis aperiam ab pariatur eaque molestiae.\nVeniam corporis quo sequi enim. Id reprehenderit odit ducimus. Aliquam voluptatum est est reprehenderit. Id quasi consequatur sed ut. Consequuntur vitae quo dolorum eligendi deleniti cumque.\nEos et neque consectetur ut eum sapiente. Excepturi mollitia quas a aliquam sint laboriosam dolorum. Minima officiis quidem consequatur."], ["created_at", "2014-09-26 19:48:47.767935"], ["name", "qui_sequi_possimus"], ["title", "Consectetur eos enim"], ["updated_at", "2014-09-26 19:48:47.767935"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'qui_sequi_possimus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolores consequatur hic consequatur. Et tempora rerum eveniet unde excepturi. Recusandae et illum reiciendis. Dolor dolores natus. Quis aperiam ab pariatur eaque molestiae.\nVeniam corporis quo sequi enim. Id reprehenderit odit ducimus. Aliquam voluptatum est est reprehenderit. Id quasi consequatur sed ut. Consequuntur vitae quo dolorum eligendi deleniti cumque.\nEos et neque consectetur ut eum sapiente. Excepturi mollitia quas a aliquam sint laboriosam dolorum. Minima officiis quidem consequatur."], ["created_at", "2014-09-26 19:48:47.770963"], ["name", "joe"], ["title", "Consectetur eos enim"], ["updated_at", "2014-09-26 19:48:47.770963"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-26 19:48:47.774476"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nulla occaecati id nam ut et assumenda eum. Id voluptatem animi optio quia eius. Veritatis voluptas quibusdam.\nNon illum qui corporis et. Est cum asperiores nam repellendus. Tempora ut quod sit sunt qui repellendus velit.\nSequi repellat natus enim autem. Maiores aut voluptas voluptatum. Quis voluptates autem. Voluptates et ullam nam rerum distinctio delectus ratione. Non sunt officiis."], ["created_at", "2014-09-26 19:48:47.778194"], ["name", "ea_architecto_est"], ["title", "Voluptate aut voluptas"], ["updated_at", "2014-09-26 19:48:47.778194"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_architecto_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 24 AND "fine_print_contracts"."name" = 'ea_architecto_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-26 19:48:47.782475"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_architecto_est"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_architecto_est"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 24 [["updated_at", "2014-09-26 19:48:47.787031"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nobis_quos_delectus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nobis_quos_delectus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum placeat distinctio laudantium dolorem et rerum. Delectus temporibus maxime corrupti sit quas reprehenderit eos. Omnis explicabo et dolorum occaecati error. Dolorum non voluptatum ea. Sit libero et.\nIn reprehenderit consequatur et neque dolores aut. Eaque est a esse eum beatae minima. Architecto aliquam consequatur et natus eaque et suscipit. Est in adipisci. Voluptatem minus unde voluptas esse.\nAut harum quo molestias eaque. Repellat voluptas ipsa alias. Eveniet nesciunt voluptates aspernatur modi minus deserunt. Numquam iste illum minus perspiciatis enim."], ["created_at", "2014-09-26 19:48:47.791977"], ["name", "nobis_quos_delectus"], ["title", "Dolores est sunt"], ["updated_at", "2014-09-26 19:48:47.791977"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'nobis_quos_delectus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum placeat distinctio laudantium dolorem et rerum. Delectus temporibus maxime corrupti sit quas reprehenderit eos. Omnis explicabo et dolorum occaecati error. Dolorum non voluptatum ea. Sit libero et.\nIn reprehenderit consequatur et neque dolores aut. Eaque est a esse eum beatae minima. Architecto aliquam consequatur et natus eaque et suscipit. Est in adipisci. Voluptatem minus unde voluptas esse.\nAut harum quo molestias eaque. Repellat voluptas ipsa alias. Eveniet nesciunt voluptates aspernatur modi minus deserunt. Numquam iste illum minus perspiciatis enim."], ["created_at", "2014-09-26 19:48:47.794385"], ["name", "nobis_quos_delectus"], ["title", "Dolores est sunt"], ["updated_at", "2014-09-26 19:48:47.794385"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nobis_quos_delectus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'nobis_quos_delectus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 19:48:47.797381"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.800656"], ["updated_at", "2014-09-26 19:48:47.800656"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.802183"], ["updated_at", "2014-09-26 19:48:47.802183"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit facere culpa et. Ex tenetur molestiae ad id ut exercitationem. Natus et voluptas alias dolorem quia. Ducimus cupiditate eveniet.\nCorporis est numquam occaecati rem porro eum enim. Nulla enim debitis voluptatum beatae alias animi. Error quidem consequuntur enim dicta excepturi voluptatem modi.\nMolestiae fugit nihil. Consequatur alias expedita sed repudiandae aut est. Similique commodi est rerum earum omnis ratione. Rerum deleniti accusantium. Optio qui nemo beatae."], ["created_at", "2014-09-26 19:48:47.804470"], ["name", "sed_fuga_consequatur"], ["title", "Est iste dolore"], ["updated_at", "2014-09-26 19:48:47.804470"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_fuga_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'sed_fuga_consequatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-26 19:48:47.807627"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.813863"], ["updated_at", "2014-09-26 19:48:47.813863"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.815643"], ["updated_at", "2014-09-26 19:48:47.815643"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nulla eos quis nesciunt saepe ut nam. Aliquid veniam unde nulla ab cum aut. Maiores aut sit est sint libero facere voluptatem. Sequi voluptatem doloremque enim voluptas repellendus aut quaerat.\nVero tempore voluptatem eligendi incidunt. Temporibus possimus qui soluta optio et quibusdam. Quo rerum voluptatem tempora temporibus dolorem earum dolores.\nEt neque inventore quis. Officia architecto itaque nihil quaerat a nam. Tempore omnis alias nam."], ["created_at", "2014-09-26 19:48:47.818025"], ["name", "necessitatibus_corporis_laborum"], ["title", "Animi cupiditate fugit"], ["updated_at", "2014-09-26 19:48:47.818025"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.824284"], ["updated_at", "2014-09-26 19:48:47.824284"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.825852"], ["updated_at", "2014-09-26 19:48:47.825852"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nesciunt velit impedit nobis consequatur aut perferendis. Voluptatem odit et optio impedit vero nobis perferendis. Vitae corporis ex maiores nihil praesentium. Mollitia illo odit et distinctio quod nulla. Similique nihil labore.\nQuos nisi laborum occaecati vel libero omnis. Sit ipsam corporis. Qui a voluptatibus dicta accusamus ipsam adipisci corporis.\nRepellat atque totam pariatur. Earum omnis praesentium eaque aut. Vitae animi facilis quasi. Aut qui nobis qui."], ["created_at", "2014-09-26 19:48:47.828349"], ["name", "odio_eligendi_enim"], ["title", "Ut omnis et"], ["updated_at", "2014-09-26 19:48:47.828349"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odio_eligendi_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 29 AND "fine_print_contracts"."name" = 'odio_eligendi_enim') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 19:48:47.831792"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"29"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odio_eligendi_enim"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 29]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 29 [["updated_at", "2014-09-26 19:48:47.837090"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.841555"], ["updated_at", "2014-09-26 19:48:47.841555"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.843136"], ["updated_at", "2014-09-26 19:48:47.843136"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum consequuntur fugit eius explicabo aut. Ut quo cumque eligendi iure. Minus qui suscipit est necessitatibus possimus. Laboriosam fugiat rerum rerum vel ratione vero.\nDolorum voluptates sed officiis dolores culpa. Earum sint tempore. Deserunt ut accusantium. Earum et molestiae.\nQui non tempore odio sapiente. Eaque quo sint ut non. Tenetur saepe neque numquam. Rerum perferendis esse deleniti."], ["created_at", "2014-09-26 19:48:47.845391"], ["name", "praesentium_officiis_molestias"], ["title", "Quos quaerat expedita"], ["updated_at", "2014-09-26 19:48:47.845391"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 30 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 19:48:47.849206"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.855505"], ["updated_at", "2014-09-26 19:48:47.855505"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.857259"], ["updated_at", "2014-09-26 19:48:47.857259"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "A minima delectus voluptas dolorem occaecati sit magnam. Aspernatur repudiandae inventore impedit totam est blanditiis dolorum. Cupiditate est sunt nihil et incidunt.\nEa sint dolorum animi. Ullam et dolores ipsum non magni officiis. Consequatur cumque maxime neque natus dolores voluptates. Ipsam quos ut optio aut molestiae.\nDelectus optio reprehenderit omnis impedit. Corporis minus voluptatem harum aliquid rem quibusdam odio. Ut ut debitis temporibus et vero. Sed deserunt et est fuga ab id. Nemo recusandae architecto reprehenderit at ipsa rem quos."], ["created_at", "2014-09-26 19:48:47.859658"], ["name", "labore_ut_et"], ["title", "Aperiam saepe labore"], ["updated_at", "2014-09-26 19:48:47.859658"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.865495"], ["updated_at", "2014-09-26 19:48:47.865495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.867062"], ["updated_at", "2014-09-26 19:48:47.867062"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et et qui delectus. Amet voluptas est sed porro soluta cumque. Magnam sunt cupiditate et quidem laborum voluptatem. Quis dicta nostrum commodi. Earum rerum maxime placeat repudiandae.\nIure dolore dolorem reprehenderit est et in. Sapiente animi voluptatem laboriosam esse ratione. Iure dicta sunt possimus reiciendis aut sed cumque.\nMaxime ex in. Quasi dolor nulla modi nesciunt et vel. Deserunt nulla eum a ea. Et consequuntur saepe ut incidunt. Ratione alias consequatur dolores ab blanditiis."], ["created_at", "2014-09-26 19:48:47.869369"], ["name", "quo_nihil_sed"], ["title", "Quia laudantium non"], ["updated_at", "2014-09-26 19:48:47.869369"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21, 20, 18, 17, 15, 14, 12, 11, 9, 30, 8, 19, 16, 13, 10, 3, 5, 24, 23, 31, 28, 1, 26, 25, 4, 29, 2, 22, 32, 27, 7, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.876870"], ["updated_at", "2014-09-26 19:48:47.876870"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.878411"], ["updated_at", "2014-09-26 19:48:47.878411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit placeat ea qui reprehenderit. Maxime sed vel aut unde voluptas. Veniam quidem odit illo voluptatem excepturi.\nNisi similique ipsa assumenda fugit. Incidunt doloribus et sint esse explicabo impedit sint. Debitis soluta modi commodi non blanditiis.\nEt dolore velit excepturi vel suscipit consequatur placeat. Sit molestias dolorem. Ullam et harum quo aut animi. Necessitatibus laboriosam rerum est. Possimus enim et."], ["created_at", "2014-09-26 19:48:47.880653"], ["name", "corrupti_quibusdam_aut"], ["title", "Nobis dolor laboriosam"], ["updated_at", "2014-09-26 19:48:47.880653"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.884664"], ["updated_at", "2014-09-26 19:48:47.884664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.886190"], ["updated_at", "2014-09-26 19:48:47.886190"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Odio sit tenetur explicabo. Ipsum nihil et ipsa sequi sit consequuntur possimus. Vel et officiis rerum doloribus. Inventore voluptatem repellat recusandae omnis libero.\nRem porro sint mollitia possimus laboriosam dignissimos. Et commodi necessitatibus. Perspiciatis est quos.\nTenetur illo reprehenderit maxime. Unde vero dicta cum sunt quas. Nobis eum ipsam illum rerum odit repellat dolore."], ["created_at", "2014-09-26 19:48:47.888409"], ["name", "asperiores_vitae_earum"], ["title", "Laboriosam voluptatem facilis"], ["updated_at", "2014-09-26 19:48:47.888409"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.892903"], ["updated_at", "2014-09-26 19:48:47.892903"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.894456"], ["updated_at", "2014-09-26 19:48:47.894456"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem molestiae temporibus non sed. Facere est vel dolorem tempore fugit minima. Maiores nihil sed sed autem sit. Voluptatem omnis sit quae illo incidunt voluptatum.\nSunt dolorum ducimus. Qui dolor incidunt distinctio officiis. Voluptatibus non debitis nostrum optio unde aspernatur nemo.\nNeque quis consequuntur saepe. Animi ullam optio. Natus error omnis molestias aut beatae."], ["created_at", "2014-09-26 19:48:47.896656"], ["name", "sunt_ut_maxime"], ["title", "Est sed ut"], ["updated_at", "2014-09-26 19:48:47.896656"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"35"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"35"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.900700"], ["updated_at", "2014-09-26 19:48:47.900700"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.902223"], ["updated_at", "2014-09-26 19:48:47.902223"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quae ducimus recusandae voluptatum. Similique architecto cumque illum. Expedita ea quibusdam commodi sapiente aut ad. Voluptatibus enim quos voluptas autem sit facere.\nRerum molestiae autem in aperiam iste nulla. Aspernatur at sint dolor sapiente ducimus ullam natus. Consequuntur nostrum aut id autem sit harum. Est et non. Temporibus ab et.\nIpsum suscipit dolores esse quis vitae. Et libero culpa qui voluptatem facilis aspernatur. Pariatur omnis dolorum molestiae quo blanditiis sint. Aut qui aperiam ea voluptatem libero voluptas iure. Ab enim quis tempora."], ["created_at", "2014-09-26 19:48:47.905141"], ["name", "facilis_ex_ut"], ["title", "Velit quisquam et"], ["updated_at", "2014-09-26 19:48:47.905141"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facilis_ex_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'facilis_ex_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-26 19:48:47.908696"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'facilis_ex_ut' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.916026"], ["updated_at", "2014-09-26 19:48:47.916026"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.917584"], ["updated_at", "2014-09-26 19:48:47.917584"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut accusamus voluptates iste quia atque. Consequatur nihil voluptatem eos praesentium ea reiciendis dignissimos. Quidem sit temporibus et quia sit voluptate itaque.\nVoluptatem non fuga aut. Possimus occaecati porro sint sequi nulla hic facilis. Dolore nesciunt veniam sed odio et rerum ducimus.\nFacilis soluta ab voluptatibus vel aut unde. Unde harum mollitia non aut eum. Quia quia sed soluta. Qui ullam repudiandae libero excepturi eveniet."], ["created_at", "2014-09-26 19:48:47.919839"], ["name", "beatae_suscipit_a"], ["title", "Sed sed et"], ["updated_at", "2014-09-26 19:48:47.919839"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beatae_suscipit_a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'beatae_suscipit_a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-26 19:48:47.930621"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"37"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"37"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.938589"], ["updated_at", "2014-09-26 19:48:47.938589"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.941073"], ["updated_at", "2014-09-26 19:48:47.941073"]]  (0.7ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et et doloremque. Ratione illum ipsam quo. Eligendi id soluta est et. Voluptas aut accusantium.\nQuia molestias doloribus voluptatibus numquam consequatur. Temporibus dolor et nam. Tempore at voluptatem optio.\nNisi enim ut nam sunt placeat et. Sed officiis dignissimos. Assumenda est impedit."], ["created_at", "2014-09-26 19:48:47.943918"], ["name", "omnis_non_accusantium"], ["title", "Cum magni deserunt"], ["updated_at", "2014-09-26 19:48:47.943918"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_non_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'omnis_non_accusantium') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 19:48:47.950764"], ["version", 1]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 8ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.957565"], ["updated_at", "2014-09-26 19:48:47.957565"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.959514"], ["updated_at", "2014-09-26 19:48:47.959514"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel quae sed hic velit. Et qui consectetur fugit placeat molestiae aut. Labore reprehenderit est. Quis aspernatur magnam debitis eum facilis.\nOmnis facere ad non. Recusandae aliquam magni nostrum. Iusto sint dicta beatae fugiat.\nOdit rerum sit. Sint qui sed sed numquam velit consequatur libero. Nemo et maxime voluptates. Eos a omnis et alias voluptatem."], ["created_at", "2014-09-26 19:48:47.962735"], ["name", "ipsum_delectus_quae"], ["title", "Architecto numquam sunt"], ["updated_at", "2014-09-26 19:48:47.962735"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.968157"], ["updated_at", "2014-09-26 19:48:47.968157"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.969565"], ["updated_at", "2014-09-26 19:48:47.969565"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reprehenderit natus qui aliquid similique itaque. Velit laborum suscipit quam nemo ad iusto voluptatem. Aut laudantium dolor reiciendis est. Vitae consequatur rem sed.\nSuscipit sapiente veritatis rerum recusandae debitis. Id et veritatis corrupti cumque in. Natus cum vel id. Aut nisi alias.\nEst veritatis et recusandae sit sequi. Et sint porro. Qui ut atque qui. Voluptatem id qui incidunt distinctio sunt porro. Qui illum nemo repellat voluptatem molestiae sint alias."], ["created_at", "2014-09-26 19:48:47.973049"], ["name", "quia_ea_at"], ["title", "Quo amet est"], ["updated_at", "2014-09-26 19:48:47.973049"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 19:48:47.977116"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 19:48:47.977116"]]  (0.9ms) commit transaction Redirected to http://test.host/fine_print/contracts/41 Completed 302 Found in 3ms (ActiveRecord: 1.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.981628"], ["updated_at", "2014-09-26 19:48:47.981628"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.983354"], ["updated_at", "2014-09-26 19:48:47.983354"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ad minus laborum repellendus aut ullam. Quia sed expedita sit sit laborum consequuntur est. Dolor velit numquam sit. Non quo nisi.\nQuas voluptatem repellat. Ipsa consequuntur aliquam non minima ut. Fuga porro eius inventore sequi eligendi quis. Error porro provident minus velit non. Occaecati officia optio voluptatem qui.\nNam quia aut non nihil. Explicabo atque quam. Tenetur magni quia qui ducimus et quidem. Nostrum delectus dolores sequi animi soluta cupiditate."], ["created_at", "2014-09-26 19:48:47.986020"], ["name", "sit_qui_tempora"], ["title", "Qui ratione et"], ["updated_at", "2014-09-26 19:48:47.986020"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]] Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.996373"], ["updated_at", "2014-09-26 19:48:47.996373"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:47.998169"], ["updated_at", "2014-09-26 19:48:47.998169"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo maiores dicta dolorem quia. Nihil cupiditate exercitationem aut et qui velit provident. Et at consequatur ullam et ab. Nobis esse eos a fugiat.\nMagnam quos ut distinctio et. Reprehenderit vel dolor possimus molestiae nihil iure. Possimus sunt velit quas similique est quo. Harum est at tenetur. Aut ut distinctio dolor.\nEt ullam minus sint unde omnis. Expedita pariatur explicabo blanditiis. Aspernatur qui sint soluta sit repellendus. Omnis assumenda non molestias necessitatibus aut possimus. Illum molestias consequatur velit quae exercitationem ut suscipit."], ["created_at", "2014-09-26 19:48:48.001626"], ["name", "sunt_beatae_corrupti"], ["title", "Quia quis explicabo"], ["updated_at", "2014-09-26 19:48:48.001626"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 43]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 43]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 43 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:48.010850"], ["updated_at", "2014-09-26 19:48:48.010850"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:48.013287"], ["updated_at", "2014-09-26 19:48:48.013287"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Enim dolor debitis velit fugiat dolor. Sint ipsa non eveniet facilis quod eos. Earum architecto nostrum.\nNihil sit fugiat. Voluptatem harum iure laboriosam. Neque excepturi nobis ut laudantium. Ipsa soluta recusandae omnis autem et rerum. Veritatis accusamus inventore eveniet ad expedita fugit voluptas.\nPerspiciatis atque velit repellendus dolore quod. Omnis molestiae quas dolores et doloremque. Et maiores et."], ["created_at", "2014-09-26 19:48:48.016487"], ["name", "unde_aliquam_reiciendis"], ["title", "Sit in magnam"], ["updated_at", "2014-09-26 19:48:48.016487"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"44"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 44]]  (0.7ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:48.025633"], ["updated_at", "2014-09-26 19:48:48.025633"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 19:48:48.027475"], ["updated_at", "2014-09-26 19:48:48.027475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt non quas tempora vel sit quae. Vero sunt officia alias aperiam quaerat. Voluptate ducimus doloremque tempore quis id cupiditate atque. Suscipit quas occaecati et quisquam ut omnis. Earum temporibus quia autem.\nPerspiciatis hic consequatur natus enim facere. Velit deleniti dolores molestias sit vel enim ut. Error earum alias doloribus maxime voluptas.\nConsequuntur eum dolorem iste quas. Maiores debitis velit ut repellendus praesentium sequi. Numquam pariatur quo nihil. Possimus voluptatem sit et. Quia quia eos."], ["created_at", "2014-09-26 19:48:48.031016"], ["name", "vel_perferendis_quia"], ["title", "Sit minima qui"], ["updated_at", "2014-09-26 19:48:48.031016"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsa autem quis. Explicabo omnis laborum nulla enim eveniet perferendis quis. Voluptates amet quo odio aut id et. Aspernatur iusto provident illo id reprehenderit.\nIn ut dolores. Officia maxime aut. Praesentium et et.\nDeleniti odio commodi nihil. Reprehenderit facere quidem quo sit dicta. Atque enim molestiae magnam praesentium. Quasi rerum nisi totam veritatis."], ["created_at", "2014-09-26 19:48:48.036623"], ["name", "est_facere_possimus"], ["title", "Sit et velit"], ["updated_at", "2014-09-26 19:48:48.036623"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corrupti_sed_ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'corrupti_sed_ea') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae ut eveniet blanditiis. Sint ea magnam est. Commodi aliquam sit numquam.\nQuae non dolor. Cupiditate dolorum quasi quia enim alias provident. Aut est qui numquam distinctio aspernatur suscipit quo.\nEa voluptatibus dolores et eius impedit. Fuga iusto voluptates et. Aliquid similique omnis. Illo vitae nihil iste. Reiciendis modi corrupti qui officiis aspernatur aut."], ["created_at", "2014-09-26 19:48:48.043002"], ["name", "corrupti_sed_ea"], ["title", "Quasi eveniet aut"], ["updated_at", "2014-09-26 19:48:48.043002"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.2ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Commodi culpa cumque enim illum maxime dolorum et. Molestiae in maxime sequi animi a hic. Eaque ducimus repudiandae exercitationem magni.\nVoluptatum aspernatur enim. Reprehenderit hic molestias nemo sunt voluptatum ut. Aut praesentium qui neque ratione. Architecto expedita consequatur error fugiat perspiciatis. Tenetur quo qui.\nBlanditiis ullam repudiandae est sunt veniam ut aperiam. Consequatur architecto minus. Libero cupiditate laboriosam nihil est."], ["created_at", "2014-09-26 20:02:28.142767"], ["name", "dicta_omnis_dolor"], ["title", "Minima aut tempore"], ["updated_at", "2014-09-26 20:02:28.142767"]]  (1.5ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dicta_omnis_dolor"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'dicta_omnis_dolor') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-26 20:02:28.158486"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.171773"], ["updated_at", "2014-09-26 20:02:28.171773"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-26 20:02:28.172623"], ["updated_at", "2014-09-26 20:02:28.172623"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'dicta_omnis_dolor') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dicta_omnis_dolor"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_occaecati_aspernatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minus_occaecati_aspernatur') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia dolorum aliquid nihil explicabo deleniti asperiores harum. Nihil accusamus tempore ducimus eius quos laboriosam. Voluptatum enim non ea ipsum atque.\nDolor natus et earum eum corporis autem iusto. Facere sit aut necessitatibus iste ipsum. Ipsa est dicta aut omnis quia id qui. Quam est ipsum doloribus nisi eos et.\nAutem ab et expedita aliquid est repellat similique. Rerum et dolorum eaque consequatur. Nobis harum blanditiis labore et nostrum. Quis fugiat omnis commodi aut ducimus ipsa."], ["created_at", "2014-09-26 20:02:28.188382"], ["name", "minus_occaecati_aspernatur"], ["title", "Est quam nobis"], ["updated_at", "2014-09-26 20:02:28.188382"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'minus_occaecati_aspernatur' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia dolorum aliquid nihil explicabo deleniti asperiores harum. Nihil accusamus tempore ducimus eius quos laboriosam. Voluptatum enim non ea ipsum atque.\nDolor natus et earum eum corporis autem iusto. Facere sit aut necessitatibus iste ipsum. Ipsa est dicta aut omnis quia id qui. Quam est ipsum doloribus nisi eos et.\nAutem ab et expedita aliquid est repellat similique. Rerum et dolorum eaque consequatur. Nobis harum blanditiis labore et nostrum. Quis fugiat omnis commodi aut ducimus ipsa."], ["created_at", "2014-09-26 20:02:28.193281"], ["name", "minus_occaecati_aspernatur"], ["title", "Est quam nobis"], ["updated_at", "2014-09-26 20:02:28.193281"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_occaecati_aspernatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'minus_occaecati_aspernatur') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-26 20:02:28.196532"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut quasi delectus deserunt. Est fugiat commodi. Ut magnam atque iusto et. Quasi excepturi dolorum. Voluptatibus et nostrum ipsa.\nQui quae quibusdam totam eum ab ratione veritatis. Repudiandae provident ipsam. Ipsam libero id voluptates rerum porro quibusdam. Ipsa vel esse iusto consequatur suscipit.\nMaxime quaerat sequi et rerum. Accusantium ea aut minima et. Qui at tempora."], ["created_at", "2014-09-26 20:02:28.200385"], ["name", "nesciunt_incidunt_ex"], ["title", "Quod placeat commodi"], ["updated_at", "2014-09-26 20:02:28.200385"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_incidunt_ex"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'nesciunt_incidunt_ex') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 20:02:28.205398"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_incidunt_ex"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_incidunt_ex"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-26 20:02:28.209920"], ["version", nil]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quam_commodi_id"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quam_commodi_id') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptas cum rerum facere autem. Nihil numquam incidunt dolores. Aperiam eos in accusantium possimus adipisci ipsa. Repellat corrupti itaque id. Similique voluptatem maiores ea recusandae nostrum est.\nEos et dolores fugiat. Aliquid cupiditate eius hic illo libero in. Amet doloribus dolores aut. Rerum numquam similique dicta et.\nCum asperiores voluptatibus omnis nobis. Architecto non itaque. Quis soluta voluptas dolores consectetur. Omnis est labore voluptas quia. Ut vero ea corrupti aut."], ["created_at", "2014-09-26 20:02:28.215041"], ["name", "quam_commodi_id"], ["title", "Tempore fugiat et"], ["updated_at", "2014-09-26 20:02:28.215041"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'quam_commodi_id' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas cum rerum facere autem. Nihil numquam incidunt dolores. Aperiam eos in accusantium possimus adipisci ipsa. Repellat corrupti itaque id. Similique voluptatem maiores ea recusandae nostrum est.\nEos et dolores fugiat. Aliquid cupiditate eius hic illo libero in. Amet doloribus dolores aut. Rerum numquam similique dicta et.\nCum asperiores voluptatibus omnis nobis. Architecto non itaque. Quis soluta voluptas dolores consectetur. Omnis est labore voluptas quia. Ut vero ea corrupti aut."], ["created_at", "2014-09-26 20:02:28.217640"], ["name", "joe"], ["title", "Tempore fugiat et"], ["updated_at", "2014-09-26 20:02:28.217640"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-26 20:02:28.221036"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.224853"], ["updated_at", "2014-09-26 20:02:28.224853"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.226447"], ["updated_at", "2014-09-26 20:02:28.226447"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_ratione_sit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quaerat_ratione_sit') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor ullam quasi quis repellat accusamus sit nesciunt. Molestiae ea aspernatur. Debitis voluptatem dolore natus sunt. Voluptatem veritatis voluptates impedit dolorem perspiciatis sunt et.\nConsequatur blanditiis aut ea magnam labore distinctio. Eos aliquam voluptatibus. Ex quis itaque delectus.\nVoluptas repellendus saepe. Sit accusamus qui. Quod illum sunt vel ut commodi. Temporibus molestias quod reiciendis. Ea sequi qui voluptas repellendus aut rem aut."], ["created_at", "2014-09-26 20:02:28.231471"], ["name", "quaerat_ratione_sit"], ["title", "Iusto voluptates error"], ["updated_at", "2014-09-26 20:02:28.231471"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.234373"], ["updated_at", "2014-09-26 20:02:28.234373"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 20:02:28.234964"], ["updated_at", "2014-09-26 20:02:28.234964"], ["user_id", 4], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/fine_print/application (0.2ms) Completed 200 OK in 187ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.426933"], ["updated_at", "2014-09-26 20:02:28.426933"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.429772"], ["updated_at", "2014-09-26 20:02:28.429772"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "amet_nostrum_itaque"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'amet_nostrum_itaque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius pariatur commodi explicabo molestiae doloribus libero. Reiciendis eligendi ipsa tempora omnis explicabo itaque dolorem. Recusandae quis in dolores ipsum. Dolore et non fugiat sed temporibus voluptatem.\nEius natus cumque fugit fuga laboriosam. Animi porro expedita illum sed vel voluptatibus quasi. Quisquam id ratione placeat voluptatem. Aut tenetur quo minus. Eius voluptatem non exercitationem non dolor.\nId ea nisi non laboriosam corrupti. Dolores aut repellat odit labore sed aspernatur. Quis animi est odio ducimus quod. Iusto est eligendi at perspiciatis aliquam possimus dolorem."], ["created_at", "2014-09-26 20:02:28.436232"], ["name", "amet_nostrum_itaque"], ["title", "Sed reprehenderit similique"], ["updated_at", "2014-09-26 20:02:28.436232"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.439227"], ["updated_at", "2014-09-26 20:02:28.439227"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 20:02:28.439887"], ["updated_at", "2014-09-26 20:02:28.439887"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.443882"], ["updated_at", "2014-09-26 20:02:28.443882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.445412"], ["updated_at", "2014-09-26 20:02:28.445412"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eligendi_alias_blanditiis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eligendi_alias_blanditiis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Incidunt molestiae quam. Tenetur praesentium ad quis. Et nam maiores fugit aut.\nAliquid non repellat sed rerum voluptatem veniam. Recusandae sit dolore a aut nihil ea voluptatem. Occaecati nihil neque minus dolorum voluptatem aut. Culpa ea eius.\nRepudiandae quos et. Perferendis a dolores qui eligendi hic ullam. Accusamus fugit autem quia nisi optio. Illo maxime eius. Suscipit officia cumque porro enim eos repellendus minima."], ["created_at", "2014-09-26 20:02:28.449476"], ["name", "eligendi_alias_blanditiis"], ["title", "Laborum molestiae doloribus"], ["updated_at", "2014-09-26 20:02:28.449476"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.451965"], ["updated_at", "2014-09-26 20:02:28.451965"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 20:02:28.452491"], ["updated_at", "2014-09-26 20:02:28.452491"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.457861"], ["updated_at", "2014-09-26 20:02:28.457861"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.459341"], ["updated_at", "2014-09-26 20:02:28.459341"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ducimus_consequatur_sapiente"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ducimus_consequatur_sapiente') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Neque hic assumenda sapiente totam nulla. Ea a quasi aut quibusdam. Error fugiat voluptas praesentium inventore consequatur.\nVeritatis numquam cum eum dolorem nobis ratione. Ut eaque quidem expedita et et velit dicta. Consectetur unde natus porro in id enim.\nAmet quibusdam quos. Consequatur cupiditate omnis est. Distinctio laborum molestiae sit. Fugit et consequatur adipisci qui est voluptas facere. Et et totam eaque assumenda."], ["created_at", "2014-09-26 20:02:28.463630"], ["name", "ducimus_consequatur_sapiente"], ["title", "Doloribus enim in"], ["updated_at", "2014-09-26 20:02:28.463630"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.466312"], ["updated_at", "2014-09-26 20:02:28.466312"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 20:02:28.467060"], ["updated_at", "2014-09-26 20:02:28.467060"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.473635"], ["updated_at", "2014-09-26 20:02:28.473635"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.475298"], ["updated_at", "2014-09-26 20:02:28.475298"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "neque_quibusdam_impedit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'neque_quibusdam_impedit') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui debitis quidem laudantium commodi eos quia provident. Eum doloribus dicta. Delectus veniam ullam et. Nostrum nesciunt molestiae omnis. Ea et et eligendi asperiores hic.\nQui officiis aut. Dolorum non saepe illum qui sit. Ratione qui suscipit voluptate voluptas. Et voluptatem eum eum rerum corporis.\nSaepe molestias id placeat consequatur quo. Et velit pariatur quisquam et et consequatur. Laboriosam velit eius dolorum veniam recusandae."], ["created_at", "2014-09-26 20:02:28.480098"], ["name", "neque_quibusdam_impedit"], ["title", "Nulla quod occaecati"], ["updated_at", "2014-09-26 20:02:28.480098"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.482960"], ["updated_at", "2014-09-26 20:02:28.482960"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-09-26 20:02:28.483625"], ["updated_at", "2014-09-26 20:02:28.483625"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.491514"], ["updated_at", "2014-09-26 20:02:28.491514"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.493678"], ["updated_at", "2014-09-26 20:02:28.493678"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ullam_voluptas_et"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ullam_voluptas_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatum modi sit fugit. Ducimus aliquam placeat quibusdam iure eius. Et expedita saepe enim incidunt possimus ad reprehenderit. Tempora aut unde quis eaque fugiat deleniti et.\nA ea veritatis saepe. Aut exercitationem tempora harum quisquam. Aut consequuntur quibusdam vel aliquid.\nItaque consequatur dolor. Doloribus quis aliquam. Quam labore esse et."], ["created_at", "2014-09-26 20:02:28.499874"], ["name", "ullam_voluptas_et"], ["title", "Amet et quia"], ["updated_at", "2014-09-26 20:02:28.499874"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.503557"], ["updated_at", "2014-09-26 20:02:28.503557"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-09-26 20:02:28.504409"], ["updated_at", "2014-09-26 20:02:28.504409"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.509130"], ["updated_at", "2014-09-26 20:02:28.509130"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.510823"], ["updated_at", "2014-09-26 20:02:28.510823"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_repudiandae_eum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'omnis_repudiandae_eum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Praesentium vero tenetur assumenda error deserunt. Rerum autem voluptatem dolore nemo explicabo quos. Et asperiores id accusamus.\nRecusandae ipsam minima voluptas. Repellat itaque nostrum vero. Et sint iure ipsa expedita qui tenetur ratione.\nDolorum corrupti at quo aliquid aspernatur amet. Deserunt recusandae sint sint optio sed neque cum. Voluptatibus aut deleniti qui. Veritatis doloribus expedita sunt vel hic eum. Esse consequatur quaerat at et eligendi atque sunt."], ["created_at", "2014-09-26 20:02:28.515357"], ["name", "omnis_repudiandae_eum"], ["title", "Sunt nulla qui"], ["updated_at", "2014-09-26 20:02:28.515357"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.518794"], ["updated_at", "2014-09-26 20:02:28.518794"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-09-26 20:02:28.519441"], ["updated_at", "2014-09-26 20:02:28.519441"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"13"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.523117"], ["updated_at", "2014-09-26 20:02:28.523117"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.524544"], ["updated_at", "2014-09-26 20:02:28.524544"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sunt_numquam_non"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sunt_numquam_non') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repellat nemo autem deleniti quo ab. Qui mollitia voluptas. Atque ut dignissimos ducimus laborum labore quidem tenetur.\nQuia quaerat nihil autem rem praesentium explicabo et. Laboriosam itaque iure. Deleniti et occaecati architecto est quod omnis assumenda. Id ipsum voluptas ut.\nEos beatae perferendis est explicabo aperiam sed vel. Officiis vel quam quia dolores perspiciatis sit corporis. Sapiente excepturi et ut nobis dignissimos et. Delectus rem quod rerum. Veritatis corrupti aut animi reprehenderit maiores."], ["created_at", "2014-09-26 20:02:28.528973"], ["name", "sunt_numquam_non"], ["title", "Ex ut nesciunt"], ["updated_at", "2014-09-26 20:02:28.528973"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.531494"], ["updated_at", "2014-09-26 20:02:28.531494"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-09-26 20:02:28.532059"], ["updated_at", "2014-09-26 20:02:28.532059"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"9"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 9]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] Redirected to http://test.host/fine_print/contracts/14/signatures?r=bzdCaUNuNGlROVJqQmtoQWtmNFMyUT09LS1rM0JMYmhYdEhjWVFVNFh1NkxhUFF3PT0%3D--c31bc40c7917b5d951582be1143e5badf9c7cdff Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 9 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.540069"], ["updated_at", "2014-09-26 20:02:28.540069"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.541610"], ["updated_at", "2014-09-26 20:02:28.541610"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.546072"], ["updated_at", "2014-09-26 20:02:28.546072"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.547535"], ["updated_at", "2014-09-26 20:02:28.547535"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut ullam harum quasi expedita. Commodi mollitia hic quae explicabo a perferendis. Nulla voluptas enim.\nQuo similique corrupti et consequatur. Expedita eos suscipit et ut et. Rem aut magnam tenetur in velit dignissimos. Doloremque est magnam.\nQuas voluptatum repellat consequuntur aut. Alias ipsum sunt. Qui eos repellat cum cupiditate est sed. Nihil exercitationem illum voluptas aut iste repellendus distinctio. Qui doloribus delectus aliquid consequuntur."], ["created_at", "2014-09-26 20:02:28.552036"], ["name", "facere_quo_vel"], ["title", "Impedit aut quia"], ["updated_at", "2014-09-26 20:02:28.552036"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_expedita_doloremque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorum_expedita_doloremque') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut iure officiis facere soluta eum possimus nihil. Laboriosam incidunt recusandae nesciunt suscipit deleniti explicabo maxime. Qui dolores fugit. Voluptate cupiditate nesciunt nihil illum at non. Aliquam temporibus est praesentium nisi aut amet.\nIpsum qui pariatur adipisci est dolor corporis dolores. Quis perferendis quasi nostrum natus vel sed sint. Ducimus est iusto. Illum ut et. Sed enim reiciendis aut delectus nam eius quae.\nMollitia temporibus quis cumque inventore laborum dolorem. Ut libero culpa neque nam quibusdam qui suscipit. Esse maxime quisquam quibusdam quis incidunt."], ["created_at", "2014-09-26 20:02:28.557899"], ["name", "dolorum_expedita_doloremque"], ["title", "Repellendus quibusdam ullam"], ["updated_at", "2014-09-26 20:02:28.557899"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.566789"], ["updated_at", "2014-09-26 20:02:28.566789"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.568570"], ["updated_at", "2014-09-26 20:02:28.568570"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nulla libero aut aspernatur. Ipsam labore aliquid ex natus. Non eum ut reiciendis consectetur ut. Tenetur in reprehenderit perferendis dignissimos debitis.\nVel et et fugit. Tempore et rem eos a. Sit totam libero nihil.\nVitae repellat exercitationem quis a ea. Quis perspiciatis quisquam quia. Sed non optio rerum ut exercitationem numquam. Doloremque est sed ut praesentium alias."], ["created_at", "2014-09-26 20:02:28.570861"], ["name", "enim_nihil_totam"], ["title", "Consequatur velit molestias"], ["updated_at", "2014-09-26 20:02:28.570861"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.576985"], ["updated_at", "2014-09-26 20:02:28.576985"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.578438"], ["updated_at", "2014-09-26 20:02:28.578438"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis dolorum sit molestiae vel voluptas eaque. Similique voluptate ad. Ex odio incidunt et aliquam voluptatibus praesentium. Magnam quia officia. Modi sed quam voluptate.\nIn et est. Ut aut quo necessitatibus sequi esse. Sequi quia nulla quo eos. Saepe fugiat facilis vel doloribus impedit consectetur ipsum.\nQuia aliquid aliquam. Non rerum voluptatem ut et qui. Minima molestias ducimus beatae quis. Nisi reiciendis non."], ["created_at", "2014-09-26 20:02:28.580747"], ["name", "quae_impedit_ex"], ["title", "Ducimus ea et"], ["updated_at", "2014-09-26 20:02:28.580747"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.586541"], ["updated_at", "2014-09-26 20:02:28.586541"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.588161"], ["updated_at", "2014-09-26 20:02:28.588161"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias voluptatibus ipsum possimus sunt est. Beatae nemo et consequatur quia. Officiis quibusdam ut dolorum. Quo ipsum voluptatem voluptatem doloribus.\nIusto ipsum aperiam quaerat. Repellendus veniam enim quia nisi eligendi omnis dolores. Et corporis eaque occaecati.\nLabore odio unde fugiat culpa placeat blanditiis. Et eum eum. Et et dolores illo sequi."], ["created_at", "2014-09-26 20:02:28.591312"], ["name", "ipsam_consequuntur_cumque"], ["title", "Velit ut hic"], ["updated_at", "2014-09-26 20:02:28.591312"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.596233"], ["updated_at", "2014-09-26 20:02:28.596233"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.597672"], ["updated_at", "2014-09-26 20:02:28.597672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Maxime magni amet excepturi optio adipisci id. Eaque et et distinctio fugiat. Omnis et autem.\nEt impedit accusantium. Quasi officia quam praesentium. Illum suscipit enim. Omnis quia qui nesciunt occaecati maxime. Nihil deserunt excepturi est porro sint repellat natus.\nQuia ut hic. Eos cupiditate sunt iure debitis aut. Velit inventore omnis et nam dignissimos ipsam maiores. Tempora nesciunt voluptas odit debitis eum voluptas. Est voluptate voluptates deserunt rerum ipsa quis cupiditate."], ["created_at", "2014-09-26 20:02:28.599816"], ["name", "provident_est_quia"], ["title", "Quo aut aut"], ["updated_at", "2014-09-26 20:02:28.599816"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "provident_est_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'provident_est_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 20:02:28.603012"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "provident_est_quia"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-26 20:02:28.607782"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.611780"], ["updated_at", "2014-09-26 20:02:28.611780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.613539"], ["updated_at", "2014-09-26 20:02:28.613539"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates dolore voluptas dolorem. Veniam voluptatem laborum accusamus dolores eveniet. Quisquam magni in aut velit ipsam.\nQuo aliquam in occaecati ex voluptatem. Eaque fugit in doloribus necessitatibus. Sed ut ea molestiae numquam dolorem. Qui dolor facilis laborum natus reprehenderit ipsam. Aut repellendus ut debitis quo.\nOptio laboriosam doloremque omnis recusandae. Suscipit dolore non odit. Consequuntur sit officia. Dolore exercitationem quos at. Omnis reprehenderit qui quibusdam ea vero enim ratione."], ["created_at", "2014-09-26 20:02:28.615682"], ["name", "molestiae_vitae_optio"], ["title", "Molestiae facilis tenetur"], ["updated_at", "2014-09-26 20:02:28.615682"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_vitae_optio"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'molestiae_vitae_optio') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-26 20:02:28.618674"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'molestiae_vitae_optio' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.626397"], ["updated_at", "2014-09-26 20:02:28.626397"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.628019"], ["updated_at", "2014-09-26 20:02:28.628019"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ad aut laboriosam. Accusamus perferendis aut. Id et quo qui perferendis.\nQuod commodi repellat cumque placeat aut minus. Aspernatur dicta omnis officiis natus. Consequuntur unde et error fuga voluptas. Perferendis deserunt aut dolorem. Dolorem quaerat asperiores.\nMolestiae aut vero. Et animi eaque. Enim sit dolores eos consequuntur magni qui nihil. Qui consequatur quasi quos vel aliquid."], ["created_at", "2014-09-26 20:02:28.630167"], ["name", "eum_eum_qui"], ["title", "Culpa minima commodi"], ["updated_at", "2014-09-26 20:02:28.630167"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eum_eum_qui"]]  (0.3ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'eum_eum_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-26 20:02:28.635604"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.640075"], ["updated_at", "2014-09-26 20:02:28.640075"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.641582"], ["updated_at", "2014-09-26 20:02:28.641582"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et placeat ut explicabo veniam iusto et. Quo reprehenderit doloribus accusantium cupiditate. Nostrum et voluptas sed ea nisi.\nSequi quod adipisci quis vel et ut et. Dolore et quo dignissimos accusamus corporis. Accusamus laborum eum. Consequatur est consequatur. Occaecati omnis nobis impedit hic enim.\nAnimi qui nostrum deleniti veritatis. Qui tempora repellendus saepe aliquid dolor. Amet ducimus magni illo. Neque voluptatem suscipit."], ["created_at", "2014-09-26 20:02:28.643864"], ["name", "et_nulla_est"], ["title", "Corporis atque accusantium"], ["updated_at", "2014-09-26 20:02:28.643864"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.647604"], ["updated_at", "2014-09-26 20:02:28.647604"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.648949"], ["updated_at", "2014-09-26 20:02:28.648949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nesciunt qui ut. Aperiam et et molestias. Perspiciatis tempora voluptatem. Rem autem animi nulla accusantium.\nEarum dolorem ullam officiis nisi. Dolores voluptatem voluptatem. Error sit quae quaerat vel. Voluptatum voluptas adipisci eligendi molestiae et est.\nUllam aliquid vel nostrum et sed rerum pariatur. Velit earum quos aut quia. Aut saepe sequi nulla voluptatum."], ["created_at", "2014-09-26 20:02:28.651054"], ["name", "quod_est_perspiciatis"], ["title", "Non ut qui"], ["updated_at", "2014-09-26 20:02:28.651054"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"24"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.655473"], ["updated_at", "2014-09-26 20:02:28.655473"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.656905"], ["updated_at", "2014-09-26 20:02:28.656905"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laudantium id enim quia voluptas tenetur. Quas corporis error. Quis rem quia atque et qui quis.\nRatione sit a commodi cupiditate repellendus nostrum dolorem. Fuga totam cum est. Sed alias non qui earum ea. Sapiente ratione animi id velit omnis eveniet laboriosam.\nSunt inventore et non voluptatum exercitationem. Qui laboriosam quae error enim. Aliquam ipsum sit officiis. Dolorem ipsum fugit."], ["created_at", "2014-09-26 20:02:28.658985"], ["name", "quasi_impedit_voluptatem"], ["title", "Et in quam"], ["updated_at", "2014-09-26 20:02:28.658985"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.662822"], ["updated_at", "2014-09-26 20:02:28.662822"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.664361"], ["updated_at", "2014-09-26 20:02:28.664361"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Doloribus numquam iste et nihil repellendus similique. Veniam dicta ipsam corrupti quae. Et nisi tempora tenetur.\nA vitae facilis quaerat velit vel. Aut commodi facilis consequuntur non ipsam. Expedita explicabo et quae similique facere sapiente. Optio sint sed magnam sed.\nNon aut repellendus eos et sint vel. Vitae voluptatem libero magni excepturi ducimus fugit ullam. Labore aspernatur nemo temporibus fugiat sapiente sunt libero. Nostrum voluptates pariatur expedita voluptatibus."], ["created_at", "2014-09-26 20:02:28.666549"], ["name", "praesentium_voluptate_explicabo"], ["title", "Eius sit deleniti"], ["updated_at", "2014-09-26 20:02:28.666549"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "praesentium_voluptate_explicabo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'praesentium_voluptate_explicabo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 20:02:28.670614"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.676540"], ["updated_at", "2014-09-26 20:02:28.676540"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.678021"], ["updated_at", "2014-09-26 20:02:28.678021"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Necessitatibus molestiae amet voluptatum eum exercitationem. Voluptas eveniet doloremque non veniam iste explicabo. Corporis qui modi aut quia quaerat accusantium. Deserunt possimus aperiam et sint et consectetur rerum.\nEst aut nihil minima ex. Et perferendis reiciendis ipsam. Similique eos ipsum sed. Ipsam officia magnam. Impedit quibusdam est necessitatibus et.\nAut et qui voluptatem aperiam. Tempora dolor nobis ut odit dolore asperiores quo. Quis eos non dolorum illum velit. Ut sit nisi dolores magnam."], ["created_at", "2014-09-26 20:02:28.680288"], ["name", "autem_dolorum_consequuntur"], ["title", "Autem ut alias"], ["updated_at", "2014-09-26 20:02:28.680288"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 27 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 20:02:28.684050"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/27 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.689184"], ["updated_at", "2014-09-26 20:02:28.689184"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.690651"], ["updated_at", "2014-09-26 20:02:28.690651"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Saepe quo dolor est et explicabo aut est. Ut minima explicabo eius iusto ratione. In voluptatem consequatur eligendi.\nVoluptate expedita fugiat fugit autem occaecati velit ea. Perspiciatis soluta excepturi assumenda dolorum et et ipsa. Soluta ut minima a. Fuga facere quis sint vero hic sit est. Temporibus nostrum nemo non.\nVoluptates sed modi dignissimos. Quos et est qui eum nulla fuga. Sequi atque suscipit officiis facere vel quisquam omnis. Rem omnis laudantium voluptatibus rerum similique quisquam nam."], ["created_at", "2014-09-26 20:02:28.692886"], ["name", "nemo_ducimus_dicta"], ["title", "Alias dolores delectus"], ["updated_at", "2014-09-26 20:02:28.692886"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 27, 1, 16, 10, 9, 17, 23, 22, 15, 19, 6, 3, 2, 21, 28, 11, 4, 13, 26, 20, 18, 7, 5, 25, 24, 14, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.704090"], ["updated_at", "2014-09-26 20:02:28.704090"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.705804"], ["updated_at", "2014-09-26 20:02:28.705804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eaque cupiditate cum corporis aliquid. Velit magni quam dolor sit sunt. Ut sunt ut eum illum exercitationem assumenda aut. Doloribus dolorum occaecati natus eveniet minima ut aspernatur. Accusamus autem voluptate.\nAnimi sed omnis nihil sunt itaque excepturi sit. Nihil sapiente odit architecto optio. Doloribus sit quaerat sint rem non soluta.\nLabore ea eaque ut quidem non. Molestiae molestias vitae asperiores velit. Dolorem iure est voluptate eum id odit. Non tempore necessitatibus magni nobis."], ["created_at", "2014-09-26 20:02:28.708158"], ["name", "a_dignissimos_quam"], ["title", "Perferendis dolorum quo"], ["updated_at", "2014-09-26 20:02:28.708158"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 20:02:28.711217"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 20:02:28.711217"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/30 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.714449"], ["updated_at", "2014-09-26 20:02:28.714449"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.715992"], ["updated_at", "2014-09-26 20:02:28.715992"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Hic officia illo ut ut molestiae reiciendis rem. Sit ipsam voluptas autem sunt hic aliquam. Laborum provident qui laudantium ut exercitationem explicabo. Corporis aut fuga accusamus quasi. Unde praesentium suscipit quaerat et ipsam autem eos.\nNihil autem consequuntur architecto iusto sapiente. Et voluptatem et perferendis sequi et exercitationem incidunt. Autem itaque dignissimos velit ipsum.\nVoluptas sint earum error repellat delectus. Voluptatibus et voluptatum et sed architecto. Itaque doloribus officiis. Labore reiciendis illo sit animi. Corrupti aspernatur consequatur quaerat."], ["created_at", "2014-09-26 20:02:28.718157"], ["name", "aut_ad_quas"], ["title", "Et cupiditate dolorem"], ["updated_at", "2014-09-26 20:02:28.718157"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 31]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 31]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 31 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.725637"], ["updated_at", "2014-09-26 20:02:28.725637"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.727124"], ["updated_at", "2014-09-26 20:02:28.727124"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non architecto aliquam qui qui odio aut non. Culpa quo ipsum fugit aliquam. Id eaque perferendis labore natus dolorem.\nTempora velit voluptatem ad. Est et omnis quo odio. Ut voluptatem voluptatibus fuga dolores ab ducimus. Dignissimos enim modi quia. Amet nostrum voluptatem molestias et ipsum minus.\nTotam earum provident molestiae officia blanditiis. Voluptatem molestias neque. Enim quam earum atque ut ad."], ["created_at", "2014-09-26 20:02:28.729332"], ["name", "ea_facere_nemo"], ["title", "Vero est non"], ["updated_at", "2014-09-26 20:02:28.729332"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.733862"], ["updated_at", "2014-09-26 20:02:28.733862"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.735330"], ["updated_at", "2014-09-26 20:02:28.735330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ratione omnis sit sed quidem quam et rerum. Tempore nisi voluptatem in fugiat tenetur. Quas numquam sed veritatis facere qui labore. Quo dicta aliquid amet harum quia ad. Commodi architecto assumenda et enim nihil.\nEt eius et vitae modi nihil. Ipsam neque dolorem blanditiis esse illo qui. Molestiae accusantium doloribus.\nExplicabo sit velit vel. Quaerat doloribus cumque amet molestiae unde qui esse. Ratione dolorem alias perspiciatis maxime."], ["created_at", "2014-09-26 20:02:28.737442"], ["name", "id_velit_voluptates"], ["title", "Provident ad omnis"], ["updated_at", "2014-09-26 20:02:28.737442"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.741380"], ["updated_at", "2014-09-26 20:02:28.741380"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.742831"], ["updated_at", "2014-09-26 20:02:28.742831"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eius qui hic enim. Voluptatem neque consequatur dolores et omnis eos et. Exercitationem et corrupti ipsa minus voluptas quaerat.\nNesciunt aliquam repudiandae. Eius ex dolorem voluptatum aperiam aut. Maiores id aliquid voluptate. Dolorem et rerum eum. Tempore et deleniti voluptatem aliquid.\nPerspiciatis est dolor ex et consequuntur quo. Debitis porro omnis. Perferendis repudiandae sint quidem neque. Quisquam eum alias. Ea omnis consequatur quibusdam."], ["created_at", "2014-09-26 20:02:28.745072"], ["name", "dolore_sed_architecto"], ["title", "Enim aliquam dignissimos"], ["updated_at", "2014-09-26 20:02:28.745072"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolore_sed_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'dolore_sed_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-26 20:02:28.748253"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.753558"], ["updated_at", "2014-09-26 20:02:28.753558"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.755267"], ["updated_at", "2014-09-26 20:02:28.755267"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Id non et vel aut odio. Ex placeat in recusandae. Libero non et at. Illum id est dignissimos. Ad deleniti quo.\nEum est quis quo fugiat aut velit. A perferendis qui illo ab. Non aspernatur quas eum molestias. Quaerat sed sint quia quod tenetur repellendus et. Et officia occaecati ipsa qui voluptas illo.\nRepellendus aperiam et rerum quis adipisci nemo et. Sunt sit ipsa. Eum nisi aut. Vel ex possimus repellat laboriosam aut neque et."], ["created_at", "2014-09-26 20:02:28.757621"], ["name", "et_quia_voluptatem"], ["title", "Architecto necessitatibus aut"], ["updated_at", "2014-09-26 20:02:28.757621"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"35"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ad reiciendis incidunt velit eveniet iste numquam. Ut reiciendis sunt et odit omnis. Quia quia et.\nOmnis rerum omnis. Dolor porro deleniti et dolorum eaque. Dicta sunt et dignissimos laborum tempore est nesciunt. Accusamus non qui illo et. Beatae et quos sapiente est.\nVoluptatum voluptatem suscipit blanditiis non non dolore. Impedit vel quo. Et adipisci recusandae quis autem voluptatum. Pariatur minus omnis consequatur consequuntur quos. Qui sint quibusdam est placeat."], ["created_at", "2014-09-26 20:02:28.766134"], ["name", "alpha"], ["title", "Mollitia atque blanditiis"], ["updated_at", "2014-09-26 20:02:28.766134"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quos voluptatem dolor. Excepturi saepe doloremque dolorum alias maxime. Voluptas hic quia et molestiae consequatur.\nEaque dolorem qui aut. Eligendi dolores sit ullam earum quas. Molestiae voluptatem repellat iusto reprehenderit quidem in repudiandae.\nVitae non beatae mollitia adipisci a rerum ipsa. Repellendus similique quod odio. Ex non quo aut qui alias similique error."], ["created_at", "2014-09-26 20:02:28.769841"], ["name", "beta"], ["title", "Voluptates esse non"], ["updated_at", "2014-09-26 20:02:28.769841"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.771430"], ["updated_at", "2014-09-26 20:02:28.771430"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 20:02:28.775202"], ["updated_at", "2014-09-26 20:02:28.775202"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 20:02:28.778083"], ["updated_at", "2014-09-26 20:02:28.778083"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:02:28.780411"], ["name", "alpha"], ["title", "Mollitia atque blanditiis"], ["updated_at", "2014-09-26 20:02:28.780411"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 20:02:28.784164"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (38, 8, 37, 1, 34, 16, 10, 9, 22, 6, 3, 21, 11, 13, 26, 7, 5, 14, 12) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ullam doloribus veniam animi placeat et. Ut ea voluptates velit cum. Eveniet id saepe tempore laboriosam similique non. Dolor et placeat alias aut.\nFacere id natus quod et est aut tempore. Repellendus ipsa ut voluptates. Deleniti aut excepturi reprehenderit recusandae esse qui fuga.\nUt beatae quia iste nostrum recusandae. Ab ipsa eum excepturi qui quia. Non vitae quia quia eveniet quasi voluptas. Et voluptas animi et quasi. Ipsa debitis soluta."], ["created_at", "2014-09-26 20:02:28.793751"], ["name", "alpha"], ["title", "Quae ut aperiam"], ["updated_at", "2014-09-26 20:02:28.793751"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Animi et placeat officia dolorem soluta odit. Eligendi porro consectetur corrupti eveniet. Quis asperiores labore non aspernatur laborum et ab.\nAt quae quam quod. Ipsum sit ab voluptatem. Distinctio et id architecto cumque quod numquam.\nEos molestiae odio ut dolores architecto totam dolor. Voluptas provident maxime magni laborum ea et quia. Sequi nesciunt numquam totam aut sed atque est."], ["created_at", "2014-09-26 20:02:28.797565"], ["name", "beta"], ["title", "Voluptas assumenda veniam"], ["updated_at", "2014-09-26 20:02:28.797565"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.799119"], ["updated_at", "2014-09-26 20:02:28.799119"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 20:02:28.801724"], ["updated_at", "2014-09-26 20:02:28.801724"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 20:02:28.804177"], ["updated_at", "2014-09-26 20:02:28.804177"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:02:28.806340"], ["name", "alpha"], ["title", "Quae ut aperiam"], ["updated_at", "2014-09-26 20:02:28.806340"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 20:02:28.809294"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (41, 40) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsa quae voluptatem necessitatibus sunt amet ad. Rerum ut qui et. Rerum est aliquam sint ullam ipsum quod tenetur. Qui et odit sunt molestias illo nihil. Consequatur est quibusdam dolor pariatur porro non aut.\nAperiam voluptatem et consectetur a reprehenderit qui. Quae at quisquam cumque repellat sequi. Repellat qui praesentium quod. Quaerat ipsum odio consequatur.\nQuasi sapiente aliquam. Numquam iusto expedita magni. Aperiam fugiat repudiandae earum. Rem alias laboriosam ducimus animi."], ["created_at", "2014-09-26 20:02:28.815089"], ["name", "alpha"], ["title", "Qui reprehenderit repellat"], ["updated_at", "2014-09-26 20:02:28.815089"], ["version", 5]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed odit amet quia sed. Velit possimus quo hic perferendis iste officiis enim. Nemo id illo omnis aut vel ut eveniet. Iusto ea quasi accusamus.\nDistinctio consequatur a voluptatum sit. Quidem unde provident sequi. Et exercitationem recusandae sit itaque ullam quod. Quis et et veritatis odit ea aut inventore. Fugiat est sed distinctio.\nIn quae facilis asperiores. Et fugit quia sit molestiae assumenda. Ut numquam minima tempora temporibus. Tempore repellendus voluptatibus fugit ducimus itaque facere."], ["created_at", "2014-09-26 20:02:28.818776"], ["name", "beta"], ["title", "Qui quibusdam omnis"], ["updated_at", "2014-09-26 20:02:28.818776"], ["version", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.820587"], ["updated_at", "2014-09-26 20:02:28.820587"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-26 20:02:28.823622"], ["updated_at", "2014-09-26 20:02:28.823622"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-26 20:02:28.826162"], ["updated_at", "2014-09-26 20:02:28.826162"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:02:28.828345"], ["name", "alpha"], ["title", "Qui reprehenderit repellat"], ["updated_at", "2014-09-26 20:02:28.828345"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-26 20:02:28.831381"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quo repellat et enim culpa voluptatem. Fugiat voluptatem expedita dolorem. Facilis molestiae est sit voluptas. Molestiae quam magnam cupiditate voluptatem nihil. Blanditiis eligendi vel magnam.\nRerum ipsa sit facilis repudiandae. Totam quia et quo corrupti tenetur error. Eius esse dolor illum. Et suscipit possimus. Nemo autem tempora ullam.\nRecusandae illum eos et. Beatae numquam laudantium tempore dolorem quia voluptate explicabo. Minima saepe ipsa. Nesciunt itaque sapiente. Esse quia minima corporis sint."], ["created_at", "2014-09-26 20:02:28.849352"], ["name", "alpha"], ["title", "Sed quibusdam animi"], ["updated_at", "2014-09-26 20:02:28.849352"], ["version", 7]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laudantium velit corrupti praesentium a. Tempora rerum inventore aliquid aspernatur saepe rem consequatur. Quisquam sed at quis neque est.\nReiciendis dolor aliquam quidem sunt reprehenderit commodi. Non doloribus ad deleniti voluptatem voluptas explicabo. Id sequi officiis facere et. Corporis porro perspiciatis pariatur tenetur.\nOmnis aut numquam voluptatum. Debitis magnam qui. Doloribus eveniet illum."], ["created_at", "2014-09-26 20:02:28.854945"], ["name", "beta"], ["title", "Repellat voluptatem laborum"], ["updated_at", "2014-09-26 20:02:28.854945"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:02:28.856947"], ["updated_at", "2014-09-26 20:02:28.856947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-26 20:02:28.860039"], ["updated_at", "2014-09-26 20:02:28.860039"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-26 20:02:28.862569"], ["updated_at", "2014-09-26 20:02:28.862569"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:02:28.864851"], ["name", "alpha"], ["title", "Sed quibusdam animi"], ["updated_at", "2014-09-26 20:02:28.864851"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 20:02:28.868737"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.6ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 20:02:28.893185"], ["updated_at", "2014-09-26 20:02:28.893185"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 45]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Signature Exists (0.6ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (47, 45, 44, 42, 41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 47]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (46, 43, 40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 69 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 46]]  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sequi laboriosam et quia modi ut. Explicabo aut est doloribus totam magnam. Tempore distinctio dolores et et hic molestiae non.\nCulpa suscipit porro magni temporibus vero totam deserunt. Et asperiores perferendis. Aut reiciendis quia corrupti dolor quis.\nArchitecto officia error. Ut in id quos reiciendis. Unde excepturi dolores aut voluptatem. Ab vitae magni."], ["created_at", "2014-09-26 20:03:00.150396"], ["name", "incidunt_qui_distinctio"], ["title", "Nobis incidunt minima"], ["updated_at", "2014-09-26 20:03:00.150396"]]  (1.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "inventore_temporibus_voluptas"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'inventore_temporibus_voluptas') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quos voluptatibus voluptates inventore et quaerat. Velit magni sint ipsa necessitatibus dolores. Temporibus exercitationem maiores ea similique distinctio quas.\nQui quidem dolorem quod natus. Ipsum cupiditate dolor explicabo voluptas. Enim optio harum. In voluptatem delectus iusto repellendus. Accusamus dignissimos voluptatum perferendis earum magnam.\nEos quo cumque vel quam id. Vitae aut ipsam et voluptatem. Asperiores omnis error animi quo et harum. Vero eveniet blanditiis dolor rerum tenetur."], ["created_at", "2014-09-26 20:03:00.171873"], ["name", "inventore_temporibus_voluptas"], ["title", "Doloribus est laudantium"], ["updated_at", "2014-09-26 20:03:00.171873"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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" IS NULL) LIMIT 1  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (1.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.183122"], ["updated_at", "2014-09-26 20:03:00.183122"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.186687"], ["updated_at", "2014-09-26 20:03:00.186687"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.192368"], ["updated_at", "2014-09-26 20:03:00.192368"]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.195000"], ["updated_at", "2014-09-26 20:03:00.195000"]]  (0.9ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.199677"], ["updated_at", "2014-09-26 20:03:00.199677"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.201953"], ["updated_at", "2014-09-26 20:03:00.201953"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quidem_itaque_inventore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quidem_itaque_inventore') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut voluptatum libero velit reprehenderit et vero natus. Magni sit culpa et sit provident. Sequi qui sed qui.\nRem doloribus dolores reiciendis. Non temporibus et voluptas. Eum quibusdam tempora natus. In sequi sed fugit explicabo nam. Magni minus labore qui cumque.\nQuis quia sit id ut sed qui. Molestiae fugiat eos nesciunt minima quaerat autem quam. Qui rerum aliquid labore."], ["created_at", "2014-09-26 20:03:00.208347"], ["name", "quidem_itaque_inventore"], ["title", "Tenetur non occaecati"], ["updated_at", "2014-09-26 20:03:00.208347"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.211322"], ["updated_at", "2014-09-26 20:03:00.211322"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-26 20:03:00.211943"], ["updated_at", "2014-09-26 20:03:00.211943"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Completed 200 OK in 180ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.399167"], ["updated_at", "2014-09-26 20:03:00.399167"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.402259"], ["updated_at", "2014-09-26 20:03:00.402259"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minima_molestiae_voluptates"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minima_molestiae_voluptates') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Deserunt dolorem recusandae hic velit nesciunt rerum. Praesentium quod ad. Corrupti fugit laborum nihil officia eos sapiente sed.\nEt ea ab dolor. Amet molestiae modi quibusdam eligendi. Doloribus harum reiciendis atque.\nNon quasi ea occaecati unde eos dicta est. Sunt reprehenderit distinctio consequuntur rerum. Repellendus ut autem nesciunt in quis non. Iste omnis facere quo tempore neque voluptatem inventore."], ["created_at", "2014-09-26 20:03:00.408505"], ["name", "minima_molestiae_voluptates"], ["title", "Et itaque iusto"], ["updated_at", "2014-09-26 20:03:00.408505"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.412040"], ["updated_at", "2014-09-26 20:03:00.412040"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-26 20:03:00.412710"], ["updated_at", "2014-09-26 20:03:00.412710"], ["user_id", 10], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"2"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Redirected to http://test.host/fine_print/contracts/4/signatures?r=WU5KdDhLc0NHVXAyckdKMGZ3c2lBdz09LS1GREZwWW1tT1FHMlJHMEpmajN2ZzlBPT0%3D--15dfe566b2a7a29afa29cb0b711161644f9ceedc Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 2 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.424310"], ["updated_at", "2014-09-26 20:03:00.424310"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.426047"], ["updated_at", "2014-09-26 20:03:00.426047"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_doloremque_nam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_doloremque_nam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Doloribus qui enim. In eligendi et molestiae odio omnis reiciendis. Voluptate nobis eos laborum non.\nVelit sit deserunt exercitationem possimus similique. Qui et esse et qui voluptates quas accusantium. Dolorem sit voluptas ducimus sint vero.\nModi illo et. Ipsa repellendus soluta vero enim. Fugit consequatur ut dolorem itaque. Dolorem quis maxime velit id eveniet. Ipsam magnam sint incidunt voluptas aspernatur vel."], ["created_at", "2014-09-26 20:03:00.430821"], ["name", "non_doloremque_nam"], ["title", "Rem odio tempore"], ["updated_at", "2014-09-26 20:03:00.430821"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.433754"], ["updated_at", "2014-09-26 20:03:00.433754"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-26 20:03:00.434324"], ["updated_at", "2014-09-26 20:03:00.434324"], ["user_id", 13], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"3"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.440215"], ["updated_at", "2014-09-26 20:03:00.440215"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.441896"], ["updated_at", "2014-09-26 20:03:00.441896"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odit_aspernatur_id"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'odit_aspernatur_id') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vel est atque tempora. Pariatur deserunt et quae aspernatur mollitia et. Illum provident velit ab incidunt sed corporis qui. Qui quia sit mollitia quo sunt sit. Corporis necessitatibus quas excepturi id neque doloribus.\nRem ut est. Autem maiores qui et eligendi expedita. Ut blanditiis doloremque odio non rem sunt aut. Qui quia deserunt adipisci. Voluptatem dolorum vitae necessitatibus.\nA quia ipsam. Aut dignissimos molestias recusandae debitis consequuntur eum. Laudantium quia aliquam id qui magni tenetur. Quidem nihil aut modi."], ["created_at", "2014-09-26 20:03:00.446321"], ["name", "odit_aspernatur_id"], ["title", "Et accusantium aut"], ["updated_at", "2014-09-26 20:03:00.446321"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.448986"], ["updated_at", "2014-09-26 20:03:00.448986"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-26 20:03:00.449537"], ["updated_at", "2014-09-26 20:03:00.449537"], ["user_id", 16], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"6"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.453078"], ["updated_at", "2014-09-26 20:03:00.453078"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.454621"], ["updated_at", "2014-09-26 20:03:00.454621"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "a_molestias_labore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'a_molestias_labore') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint veniam enim ut ea amet dolores. Inventore asperiores et. Facilis quia ea.\nVero possimus est neque cupiditate omnis dolor. Aut aut consectetur quibusdam. Veritatis beatae error. Dolor magni dolorem ex. Cum sed in nisi expedita.\nEst recusandae a labore quae explicabo. Earum aliquid beatae voluptatem omnis deserunt. Laboriosam dicta magni vitae. Culpa officiis aut ad laborum ut. Iusto aut et animi."], ["created_at", "2014-09-26 20:03:00.458883"], ["name", "a_molestias_labore"], ["title", "Cumque et dolore"], ["updated_at", "2014-09-26 20:03:00.458883"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.461445"], ["updated_at", "2014-09-26 20:03:00.461445"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-26 20:03:00.461996"], ["updated_at", "2014-09-26 20:03:00.461996"], ["user_id", 19], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.467432"], ["updated_at", "2014-09-26 20:03:00.467432"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.468930"], ["updated_at", "2014-09-26 20:03:00.468930"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_dicta_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eos_dicta_sed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quis quaerat corporis ea velit laudantium ipsum. Dolorum quis facilis. Eveniet quia rerum accusantium cupiditate sunt magni. Consectetur fugiat dolorem rerum eos voluptas. Sit voluptas mollitia quia non hic autem.\nDoloremque porro animi ut. In nulla harum. Autem et omnis sunt provident. Modi sed maiores voluptate et dolor.\nIn dignissimos necessitatibus placeat alias. Adipisci voluptas ut quidem. Sit tempore rem quia."], ["created_at", "2014-09-26 20:03:00.473181"], ["name", "eos_dicta_sed"], ["title", "Reiciendis assumenda adipisci"], ["updated_at", "2014-09-26 20:03:00.473181"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.475948"], ["updated_at", "2014-09-26 20:03:00.475948"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-26 20:03:00.476511"], ["updated_at", "2014-09-26 20:03:00.476511"], ["user_id", 22], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.480722"], ["updated_at", "2014-09-26 20:03:00.480722"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.482396"], ["updated_at", "2014-09-26 20:03:00.482396"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_explicabo_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_explicabo_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et velit saepe quia. Explicabo quam eos ut qui quas incidunt. Veritatis enim delectus quia. Amet culpa repudiandae odio reprehenderit est. Enim autem odit officiis vel.\nReprehenderit enim impedit odio qui quis tenetur hic. Ab iusto quo cumque. Dolores ut sunt. Aliquam architecto veritatis et consequatur.\nQuos soluta itaque illo omnis. Temporibus pariatur dolore quis eum esse et eveniet. Qui est quod voluptatem laudantium in. Deleniti ea illum consequatur ut sunt. Laudantium necessitatibus enim."], ["created_at", "2014-09-26 20:03:00.487120"], ["name", "et_explicabo_qui"], ["title", "Deleniti hic dolorem"], ["updated_at", "2014-09-26 20:03:00.487120"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.489776"], ["updated_at", "2014-09-26 20:03:00.489776"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-09-26 20:03:00.490325"], ["updated_at", "2014-09-26 20:03:00.490325"], ["user_id", 25], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"9"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.493720"], ["updated_at", "2014-09-26 20:03:00.493720"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.495228"], ["updated_at", "2014-09-26 20:03:00.495228"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_et_saepe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_et_saepe') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quidem est architecto est maiores. Debitis dolores illum earum deserunt harum dolorum. Animi est non dolorem.\nRepellat in consequatur. Vero esse sint et. Ex impedit cum possimus corrupti.\nDolor eveniet voluptas nesciunt atque. Sunt illum non quia. Possimus eum adipisci aliquid reiciendis rerum debitis sunt. Asperiores natus sint. Consequatur mollitia quia possimus ipsam."], ["created_at", "2014-09-26 20:03:00.500958"], ["name", "voluptas_et_saepe"], ["title", "Omnis maxime ab"], ["updated_at", "2014-09-26 20:03:00.500958"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.504037"], ["updated_at", "2014-09-26 20:03:00.504037"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-09-26 20:03:00.504643"], ["updated_at", "2014-09-26 20:03:00.504643"], ["user_id", 28], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.512649"], ["updated_at", "2014-09-26 20:03:00.512649"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.514350"], ["updated_at", "2014-09-26 20:03:00.514350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed ipsam et voluptatem. Quam nihil voluptas sunt sapiente odit corporis perspiciatis. Rerum atque itaque quis. Error facilis ipsam saepe necessitatibus quia laudantium.\nAdipisci ut aut reiciendis. Dolor inventore ex rerum molestias voluptatibus. Id unde quo ut deserunt. Voluptatem veniam aliquam aut cumque repudiandae et asperiores. Dolorem non architecto exercitationem in et.\nPariatur sed praesentium quis rerum eos sed. Nemo est omnis. Omnis est quia. Dolore et quis culpa repellat ut."], ["created_at", "2014-09-26 20:03:00.516739"], ["name", "qui_neque_ullam"], ["title", "Doloribus rerum quisquam"], ["updated_at", "2014-09-26 20:03:00.516739"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.521751"], ["updated_at", "2014-09-26 20:03:00.521751"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.523438"], ["updated_at", "2014-09-26 20:03:00.523438"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Architecto ducimus est quae sint dolores dignissimos molestiae. Hic maxime autem ullam sed quo. Aut omnis et sapiente ea. Soluta blanditiis aut et pariatur consequatur. Est perferendis suscipit quia ipsam ut.\nEt quo corporis culpa numquam. Quis aut cumque. Exercitationem officia nisi. Ullam aut et doloremque enim suscipit ut. Veritatis recusandae mollitia quidem.\nSint occaecati ratione distinctio exercitationem. Placeat eius nemo. Dignissimos exercitationem aut."], ["created_at", "2014-09-26 20:03:00.525667"], ["name", "odit_neque_in"], ["title", "Quia nesciunt fuga"], ["updated_at", "2014-09-26 20:03:00.525667"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 12]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 12]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 12 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.535429"], ["updated_at", "2014-09-26 20:03:00.535429"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.537534"], ["updated_at", "2014-09-26 20:03:00.537534"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est consequatur aut magnam vero. Et nihil tenetur totam eos. Sapiente modi rerum.\nRerum repellendus in error et qui et. Dolorem iusto doloribus. Cum fugit doloribus et suscipit voluptatem expedita quisquam. Corporis dignissimos ducimus ipsa ea iure. Quisquam ut sapiente et laboriosam.\nQuae optio eos. Odio esse corrupti. Eos optio rerum. Qui ipsa velit dolor veniam incidunt."], ["created_at", "2014-09-26 20:03:00.540395"], ["name", "itaque_et_natus"], ["title", "Earum natus et"], ["updated_at", "2014-09-26 20:03:00.540395"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.548249"], ["updated_at", "2014-09-26 20:03:00.548249"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.549857"], ["updated_at", "2014-09-26 20:03:00.549857"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Repellendus ad cupiditate id nulla sed alias. Itaque ut quia accusamus aut necessitatibus. Debitis aspernatur molestias. A sed aliquid expedita explicabo.\nIn sapiente velit. Ducimus vel ut consequuntur cumque veritatis alias vero. Reiciendis et perferendis.\nEt sequi corporis ea culpa voluptatem repellat ipsum. Aut sit ab velit consequuntur omnis voluptatibus dolorum. Voluptatem voluptatem iste iure asperiores eum voluptatem."], ["created_at", "2014-09-26 20:03:00.552025"], ["name", "totam_consequatur_est"], ["title", "Quam repellat qui"], ["updated_at", "2014-09-26 20:03:00.552025"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "totam_consequatur_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'totam_consequatur_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-26 20:03:00.555261"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'totam_consequatur_est' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.564048"], ["updated_at", "2014-09-26 20:03:00.564048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.565745"], ["updated_at", "2014-09-26 20:03:00.565745"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel laboriosam velit eos repellendus officia. Neque repellendus voluptatem voluptatibus sit dolore. Aut autem dolore. Officia quae est in aliquid et at deleniti. Recusandae est consequuntur quia.\nQuia consectetur esse dolores voluptas ut ut. Porro aut ut possimus. Officiis facilis velit nostrum animi voluptatum. Labore officia maxime quae voluptatem non est tenetur.\nError consectetur consequatur itaque. Consectetur aut corrupti nihil sed excepturi. In blanditiis assumenda qui doloribus non autem."], ["created_at", "2014-09-26 20:03:00.568201"], ["name", "eum_hic_esse"], ["title", "Et laborum distinctio"], ["updated_at", "2014-09-26 20:03:00.568201"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.573028"], ["updated_at", "2014-09-26 20:03:00.573028"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.574760"], ["updated_at", "2014-09-26 20:03:00.574760"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Id tenetur ea quidem. Fugit corporis ipsa veniam error quia sequi. Odio ratione ea officiis qui qui deleniti neque. Expedita facere perspiciatis ut ea est ratione.\nModi nobis quam inventore numquam dignissimos consequatur. Inventore qui assumenda. Nihil explicabo necessitatibus iusto.\nRepellendus et id deleniti nihil voluptatibus. Ad qui rerum unde incidunt ipsa eaque porro. Laborum ipsa atque. Ratione quibusdam nihil similique tempore."], ["created_at", "2014-09-26 20:03:00.577452"], ["name", "et_ut_ex"], ["title", "Alias eveniet eos"], ["updated_at", "2014-09-26 20:03:00.577452"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_ut_ex"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'et_ut_ex') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-26 20:03:00.581303"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.586126"], ["updated_at", "2014-09-26 20:03:00.586126"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.587635"], ["updated_at", "2014-09-26 20:03:00.587635"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem debitis placeat sint blanditiis rerum explicabo ut. Quaerat qui ad illo eos culpa. Officiis ut quibusdam possimus velit ducimus vel.\nAdipisci nisi distinctio et itaque ea quidem. Sed quia et eius fugit fugiat rerum. Enim doloremque eum nobis qui. A corrupti amet et aperiam unde et eos. Delectus voluptatem veritatis voluptate quia.\nVoluptatem voluptatem iure et dolorem odio numquam alias. Aut earum eos dolore dolor voluptate. Totam delectus eos voluptate necessitatibus accusantium eum. Adipisci repudiandae harum debitis placeat qui. Ea eum labore."], ["created_at", "2014-09-26 20:03:00.589848"], ["name", "nesciunt_qui_magni"], ["title", "Repellat quia earum"], ["updated_at", "2014-09-26 20:03:00.589848"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_qui_magni"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'nesciunt_qui_magni') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-09-26 20:03:00.593096"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.599235"], ["updated_at", "2014-09-26 20:03:00.599235"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.600823"], ["updated_at", "2014-09-26 20:03:00.600823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatum earum vitae quis sed voluptatibus voluptas sunt. Corporis maiores commodi sunt. Sequi corrupti qui. Maiores numquam et esse quod atque eum.\nEveniet eaque quo neque distinctio rerum. Eum quia minima. Quia dicta blanditiis unde esse quis aut.\nDolorem ex autem soluta voluptas reprehenderit a et. Earum eos accusantium nisi quia dolores. Veniam inventore odit. Facilis quis fugiat ad voluptatum non quos. Ad dolore ab."], ["created_at", "2014-09-26 20:03:00.603078"], ["name", "ratione_et_architecto"], ["title", "Quia et voluptas"], ["updated_at", "2014-09-26 20:03:00.603078"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ratione_et_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'ratione_et_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-26 20:03:00.608644"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.613035"], ["updated_at", "2014-09-26 20:03:00.613035"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.614573"], ["updated_at", "2014-09-26 20:03:00.614573"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Necessitatibus earum ea. Aut modi ut eos quia. Ducimus non reprehenderit repudiandae et dignissimos. Itaque dicta sequi voluptatem quidem deserunt architecto sunt.\nPossimus temporibus beatae architecto. Ut autem excepturi dolores dignissimos. Non aperiam ratione minus quis qui voluptate. Ad consequatur dolores sed accusantium libero minima enim. Consequatur expedita voluptatibus ipsa debitis praesentium omnis.\nVoluptatem accusantium quis hic et assumenda porro recusandae. Cumque tempora doloribus accusamus. Et alias sit dolor cumque. Non harum qui."], ["created_at", "2014-09-26 20:03:00.616867"], ["name", "aspernatur_officia_ipsam"], ["title", "Suscipit quis sed"], ["updated_at", "2014-09-26 20:03:00.616867"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.620590"], ["updated_at", "2014-09-26 20:03:00.620590"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.622138"], ["updated_at", "2014-09-26 20:03:00.622138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Modi quia quod. Quo cupiditate suscipit ut ipsum. Nulla explicabo exercitationem. Aut sint id et qui nam qui.\nEum ut et laborum omnis. Laudantium ab ducimus accusantium ratione ut dolor quia. Eaque ad eum.\nMolestiae aliquid voluptatem ipsum in necessitatibus omnis. Perferendis iste placeat alias sit iure. Quia iste sed. Dolores quo iure vitae cupiditate esse omnis rem."], ["created_at", "2014-09-26 20:03:00.624348"], ["name", "et_debitis_voluptatem"], ["title", "Voluptatem odio nihil"], ["updated_at", "2014-09-26 20:03:00.624348"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.629099"], ["updated_at", "2014-09-26 20:03:00.629099"]]  (0.8ms) commit transaction  (0.2ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.630927"], ["updated_at", "2014-09-26 20:03:00.630927"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit vitae ipsum totam consequatur animi. Quis qui repudiandae aut corporis architecto id. Possimus veniam nostrum sit alias eius deleniti debitis.\nIn velit magnam consequatur. Non non ab quam nisi repellendus nam. Consequatur porro sed qui iste. Sint placeat ut quia consectetur quasi pariatur quaerat. Ut quos rerum dolores blanditiis occaecati atque.\nIllo quaerat dolorem odit perspiciatis dolore. Fuga voluptatem amet ea. Magni id rerum vero."], ["created_at", "2014-09-26 20:03:00.633274"], ["name", "asperiores_ab_eum"], ["title", "Cumque sed ratione"], ["updated_at", "2014-09-26 20:03:00.633274"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.637501"], ["updated_at", "2014-09-26 20:03:00.637501"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.639155"], ["updated_at", "2014-09-26 20:03:00.639155"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quos porro rem eligendi veritatis. Quisquam accusamus cum et et eaque similique. Nemo ut et consequatur eligendi quisquam saepe autem. Sit laborum vel dolor saepe reiciendis. Dolorem aperiam eos quis.\nVoluptatum maiores dolor nemo cumque illum. Cupiditate tenetur fugiat adipisci. Facere quis et laborum eos debitis. Illo molestias et sit quaerat alias. Qui a est.\nOccaecati officiis sed sint praesentium et odio eaque. Quas ea animi. Fuga facere itaque rerum laudantium eaque eum. Earum nulla harum libero quis. Cupiditate odit sed voluptas dolore veritatis eum corporis."], ["created_at", "2014-09-26 20:03:00.641660"], ["name", "eum_voluptate_voluptatem"], ["title", "Consequatur iusto eius"], ["updated_at", "2014-09-26 20:03:00.641660"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 21, 19, 8, 20, 9, 16, 15, 22, 1, 2, 13, 4, 17, 5, 6, 11, 3, 18, 14, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.652324"], ["updated_at", "2014-09-26 20:03:00.652324"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.654029"], ["updated_at", "2014-09-26 20:03:00.654029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Error facilis perferendis reiciendis. Officia aut excepturi iste. Rerum necessitatibus molestiae eos. Voluptate blanditiis corrupti dicta ea est. Saepe iure voluptatem maxime harum.\nDebitis corrupti qui vero est quia accusamus aspernatur. Autem voluptas illo eos doloremque quaerat ratione. Amet qui molestias similique modi deleniti.\nAsperiores quos et non accusantium quisquam. Libero eos alias laborum fugiat aut. Esse ducimus porro in facilis rerum dolor. Cum neque quo tempore at nemo quia."], ["created_at", "2014-09-26 20:03:00.656300"], ["name", "quia_facere_facilis"], ["title", "Repudiandae excepturi sit"], ["updated_at", "2014-09-26 20:03:00.656300"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.661876"], ["updated_at", "2014-09-26 20:03:00.661876"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.663488"], ["updated_at", "2014-09-26 20:03:00.663488"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quas cumque consequatur. Voluptates illo autem. Non magnam enim. Eligendi optio incidunt facere nesciunt autem voluptates cupiditate.\nAutem minima id asperiores vero. Ea ut dolores quidem aut. Cumque excepturi eaque. Nobis quidem at nulla dolore tempora.\nMagnam animi ea aliquam nobis quisquam harum incidunt. Consectetur enim autem. Quo et qui dicta voluptatem aut aliquid."], ["created_at", "2014-09-26 20:03:00.665735"], ["name", "iusto_ut_aut"], ["title", "Eligendi magni laudantium"], ["updated_at", "2014-09-26 20:03:00.665735"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 24 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-26 20:03:00.669453"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 24]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.675127"], ["updated_at", "2014-09-26 20:03:00.675127"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.676685"], ["updated_at", "2014-09-26 20:03:00.676685"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Esse deserunt ea labore iure. Incidunt voluptatem ratione et iste non. Cum corporis consequatur corrupti delectus qui facere. Aut dolores sint nesciunt accusamus rerum.\nDolorem dolore voluptate a nobis velit sit aut. Voluptatum necessitatibus quo rem autem sequi aliquam. Iure fuga nisi facilis odio ut et doloremque. Deserunt necessitatibus labore aut delectus amet qui.\nEt deserunt consectetur voluptates. Alias aut libero harum est et ut. Quia quod animi accusamus a magni. Voluptatem quaerat quibusdam aliquam."], ["created_at", "2014-09-26 20:03:00.679236"], ["name", "nihil_architecto_minima"], ["title", "Fuga et sunt"], ["updated_at", "2014-09-26 20:03:00.679236"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"25"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.683396"], ["updated_at", "2014-09-26 20:03:00.683396"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.684878"], ["updated_at", "2014-09-26 20:03:00.684878"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem impedit iure ex ipsa. Ducimus iste natus nisi fugit. Suscipit voluptate nam atque consequatur eligendi voluptatem harum.\nNon qui architecto at nobis. Sapiente ab quae fuga sunt et tenetur. Delectus quia enim voluptatem.\nOmnis est qui dolore quidem repudiandae maxime. Aut earum rem iure tempore quo nobis. Autem expedita sit officiis ipsum accusamus omnis."], ["created_at", "2014-09-26 20:03:00.687033"], ["name", "dolorum_dolores_et"], ["title", "Vero quo ex"], ["updated_at", "2014-09-26 20:03:00.687033"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_dolores_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'dolorum_dolores_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 20:03:00.690307"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorum_dolores_et"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-26 20:03:00.695317"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.699381"], ["updated_at", "2014-09-26 20:03:00.699381"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.701029"], ["updated_at", "2014-09-26 20:03:00.701029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ex tempore nobis quos excepturi. Soluta accusantium eveniet qui optio inventore consequuntur. Quae at laudantium magnam dolor sed officiis quo.\nEt ipsum autem voluptatibus quia eius repellat. Impedit enim deserunt porro sed. Et et eius eos.\nEst aut amet exercitationem. Animi voluptatem et aut sequi consectetur cupiditate. Est blanditiis qui alias nemo porro et explicabo."], ["created_at", "2014-09-26 20:03:00.703219"], ["name", "laudantium_harum_consectetur"], ["title", "Maiores ipsum aspernatur"], ["updated_at", "2014-09-26 20:03:00.703219"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.708792"], ["updated_at", "2014-09-26 20:03:00.708792"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.710782"], ["updated_at", "2014-09-26 20:03:00.710782"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum repellat reprehenderit inventore veniam repudiandae dicta quae. Quia aut architecto rem omnis consequatur et est. Quia sunt et animi omnis id laudantium dolore. Possimus iste id architecto. Velit eligendi soluta aut omnis nisi velit ipsum.\nSit vel ipsa veniam enim delectus accusantium ea. At harum est quia qui. Placeat autem veritatis qui omnis ratione. Amet ratione dicta quia repellendus quae consequatur.\nReprehenderit facere magni rem quo. Nam autem ipsam natus sit dolore. Iste impedit officiis et quia. Possimus quis dicta vel error consequatur sit."], ["created_at", "2014-09-26 20:03:00.713298"], ["name", "ipsam_corporis_rerum"], ["title", "Animi ab id"], ["updated_at", "2014-09-26 20:03:00.713298"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-26 20:03:00.717213"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-26 20:03:00.717213"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/29 Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eligendi dolor tenetur sunt officiis. Reprehenderit sint deserunt placeat maiores laborum a ex. Consequatur voluptatum ut voluptatem commodi corrupti mollitia. Nisi reprehenderit voluptatem veniam vero omnis molestiae id.\nEnim tenetur id repudiandae qui cum. Distinctio placeat fuga amet exercitationem est optio. Culpa corporis qui hic in consequatur maiores.\nUt sequi atque tenetur. Ipsam sint eius itaque. Atque quisquam omnis nesciunt vero qui non ratione. At nihil est quis. Eos qui expedita."], ["created_at", "2014-09-26 20:03:00.724151"], ["name", "alpha"], ["title", "Rerum amet consequatur"], ["updated_at", "2014-09-26 20:03:00.724151"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Deleniti et sit. Dolores nisi pariatur culpa labore ipsum iure quas. Tempora quia possimus. Et voluptates animi omnis. Dolore quis commodi aperiam itaque eligendi voluptatibus.\nAssumenda itaque sed. Incidunt ut ab est minus vel qui. Facere ratione non et est tempora. Dolor nam corrupti aut.\nSimilique ullam repudiandae saepe in sed eligendi. Laboriosam eum facere id. Tempore officiis est nihil laudantium."], ["created_at", "2014-09-26 20:03:00.728071"], ["name", "beta"], ["title", "Iste ut soluta"], ["updated_at", "2014-09-26 20:03:00.728071"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.729718"], ["updated_at", "2014-09-26 20:03:00.729718"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-26 20:03:00.732300"], ["updated_at", "2014-09-26 20:03:00.732300"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-26 20:03:00.734718"], ["updated_at", "2014-09-26 20:03:00.734718"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:03:00.737074"], ["name", "alpha"], ["title", "Rerum amet consequatur"], ["updated_at", "2014-09-26 20:03:00.737074"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-26 20:03:00.740203"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-26 20:03:00.755101"], ["updated_at", "2014-09-26 20:03:00.755101"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (32, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 32]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 65 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et dicta eum temporibus non dolor qui. Error quia nostrum voluptas. Iste est laboriosam dolore. Dolorum pariatur ex dolores. Animi exercitationem consectetur omnis ab quas id necessitatibus.\nQuam quae sequi officia eius. Amet ut autem nemo dolorem odit. Dicta blanditiis et rerum laboriosam ullam sint molestias. Ipsa quia ullam animi. Illo fugiat eos sit corrupti.\nBlanditiis odio ut dolorem. Voluptate molestias et voluptatem nobis est est sunt. Est optio consequatur. Excepturi voluptatem voluptates."], ["created_at", "2014-09-26 20:03:00.771068"], ["name", "alpha"], ["title", "Quis et voluptates"], ["updated_at", "2014-09-26 20:03:00.771068"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "A explicabo dolore eos similique rerum tempora. Atque quae et quia aut delectus voluptate. Accusantium adipisci ipsum voluptas iusto maiores. Odio at earum. Consectetur blanditiis similique.\nAnimi facere voluptates qui ipsam impedit est. Amet eos iste fuga. Nemo et non non quas corrupti.\nFuga quisquam possimus perspiciatis libero quo tempora unde. Iste aut aspernatur tempore eius similique deleniti. Deserunt quis autem sint."], ["created_at", "2014-09-26 20:03:00.775125"], ["name", "beta"], ["title", "Aut enim minima"], ["updated_at", "2014-09-26 20:03:00.775125"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.776729"], ["updated_at", "2014-09-26 20:03:00.776729"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-26 20:03:00.779339"], ["updated_at", "2014-09-26 20:03:00.779339"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-26 20:03:00.781843"], ["updated_at", "2014-09-26 20:03:00.781843"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:03:00.783940"], ["name", "alpha"], ["title", "Quis et voluptates"], ["updated_at", "2014-09-26 20:03:00.783940"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-26 20:03:00.786974"], ["version", 4]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (35, 34) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint vel iure accusantium dolore voluptas. Dolore delectus iure excepturi quod quas. Est et nihil. Error rerum delectus.\nEt ipsum quasi sunt repellat. Unde itaque illo tempora accusantium cumque aut. Rerum distinctio consequatur hic debitis. Tempora est neque occaecati eveniet placeat ea cumque.\nUt temporibus architecto aut vitae. Quisquam quos quaerat perspiciatis temporibus doloribus accusamus. Eveniet tenetur numquam. Alias inventore dignissimos ea modi ad voluptatibus. Quibusdam inventore ut aut corrupti eligendi."], ["created_at", "2014-09-26 20:03:00.793062"], ["name", "alpha"], ["title", "Molestiae esse tempore"], ["updated_at", "2014-09-26 20:03:00.793062"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quas quia occaecati suscipit nesciunt distinctio voluptatibus. Id occaecati in non adipisci. Accusamus unde velit recusandae. Provident non amet rerum omnis velit animi eius. Magnam expedita eum non dolor.\nId ut cupiditate nulla dignissimos perspiciatis sunt voluptates. Consequatur voluptatem consequatur. Deleniti ex necessitatibus. Atque esse dolores debitis sit autem cupiditate. Nulla officiis numquam sunt.\nDoloremque rerum quia dolores qui magnam quae. Aperiam corrupti officiis. Cupiditate voluptates nobis. Eaque aliquid voluptas veritatis. Rem repellendus dicta voluptatem aperiam."], ["created_at", "2014-09-26 20:03:00.796962"], ["name", "beta"], ["title", "Voluptate culpa dolore"], ["updated_at", "2014-09-26 20:03:00.796962"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.798592"], ["updated_at", "2014-09-26 20:03:00.798592"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-26 20:03:00.801259"], ["updated_at", "2014-09-26 20:03:00.801259"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-26 20:03:00.804517"], ["updated_at", "2014-09-26 20:03:00.804517"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:03:00.807637"], ["name", "alpha"], ["title", "Molestiae esse tempore"], ["updated_at", "2014-09-26 20:03:00.807637"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-26 20:03:00.811066"], ["version", 6]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ea dolorum voluptatem repellat vel ut quod. Quaerat esse dolores non iusto. Eum esse dolorum nihil. Reiciendis architecto sint voluptatem. Distinctio cumque ut magni.\nIllum saepe veniam consequuntur. Eius rerum modi molestiae illo id. Repudiandae libero placeat dolor itaque dignissimos ducimus voluptas. Animi et veritatis. Molestiae enim accusantium ut.\nMagni sint autem itaque tempora. Corporis qui ut blanditiis porro. Et ut eos. Accusantium voluptas qui vel quaerat voluptatibus a ut. Aliquam impedit sed cumque ab totam."], ["created_at", "2014-09-26 20:03:00.819158"], ["name", "alpha"], ["title", "Dicta tempora molestiae"], ["updated_at", "2014-09-26 20:03:00.819158"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquid commodi dicta. Possimus temporibus consequatur veritatis consequatur sed. Officiis iusto laudantium odio dolor. Quam adipisci dolores quis aut deleniti. Sint possimus officiis saepe.\nSequi eligendi ut accusamus ut unde quam ex. Placeat totam est sint et similique. Nihil veritatis iste rerum eaque. Voluptas qui corrupti non. Et consectetur rerum voluptas dolor tempore.\nEligendi ab reprehenderit quisquam modi. Hic officiis tempore vero est totam ut. Ipsum vitae voluptas. Corrupti odit rerum."], ["created_at", "2014-09-26 20:03:00.823202"], ["name", "beta"], ["title", "Ipsam aliquid sed"], ["updated_at", "2014-09-26 20:03:00.823202"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.824824"], ["updated_at", "2014-09-26 20:03:00.824824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-26 20:03:00.827409"], ["updated_at", "2014-09-26 20:03:00.827409"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-26 20:03:00.829896"], ["updated_at", "2014-09-26 20:03:00.829896"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.5ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-26 20:03:00.832009"], ["name", "alpha"], ["title", "Dicta tempora molestiae"], ["updated_at", "2014-09-26 20:03:00.832009"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-26 20:03:00.842897"], ["version", 8]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (7, 41, 40, 8, 9, 16, 2, 4, 17, 5, 6, 3, 18, 14, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "labore_et_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'labore_et_accusantium') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nemo corrupti tenetur. Voluptates eum velit vel magni aut sequi. Omnis autem magni inventore vero. Itaque est optio suscipit iste laudantium sed aut. Nihil minus quis pariatur.\nEt et id sit placeat perspiciatis voluptas. Impedit ea est ut porro voluptatem et. Est sed sit.\nEarum ducimus voluptatibus reiciendis iste rerum. Nemo voluptatem rerum quo eligendi. Ratione ipsam dolores ducimus commodi quo error aperiam. Aut omnis sed sunt atque et fuga ea."], ["created_at", "2014-09-26 20:03:00.852544"], ["name", "labore_et_accusantium"], ["title", "Sunt voluptate ipsum"], ["updated_at", "2014-09-26 20:03:00.852544"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'labore_et_accusantium' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nemo corrupti tenetur. Voluptates eum velit vel magni aut sequi. Omnis autem magni inventore vero. Itaque est optio suscipit iste laudantium sed aut. Nihil minus quis pariatur.\nEt et id sit placeat perspiciatis voluptas. Impedit ea est ut porro voluptatem et. Est sed sit.\nEarum ducimus voluptatibus reiciendis iste rerum. Nemo voluptatem rerum quo eligendi. Ratione ipsam dolores ducimus commodi quo error aperiam. Aut omnis sed sunt atque et fuga ea."], ["created_at", "2014-09-26 20:03:00.855114"], ["name", "joe"], ["title", "Sunt voluptate ipsum"], ["updated_at", "2014-09-26 20:03:00.855114"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-26 20:03:00.859051"], ["version", 1]]  (1.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_aut_in"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eius_aut_in') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Odio fugiat voluptatem omnis harum tempora aut. Omnis autem nihil quam earum. Sed et quasi amet. Voluptates excepturi necessitatibus aut vel commodi.\nCupiditate quae quaerat. Eum ut soluta aut nihil error repellendus. Voluptatum et laborum repellendus. Fugiat officiis laborum. Nobis ipsam minima.\nOdit consectetur quis et magnam. Explicabo id debitis non omnis amet autem aut. Maxime eos quia debitis molestiae et."], ["created_at", "2014-09-26 20:03:00.868830"], ["name", "eius_aut_in"], ["title", "Alias in repellendus"], ["updated_at", "2014-09-26 20:03:00.868830"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'eius_aut_in' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Odio fugiat voluptatem omnis harum tempora aut. Omnis autem nihil quam earum. Sed et quasi amet. Voluptates excepturi necessitatibus aut vel commodi.\nCupiditate quae quaerat. Eum ut soluta aut nihil error repellendus. Voluptatum et laborum repellendus. Fugiat officiis laborum. Nobis ipsam minima.\nOdit consectetur quis et magnam. Explicabo id debitis non omnis amet autem aut. Maxime eos quia debitis molestiae et."], ["created_at", "2014-09-26 20:03:00.871625"], ["name", "eius_aut_in"], ["title", "Alias in repellendus"], ["updated_at", "2014-09-26 20:03:00.871625"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_aut_in"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'eius_aut_in') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 45 [["updated_at", "2014-09-26 20:03:00.875839"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut officia qui sequi quia nihil. Porro est sapiente laudantium fugit corrupti quasi dolore. Laborum nemo eos harum ipsam expedita. Possimus tempora dolores et tempore eos maxime. Dolorum animi recusandae.\nSit fuga dolorem veritatis eveniet nesciunt ut. Ut voluptates nihil inventore id esse molestiae. Nobis explicabo voluptatem est. Est qui voluptates nisi voluptas dignissimos quasi. Sapiente ea nesciunt rem sequi impedit.\nConsequatur eum nostrum et quam amet. Recusandae eius repellendus similique sunt mollitia natus. Hic corporis totam architecto. Sed ad ut nobis ex beatae."], ["created_at", "2014-09-26 20:03:00.880287"], ["name", "occaecati_corrupti_consequatur"], ["title", "Nisi eveniet corporis"], ["updated_at", "2014-09-26 20:03:00.880287"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "occaecati_corrupti_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'occaecati_corrupti_consequatur') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 20:03:00.885454"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "occaecati_corrupti_consequatur"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "occaecati_corrupti_consequatur"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-26 20:03:00.891595"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Architecto qui enim omnis. Sed quibusdam qui. Et inventore dolor asperiores quisquam non occaecati voluptatum.\nHic itaque eveniet maiores inventore. Qui rerum dolores earum nesciunt. Est quia debitis. Rerum quo omnis quaerat delectus dicta est et.\nSaepe odio vero inventore. Voluptas culpa voluptate aut. Qui unde optio."], ["created_at", "2014-09-26 20:03:00.896536"], ["name", "necessitatibus_quia_rerum"], ["title", "Provident repellat odio"], ["updated_at", "2014-09-26 20:03:00.896536"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "necessitatibus_quia_rerum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'necessitatibus_quia_rerum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-26 20:03:00.900242"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-26 20:03:00.906440"], ["updated_at", "2014-09-26 20:03:00.906440"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-26 20:03:00.907253"], ["updated_at", "2014-09-26 20:03:00.907253"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'necessitatibus_quia_rerum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "necessitatibus_quia_rerum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.287624"], ["updated_at", "2014-09-29 15:17:50.287624"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.294418"], ["updated_at", "2014-09-29 15:17:50.294418"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est optio reprehenderit nam sunt qui rerum. Nostrum voluptatem et est necessitatibus earum sed consequatur. Ea aspernatur aperiam quisquam cumque qui laborum. Quae voluptates quibusdam sed.\nSequi omnis facere occaecati reprehenderit ut. Similique est ea quo reprehenderit. Laudantium omnis laboriosam quam voluptas. Libero qui sint velit iure. Sit laborum eius.\nEos doloribus dolore animi. Quia debitis est et beatae omnis mollitia. Magnam voluptas sed. Commodi hic ut in deserunt et ea ad."], ["created_at", "2014-09-29 15:17:50.555066"], ["name", "quidem_ab_quisquam"], ["title", "Nulla laborum officia"], ["updated_at", "2014-09-29 15:17:50.555066"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quidem_ab_quisquam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'quidem_ab_quisquam') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-29 15:17:50.571573"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.584920"], ["updated_at", "2014-09-29 15:17:50.584920"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.586942"], ["updated_at", "2014-09-29 15:17:50.586942"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quod odio qui eos repudiandae impedit dolor. Adipisci dolores eum voluptas suscipit. Impedit dicta est mollitia pariatur.\nAlias eius non vel et commodi. Quis enim id in voluptatum quo est est. Qui modi vero. Voluptas pariatur itaque totam dolor consectetur voluptatum reiciendis.\nRepudiandae repellat illo id soluta possimus. Iure voluptatem et autem. Officiis quos modi reiciendis accusantium tenetur. Iure eos nam et omnis. Ex pariatur cumque."], ["created_at", "2014-09-29 15:17:50.590134"], ["name", "ut_recusandae_aut"], ["title", "Beatae explicabo eligendi"], ["updated_at", "2014-09-29 15:17:50.590134"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 15:17:50.595846"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.602756"], ["updated_at", "2014-09-29 15:17:50.602756"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.604395"], ["updated_at", "2014-09-29 15:17:50.604395"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam odio in inventore voluptatem at. Voluptatem quae vitae qui. Ea esse facilis inventore veniam vitae. Possimus et sed aspernatur rerum accusamus. Dolor unde voluptatem consectetur velit.\nUllam non a quam quis. Optio unde reiciendis ut in. Autem amet asperiores iure est. Praesentium rerum et.\nEt rem qui temporibus et repellat quia. Provident ex sint dolore sit. Sed laudantium id pariatur aut in qui. Aut in neque adipisci. Architecto ut et adipisci illum deleniti corrupti."], ["created_at", "2014-09-29 15:17:50.606702"], ["name", "quia_id_perspiciatis"], ["title", "Mollitia voluptas veniam"], ["updated_at", "2014-09-29 15:17:50.606702"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.610889"], ["updated_at", "2014-09-29 15:17:50.610889"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.612500"], ["updated_at", "2014-09-29 15:17:50.612500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corporis aut accusantium et unde doloribus dolore voluptas. Officiis aut deleniti suscipit quaerat eaque architecto doloremque. Maiores nulla beatae quibusdam.\nOdio iste consequuntur sed. Nobis a reiciendis id iste magnam perferendis. Qui nulla quia sequi accusamus. Amet repudiandae et magnam at.\nPlaceat totam possimus incidunt itaque. Ea id recusandae expedita. Adipisci doloribus voluptas."], ["created_at", "2014-09-29 15:17:50.614799"], ["name", "dolores_qui_libero"], ["title", "Rem quis nesciunt"], ["updated_at", "2014-09-29 15:17:50.614799"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"4"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.628825"], ["updated_at", "2014-09-29 15:17:50.628825"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.631258"], ["updated_at", "2014-09-29 15:17:50.631258"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quae porro est dignissimos officia placeat. Impedit modi est. Ducimus magni minima non. Ab culpa excepturi rerum cumque.\nAut distinctio animi. Natus provident ipsum nihil mollitia deserunt accusamus laborum. Aut laborum ut est eos unde quaerat. Non sint qui.\nEum ipsam eligendi quia ipsum molestias magnam. Ut nulla et. Ut earum velit nostrum iusto. Non hic ab quis consectetur voluptatem blanditiis."], ["created_at", "2014-09-29 15:17:50.634430"], ["name", "sequi_quia_tempora"], ["title", "Iure assumenda quibusdam"], ["updated_at", "2014-09-29 15:17:50.634430"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.639417"], ["updated_at", "2014-09-29 15:17:50.639417"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.640947"], ["updated_at", "2014-09-29 15:17:50.640947"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laborum non dolores fugit impedit. Rerum itaque perferendis. Veritatis omnis est similique blanditiis architecto corporis. Aut quia non rerum. Libero doloribus et assumenda magnam.\nVel rerum debitis autem est sapiente qui dolores. Expedita rerum aut. Rem non quaerat optio. Aut optio porro.\nTenetur vel soluta. Natus debitis accusamus excepturi eligendi dolor ullam. Quis quidem ratione. Et sequi quisquam a quibusdam cupiditate. Est rerum officia voluptas voluptatem sit."], ["created_at", "2014-09-29 15:17:50.643360"], ["name", "molestias_neque_atque"], ["title", "Nulla et repellat"], ["updated_at", "2014-09-29 15:17:50.643360"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestias_neque_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'molestias_neque_atque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-29 15:17:50.647074"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestias_neque_atque"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-29 15:17:50.651846"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.655804"], ["updated_at", "2014-09-29 15:17:50.655804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.657217"], ["updated_at", "2014-09-29 15:17:50.657217"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Pariatur repudiandae eum soluta nihil dicta perspiciatis. Consequatur omnis debitis aut hic quia. Voluptatibus quasi non non. Libero eligendi et porro.\nNihil facere voluptas eligendi odio veniam et. Amet et non qui inventore veniam laudantium. Rerum fuga vero quo. Quibusdam numquam assumenda et quas dolorum consequuntur.\nEst est delectus. Ipsum qui non veniam itaque. Id earum quo excepturi. Corporis eius magni officia."], ["created_at", "2014-09-29 15:17:50.659314"], ["name", "doloremque_earum_vel"], ["title", "Voluptas praesentium quo"], ["updated_at", "2014-09-29 15:17:50.659314"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloremque_earum_vel"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'doloremque_earum_vel') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 7 [["updated_at", "2014-09-29 15:17:50.663400"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]] FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'doloremque_earum_vel' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.675880"], ["updated_at", "2014-09-29 15:17:50.675880"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.677553"], ["updated_at", "2014-09-29 15:17:50.677553"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit fuga nisi vel. Quia dolores quibusdam voluptas expedita id. Ut recusandae veniam voluptatem. Et maxime ullam.\nError voluptatem dolorem est quibusdam. Doloribus fugiat aut laborum necessitatibus eveniet error. Ea sapiente non accusantium dolore dolores dolorem culpa.\nBeatae et sit quo odit illum reiciendis. Aliquid nesciunt sequi. Veritatis ad quibusdam. Harum et totam ad incidunt quia dolore qui."], ["created_at", "2014-09-29 15:17:50.679800"], ["name", "aut_doloribus_qui"], ["title", "Maiores iure dolore"], ["updated_at", "2014-09-29 15:17:50.679800"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.685169"], ["updated_at", "2014-09-29 15:17:50.685169"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.686954"], ["updated_at", "2014-09-29 15:17:50.686954"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laborum officia a. Aut iure accusantium pariatur sequi voluptatibus. Repudiandae nostrum fugiat.\nAd totam exercitationem repellat laudantium. Dolore cum voluptates. Ducimus ad in et unde quis consectetur. Commodi laborum quos ut minima non est magnam.\nMaiores quam voluptas ea. Enim optio et eos est. Occaecati doloremque voluptatibus. Repellat in dignissimos itaque ratione non."], ["created_at", "2014-09-29 15:17:50.689699"], ["name", "fugit_unde_eveniet"], ["title", "Et assumenda doloremque"], ["updated_at", "2014-09-29 15:17:50.689699"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.695575"], ["updated_at", "2014-09-29 15:17:50.695575"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.697165"], ["updated_at", "2014-09-29 15:17:50.697165"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum dolorem sed sunt. Repellat dolor dolorem in. Vel praesentium omnis ea perferendis similique nam. Harum consequatur voluptatum facilis et molestiae officiis consequatur.\nUt dolores nobis. Nemo blanditiis eaque alias maiores cumque aut voluptatum. Dignissimos necessitatibus quibusdam omnis voluptas minus laboriosam placeat.\nCumque alias sint porro maxime tempore iusto quaerat. Quam nam harum magni quis aut vero cum. Enim harum doloremque."], ["created_at", "2014-09-29 15:17:50.699405"], ["name", "dolor_iusto_laborum"], ["title", "Eveniet eaque rerum"], ["updated_at", "2014-09-29 15:17:50.699405"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"10"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.703350"], ["updated_at", "2014-09-29 15:17:50.703350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.704753"], ["updated_at", "2014-09-29 15:17:50.704753"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et voluptatem eligendi voluptas. Ad qui porro saepe ea aliquid hic tenetur. Amet ex cum qui. Sit nemo facilis. Distinctio praesentium et soluta incidunt necessitatibus ut maxime.\nReiciendis ut aperiam animi voluptas aliquid consequatur. Nobis inventore numquam. Et libero provident.\nFuga ratione et qui. Sequi laudantium eveniet in nihil consectetur. Eligendi asperiores numquam aut cumque nihil impedit doloribus."], ["created_at", "2014-09-29 15:17:50.706875"], ["name", "adipisci_perspiciatis_velit"], ["title", "Vel quidem veniam"], ["updated_at", "2014-09-29 15:17:50.706875"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 15:17:50.709704"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 15:17:50.709704"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/12 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.713077"], ["updated_at", "2014-09-29 15:17:50.713077"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.714580"], ["updated_at", "2014-09-29 15:17:50.714580"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Asperiores itaque suscipit architecto velit dolorum. Et enim qui vel reprehenderit rem. Iusto dolorem occaecati impedit ipsa incidunt aliquam et.\nUt architecto eligendi itaque consequatur ipsa. Ducimus consequuntur quis dolore quis consequatur laborum totam. Aliquam at asperiores perspiciatis quia incidunt laboriosam.\nPossimus quasi rerum. Velit molestias sit qui atque eligendi. Ipsam id vel voluptas. Harum et perferendis. Illo enim accusamus assumenda a eaque ut saepe."], ["created_at", "2014-09-29 15:17:50.716747"], ["name", "quaerat_similique_reiciendis"], ["title", "Aut dolor eligendi"], ["updated_at", "2014-09-29 15:17:50.716747"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 13]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 13]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 13 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.725986"], ["updated_at", "2014-09-29 15:17:50.725986"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.727441"], ["updated_at", "2014-09-29 15:17:50.727441"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Neque accusantium magnam quas inventore laborum aliquam. Perferendis quis accusamus aut. Cumque facilis optio ipsum quo ipsam libero. Non quidem et aperiam occaecati exercitationem molestias.\nQuaerat et excepturi natus odio. Ut asperiores consequatur. Qui praesentium necessitatibus ea numquam enim laborum.\nEos ut ut. Soluta debitis eum qui id rerum doloribus. Eos enim ex."], ["created_at", "2014-09-29 15:17:50.729597"], ["name", "quisquam_error_unde"], ["title", "Illum totam nam"], ["updated_at", "2014-09-29 15:17:50.729597"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.733274"], ["updated_at", "2014-09-29 15:17:50.733274"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.734780"], ["updated_at", "2014-09-29 15:17:50.734780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "A exercitationem molestiae. Odit laborum consequatur aut. Sint quas deleniti. Quasi voluptatum molestias aliquam numquam.\nQuasi quia dolorum. Optio et blanditiis facilis cumque quia voluptatem. Quisquam minima qui sed impedit. Voluptas a sed quia odio accusamus cumque. Architecto magnam dolor.\nPariatur tenetur sequi illum recusandae nihil quia doloremque. Ut magni quod nam. Ab cupiditate blanditiis."], ["created_at", "2014-09-29 15:17:50.736853"], ["name", "tempore_minima_est"], ["title", "Repellat et sed"], ["updated_at", "2014-09-29 15:17:50.736853"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_minima_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'tempore_minima_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-29 15:17:50.741399"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.745461"], ["updated_at", "2014-09-29 15:17:50.745461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.746931"], ["updated_at", "2014-09-29 15:17:50.746931"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Earum ipsa et impedit similique. Accusantium id expedita mollitia quibusdam voluptate eos id. Voluptatibus repudiandae similique dolor sint enim voluptatum. Est non accusamus hic possimus. Maiores optio eius eveniet nesciunt omnis voluptatem.\nItaque doloremque ipsum voluptatem. Sint facere aut cupiditate ut labore. Veritatis animi sequi vel quasi quo incidunt. Alias nihil voluptates iusto quia fugiat est et. Quos qui laudantium alias.\nQui sit et ab sed et. Cumque at autem. Pariatur aut et corrupti."], ["created_at", "2014-09-29 15:17:50.749209"], ["name", "dolores_magnam_consequuntur"], ["title", "Aperiam tempora vel"], ["updated_at", "2014-09-29 15:17:50.749209"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (11, 2, 8, 10, 7, 16, 4, 9, 6, 3, 1, 14, 5, 12, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.761353"], ["updated_at", "2014-09-29 15:17:50.761353"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.763428"], ["updated_at", "2014-09-29 15:17:50.763428"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit aut aperiam repellat placeat. Fugiat sit dolorem delectus possimus eveniet itaque voluptatem. Culpa expedita vel optio possimus ipsum. Velit voluptatem ad modi quidem. Deleniti possimus placeat labore modi doloribus voluptas.\nPraesentium esse similique non commodi. Corporis consequuntur nemo fugit blanditiis tempore eum. Harum maiores eos fuga. Cupiditate asperiores fugiat ipsum voluptates ipsa repellat. Aut aliquam rerum illo.\nIllum itaque ullam laborum qui. Officia ut est et amet. In enim suscipit ducimus. Et consectetur sit. Impedit quia ducimus quia occaecati eaque."], ["created_at", "2014-09-29 15:17:50.766768"], ["name", "et_modi_dolor"], ["title", "Distinctio voluptatem quo"], ["updated_at", "2014-09-29 15:17:50.766768"]]  (0.9ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.772961"], ["updated_at", "2014-09-29 15:17:50.772961"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.774475"], ["updated_at", "2014-09-29 15:17:50.774475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo nemo tenetur nihil molestiae ab. Minus veritatis aliquam. Rem omnis qui aut.\nHarum repudiandae odit laborum quia facilis. Aut ea odio perferendis illum perspiciatis alias. Nulla eum repellat. Eligendi qui et cum eius odio et. Occaecati nihil labore perferendis et enim nihil.\nEt incidunt est illo deserunt dolor est nihil. At vero in magnam dolorem. Ullam dolor eum eum dolor aut harum et. Ea aut qui eos nisi. Porro et qui rerum ea mollitia sapiente facere."], ["created_at", "2014-09-29 15:17:50.776662"], ["name", "est_fugiat_recusandae"], ["title", "Et necessitatibus voluptatum"], ["updated_at", "2014-09-29 15:17:50.776662"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_fugiat_recusandae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'est_fugiat_recusandae') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-29 15:17:50.779801"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.785233"], ["updated_at", "2014-09-29 15:17:50.785233"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.786690"], ["updated_at", "2014-09-29 15:17:50.786690"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quasi esse iusto nihil molestias et voluptates cum. Ab et vel. Iure voluptatem sint debitis dolorum minima. Eos et harum omnis ipsa consequatur minus necessitatibus.\nVoluptatem aut nemo accusantium quia expedita enim sunt. Dicta voluptas est quo ut. Rem numquam nesciunt.\nQuos eligendi et rerum atque quia dignissimos aperiam. Sint eius sequi blanditiis tempore. Quia voluptatem omnis dolorem dolores enim."], ["created_at", "2014-09-29 15:17:50.788874"], ["name", "error_quo_explicabo"], ["title", "Non molestias repellat"], ["updated_at", "2014-09-29 15:17:50.788874"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ea tenetur placeat et cupiditate et. Iusto excepturi velit qui aspernatur corrupti eum. Vel dignissimos commodi odio culpa qui placeat quia. Iusto repudiandae non quod explicabo.\nDeserunt quis alias id. Omnis ut velit ea. At in labore. Sequi quae rerum vitae molestiae esse voluptatibus.\nQuia dicta rerum quibusdam quis cupiditate quam vel. Repellat enim aut praesentium rem ut nesciunt. Non consequuntur labore perferendis ad."], ["created_at", "2014-09-29 15:17:50.794193"], ["name", "architecto_commodi_voluptates"], ["title", "Aut sed voluptas"], ["updated_at", "2014-09-29 15:17:50.794193"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_blanditiis_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_blanditiis_quibusdam') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusantium veniam voluptate. Consequuntur fugit voluptas quia laborum ratione quia. Ut nisi quos ratione ut veniam facilis magni. Aut sequi ut eum nobis.\nMaxime accusamus alias impedit sunt nemo enim omnis. Rerum qui sunt sit omnis incidunt. Architecto sunt deleniti nobis quisquam qui ipsam id. A commodi error. Ea vel cumque esse non ut.\nRerum quia sint enim illo incidunt cum. Dolor minima enim. Beatae quis voluptatem excepturi fugit aspernatur nihil provident."], ["created_at", "2014-09-29 15:17:50.799880"], ["name", "et_blanditiis_quibusdam"], ["title", "Provident sequi similique"], ["updated_at", "2014-09-29 15:17:50.799880"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut at harum. Qui eligendi et consequuntur et hic vitae at. Rerum ut qui dolorum ipsa culpa.\nMagni ut voluptas ea molestiae. Aut aut ut voluptatem. Voluptates qui totam. Enim aliquid nihil dolorum doloribus officiis velit delectus.\nCorrupti voluptates velit deleniti et deserunt omnis consequatur. Officia et perferendis praesentium eaque autem totam voluptas. Quia adipisci ea omnis iure quia."], ["created_at", "2014-09-29 15:17:50.810389"], ["name", "et_odio_sit"], ["title", "Expedita reiciendis mollitia"], ["updated_at", "2014-09-29 15:17:50.810389"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_odio_sit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'et_odio_sit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 15:17:50.813603"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.817862"], ["updated_at", "2014-09-29 15:17:50.817862"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-29 15:17:50.818425"], ["updated_at", "2014-09-29 15:17:50.818425"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'et_odio_sit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_odio_sit"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et occaecati adipisci error eum. Cupiditate est tempora eaque expedita qui sed. Delectus consequatur voluptates est hic. Exercitationem dignissimos cum ullam accusamus qui sit id.\nUnde quis rerum exercitationem consequatur officiis. Consequatur consequuntur similique occaecati. Et voluptate nihil et.\nQui architecto nobis quos et quis culpa ipsa. Ut ut dolorum maxime deleniti. Voluptates debitis possimus rerum dignissimos asperiores."], ["created_at", "2014-09-29 15:17:50.828675"], ["name", "iure_temporibus_nihil"], ["title", "Ullam est quam"], ["updated_at", "2014-09-29 15:17:50.828675"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_temporibus_nihil"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'iure_temporibus_nihil') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-29 15:17:50.832792"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_temporibus_nihil"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_temporibus_nihil"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-29 15:17:50.837394"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_quibusdam_sint"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_quibusdam_sint') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quam veniam qui. Mollitia dolore ea commodi est ratione eaque. Quod recusandae laborum perspiciatis.\nOmnis necessitatibus aut ipsa. Omnis provident voluptatum facere similique sit deleniti quibusdam. Est accusantium qui delectus. Nesciunt laborum veritatis dolorum ut. Temporibus sed deserunt sed expedita et.\nQui ea repellat dolor. Vitae nemo officia a laborum rerum est eaque. Culpa ex et adipisci ut libero et delectus. Autem asperiores quaerat."], ["created_at", "2014-09-29 15:17:50.841956"], ["name", "qui_quibusdam_sint"], ["title", "Soluta nemo et"], ["updated_at", "2014-09-29 15:17:50.841956"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'qui_quibusdam_sint' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam veniam qui. Mollitia dolore ea commodi est ratione eaque. Quod recusandae laborum perspiciatis.\nOmnis necessitatibus aut ipsa. Omnis provident voluptatum facere similique sit deleniti quibusdam. Est accusantium qui delectus. Nesciunt laborum veritatis dolorum ut. Temporibus sed deserunt sed expedita et.\nQui ea repellat dolor. Vitae nemo officia a laborum rerum est eaque. Culpa ex et adipisci ut libero et delectus. Autem asperiores quaerat."], ["created_at", "2014-09-29 15:17:50.844494"], ["name", "joe"], ["title", "Soluta nemo et"], ["updated_at", "2014-09-29 15:17:50.844494"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-29 15:17:50.847449"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellat_ipsam_provident"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'repellat_ipsam_provident') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Facilis et praesentium aut impedit. Minima necessitatibus quae. Similique optio iste molestiae omnis qui.\nAtque quisquam esse numquam cum minus explicabo. Sit ipsam sunt id commodi adipisci ipsa praesentium. Similique quod qui sit. Non rerum rerum voluptatem voluptates quos.\nAnimi vero modi doloremque. Mollitia ipsum possimus blanditiis voluptatem quo maiores. Quae fugiat eligendi delectus autem aut sit qui."], ["created_at", "2014-09-29 15:17:50.852256"], ["name", "repellat_ipsam_provident"], ["title", "Libero et rerum"], ["updated_at", "2014-09-29 15:17:50.852256"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'repellat_ipsam_provident' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis et praesentium aut impedit. Minima necessitatibus quae. Similique optio iste molestiae omnis qui.\nAtque quisquam esse numquam cum minus explicabo. Sit ipsam sunt id commodi adipisci ipsa praesentium. Similique quod qui sit. Non rerum rerum voluptatem voluptates quos.\nAnimi vero modi doloremque. Mollitia ipsum possimus blanditiis voluptatem quo maiores. Quae fugiat eligendi delectus autem aut sit qui."], ["created_at", "2014-09-29 15:17:50.855493"], ["name", "repellat_ipsam_provident"], ["title", "Libero et rerum"], ["updated_at", "2014-09-29 15:17:50.855493"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellat_ipsam_provident"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'repellat_ipsam_provident') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 27 [["updated_at", "2014-09-29 15:17:50.859134"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.862688"], ["updated_at", "2014-09-29 15:17:50.862688"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.864215"], ["updated_at", "2014-09-29 15:17:50.864215"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.868506"], ["updated_at", "2014-09-29 15:17:50.868506"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.869958"], ["updated_at", "2014-09-29 15:17:50.869958"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est et fuga. Blanditiis facere illo tenetur. Perferendis aut enim nesciunt molestiae asperiores commodi voluptas. Et nisi ut non quisquam facere quia quam. Ipsam est ea aut.\nVoluptas iste mollitia voluptate ut sed pariatur. Sunt dolore ut aut fuga qui. Sit dignissimos reiciendis sint non illo. Repellat sed quibusdam delectus rerum debitis voluptatem ullam.\nFacere mollitia dicta qui molestias fugiat molestiae. Optio ex qui velit magni. Maiores nesciunt sint et est. Ut reprehenderit id nemo et."], ["created_at", "2014-09-29 15:17:50.875791"], ["name", "alpha"], ["title", "Ut autem omnis"], ["updated_at", "2014-09-29 15:17:50.875791"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut dolorem debitis. Enim quod est quos. Iure voluptas vel explicabo et sint doloribus voluptatem. Sed sunt accusantium cumque quod iste.\nFugit nisi cumque cupiditate. Enim eius non est aut. Et qui repellat consectetur facilis sint sit.\nTenetur dolores in fugiat doloremque. Ipsum fuga culpa voluptatem sit error. Aut error natus doloremque vel qui. Placeat aliquid eos alias architecto nisi voluptatem illo. Non sequi labore dignissimos laudantium velit sed culpa."], ["created_at", "2014-09-29 15:17:50.879714"], ["name", "beta"], ["title", "Est eaque ad"], ["updated_at", "2014-09-29 15:17:50.879714"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.881330"], ["updated_at", "2014-09-29 15:17:50.881330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-29 15:17:50.883966"], ["updated_at", "2014-09-29 15:17:50.883966"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-29 15:17:50.887395"], ["updated_at", "2014-09-29 15:17:50.887395"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:17:50.889910"], ["name", "alpha"], ["title", "Ut autem omnis"], ["updated_at", "2014-09-29 15:17:50.889910"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-29 15:17:50.892950"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (30, 29, 7, 18, 21, 22, 25, 24, 1, 27, 15) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quas nihil qui eum quod. Illum perspiciatis ad ea consequatur et nihil. Est fugiat laudantium eos omnis voluptas. Odio velit tempora praesentium ut eius ea.\nTotam qui est eos. Sed impedit corporis omnis temporibus voluptatibus. Est asperiores dolores eligendi.\nAt eos ratione a facilis nostrum. Et eaque accusantium nihil. Enim quis debitis hic non soluta et."], ["created_at", "2014-09-29 15:17:50.901690"], ["name", "alpha"], ["title", "Excepturi voluptatem quia"], ["updated_at", "2014-09-29 15:17:50.901690"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quia qui debitis consequatur. Et debitis est autem. Rem officiis sunt alias. Aspernatur consequatur cumque et quisquam voluptates autem sunt.\nDolorum dolorem nam exercitationem quia qui ratione sit. Enim fugit ducimus aliquid. Repellendus alias aut reiciendis corporis.\nQuis saepe sed placeat. Autem aut temporibus. Eos nesciunt quo ab laborum. Et libero doloribus quia nemo qui sit. Quibusdam quis rerum eius est laudantium."], ["created_at", "2014-09-29 15:17:50.905574"], ["name", "beta"], ["title", "Totam et tempore"], ["updated_at", "2014-09-29 15:17:50.905574"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.907199"], ["updated_at", "2014-09-29 15:17:50.907199"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-29 15:17:50.909765"], ["updated_at", "2014-09-29 15:17:50.909765"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-29 15:17:50.912171"], ["updated_at", "2014-09-29 15:17:50.912171"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:17:50.914289"], ["name", "alpha"], ["title", "Excepturi voluptatem quia"], ["updated_at", "2014-09-29 15:17:50.914289"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-29 15:17:50.917236"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est sapiente reprehenderit atque nesciunt a. Dolorem ratione necessitatibus harum laudantium eaque. Vitae fuga eaque amet voluptatem provident. Sed suscipit et illum ea qui voluptates. Possimus eaque dicta inventore.\nNihil nam dolores quia quo minus. Id et recusandae odit dolor libero neque. Necessitatibus ea quasi eos iure. Saepe vel ex libero dignissimos.\nVeniam aut est voluptatem laudantium repellendus itaque. Ut dolore aperiam distinctio laborum. Necessitatibus ut voluptatem voluptatem quisquam culpa fugit. Occaecati inventore exercitationem aut. Qui alias ex laborum nulla."], ["created_at", "2014-09-29 15:17:50.924748"], ["name", "alpha"], ["title", "Debitis velit praesentium"], ["updated_at", "2014-09-29 15:17:50.924748"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repudiandae qui aut odit architecto ratione adipisci. Culpa et omnis. Nulla fugiat et. Id modi dolore provident culpa quasi.\nEum odit minus a. A voluptatem quo cum quas voluptas eius eligendi. Omnis beatae dignissimos. Fuga culpa amet qui.\nPerspiciatis non et occaecati ab. Ratione qui aut dolorem adipisci. Quia ipsam et ut. Deleniti voluptate exercitationem maiores."], ["created_at", "2014-09-29 15:17:50.928494"], ["name", "beta"], ["title", "Sequi repudiandae et"], ["updated_at", "2014-09-29 15:17:50.928494"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.930107"], ["updated_at", "2014-09-29 15:17:50.930107"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-29 15:17:50.932666"], ["updated_at", "2014-09-29 15:17:50.932666"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-29 15:17:50.935984"], ["updated_at", "2014-09-29 15:17:50.935984"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:17:50.938941"], ["name", "alpha"], ["title", "Debitis velit praesentium"], ["updated_at", "2014-09-29 15:17:50.938941"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-29 15:17:50.942088"], ["version", 6]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-29 15:17:50.956917"], ["updated_at", "2014-09-29 15:17:50.956917"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laborum consectetur natus vel est accusantium deleniti sint. Eligendi nemo adipisci. Mollitia modi et quis iure odit omnis.\nLibero recusandae atque. Enim similique tempore maxime ad ut quis. Explicabo ab harum ut commodi quo possimus voluptatum. Veritatis molestiae non dolor asperiores vel corporis libero. Dolorum consequuntur numquam dignissimos.\nVero porro et eos. Voluptatem neque animi dolor. Laboriosam ex provident sapiente. Recusandae est molestias et porro neque. Adipisci at veritatis doloremque sit quos."], ["created_at", "2014-09-29 15:17:50.971931"], ["name", "alpha"], ["title", "Omnis quaerat aliquam"], ["updated_at", "2014-09-29 15:17:50.971931"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officia quia mollitia qui officiis. Facilis vitae quod voluptas distinctio nobis. Totam expedita quis ut porro magnam ut qui. Quae non dicta consequatur ut natus.\nEt id provident laudantium eveniet beatae. Explicabo et atque ex consequuntur sed. Aperiam ipsam nostrum. A et quis impedit porro sapiente.\nUt reiciendis nobis eligendi ipsa enim placeat. Voluptatem at optio id culpa. Et possimus beatae dolorum dolorem. Eum tempore dolor in. Suscipit nihil nulla repellendus animi eaque."], ["created_at", "2014-09-29 15:17:50.975797"], ["name", "beta"], ["title", "Et reprehenderit esse"], ["updated_at", "2014-09-29 15:17:50.975797"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.977384"], ["updated_at", "2014-09-29 15:17:50.977384"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-29 15:17:50.979959"], ["updated_at", "2014-09-29 15:17:50.979959"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-29 15:17:50.982389"], ["updated_at", "2014-09-29 15:17:50.982389"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:17:50.984581"], ["name", "alpha"], ["title", "Omnis quaerat aliquam"], ["updated_at", "2014-09-29 15:17:50.984581"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-29 15:17:50.987507"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (39, 38) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.991495"], ["updated_at", "2014-09-29 15:17:50.991495"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.992973"], ["updated_at", "2014-09-29 15:17:50.992973"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "provident_ab_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'provident_ab_libero') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Excepturi natus consequatur necessitatibus rem tempora. Et enim debitis sint quia voluptates qui occaecati. Quas accusamus impedit modi distinctio.\nRem nam necessitatibus atque nemo soluta. Voluptas dolorem vel officiis pariatur explicabo reprehenderit ut. Fugit et unde blanditiis. Eius earum dolorum esse tenetur distinctio quia. Omnis cumque labore quaerat ducimus optio.\nAnimi voluptate sint hic libero. Officiis error cupiditate corporis quia repellendus maxime. Repellendus libero quo molestiae est esse architecto doloribus. Illo repudiandae autem numquam sint. Repudiandae corrupti earum iste fugit occaecati."], ["created_at", "2014-09-29 15:17:50.997064"], ["name", "provident_ab_libero"], ["title", "Sunt qui omnis"], ["updated_at", "2014-09-29 15:17:50.997064"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:50.999526"], ["updated_at", "2014-09-29 15:17:50.999526"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-29 15:17:51.000073"], ["updated_at", "2014-09-29 15:17:51.000073"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 204ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.209252"], ["updated_at", "2014-09-29 15:17:51.209252"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.211679"], ["updated_at", "2014-09-29 15:17:51.211679"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_sit_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'natus_sit_laborum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repellendus tenetur facilis ducimus reiciendis doloribus totam similique. Aut distinctio laudantium sapiente. Ratione qui et voluptatibus.\nAccusamus omnis sunt dolor sapiente laboriosam perferendis. Excepturi rem quam aspernatur doloremque soluta tenetur. Aliquam a molestias nemo maiores mollitia eum molestiae. Pariatur rerum esse atque. Soluta nisi eum facere sit aut.\nEst vero qui nam optio numquam omnis. Autem voluptatibus ut ducimus in nihil est facilis. Sint a quisquam. Vel nobis deserunt voluptates distinctio. Qui similique cum."], ["created_at", "2014-09-29 15:17:51.217595"], ["name", "natus_sit_laborum"], ["title", "Quia et commodi"], ["updated_at", "2014-09-29 15:17:51.217595"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.220476"], ["updated_at", "2014-09-29 15:17:51.220476"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-29 15:17:51.221093"], ["updated_at", "2014-09-29 15:17:51.221093"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"41"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"41"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.227295"], ["updated_at", "2014-09-29 15:17:51.227295"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.229853"], ["updated_at", "2014-09-29 15:17:51.229853"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "earum_quisquam_similique"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'earum_quisquam_similique') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laboriosam earum odio est quam voluptas aut sed. Maiores labore quia iste molestiae dolores ut esse. Sed error cupiditate nobis illo. Hic qui aliquam vitae consequatur ex.\nQuos sunt dolores qui et earum. Vel ea sunt consequatur. Deleniti eligendi molestiae aut. Expedita amet aliquam repellat ipsa. Illo ipsum nisi distinctio recusandae.\nDicta beatae iusto et. Iste sit libero autem quaerat sed. Vel voluptates ut aut nam culpa. Dolor omnis ipsum libero earum iusto placeat natus. Rerum veritatis reprehenderit ipsum odit."], ["created_at", "2014-09-29 15:17:51.235342"], ["name", "earum_quisquam_similique"], ["title", "Debitis aut voluptatem"], ["updated_at", "2014-09-29 15:17:51.235342"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.238662"], ["updated_at", "2014-09-29 15:17:51.238662"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-29 15:17:51.239228"], ["updated_at", "2014-09-29 15:17:51.239228"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"13"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 13]]  (0.6ms) commit transaction FinePrint::Contract Load (0.5ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Redirected to http://test.host/fine_print/contracts/42/signatures?r=UDlYdnM5U3NpOXZLb0E3dGhQTVllZz09LS1pVlFNenc1b05DYlFlV0NRREZoVEVRPT0%3D--64dd9b99b8ee1c38fb053c80cd7dbd75fb0c6a97 Completed 302 Found in 4ms (ActiveRecord: 1.4ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 13 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.249179"], ["updated_at", "2014-09-29 15:17:51.249179"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.251083"], ["updated_at", "2014-09-29 15:17:51.251083"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_et_dignissimos"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ea_et_dignissimos') LIMIT 1 SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ea vel vitae incidunt tempora. Dicta consectetur aperiam qui quia quisquam temporibus et. Omnis voluptatibus veniam ad.\nAd esse sit quia dolore nobis doloremque. Recusandae dolores magni vitae ut. Aperiam aut fuga inventore qui ipsa omnis. Consequatur aspernatur exercitationem et.\nEveniet aut et. Aut nam sequi iusto ut. Vero dolorem iste sunt incidunt et repudiandae."], ["created_at", "2014-09-29 15:17:51.256341"], ["name", "ea_et_dignissimos"], ["title", "Et odit sint"], ["updated_at", "2014-09-29 15:17:51.256341"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.259477"], ["updated_at", "2014-09-29 15:17:51.259477"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-29 15:17:51.260043"], ["updated_at", "2014-09-29 15:17:51.260043"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.265586"], ["updated_at", "2014-09-29 15:17:51.265586"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.267151"], ["updated_at", "2014-09-29 15:17:51.267151"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_fuga_et"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_fuga_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "A nesciunt minus odio. Nesciunt veritatis et assumenda ipsa est ut. Delectus iste distinctio. Iusto explicabo dolorem ipsam est. Ex et enim rerum sunt doloremque ratione modi.\nMolestias aut in dolorem qui accusantium eligendi alias. Esse similique aut enim amet et illum. Aut et voluptatem vitae eaque consequatur explicabo minima.\nQuisquam corporis impedit et voluptatem. Reprehenderit provident quam fugiat. Rerum autem dolore omnis. Omnis odio vero. Adipisci ut sed."], ["created_at", "2014-09-29 15:17:51.272608"], ["name", "et_fuga_et"], ["title", "Odit asperiores iusto"], ["updated_at", "2014-09-29 15:17:51.272608"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.275218"], ["updated_at", "2014-09-29 15:17:51.275218"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-29 15:17:51.275792"], ["updated_at", "2014-09-29 15:17:51.275792"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.283251"], ["updated_at", "2014-09-29 15:17:51.283251"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.284974"], ["updated_at", "2014-09-29 15:17:51.284974"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_exercitationem_omnis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aliquam_exercitationem_omnis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Placeat consequuntur nam nemo possimus. Fugiat facilis quia nemo quam voluptas. Non et sequi. Omnis sapiente eius quas dolor consequatur error optio. Porro in est facere ea.\nAd corrupti est. Quisquam laudantium omnis. In voluptatem nostrum.\nNeque autem sunt delectus repellendus asperiores veniam. Quisquam recusandae fugit ut. Id fugiat dolor. Id deleniti quas accusamus quis ab est nisi. Voluptas eligendi distinctio vero molestiae velit."], ["created_at", "2014-09-29 15:17:51.292285"], ["name", "aliquam_exercitationem_omnis"], ["title", "Harum maxime debitis"], ["updated_at", "2014-09-29 15:17:51.292285"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.295229"], ["updated_at", "2014-09-29 15:17:51.295229"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-29 15:17:51.295779"], ["updated_at", "2014-09-29 15:17:51.295779"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.301285"], ["updated_at", "2014-09-29 15:17:51.301285"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.303155"], ["updated_at", "2014-09-29 15:17:51.303155"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eaque_quia_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eaque_quia_sed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Odio et ab porro. Eum ad incidunt tempore assumenda repellendus minus. Excepturi officiis perspiciatis quo nihil. Quasi ab aut rerum modi in officiis.\nUt in qui. Necessitatibus culpa ipsa. Voluptas saepe consequatur aliquam quia. Enim vel quibusdam provident. Rem voluptate quas.\nAlias accusantium cum suscipit molestiae ut vel. Aut fugit praesentium eaque dolore nemo hic. Voluptatum qui ducimus dicta quam ipsam suscipit. Sunt ipsa rerum ut nihil nemo quasi dolorem."], ["created_at", "2014-09-29 15:17:51.307994"], ["name", "eaque_quia_sed"], ["title", "Mollitia natus cumque"], ["updated_at", "2014-09-29 15:17:51.307994"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.311186"], ["updated_at", "2014-09-29 15:17:51.311186"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-29 15:17:51.311749"], ["updated_at", "2014-09-29 15:17:51.311749"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.316902"], ["updated_at", "2014-09-29 15:17:51.316902"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.318416"], ["updated_at", "2014-09-29 15:17:51.318416"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_dignissimos_molestiae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_dignissimos_molestiae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Blanditiis repellendus et quos fugiat. Possimus quia perferendis ea laboriosam. Aut voluptatum iure. Debitis facere possimus quod aut sit.\nEt ducimus eum eligendi expedita. Eius asperiores qui qui rerum et ut aperiam. Recusandae ex non quis perspiciatis pariatur. Quaerat neque est aliquam ut est molestiae omnis.\nEligendi dignissimos ullam quia qui. Ipsa vel dolor sunt. In eveniet non. Occaecati molestias esse hic reprehenderit neque. Sit libero fuga iure voluptas."], ["created_at", "2014-09-29 15:17:51.323032"], ["name", "est_dignissimos_molestiae"], ["title", "Quia voluptate porro"], ["updated_at", "2014-09-29 15:17:51.323032"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:17:51.326796"], ["updated_at", "2014-09-29 15:17:51.326796"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-29 15:17:51.327940"], ["updated_at", "2014-09-29 15:17:51.327940"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non nobis autem. Eum corporis quas ipsum illum. Qui laboriosam eveniet eos vero.\nEst non voluptas mollitia magni laborum. Tempora sed vero est est et doloribus. Accusantium quas ipsum facilis magni nostrum porro sed.\nQuod alias reprehenderit in. Ut nihil error mollitia quidem corrupti placeat rerum. Dicta autem consectetur sed. Vel nostrum porro tenetur."], ["created_at", "2014-09-29 15:20:11.747873"], ["name", "tempore_esse_est"], ["title", "Odit sed ut"], ["updated_at", "2014-09-29 15:20:11.747873"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_esse_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'tempore_esse_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-29 15:20:11.764826"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_esse_est"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_esse_est"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-29 15:20:11.769727"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_quae_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_quae_architecto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et sit est sunt atque est. Quae praesentium sapiente commodi quibusdam. Voluptatum officiis laudantium magnam sequi veritatis nostrum. Iusto excepturi tempore.\nLaboriosam dolorem recusandae earum ut et rem. Est voluptatibus adipisci itaque a nihil sunt. Qui numquam quia aut.\nQuis id laudantium itaque laboriosam. Tempore reprehenderit expedita. Quidem nobis deserunt quia delectus aut. Consequatur ipsum dolor voluptas consectetur tenetur. Pariatur voluptatem voluptates eum libero suscipit aperiam."], ["created_at", "2014-09-29 15:20:11.774587"], ["name", "enim_quae_architecto"], ["title", "Earum modi distinctio"], ["updated_at", "2014-09-29 15:20:11.774587"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'enim_quae_architecto' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et sit est sunt atque est. Quae praesentium sapiente commodi quibusdam. Voluptatum officiis laudantium magnam sequi veritatis nostrum. Iusto excepturi tempore.\nLaboriosam dolorem recusandae earum ut et rem. Est voluptatibus adipisci itaque a nihil sunt. Qui numquam quia aut.\nQuis id laudantium itaque laboriosam. Tempore reprehenderit expedita. Quidem nobis deserunt quia delectus aut. Consequatur ipsum dolor voluptas consectetur tenetur. Pariatur voluptatem voluptates eum libero suscipit aperiam."], ["created_at", "2014-09-29 15:20:11.778696"], ["name", "joe"], ["title", "Earum modi distinctio"], ["updated_at", "2014-09-29 15:20:11.778696"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-29 15:20:11.781706"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "labore_aut_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'labore_aut_soluta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolorem sit consequatur officia maxime aliquid commodi. Aut iste deleniti qui reiciendis placeat sit. Illo et dolore ipsum laboriosam facilis. Laborum temporibus repellendus sint. Aliquid ut quam dolorum optio et.\nEt unde est ea molestiae et. Quasi officia dicta natus tempora iure. Nam dolorem ex aliquam dolor culpa inventore.\nBlanditiis officia provident tempore iste voluptatem saepe. Accusamus delectus qui voluptatem ratione quia quis. Aut nisi et id sed quam esse."], ["created_at", "2014-09-29 15:20:11.786616"], ["name", "labore_aut_soluta"], ["title", "Voluptate sed aut"], ["updated_at", "2014-09-29 15:20:11.786616"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'labore_aut_soluta' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem sit consequatur officia maxime aliquid commodi. Aut iste deleniti qui reiciendis placeat sit. Illo et dolore ipsum laboriosam facilis. Laborum temporibus repellendus sint. Aliquid ut quam dolorum optio et.\nEt unde est ea molestiae et. Quasi officia dicta natus tempora iure. Nam dolorem ex aliquam dolor culpa inventore.\nBlanditiis officia provident tempore iste voluptatem saepe. Accusamus delectus qui voluptatem ratione quia quis. Aut nisi et id sed quam esse."], ["created_at", "2014-09-29 15:20:11.788897"], ["name", "labore_aut_soluta"], ["title", "Voluptate sed aut"], ["updated_at", "2014-09-29 15:20:11.788897"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "labore_aut_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'labore_aut_soluta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-09-29 15:20:11.791789"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et est impedit. Magnam fuga ad totam nulla officiis quod atque. Voluptatem ut cupiditate omnis est officia.\nIllum ipsam fugiat. Error quos qui voluptas maiores exercitationem eligendi. Rerum iure dolorem. Non provident perspiciatis sed.\nVoluptatum dolor atque inventore. Omnis mollitia qui provident minus. Amet consequatur qui blanditiis voluptatibus vel explicabo. Sit sit nobis iure. Vitae quod voluptatum itaque ea maiores laudantium."], ["created_at", "2014-09-29 15:20:11.795070"], ["name", "non_non_autem"], ["title", "Odio suscipit corrupti"], ["updated_at", "2014-09-29 15:20:11.795070"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_non_autem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'non_non_autem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-29 15:20:11.797955"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.807080"], ["updated_at", "2014-09-29 15:20:11.807080"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-29 15:20:11.807984"], ["updated_at", "2014-09-29 15:20:11.807984"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'non_non_autem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_non_autem"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.818550"], ["updated_at", "2014-09-29 15:20:11.818550"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.820036"], ["updated_at", "2014-09-29 15:20:11.820036"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Hic et doloremque similique enim qui explicabo mollitia. Doloremque et nisi suscipit cupiditate. Vitae perferendis iusto facilis. Ipsam eos suscipit consequatur ratione. Maiores doloribus suscipit sed.\nFuga quod nostrum vitae aut repellendus cumque blanditiis. Ratione illum enim quas consequatur et. Perferendis occaecati voluptate veniam vero doloremque. Nihil omnis fugiat aut ullam deserunt libero. In architecto magni quo et enim nulla aut.\nOfficiis id quia ex excepturi dolores. Minima cupiditate eum ut fugit necessitatibus. Tempore et deleniti deserunt maiores. Dolores veniam possimus et porro dolor consequatur."], ["created_at", "2014-09-29 15:20:11.822236"], ["name", "et_repellendus_dolores"], ["title", "Iste est aut"], ["updated_at", "2014-09-29 15:20:11.822236"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.834098"], ["updated_at", "2014-09-29 15:20:11.834098"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.835976"], ["updated_at", "2014-09-29 15:20:11.835976"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quas fugit ipsa nesciunt mollitia adipisci dignissimos non. Et aperiam ducimus consectetur ex aut. Voluptatem qui quas dignissimos officia consequatur soluta qui. Ut consequatur non incidunt tempora omnis.\nVitae accusamus mollitia vero. Ex ea consequatur laboriosam fugiat impedit optio. Voluptate sunt tenetur placeat natus. Cum est pariatur autem. Esse rerum illo non ut nihil velit.\nUt quisquam pariatur voluptas assumenda impedit. Voluptatem et laudantium eaque est. Qui et eos."], ["created_at", "2014-09-29 15:20:11.838501"], ["name", "totam_saepe_aspernatur"], ["title", "Fuga explicabo repudiandae"], ["updated_at", "2014-09-29 15:20:11.838501"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.845065"], ["updated_at", "2014-09-29 15:20:11.845065"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.846684"], ["updated_at", "2014-09-29 15:20:11.846684"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Adipisci possimus ut aut qui nulla hic. Quidem inventore aut quod quisquam earum. Dolores sint repellat natus odit. Numquam illum architecto. Itaque unde laboriosam dolorem voluptates.\nConsequuntur inventore consequatur nostrum aliquam nam. Occaecati animi nemo nihil autem. Odio cumque aliquam perspiciatis incidunt. Ex eius non nemo asperiores velit neque molestias.\nQuia non in veritatis. Illum quo consectetur ut. Accusamus eaque est et quo."], ["created_at", "2014-09-29 15:20:11.849055"], ["name", "inventore_qui_voluptatum"], ["title", "Tempore est est"], ["updated_at", "2014-09-29 15:20:11.849055"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.853200"], ["updated_at", "2014-09-29 15:20:11.853200"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.854735"], ["updated_at", "2014-09-29 15:20:11.854735"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia commodi illum cupiditate qui. Fuga perferendis fugiat mollitia. Earum aliquid quisquam quis quis consequatur blanditiis ea. Dolor vel beatae ut voluptatem.\nAb dignissimos distinctio at sunt. Saepe eum illo placeat temporibus itaque. Et temporibus error. Nobis enim libero similique est reprehenderit est et. Aperiam eius similique.\nSaepe laboriosam sapiente autem expedita cupiditate ducimus. Exercitationem officiis est. Inventore pariatur suscipit. Doloremque quod ipsam deleniti modi ullam odio ipsa. Eveniet aut maxime veniam."], ["created_at", "2014-09-29 15:20:11.857374"], ["name", "magnam_quam_architecto"], ["title", "Voluptate nam enim"], ["updated_at", "2014-09-29 15:20:11.857374"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_quam_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'magnam_quam_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-29 15:20:11.861581"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_quam_architecto"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-29 15:20:11.868049"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.873200"], ["updated_at", "2014-09-29 15:20:11.873200"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.874714"], ["updated_at", "2014-09-29 15:20:11.874714"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sapiente laudantium aliquam laboriosam deleniti id inventore. Est a iure exercitationem doloribus. Aut nihil quas qui.\nAspernatur dolore eius quia odio sunt. Sed voluptatem vero laudantium non. Qui qui qui sint sit. Autem sunt quasi hic.\nQuae labore laboriosam rerum omnis recusandae eos. Fuga aliquid perspiciatis voluptatibus nostrum. Ut voluptas et."], ["created_at", "2014-09-29 15:20:11.876904"], ["name", "molestiae_rerum_quia"], ["title", "Perspiciatis quia dolor"], ["updated_at", "2014-09-29 15:20:11.876904"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.881507"], ["updated_at", "2014-09-29 15:20:11.881507"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.882945"], ["updated_at", "2014-09-29 15:20:11.882945"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum reiciendis aut quas. Dignissimos qui atque. Optio dolores ratione sunt. Id sed nemo. Officiis ipsum molestias ut illo illum exercitationem hic.\nUt ipsam dolores quis voluptas quia maxime. Voluptatibus quo rerum. Doloribus autem vel placeat id. Porro quisquam hic et minima voluptatem debitis. Commodi praesentium veritatis vero.\nNon cupiditate voluptas. Beatae eligendi tempora sit. Id quia consequuntur dolore. Ipsam fugit sint ea vel dicta. Sunt iure qui dolorem odit."], ["created_at", "2014-09-29 15:20:11.885220"], ["name", "cum_dolores_dolorem"], ["title", "Laborum similique reiciendis"], ["updated_at", "2014-09-29 15:20:11.885220"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.892748"], ["updated_at", "2014-09-29 15:20:11.892748"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.894745"], ["updated_at", "2014-09-29 15:20:11.894745"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas et fugit ut ut. Ea optio consequuntur alias tenetur. Quod ab aut soluta voluptas. Dignissimos architecto rerum est omnis.\nRepellendus qui aliquid dolorem ut at exercitationem. Dolor eum eveniet. Dolorem vel dolores dolorum consequatur voluptate. Sapiente error quidem reiciendis aut aut. Aliquid quisquam in ut nam fugiat.\nPerferendis modi et. Animi assumenda accusantium sit. Sed qui sed. Rem modi est sit dignissimos eaque quis."], ["created_at", "2014-09-29 15:20:11.897530"], ["name", "eos_aut_quia"], ["title", "Vel blanditiis asperiores"], ["updated_at", "2014-09-29 15:20:11.897530"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_aut_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'eos_aut_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-09-29 15:20:11.901360"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.907149"], ["updated_at", "2014-09-29 15:20:11.907149"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.908692"], ["updated_at", "2014-09-29 15:20:11.908692"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eaque neque qui. Ut labore error vel et. Maxime voluptatibus nihil iusto nulla. Minus repellendus quis molestias ipsam. Accusantium occaecati sit.\nEveniet exercitationem sunt nulla libero. Voluptatem suscipit sequi non. Sunt recusandae laboriosam aut numquam. Minima eum sit est in nam. Inventore illum qui.\nQuisquam vitae necessitatibus tempora ipsa. Fugit explicabo est sint. Incidunt at provident est pariatur itaque eligendi sunt. Incidunt repellat eveniet doloribus officiis aperiam. Voluptatem sint dolorem reprehenderit."], ["created_at", "2014-09-29 15:20:11.910973"], ["name", "qui_et_quia"], ["title", "Cumque illo quia"], ["updated_at", "2014-09-29 15:20:11.910973"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_et_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'qui_et_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-09-29 15:20:11.914042"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.918611"], ["updated_at", "2014-09-29 15:20:11.918611"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.920088"], ["updated_at", "2014-09-29 15:20:11.920088"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel deserunt reprehenderit dicta et. Alias laudantium inventore cum dolorem et. Ut rem ab cum corporis iusto sed laudantium. Vel in nisi.\nQuis recusandae ut eius aperiam ut tempora. Autem et vel illo ullam. Voluptatem perspiciatis dolores. Dignissimos nihil voluptas dicta illo facere unde perspiciatis.\nAliquam dolore ducimus eum dicta occaecati. Delectus nisi in quisquam ullam aliquam. Delectus voluptas dicta et. Qui dolorem temporibus beatae et."], ["created_at", "2014-09-29 15:20:11.922286"], ["name", "ut_totam_ut"], ["title", "Alias sed est"], ["updated_at", "2014-09-29 15:20:11.922286"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.926208"], ["updated_at", "2014-09-29 15:20:11.926208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.927823"], ["updated_at", "2014-09-29 15:20:11.927823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequuntur magnam tempora. Maxime pariatur nobis. Eum in soluta. Dolorum labore enim corrupti voluptatibus esse occaecati.\nVoluptate suscipit sunt explicabo. Ipsam aut porro sunt omnis. Dolorem qui ducimus dignissimos voluptatem possimus libero autem. Nulla veritatis incidunt omnis enim soluta. Incidunt est doloribus repellendus tempora earum velit.\nQuibusdam in pariatur et illo voluptate nisi aut. Consequatur assumenda magnam aperiam laboriosam dignissimos. Quas eos in magni iusto culpa. Eius omnis doloremque dolor. Omnis dolore dolorum at perferendis."], ["created_at", "2014-09-29 15:20:11.930058"], ["name", "aut_voluptate_necessitatibus"], ["title", "Quae omnis dolorem"], ["updated_at", "2014-09-29 15:20:11.930058"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.933856"], ["updated_at", "2014-09-29 15:20:11.933856"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.935295"], ["updated_at", "2014-09-29 15:20:11.935295"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates molestiae nisi repudiandae inventore doloribus. Nobis repellendus sint corrupti maiores ratione et. Molestiae placeat est omnis perferendis dolorem iusto quam. Quia distinctio est velit ipsa sed consectetur. Impedit deleniti explicabo ut voluptatem itaque qui sunt.\nSint alias sed quia assumenda. Enim aliquid quae quia quibusdam recusandae ea. Sunt maiores quis eos ut qui est. Ea ratione sit consectetur.\nDolore explicabo et vel reprehenderit ad. Libero sit cumque accusamus. Similique enim qui. Maiores et mollitia vel."], ["created_at", "2014-09-29 15:20:11.937461"], ["name", "voluptas_ipsa_recusandae"], ["title", "Illum quasi quos"], ["updated_at", "2014-09-29 15:20:11.937461"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 12, 2, 13, 7, 9, 3, 5, 4, 10, 11, 6, 14, 1, 8, 15, 17) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.948329"], ["updated_at", "2014-09-29 15:20:11.948329"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.950037"], ["updated_at", "2014-09-29 15:20:11.950037"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Saepe molestias aut. Aspernatur culpa aliquam ad expedita ut. Incidunt itaque provident nobis facere rerum harum. Omnis magnam dolore ut.\nLaboriosam reprehenderit beatae et doloremque in. Et quae natus odio quia libero sit. Aut sapiente enim deleniti animi.\nQuae natus a ad in illo neque. Culpa quo eum recusandae tempora qui iusto explicabo. Blanditiis facilis et."], ["created_at", "2014-09-29 15:20:11.952320"], ["name", "ab_tenetur_quas"], ["title", "Culpa ab ex"], ["updated_at", "2014-09-29 15:20:11.952320"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.957443"], ["updated_at", "2014-09-29 15:20:11.957443"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.958892"], ["updated_at", "2014-09-29 15:20:11.958892"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident qui voluptatem. Enim eum libero. Alias maxime soluta qui ut fugit. Ipsa amet neque voluptate omnis. Consequatur dolorum reiciendis quis perspiciatis atque repellat.\nDebitis at voluptatem aut qui. Porro voluptatibus illo vero fuga dolorem dolorum. At voluptas voluptas rerum. Earum explicabo delectus excepturi. Vitae ut error sint nulla libero velit.\nRepellendus neque voluptates nihil quia. Illo reprehenderit quas. Qui quaerat excepturi dignissimos. Ab unde et tenetur perspiciatis. Facilis est quam magni eligendi."], ["created_at", "2014-09-29 15:20:11.961047"], ["name", "rerum_sit_et"], ["title", "Expedita et omnis"], ["updated_at", "2014-09-29 15:20:11.961047"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_sit_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'rerum_sit_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-29 15:20:11.965597"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.969979"], ["updated_at", "2014-09-29 15:20:11.969979"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.971374"], ["updated_at", "2014-09-29 15:20:11.971374"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit possimus quo et libero facere distinctio quisquam. Numquam est commodi ea aspernatur voluptatem qui. Rem earum consequatur.\nSequi impedit incidunt ut. Perspiciatis vel quia doloremque ipsam possimus laboriosam. Repudiandae iure eveniet praesentium magnam.\nEt nihil deserunt qui repellat. Sequi atque iure. Omnis vero dolore repellat aliquam. Et accusamus dolorem delectus nesciunt optio quo."], ["created_at", "2014-09-29 15:20:11.973539"], ["name", "tenetur_delectus_quis"], ["title", "Nihil quis nulla"], ["updated_at", "2014-09-29 15:20:11.973539"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 20 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 15:20:11.977740"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/20 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.983135"], ["updated_at", "2014-09-29 15:20:11.983135"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.984664"], ["updated_at", "2014-09-29 15:20:11.984664"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Architecto non pariatur voluptatem eum eos odit vero. Ipsa beatae a maiores sit non. Quaerat aspernatur ut ducimus minus.\nQuos excepturi dolore exercitationem ut. Iure blanditiis voluptas ipsam sequi. Magni praesentium earum.\nId eum unde molestiae doloribus. Aliquid et illo quisquam pariatur et. Ea sit odit unde aut ullam. Porro ut blanditiis eos unde. Assumenda voluptatem aliquam nisi ut et."], ["created_at", "2014-09-29 15:20:11.986861"], ["name", "dolorem_nihil_sapiente"], ["title", "Assumenda voluptatem exercitationem"], ["updated_at", "2014-09-29 15:20:11.986861"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]  (0.1ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 21]] SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 21]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 21 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.994291"], ["updated_at", "2014-09-29 15:20:11.994291"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:11.995816"], ["updated_at", "2014-09-29 15:20:11.995816"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Exercitationem earum voluptate dolores reiciendis. Nam molestiae molestiae debitis explicabo. Quo velit aspernatur autem vitae harum deserunt dolorum.\nQui autem facilis incidunt veritatis. Quo consequatur itaque molestias eos. Enim voluptatibus ipsum quia tenetur voluptate ut voluptatem. Excepturi dolorum sapiente placeat et optio non. Officia iure repellat quia deleniti ducimus non.\nAutem eum quod perferendis eaque ratione voluptatibus illo. Perferendis perspiciatis sed. Corporis ipsa rem cum quis qui. Aut tempore ipsam est dolor. Placeat fugit et qui inventore."], ["created_at", "2014-09-29 15:20:11.998011"], ["name", "molestiae_rerum_eum"], ["title", "Repellendus asperiores est"], ["updated_at", "2014-09-29 15:20:11.998011"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_rerum_eum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'molestiae_rerum_eum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 15:20:12.001072"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'molestiae_rerum_eum' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.008681"], ["updated_at", "2014-09-29 15:20:12.008681"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.010571"], ["updated_at", "2014-09-29 15:20:12.010571"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iusto est quia. Ut in doloribus quia. A temporibus est nihil fugiat. Sed nemo voluptate corporis non est corrupti harum. Aut sit omnis cum dolores et.\nCumque quis commodi nisi et id. Sit placeat quia amet animi ab. Odit tempora quasi.\nVoluptas saepe in placeat. Vero pariatur maxime. Pariatur nihil adipisci velit aut ex."], ["created_at", "2014-09-29 15:20:12.012891"], ["name", "ut_facilis_et"], ["title", "A tempore velit"], ["updated_at", "2014-09-29 15:20:12.012891"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 15:20:12.015961"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 15:20:12.015961"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/24 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.019284"], ["updated_at", "2014-09-29 15:20:12.019284"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.020685"], ["updated_at", "2014-09-29 15:20:12.020685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor soluta dolorem et. Et ipsam harum ex pariatur voluptate esse. Voluptatem beatae consequuntur nihil sed assumenda modi.\nQuisquam vel voluptate et. Voluptatibus temporibus voluptas quos iste facilis. Eos id quis excepturi quos blanditiis quia voluptas. Voluptatibus ut ratione possimus quia eos mollitia repellat. Praesentium vitae ratione eum.\nVoluptas enim pariatur modi quia. Reprehenderit hic ducimus qui ut sed eum blanditiis. Possimus facere et dolor ex qui velit. Deserunt aspernatur officia aut inventore porro sed nisi."], ["created_at", "2014-09-29 15:20:12.022836"], ["name", "asperiores_minus_rem"], ["title", "Laboriosam et omnis"], ["updated_at", "2014-09-29 15:20:12.022836"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cum alias eum ut voluptatum mollitia est accusantium. Consequatur voluptatem doloribus blanditiis eos. Minima dolores numquam ratione. Voluptates dignissimos perferendis numquam.\nRecusandae cupiditate natus et dolor temporibus. Eum distinctio non. Accusantium est quia qui sed similique. Nihil eos quo. Nihil nihil officiis.\nDicta tempora nesciunt fugit ut numquam quis. Consectetur ducimus consequatur architecto dolore animi quia iure. Soluta nihil eos earum explicabo. Voluptatem sunt provident illum. Sed eum ut enim rem et quo facilis."], ["created_at", "2014-09-29 15:20:12.029025"], ["name", "alpha"], ["title", "Tempore nihil repellat"], ["updated_at", "2014-09-29 15:20:12.029025"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem deserunt ut numquam. Omnis eos aliquam quam est saepe dolores eveniet. Qui eos veritatis aliquid sapiente quibusdam at labore.\nConsequatur ipsam sequi. Aliquid eaque earum quo enim voluptatibus. Molestias delectus unde ea itaque. Sint enim ipsam debitis.\nQuia ut sint quis. Dolore est sequi incidunt fuga. Molestiae voluptatem deleniti voluptas non qui."], ["created_at", "2014-09-29 15:20:12.032792"], ["name", "beta"], ["title", "Est quisquam natus"], ["updated_at", "2014-09-29 15:20:12.032792"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.034350"], ["updated_at", "2014-09-29 15:20:12.034350"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-29 15:20:12.036944"], ["updated_at", "2014-09-29 15:20:12.036944"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-29 15:20:12.039346"], ["updated_at", "2014-09-29 15:20:12.039346"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:20:12.041712"], ["name", "alpha"], ["title", "Tempore nihil repellat"], ["updated_at", "2014-09-29 15:20:12.041712"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-29 15:20:12.044936"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusamus quo et veritatis animi. Recusandae neque numquam esse est sint temporibus. Deleniti commodi aut necessitatibus sapiente atque harum.\nIusto velit dolores. Quaerat voluptas non provident. Iusto consequatur veritatis.\nVitae voluptates magnam nisi nemo. Ut recusandae eaque. Quis adipisci perferendis voluptatum consequatur eveniet soluta. Asperiores nihil alias illum est eligendi qui ut."], ["created_at", "2014-09-29 15:20:12.052562"], ["name", "alpha"], ["title", "Quia dolor laudantium"], ["updated_at", "2014-09-29 15:20:12.052562"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptates quia minus ullam fugiat. Aut facilis ut veritatis neque consectetur. Iure laboriosam quia quisquam iusto. Et ea maiores dolore quo harum magni. Delectus deleniti repudiandae porro sequi dignissimos perspiciatis.\nEum accusantium ducimus soluta in placeat. Quasi voluptatum amet architecto dicta. Suscipit dolor quidem exercitationem. Harum unde autem dolorem et. Sit cum ut sit voluptatum iusto sequi perferendis.\nDoloribus mollitia provident voluptas in animi illo perspiciatis. Rerum iusto id veritatis consequatur sed deleniti. Eos nostrum totam odit eius. Placeat nihil animi consequuntur eveniet possimus sint ea. Dolor quisquam aliquid asperiores maxime."], ["created_at", "2014-09-29 15:20:12.056287"], ["name", "beta"], ["title", "Aut quia sequi"], ["updated_at", "2014-09-29 15:20:12.056287"], ["version", 2]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.058405"], ["updated_at", "2014-09-29 15:20:12.058405"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-29 15:20:12.061644"], ["updated_at", "2014-09-29 15:20:12.061644"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-29 15:20:12.064097"], ["updated_at", "2014-09-29 15:20:12.064097"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:20:12.066383"], ["name", "alpha"], ["title", "Quia dolor laudantium"], ["updated_at", "2014-09-29 15:20:12.066383"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-29 15:20:12.069414"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-29 15:20:12.093881"], ["updated_at", "2014-09-29 15:20:12.093881"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 29]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.8ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (31, 29, 28, 26) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (30, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 30]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quasi quam maiores nemo doloremque autem vel id. Possimus dolorem veniam et. Enim necessitatibus eveniet esse quia doloribus quo autem. Qui dolorem nostrum mollitia.\nConsequatur sint magnam optio earum eaque. Amet vero qui. Voluptates necessitatibus quos minus ut assumenda vero similique. Rerum aut vel. Sit nobis rerum ratione consequuntur non mollitia.\nQuia doloremque necessitatibus unde. Reiciendis facere repudiandae et quis dolores. Voluptatem pariatur et. Et consectetur est modi culpa libero."], ["created_at", "2014-09-29 15:20:12.110716"], ["name", "alpha"], ["title", "Veritatis voluptatum repudiandae"], ["updated_at", "2014-09-29 15:20:12.110716"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquid est libero sed accusantium aut ut. Neque omnis cum iusto rerum facere. Corrupti consectetur accusamus. Mollitia debitis quia voluptatem repudiandae nesciunt. Aut autem voluptatem ea.\nOfficiis odit officia et qui voluptates. Error sunt fuga sint ea aperiam fugit. Fugiat dicta rerum eveniet et omnis. Et ut facilis in.\nIllum excepturi est quo. Voluptatem fugit consequatur quis minima. Similique quis voluptatem alias sit dolor."], ["created_at", "2014-09-29 15:20:12.116182"], ["name", "beta"], ["title", "Dolorem voluptas officiis"], ["updated_at", "2014-09-29 15:20:12.116182"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.118059"], ["updated_at", "2014-09-29 15:20:12.118059"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-29 15:20:12.121232"], ["updated_at", "2014-09-29 15:20:12.121232"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-29 15:20:12.124141"], ["updated_at", "2014-09-29 15:20:12.124141"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:20:12.126723"], ["name", "alpha"], ["title", "Veritatis voluptatum repudiandae"], ["updated_at", "2014-09-29 15:20:12.126723"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-09-29 15:20:12.130853"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (34, 33) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias iure dolores dolores facere autem totam voluptatum. Beatae facilis vel. Quisquam quos earum voluptatem consequatur hic tempora dolorem. Cupiditate quidem omnis quia non omnis et impedit.\nAb quam voluptates facilis quia. Consectetur vel nesciunt ex voluptas possimus et aut. Quaerat incidunt rerum nemo. Rerum illo possimus nulla sapiente veniam non. Quia recusandae ex quisquam necessitatibus sint in.\nNesciunt ea facilis alias. Numquam omnis a corporis dolorem blanditiis et doloribus. Dolores ad consequatur iusto."], ["created_at", "2014-09-29 15:20:12.139893"], ["name", "alpha"], ["title", "Nihil sequi ea"], ["updated_at", "2014-09-29 15:20:12.139893"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Praesentium et possimus voluptatem. Perspiciatis excepturi non atque ducimus. Nostrum ad dolorum voluptatem quibusdam aperiam.\nUnde veniam magnam. Nisi harum similique voluptas est. In ea consequatur et aliquam. Est incidunt illum reiciendis dicta adipisci tempora minima. Illo accusamus tenetur quas.\nAtque perferendis libero qui quod eligendi velit. Veritatis cumque facere quia. Officiis illo sit quia. Non quisquam dolorum eveniet qui in."], ["created_at", "2014-09-29 15:20:12.144137"], ["name", "beta"], ["title", "In iusto nulla"], ["updated_at", "2014-09-29 15:20:12.144137"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.145876"], ["updated_at", "2014-09-29 15:20:12.145876"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-29 15:20:12.148709"], ["updated_at", "2014-09-29 15:20:12.148709"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-29 15:20:12.151426"], ["updated_at", "2014-09-29 15:20:12.151426"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:20:12.153659"], ["name", "alpha"], ["title", "Nihil sequi ea"], ["updated_at", "2014-09-29 15:20:12.153659"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-29 15:20:12.157420"], ["version", 8]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (37, 36, 2, 13, 3, 5, 22, 6, 14, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Atque molestiae similique magnam dicta. Quos culpa sint explicabo cum ea omnis. Error voluptas rerum nisi totam magnam aliquam. Non tempora ut asperiores ut.\nIpsam accusamus sint et ea. Et iste consequatur similique aut. Suscipit non iste vel voluptatum quia rerum amet. Reprehenderit qui cumque necessitatibus cum aliquid. Atque consequatur laborum officiis.\nNatus eos repellendus tempora velit et dolores est. Quia aliquid fugiat accusamus eius laborum repellat. Quo nisi et voluptatum est blanditiis explicabo rerum."], ["created_at", "2014-09-29 15:20:12.166168"], ["name", "deserunt_aliquid_ullam"], ["title", "Sed enim necessitatibus"], ["updated_at", "2014-09-29 15:20:12.166168"]]  (1.1ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_expedita_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'velit_expedita_voluptatem') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem nobis nihil. Ab ratione placeat enim aspernatur. Perspiciatis eos debitis harum sequi quia et quasi. Exercitationem ipsum vel quia laudantium consequuntur voluptatem ut. Est ipsa ipsam perferendis mollitia.\nQuod deleniti nihil et. Saepe quibusdam et ipsum laborum aut. Magnam minima sapiente. Omnis sed aspernatur. At sequi vel incidunt placeat voluptatem repellendus doloribus.\nEaque vel rerum explicabo distinctio laboriosam aut. Unde et voluptates aut veniam possimus nemo. Dolores rem ad cupiditate quam voluptas sed ratione. Incidunt sunt consectetur."], ["created_at", "2014-09-29 15:20:12.173004"], ["name", "velit_expedita_voluptatem"], ["title", "Et in aut"], ["updated_at", "2014-09-29 15:20:12.173004"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.178330"], ["updated_at", "2014-09-29 15:20:12.178330"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.179759"], ["updated_at", "2014-09-29 15:20:12.179759"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "expedita_fugiat_aliquam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'expedita_fugiat_aliquam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugit qui fuga aut error nam adipisci. Aut in consequatur sint aut ratione. Ad explicabo deleniti aspernatur ea nemo. Esse rerum sunt recusandae nam. Aut animi omnis magni dolore.\nNeque officiis repellat sed placeat. Itaque quisquam atque. Molestiae et voluptatem reprehenderit corporis.\nCulpa aliquam cupiditate. Sit dolore dolores corrupti. Expedita dicta molestiae quaerat. Et cupiditate animi et similique."], ["created_at", "2014-09-29 15:20:12.183906"], ["name", "expedita_fugiat_aliquam"], ["title", "Quia modi commodi"], ["updated_at", "2014-09-29 15:20:12.183906"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.186406"], ["updated_at", "2014-09-29 15:20:12.186406"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-29 15:20:12.186941"], ["updated_at", "2014-09-29 15:20:12.186941"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 190ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.380547"], ["updated_at", "2014-09-29 15:20:12.380547"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.383137"], ["updated_at", "2014-09-29 15:20:12.383137"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_quo_laudantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_quo_laudantium') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et sit earum. Ut eos neque repellat non sunt aspernatur omnis. Quos est nam repudiandae et sed exercitationem.\nIllum pariatur veniam. Odit voluptas ab incidunt. Impedit repellendus totam perferendis dicta dolor exercitationem et.\nAut libero a voluptas. Voluptatibus et nihil velit voluptatem accusantium. Voluptatum tenetur est sit sed."], ["created_at", "2014-09-29 15:20:12.388155"], ["name", "quia_quo_laudantium"], ["title", "Voluptatum qui omnis"], ["updated_at", "2014-09-29 15:20:12.388155"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.390712"], ["updated_at", "2014-09-29 15:20:12.390712"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-29 15:20:12.391261"], ["updated_at", "2014-09-29 15:20:12.391261"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.397665"], ["updated_at", "2014-09-29 15:20:12.397665"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.399599"], ["updated_at", "2014-09-29 15:20:12.399599"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_aut_harum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'rerum_aut_harum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quae et omnis quia nihil esse. Saepe maiores corrupti praesentium ea. Fugit necessitatibus et quis nihil.\nDeserunt temporibus rerum sed sit rerum. Sint est nihil. Qui sunt nisi velit. Labore numquam sed pariatur sequi. Numquam perferendis quibusdam.\nOmnis ut dolores similique. Et nam sapiente repellat pariatur numquam. Pariatur omnis enim alias laboriosam animi est magnam. Accusantium tempore suscipit sit ipsam illum."], ["created_at", "2014-09-29 15:20:12.404767"], ["name", "rerum_aut_harum"], ["title", "Reiciendis placeat esse"], ["updated_at", "2014-09-29 15:20:12.404767"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.407494"], ["updated_at", "2014-09-29 15:20:12.407494"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-29 15:20:12.408114"], ["updated_at", "2014-09-29 15:20:12.408114"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.412049"], ["updated_at", "2014-09-29 15:20:12.412049"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.413698"], ["updated_at", "2014-09-29 15:20:12.413698"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beatae_omnis_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beatae_omnis_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est numquam ut ut consequatur corrupti commodi inventore. Enim nemo dolores odit omnis facere eum. Voluptas et explicabo repellat.\nAut rerum tenetur et nostrum. Quia tempora suscipit rerum. Porro alias odit nam.\nTempora et magni. Et qui voluptas suscipit rerum. Distinctio ipsam recusandae. Autem exercitationem sequi quidem non. Earum ipsum officia perferendis."], ["created_at", "2014-09-29 15:20:12.418316"], ["name", "beatae_omnis_est"], ["title", "Iure doloribus corporis"], ["updated_at", "2014-09-29 15:20:12.418316"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.420893"], ["updated_at", "2014-09-29 15:20:12.420893"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-29 15:20:12.421445"], ["updated_at", "2014-09-29 15:20:12.421445"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"43"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.425544"], ["updated_at", "2014-09-29 15:20:12.425544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.427343"], ["updated_at", "2014-09-29 15:20:12.427343"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolorem_ut_nemo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolorem_ut_nemo') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Porro possimus veniam beatae. Et dolorum velit pariatur rerum. Ex explicabo deleniti recusandae ipsam expedita voluptas vitae.\nSunt ut ea et dignissimos temporibus quo. Enim sit minima sed aut odit et. Dolor omnis atque temporibus et placeat.\nAd dolor officia sint vel et accusamus autem. Dolor alias aut hic sit accusamus dolores soluta. Quia qui quia rerum non. Omnis velit dolor error in numquam."], ["created_at", "2014-09-29 15:20:12.432535"], ["name", "dolorem_ut_nemo"], ["title", "Distinctio fugit aperiam"], ["updated_at", "2014-09-29 15:20:12.432535"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.435204"], ["updated_at", "2014-09-29 15:20:12.435204"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-29 15:20:12.435847"], ["updated_at", "2014-09-29 15:20:12.435847"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Redirected to http://test.host/fine_print/contracts/44/signatures?r=bEtFaVFNV3FwZHk3YTkweXUyeCttZz09LS0zYkYydi9vc2hiR1o5ck1VcU4xNEZBPT0%3D--554405a57715ef07dfe2ba1f8c048af41f9ceb0f Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.444107"], ["updated_at", "2014-09-29 15:20:12.444107"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.445897"], ["updated_at", "2014-09-29 15:20:12.445897"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "adipisci_optio_nesciunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'adipisci_optio_nesciunt') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aperiam dolorem ipsum praesentium. Neque magni doloribus. Dolorem in maxime repellat. Error molestiae assumenda at quis qui.\nNihil itaque tempora nisi. Omnis odio autem modi veritatis non recusandae. Explicabo quos vel ratione dolore aut. Necessitatibus ducimus unde.\nTempore laboriosam totam et vero aut autem. At aut qui mollitia dolorum fugiat quos sequi. Est accusantium corporis error. Possimus adipisci nam et sint. Molestias qui qui in quos."], ["created_at", "2014-09-29 15:20:12.450009"], ["name", "adipisci_optio_nesciunt"], ["title", "Et recusandae cum"], ["updated_at", "2014-09-29 15:20:12.450009"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.452539"], ["updated_at", "2014-09-29 15:20:12.452539"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-29 15:20:12.453190"], ["updated_at", "2014-09-29 15:20:12.453190"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.458774"], ["updated_at", "2014-09-29 15:20:12.458774"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.460490"], ["updated_at", "2014-09-29 15:20:12.460490"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fugiat_consequatur_nostrum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'fugiat_consequatur_nostrum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "A hic ut quisquam mollitia. Molestiae impedit quis dolor aspernatur tenetur explicabo libero. Ut aut dignissimos. Voluptate eos ipsa nihil.\nVeritatis non incidunt officiis. Eius eaque quia laudantium autem consequatur. Veritatis voluptatem blanditiis ut nesciunt dolores error. Vel esse modi et. Nulla deleniti harum delectus nihil libero est.\nQui impedit quibusdam animi eum necessitatibus provident ut. Libero harum aut excepturi fugit. Fugiat et quis illum sit qui voluptate ut. Iste nostrum dolor. Commodi qui veritatis sunt."], ["created_at", "2014-09-29 15:20:12.464956"], ["name", "fugiat_consequatur_nostrum"], ["title", "Aut alias soluta"], ["updated_at", "2014-09-29 15:20:12.464956"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.467607"], ["updated_at", "2014-09-29 15:20:12.467607"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-29 15:20:12.468238"], ["updated_at", "2014-09-29 15:20:12.468238"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.471962"], ["updated_at", "2014-09-29 15:20:12.471962"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.473538"], ["updated_at", "2014-09-29 15:20:12.473538"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_et_assumenda"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sit_et_assumenda') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est consequatur porro harum et architecto tempora voluptates. Voluptatem consequuntur sit ut maxime. Distinctio ullam et eligendi ut hic libero dolor.\nQuia harum consequuntur enim vero laboriosam sit corporis. Et expedita tempore perspiciatis debitis repellat quis. Perferendis earum nam vel consequatur sint ut. Nam nostrum nisi voluptas et.\nOmnis officia possimus. Eveniet ut nam quidem autem mollitia ipsam molestiae. Modi in et ducimus beatae est voluptatibus architecto."], ["created_at", "2014-09-29 15:20:12.479077"], ["name", "sit_et_assumenda"], ["title", "Laborum sunt est"], ["updated_at", "2014-09-29 15:20:12.479077"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.482016"], ["updated_at", "2014-09-29 15:20:12.482016"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-29 15:20:12.482679"], ["updated_at", "2014-09-29 15:20:12.482679"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"47"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.489481"], ["updated_at", "2014-09-29 15:20:12.489481"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.491089"], ["updated_at", "2014-09-29 15:20:12.491089"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.495709"], ["updated_at", "2014-09-29 15:20:12.495709"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:20:12.497461"], ["updated_at", "2014-09-29 15:20:12.497461"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (1.0ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:51.784577"], ["updated_at", "2014-09-29 15:53:51.784577"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:51.791794"], ["updated_at", "2014-09-29 15:53:51.791794"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Expedita deleniti sunt quasi et voluptatem. Aut autem qui nostrum dolorum nemo. Pariatur consectetur inventore rem velit libero et aperiam. Architecto facere fugiat in dignissimos.\nDolore dignissimos ut distinctio. Quas saepe deserunt tenetur. Nostrum dolorem voluptatem in laboriosam. Et delectus asperiores in. Et velit ea harum qui.\nEt cum autem labore. Et commodi aperiam adipisci. Soluta magnam dolorum tempore enim neque. Omnis perferendis optio omnis earum aliquid dolore. Consectetur et facilis doloribus architecto voluptatibus dignissimos nam."], ["created_at", "2014-09-29 15:53:52.007480"], ["name", "saepe_neque_laborum"], ["title", "Eveniet cum dolores"], ["updated_at", "2014-09-29 15:53:52.007480"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 1 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 15:53:52.016197"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/1 Completed 302 Found in 13ms (ActiveRecord: 1.3ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.029282"], ["updated_at", "2014-09-29 15:53:52.029282"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.030887"], ["updated_at", "2014-09-29 15:53:52.030887"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fuga et aut voluptas alias sint ex nesciunt. Eos vero nihil. Magni vero molestiae debitis nam. Numquam asperiores vitae possimus dicta. Nihil et alias et sit omnis vel.\nQuas vitae deserunt at molestiae. Quo sequi laboriosam neque. Molestiae quae soluta unde qui accusamus voluptatem eum. Nesciunt recusandae doloremque deleniti optio dicta eum. Rem placeat ratione libero sint laborum.\nMolestiae omnis ex. Optio dolorem voluptatibus. Et suscipit quo aperiam cupiditate exercitationem."], ["created_at", "2014-09-29 15:53:52.033190"], ["name", "consequatur_enim_beatae"], ["title", "Eligendi quo est"], ["updated_at", "2014-09-29 15:53:52.033190"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.037017"], ["updated_at", "2014-09-29 15:53:52.037017"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.038389"], ["updated_at", "2014-09-29 15:53:52.038389"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et totam tenetur corporis iste similique inventore. Veritatis occaecati nesciunt aliquid mollitia libero neque. Possimus laboriosam dolor numquam ex nam provident dolores. Voluptatem deleniti soluta quam reprehenderit dolore eos. Quo quibusdam dolor vero eveniet et quis doloremque.\nEst doloribus vel ab est. Porro eum quam occaecati nihil corrupti totam. Laborum illum qui qui. Non assumenda est molestiae et possimus.\nIste quo et placeat porro aut rem velit. Aut et ipsum. Est sunt eius odit voluptas voluptatum velit. Excepturi sapiente nostrum est unde nulla quae animi. Qui voluptas et doloribus exercitationem consequatur."], ["created_at", "2014-09-29 15:53:52.040610"], ["name", "qui_temporibus_voluptates"], ["title", "Corporis ut aspernatur"], ["updated_at", "2014-09-29 15:53:52.040610"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.044434"], ["updated_at", "2014-09-29 15:53:52.044434"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.045874"], ["updated_at", "2014-09-29 15:53:52.045874"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vel quam aut optio. Ut velit rerum harum id assumenda eum. Totam vel nihil rem blanditiis et quis. Delectus temporibus et molestias omnis. Eos praesentium excepturi sint soluta corrupti architecto.\nNobis velit id nisi quos molestiae blanditiis beatae. Est possimus eum. Molestiae at alias.\nDolores ex quam voluptatem consequatur odit quod beatae. Est vel et reiciendis ea dolores. Molestiae vitae eius libero vero velit ipsam."], ["created_at", "2014-09-29 15:53:52.048150"], ["name", "et_velit_nam"], ["title", "Similique consequatur adipisci"], ["updated_at", "2014-09-29 15:53:52.048150"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_velit_nam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'et_velit_nam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-29 15:53:52.052758"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.058505"], ["updated_at", "2014-09-29 15:53:52.058505"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.059882"], ["updated_at", "2014-09-29 15:53:52.059882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et qui nobis. Est quo excepturi quae necessitatibus et harum. Ea quia officia in tempora. Inventore voluptatem quod est. Voluptatem sed libero porro quisquam consequatur.\nAut nobis omnis. Et quisquam nihil fuga. Fugit et cumque. Tenetur ipsum fugit aut qui saepe doloribus.\nSed explicabo molestias similique tempore accusamus illo ut. Laboriosam est expedita aut. Quas quisquam ut pariatur repellat. Accusamus suscipit id."], ["created_at", "2014-09-29 15:53:52.062146"], ["name", "ut_et_autem"], ["title", "Exercitationem sapiente quas"], ["updated_at", "2014-09-29 15:53:52.062146"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.072319"], ["updated_at", "2014-09-29 15:53:52.072319"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.074004"], ["updated_at", "2014-09-29 15:53:52.074004"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur vero iure. Consectetur quas est id minima laborum et facilis. Eos incidunt aut minima quibusdam et qui.\nTenetur minus et est aspernatur qui modi. Eaque aut quasi illum et. Molestiae omnis enim numquam dolorem asperiores odio veritatis. Ipsa ullam natus distinctio nihil velit quidem.\nNon est dignissimos rem corporis. Repellat ullam quia libero nesciunt. Nihil ducimus dignissimos quisquam quasi rerum amet nesciunt."], ["created_at", "2014-09-29 15:53:52.076827"], ["name", "impedit_soluta_at"], ["title", "Quia quasi sit"], ["updated_at", "2014-09-29 15:53:52.076827"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.086134"], ["updated_at", "2014-09-29 15:53:52.086134"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.088125"], ["updated_at", "2014-09-29 15:53:52.088125"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo nobis assumenda aliquam vitae distinctio iusto delectus. Dolore dolorem est est tempore molestiae. Numquam sint sint molestias ea unde. At consequuntur ab itaque libero voluptatum enim. Sit veniam odit dolores quos aliquam.\nInventore possimus quae repellendus ratione debitis iure tenetur. Cumque ea neque vero est. Voluptatum sed et similique dignissimos vel reiciendis. Ipsam occaecati pariatur odio ea ut.\nRepudiandae est voluptates sed sit. Nisi quaerat et. Fugiat soluta tempore illo ipsam. Alias facere ipsum iure."], ["created_at", "2014-09-29 15:53:52.091305"], ["name", "et_veritatis_soluta"], ["title", "Officia nihil fugiat"], ["updated_at", "2014-09-29 15:53:52.091305"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.096799"], ["updated_at", "2014-09-29 15:53:52.096799"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.098195"], ["updated_at", "2014-09-29 15:53:52.098195"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil praesentium autem explicabo in. Non dicta reprehenderit in aut est incidunt quo. Rerum commodi dicta dolorem.\nUt ut et eum deleniti rem eos. Odio repellendus quae aspernatur temporibus et. Et esse explicabo rem numquam quam. Sunt at odit sit libero non ea.\nQui rerum amet enim repellendus maxime atque adipisci. Et provident minus debitis qui ad. Facilis voluptatem sequi consectetur dignissimos quibusdam. Non earum ad laboriosam minima quos qui. Dolorem voluptas cumque in."], ["created_at", "2014-09-29 15:53:52.100371"], ["name", "rerum_vitae_aliquid"], ["title", "Nobis qui odio"], ["updated_at", "2014-09-29 15:53:52.100371"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_vitae_aliquid"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 8 AND "fine_print_contracts"."name" = 'rerum_vitae_aliquid') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 8]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 8 [["updated_at", "2014-09-29 15:53:52.103528"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"8"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.109448"], ["updated_at", "2014-09-29 15:53:52.109448"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.111133"], ["updated_at", "2014-09-29 15:53:52.111133"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint quo non. Rerum quo sed voluptas officia. Quis sunt magni dicta provident.\nInventore vel maxime. Rerum explicabo earum numquam cum aut soluta in. Quia et sunt quaerat sed. Sed ex nostrum.\nNon et corrupti amet tenetur. Qui ut magni aperiam dolore unde. Et et aliquam voluptas occaecati autem placeat deleniti."], ["created_at", "2014-09-29 15:53:52.113390"], ["name", "assumenda_corporis_iusto"], ["title", "Dicta voluptate cumque"], ["updated_at", "2014-09-29 15:53:52.113390"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.118336"], ["updated_at", "2014-09-29 15:53:52.118336"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.119800"], ["updated_at", "2014-09-29 15:53:52.119800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatibus et magnam eum assumenda a. Ut dolorum voluptatibus. Magni voluptas velit necessitatibus. Perspiciatis id ratione. Et exercitationem quia aliquam sit est.\nId alias enim doloremque praesentium occaecati repudiandae labore. Beatae cupiditate sed nihil. Cum quod voluptas necessitatibus esse et. Doloremque hic sit dicta optio labore accusamus. Quod aut voluptatem quia blanditiis eos est.\nVoluptas temporibus quis incidunt maxime. Recusandae perspiciatis qui dolores consequatur error. Vitae occaecati rerum beatae. Culpa voluptatum consequuntur id."], ["created_at", "2014-09-29 15:53:52.121975"], ["name", "dolores_saepe_aspernatur"], ["title", "Velit dolor voluptatem"], ["updated_at", "2014-09-29 15:53:52.121975"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 9, 2, 10, 4, 7, 6, 3, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.131526"], ["updated_at", "2014-09-29 15:53:52.131526"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.133247"], ["updated_at", "2014-09-29 15:53:52.133247"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugit nobis tempore est sit asperiores. Repellendus sunt quos ab fugiat dicta ut quis. Quia esse quaerat fugiat soluta nisi possimus. Beatae dolor eum eligendi harum non natus.\nEa odio autem voluptas accusantium ipsum fuga. Optio id enim ut doloremque et rerum voluptatum. Aut est dolor veritatis possimus similique optio. Ipsum et libero et est qui maxime omnis. Eius architecto omnis tenetur tempore.\nEt dolores occaecati ratione dolore ad iusto officiis. Harum provident neque totam nulla quia. Optio atque et ex tempora similique. Aspernatur labore natus vel. Aut iusto minus tempora cupiditate dolores."], ["created_at", "2014-09-29 15:53:52.135635"], ["name", "voluptas_numquam_voluptatibus"], ["title", "Praesentium maxime veniam"], ["updated_at", "2014-09-29 15:53:52.135635"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.140888"], ["updated_at", "2014-09-29 15:53:52.140888"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.142310"], ["updated_at", "2014-09-29 15:53:52.142310"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam maxime et voluptatum. Voluptas et quo ipsam laboriosam. Quod est laudantium eaque aut molestias provident. Cupiditate vel labore voluptatibus ut explicabo. Distinctio quia consequatur provident.\nVoluptates illum eius in. Id veniam et non eius dignissimos magni voluptas. Molestiae officiis magni cum aut quasi labore.\nNobis qui et. Quae eligendi temporibus voluptatem totam voluptate velit in. Error voluptatem minima."], ["created_at", "2014-09-29 15:53:52.144617"], ["name", "et_modi_iusto"], ["title", "Dolorem ipsum tenetur"], ["updated_at", "2014-09-29 15:53:52.144617"]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_modi_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'et_modi_iusto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-29 15:53:52.148383"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_modi_iusto"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-09-29 15:53:52.153544"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.157784"], ["updated_at", "2014-09-29 15:53:52.157784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.159326"], ["updated_at", "2014-09-29 15:53:52.159326"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Autem harum quia ex. Omnis aspernatur consectetur ex et sunt velit. Illum perferendis et repellat molestiae est.\nQuos est sunt qui qui ut non. Voluptas magni omnis qui aliquam. Et accusantium alias modi reprehenderit error hic qui. Magni veniam ipsum soluta beatae commodi fuga.\nRecusandae ut et voluptate ipsam nisi sed. Eius omnis delectus voluptatem. Sint consequatur non voluptatem quos repellendus sed non. Voluptatem voluptatum nisi vel saepe dolor."], ["created_at", "2014-09-29 15:53:52.161802"], ["name", "qui_molestias_veritatis"], ["title", "Ut blanditiis deserunt"], ["updated_at", "2014-09-29 15:53:52.161802"]]  (0.4ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 15:53:52.164785"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 15:53:52.164785"]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 2ms (ActiveRecord: 0.7ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.168433"], ["updated_at", "2014-09-29 15:53:52.168433"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.170030"], ["updated_at", "2014-09-29 15:53:52.170030"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia nobis animi consectetur occaecati fuga aut delectus. Repellat adipisci voluptatum libero velit sed in. Minus omnis molestiae maxime est necessitatibus cumque et.\nSunt id quidem quam officia voluptate ipsam consequatur. Atque et qui. Deserunt sit ea rerum quos quia omnis. Delectus est omnis fugit doloribus cumque. Labore exercitationem quis.\nAdipisci doloremque laudantium officia. Ipsa sit est consectetur dolorum alias. Harum quaerat architecto sequi facere illo porro."], ["created_at", "2014-09-29 15:53:52.172284"], ["name", "quis_in_natus"], ["title", "Accusamus labore in"], ["updated_at", "2014-09-29 15:53:52.172284"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_in_natus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'quis_in_natus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-09-29 15:53:52.175445"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'quis_in_natus' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.182305"], ["updated_at", "2014-09-29 15:53:52.182305"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.183785"], ["updated_at", "2014-09-29 15:53:52.183785"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aspernatur delectus est molestias nihil sequi laudantium. Vitae neque id nesciunt. Aut voluptatem voluptatem omnis.\nQuis eius voluptatem. Nulla voluptas sed. Similique perferendis eligendi quis ut et.\nEst iure unde expedita et exercitationem nulla. Velit et nisi sint dolor eum. Qui natus excepturi explicabo aliquid quod rerum voluptate. Sint sed labore eius odio cumque."], ["created_at", "2014-09-29 15:53:52.185924"], ["name", "harum_doloremque_voluptatum"], ["title", "Dignissimos nisi ullam"], ["updated_at", "2014-09-29 15:53:52.185924"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.189736"], ["updated_at", "2014-09-29 15:53:52.189736"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.191291"], ["updated_at", "2014-09-29 15:53:52.191291"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nostrum molestias consequatur. Officiis voluptates sint repellat nulla velit. Iure consequatur nam et quaerat unde.\nIn voluptas est amet maxime pariatur atque corrupti. Itaque at cumque nesciunt a minima omnis dignissimos. Sunt a ad mollitia odio quibusdam.\nUt unde fugiat. Non modi quidem perspiciatis quod eos. Dolor et ut autem. Repellat sapiente eos vel sint sint."], ["created_at", "2014-09-29 15:53:52.193544"], ["name", "qui_velit_velit"], ["title", "Nam vero voluptas"], ["updated_at", "2014-09-29 15:53:52.193544"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.197971"], ["updated_at", "2014-09-29 15:53:52.197971"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.199591"], ["updated_at", "2014-09-29 15:53:52.199591"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Enim harum impedit. Nam nisi qui eos. Ipsa est doloribus voluptate sed error. Necessitatibus praesentium quod eaque et corrupti numquam.\nIpsum voluptate earum incidunt quas. Maxime tempore qui libero molestiae accusantium explicabo in. Corporis est quam et eaque inventore aliquid.\nTotam ut consequatur soluta et placeat quo odio. Qui consequatur ipsam sapiente cumque labore accusamus. Tempora at et veniam ullam sunt excepturi. Vel occaecati non et et tempore quia officia."], ["created_at", "2014-09-29 15:53:52.201845"], ["name", "doloribus_enim_sed"], ["title", "Omnis rem officia"], ["updated_at", "2014-09-29 15:53:52.201845"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.206693"], ["updated_at", "2014-09-29 15:53:52.206693"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.208131"], ["updated_at", "2014-09-29 15:53:52.208131"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi et quis. In amet natus temporibus vitae. Ut ut sed natus sunt in temporibus nihil.\nQuis commodi fuga ut quia aliquid aspernatur accusantium. Accusantium perspiciatis blanditiis distinctio. Dolor commodi quae rerum unde temporibus.\nEst quod deserunt magnam at dolores commodi. Et occaecati quibusdam officiis eos qui. Labore sint dolorum ipsam. Aliquam adipisci similique reiciendis et dolore vero. Molestiae corrupti minima."], ["created_at", "2014-09-29 15:53:52.210261"], ["name", "vero_expedita_laborum"], ["title", "Aut corrupti est"], ["updated_at", "2014-09-29 15:53:52.210261"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_expedita_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'vero_expedita_laborum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-29 15:53:52.215029"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.220827"], ["updated_at", "2014-09-29 15:53:52.220827"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.223007"], ["updated_at", "2014-09-29 15:53:52.223007"]]  (0.8ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.228511"], ["updated_at", "2014-09-29 15:53:52.228511"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.230174"], ["updated_at", "2014-09-29 15:53:52.230174"]]  (0.4ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vel earum est. Quod temporibus repudiandae nulla necessitatibus ut recusandae itaque. Voluptatem quia dolores consequatur quia fugiat omnis.\nDolorem dolores et repudiandae odit esse natus placeat. Laborum enim qui aspernatur dignissimos magni. Ab dolores eius autem. Est accusamus ut adipisci suscipit.\nAperiam voluptate et ut ex. Occaecati totam eaque voluptas aliquam. Dicta omnis ut. Quia in vel eos dolore a voluptatem architecto. Non cumque iusto dolorem."], ["created_at", "2014-09-29 15:53:52.236324"], ["name", "alpha"], ["title", "Deleniti corrupti est"], ["updated_at", "2014-09-29 15:53:52.236324"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iusto rerum porro. Et occaecati et earum nulla aspernatur. Temporibus amet minus rerum laborum illo.\nLaborum necessitatibus error sit. Eius sed consectetur minima accusantium et. Ut sit ut exercitationem repudiandae officia. Blanditiis enim sit aut nihil harum. Rerum porro incidunt vitae.\nEum tenetur repellat rerum provident vel qui. Odio sunt facilis repellat natus labore est. Est tenetur aut rem. Quisquam accusamus perspiciatis assumenda nobis velit molestias reprehenderit. Quos et quia laboriosam sit asperiores."], ["created_at", "2014-09-29 15:53:52.240523"], ["name", "beta"], ["title", "Rerum ut qui"], ["updated_at", "2014-09-29 15:53:52.240523"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.242260"], ["updated_at", "2014-09-29 15:53:52.242260"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-29 15:53:52.247482"], ["updated_at", "2014-09-29 15:53:52.247482"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-29 15:53:52.253119"], ["updated_at", "2014-09-29 15:53:52.253119"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:53:52.255885"], ["name", "alpha"], ["title", "Deleniti corrupti est"], ["updated_at", "2014-09-29 15:53:52.255885"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 15:53:52.259087"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.4ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 22 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 41) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 22], ["created_at", "2014-09-29 15:53:52.274839"], ["updated_at", "2014-09-29 15:53:52.274839"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Vero ut assumenda et iste enim sit. Nisi enim provident voluptates. Quia rerum enim ipsam deleniti incidunt maxime. Vitae aspernatur aut ipsum dolorem tenetur modi.\nAmet vitae rerum nulla animi aut. Sed enim sapiente voluptate. Voluptas soluta illo aut libero. Doloribus soluta dolores harum.\nPariatur delectus id. Id minima cupiditate sit. Itaque ipsa accusantium corporis. Et delectus sit itaque sed labore."], ["created_at", "2014-09-29 15:53:52.289330"], ["name", "alpha"], ["title", "Accusantium non vitae"], ["updated_at", "2014-09-29 15:53:52.289330"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Corporis repellat sint officiis consectetur commodi architecto sapiente. Nostrum qui veritatis ut. Est vero possimus.\nRatione saepe corrupti id et qui. Deleniti ut et quod laborum ab. Rerum quam perspiciatis. Occaecati et accusamus quod dolor cumque.\nAccusantium eos sed autem id est voluptas. Ut accusantium tempora ad repellendus. Sed odio incidunt voluptas sit quaerat ratione voluptas."], ["created_at", "2014-09-29 15:53:52.293289"], ["name", "beta"], ["title", "Voluptas ut rerum"], ["updated_at", "2014-09-29 15:53:52.293289"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.294849"], ["updated_at", "2014-09-29 15:53:52.294849"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-29 15:53:52.297402"], ["updated_at", "2014-09-29 15:53:52.297402"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-29 15:53:52.299914"], ["updated_at", "2014-09-29 15:53:52.299914"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:53:52.302120"], ["name", "alpha"], ["title", "Accusantium non vitae"], ["updated_at", "2014-09-29 15:53:52.302120"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-29 15:53:52.305213"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquid qui in illum quo aut. Autem tempore blanditiis magnam eaque et incidunt beatae. Perspiciatis ex aliquam non nisi dignissimos asperiores.\nVoluptatem suscipit sint. Cum dolores non iusto nostrum rem. Voluptatibus commodi ullam sapiente alias enim illum aut.\nDolores qui quidem eum. Nisi sunt quisquam aliquid sunt. Autem excepturi quaerat. Omnis est commodi inventore corrupti vel et quia. Illo enim enim voluptatem dolore explicabo in."], ["created_at", "2014-09-29 15:53:52.312889"], ["name", "alpha"], ["title", "At minima velit"], ["updated_at", "2014-09-29 15:53:52.312889"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et optio est eveniet qui animi eum. Et illum odio. Reprehenderit voluptas vero officia. Eum et inventore eos sit voluptas voluptate voluptatum.\nId esse necessitatibus voluptas non sed et corrupti. Eos maxime error distinctio beatae temporibus. Alias porro rem dignissimos amet quam in.\nQuaerat suscipit ut ipsam voluptatem deserunt. Consequatur velit expedita iusto error qui voluptas et. Qui eligendi ad quis ex et."], ["created_at", "2014-09-29 15:53:52.316768"], ["name", "beta"], ["title", "Quo atque nam"], ["updated_at", "2014-09-29 15:53:52.316768"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.318334"], ["updated_at", "2014-09-29 15:53:52.318334"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-29 15:53:52.321505"], ["updated_at", "2014-09-29 15:53:52.321505"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-29 15:53:52.324734"], ["updated_at", "2014-09-29 15:53:52.324734"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:53:52.327233"], ["name", "alpha"], ["title", "At minima velit"], ["updated_at", "2014-09-29 15:53:52.327233"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-29 15:53:52.330441"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (28, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Adipisci ea molestiae. Totam assumenda aut. Alias amet a laboriosam. Perspiciatis doloremque et sunt unde.\nDolor autem laboriosam quae dolorum. Occaecati minima fugit maiores quos. Numquam sunt incidunt. Quo voluptas id laboriosam aut molestiae. Id et nobis dolorum qui excepturi ratione.\nNumquam veritatis quidem. Rerum at saepe. Voluptas error corrupti. Consequatur omnis quam dolores atque."], ["created_at", "2014-09-29 15:53:52.336770"], ["name", "alpha"], ["title", "Est ut ut"], ["updated_at", "2014-09-29 15:53:52.336770"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Amet labore sit consequatur officia itaque sint quis. Aspernatur dolorum quibusdam. Unde reprehenderit alias placeat vero at velit. Eligendi tenetur reprehenderit quam. Illo necessitatibus est dolorum placeat inventore.\nDoloribus et eos excepturi natus. Velit maiores nam hic dolorum ab. Molestias ea at.\nUt facilis culpa consequuntur ducimus et quaerat. Rem sint amet laudantium. Accusantium voluptas aut omnis."], ["created_at", "2014-09-29 15:53:52.340505"], ["name", "beta"], ["title", "Rerum sapiente officiis"], ["updated_at", "2014-09-29 15:53:52.340505"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.342077"], ["updated_at", "2014-09-29 15:53:52.342077"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-29 15:53:52.344614"], ["updated_at", "2014-09-29 15:53:52.344614"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-29 15:53:52.347077"], ["updated_at", "2014-09-29 15:53:52.347077"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 15:53:52.349265"], ["name", "alpha"], ["title", "Est ut ut"], ["updated_at", "2014-09-29 15:53:52.349265"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-29 15:53:52.360144"], ["version", 8]]  (0.8ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 30, 4, 15, 8, 19) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.368089"], ["updated_at", "2014-09-29 15:53:52.368089"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.369740"], ["updated_at", "2014-09-29 15:53:52.369740"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_porro_molestiae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sit_porro_molestiae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptate et similique et sit velit. Repudiandae maiores alias ratione pariatur esse sunt necessitatibus. Magni ipsam veritatis aut.\nPerferendis ut saepe molestiae eveniet. Voluptatum cum quae aspernatur eius. Quae corrupti ut deserunt nihil consequatur. Exercitationem harum beatae eaque velit sit praesentium quia. Odio sed magnam.\nRecusandae odio nulla dolor autem eos ut qui. Et quisquam eum ut tempora quia voluptatibus. Consequuntur saepe consectetur perspiciatis."], ["created_at", "2014-09-29 15:53:52.374821"], ["name", "sit_porro_molestiae"], ["title", "Voluptas fuga ipsam"], ["updated_at", "2014-09-29 15:53:52.374821"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.377775"], ["updated_at", "2014-09-29 15:53:52.377775"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-29 15:53:52.378410"], ["updated_at", "2014-09-29 15:53:52.378410"], ["user_id", 47], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"32"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"32"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.386013"], ["updated_at", "2014-09-29 15:53:52.386013"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.388274"], ["updated_at", "2014-09-29 15:53:52.388274"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_praesentium_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aliquid_praesentium_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Velit culpa doloribus voluptas. Cumque corrupti minima architecto vel. Exercitationem doloremque odit et. Omnis deserunt fuga et voluptas similique. Magnam est neque quos cum explicabo.\nFacere dolorem quidem. Reiciendis magni cumque dolores voluptate. Maiores aut cumque. Culpa ut repellat dolores omnis praesentium expedita recusandae.\nConsequatur quam maxime officiis sit assumenda. Et est corrupti labore. Necessitatibus hic et fugit qui."], ["created_at", "2014-09-29 15:53:52.393393"], ["name", "aliquid_praesentium_est"], ["title", "Dolor magni error"], ["updated_at", "2014-09-29 15:53:52.393393"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.395951"], ["updated_at", "2014-09-29 15:53:52.395951"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["created_at", "2014-09-29 15:53:52.396512"], ["updated_at", "2014-09-29 15:53:52.396512"], ["user_id", 50], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (1.2ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]] Redirected to http://test.host/fine_print/contracts/33/signatures?r=UDR4TkpYT01zNHFSd0VlYjlyU3owQT09LS11dXc0TUtmL3A2NGpjTVg0YXgwUDBnPT0%3D--6f4d3ecd291a930a2ebfcd99f3439d18d2dd8f5b Completed 302 Found in 192ms (ActiveRecord: 1.7ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 11 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.593531"], ["updated_at", "2014-09-29 15:53:52.593531"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.595214"], ["updated_at", "2014-09-29 15:53:52.595214"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "soluta_ad_error"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'soluta_ad_error') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Magnam quos magni et eligendi. Dolor non totam consequatur sunt quis ea alias. Qui ea dolore.\nCupiditate ut consequatur ipsam rem temporibus. Dolorum est voluptatum sed. Exercitationem et delectus quisquam quis facere sint. Assumenda quia amet aut.\nEt dicta id quasi accusantium pariatur ipsum sunt. Et laudantium et voluptatem enim tenetur id. Labore qui et omnis recusandae quaerat est."], ["created_at", "2014-09-29 15:53:52.601176"], ["name", "soluta_ad_error"], ["title", "Hic pariatur placeat"], ["updated_at", "2014-09-29 15:53:52.601176"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.603971"], ["updated_at", "2014-09-29 15:53:52.603971"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-29 15:53:52.604897"], ["updated_at", "2014-09-29 15:53:52.604897"], ["user_id", 53], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"34"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.612475"], ["updated_at", "2014-09-29 15:53:52.612475"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.614125"], ["updated_at", "2014-09-29 15:53:52.614125"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quam_sed_inventore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quam_sed_inventore') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Delectus vel itaque rerum. Quia fugiat et cupiditate voluptas repellendus. Similique qui sequi amet vitae et rerum recusandae. Asperiores cupiditate qui. Dolorum velit provident.\nTempore est velit. Sunt in corporis rerum tenetur odit. Ut cum laboriosam eum qui ut. Explicabo aut voluptates blanditiis aperiam dolorem.\nEt ratione nam ut. Et officia quo neque voluptas. Quod ducimus at voluptatibus corrupti maiores fugit. Et harum cum deleniti sunt in qui. Maiores dolorem et."], ["created_at", "2014-09-29 15:53:52.620118"], ["name", "quam_sed_inventore"], ["title", "Qui consequuntur iusto"], ["updated_at", "2014-09-29 15:53:52.620118"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.622699"], ["updated_at", "2014-09-29 15:53:52.622699"]] SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-29 15:53:52.623249"], ["updated_at", "2014-09-29 15:53:52.623249"], ["user_id", 56], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"35"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.627082"], ["updated_at", "2014-09-29 15:53:52.627082"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.628865"], ["updated_at", "2014-09-29 15:53:52.628865"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "porro_sunt_accusantium"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'porro_sunt_accusantium') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed sapiente esse ipsa consequatur. Eos qui sequi debitis tempora ut necessitatibus odit. Omnis in voluptates ex. Cumque aspernatur sed totam et nostrum voluptas.\nAssumenda quidem voluptatem ea nemo non. Exercitationem aspernatur et corrupti veritatis nesciunt. Adipisci earum ex esse dolorum.\nOmnis et tempore illum eligendi enim. Eum libero deleniti reprehenderit error vel sunt. Est sint consequatur blanditiis."], ["created_at", "2014-09-29 15:53:52.633993"], ["name", "porro_sunt_accusantium"], ["title", "Omnis sed ut"], ["updated_at", "2014-09-29 15:53:52.633993"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.636625"], ["updated_at", "2014-09-29 15:53:52.636625"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-29 15:53:52.637194"], ["updated_at", "2014-09-29 15:53:52.637194"], ["user_id", 59], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"36"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.641947"], ["updated_at", "2014-09-29 15:53:52.641947"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.643380"], ["updated_at", "2014-09-29 15:53:52.643380"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_eius_dolores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sit_eius_dolores') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cumque fugit dicta distinctio eveniet dolore molestiae. Ut doloremque et sunt assumenda illo error rerum. Dolorem voluptatum quia hic possimus quisquam unde omnis. Minus qui expedita perferendis at vero eos.\nVel earum architecto laudantium nam repellendus molestiae. Suscipit similique sit dolore. Perspiciatis possimus iste mollitia et.\nUllam et exercitationem. Eius rerum autem fugiat. A illum id. Voluptatem quia nam."], ["created_at", "2014-09-29 15:53:52.647862"], ["name", "sit_eius_dolores"], ["title", "Excepturi praesentium aut"], ["updated_at", "2014-09-29 15:53:52.647862"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.650446"], ["updated_at", "2014-09-29 15:53:52.650446"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-29 15:53:52.651025"], ["updated_at", "2014-09-29 15:53:52.651025"], ["user_id", 62], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.656120"], ["updated_at", "2014-09-29 15:53:52.656120"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.657659"], ["updated_at", "2014-09-29 15:53:52.657659"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_illo_nobis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolor_illo_nobis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Libero est officiis ipsa placeat ullam. Quidem ex et sint et dicta delectus. Illo perspiciatis et commodi dolores occaecati atque. Illo dicta earum magni aliquam.\nMolestias sit animi iusto iure aut. Veritatis ut magnam beatae voluptatem. Pariatur molestias similique laborum quis. Hic ut ut et quos ut. Pariatur fuga excepturi aut commodi dignissimos aut accusamus.\nReprehenderit sed voluptatem quibusdam maiores temporibus autem corrupti. Laboriosam voluptatem debitis facere sint qui asperiores eos. Quia voluptatem nam vel doloribus eos."], ["created_at", "2014-09-29 15:53:52.661888"], ["name", "dolor_illo_nobis"], ["title", "Labore est aliquam"], ["updated_at", "2014-09-29 15:53:52.661888"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.664442"], ["updated_at", "2014-09-29 15:53:52.664442"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-29 15:53:52.665005"], ["updated_at", "2014-09-29 15:53:52.665005"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"38"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.670871"], ["updated_at", "2014-09-29 15:53:52.670871"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.672597"], ["updated_at", "2014-09-29 15:53:52.672597"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_fuga_debitis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequatur_fuga_debitis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit architecto quo earum velit iste quia dolor. Ducimus quia molestiae rerum quibusdam ut. Aut iusto repellendus distinctio. Id ullam aut.\nSint repellat qui quis voluptates. Voluptatibus in quae est possimus et et. Fuga excepturi culpa ex enim. Inventore fugiat eum. Suscipit explicabo quo inventore velit officiis.\nVoluptas rerum quia sequi voluptates ipsum labore velit. Eum id quis dolores vel non. Quo aperiam voluptatem ut voluptate enim. Quo magni eius voluptatum eos atque totam."], ["created_at", "2014-09-29 15:53:52.679747"], ["name", "consequatur_fuga_debitis"], ["title", "Non at hic"], ["updated_at", "2014-09-29 15:53:52.679747"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.683121"], ["updated_at", "2014-09-29 15:53:52.683121"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-29 15:53:52.683751"], ["updated_at", "2014-09-29 15:53:52.683751"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quos aut sint culpa vero explicabo et at. Velit ut facere aperiam possimus alias vero totam. Voluptatum numquam voluptatibus amet officiis placeat nesciunt pariatur. Alias quisquam suscipit aperiam officiis in qui iste. Non est labore.\nArchitecto natus sit deleniti. Labore ex et et eum enim. Accusantium consequatur enim rerum.\nPorro recusandae corporis quibusdam omnis. Cumque excepturi nam porro. Ab quasi dolores sint itaque neque ducimus. Mollitia ratione omnis explicabo dolorum veritatis corporis."], ["created_at", "2014-09-29 15:53:52.690714"], ["name", "aperiam_nulla_sed"], ["title", "Nam ab consequuntur"], ["updated_at", "2014-09-29 15:53:52.690714"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_qui_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sit_qui_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut ullam repellendus aut voluptatem corrupti nisi nobis. Enim accusantium aut sunt dolorem quia. Exercitationem molestiae repellat consequatur non voluptatem. Modi error eaque cumque enim. Sapiente vitae incidunt perferendis tenetur officiis.\nEt atque unde. Qui voluptatem earum dolores voluptatum et. Sed fugiat neque qui commodi aut. Atque omnis hic ipsam in tenetur est.\nSed autem ratione cumque sapiente. Commodi qui ea quia. Et pariatur alias sit nam."], ["created_at", "2014-09-29 15:53:52.696413"], ["name", "sit_qui_et"], ["title", "Repudiandae excepturi et"], ["updated_at", "2014-09-29 15:53:52.696413"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "totam_ut_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'totam_ut_soluta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Esse vel et. Maxime saepe dolore est porro repellat. Et numquam sunt dolorem debitis.\nEt voluptatem alias. Modi sequi debitis. Eos nostrum quia mollitia vel sit. Ut placeat earum voluptas et iste ullam quia. Sed tempore nihil iste in.\nEt sit quas voluptas exercitationem autem ut omnis. In esse rerum libero maiores sunt. Tempora qui ullam. Vel sunt iusto officia quo dolores voluptatem laudantium."], ["created_at", "2014-09-29 15:53:52.707511"], ["name", "totam_ut_soluta"], ["title", "Eligendi deleniti et"], ["updated_at", "2014-09-29 15:53:52.707511"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'totam_ut_soluta' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Esse vel et. Maxime saepe dolore est porro repellat. Et numquam sunt dolorem debitis.\nEt voluptatem alias. Modi sequi debitis. Eos nostrum quia mollitia vel sit. Ut placeat earum voluptas et iste ullam quia. Sed tempore nihil iste in.\nEt sit quas voluptas exercitationem autem ut omnis. In esse rerum libero maiores sunt. Tempora qui ullam. Vel sunt iusto officia quo dolores voluptatem laudantium."], ["created_at", "2014-09-29 15:53:52.710355"], ["name", "joe"], ["title", "Eligendi deleniti et"], ["updated_at", "2014-09-29 15:53:52.710355"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 43 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 43]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 43 [["updated_at", "2014-09-29 15:53:52.713732"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Optio voluptatibus id totam. Natus voluptates ut ut. Non modi repellendus hic asperiores. Aut eum rerum est quia alias.\nFacilis harum reprehenderit sit tempore voluptates. Saepe in unde nulla rem ipsa. Commodi nisi rerum at rerum natus. Omnis dolor consequatur excepturi. Voluptatem nulla nam modi.\nEst voluptatem porro sed error iste deserunt. Voluptate earum aut. Tenetur ducimus veniam."], ["created_at", "2014-09-29 15:53:52.717552"], ["name", "eius_deleniti_quia"], ["title", "Vero nam quibusdam"], ["updated_at", "2014-09-29 15:53:52.717552"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_deleniti_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'eius_deleniti_quia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-29 15:53:52.722152"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_deleniti_quia"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eius_deleniti_quia"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-29 15:53:52.727544"], ["version", nil]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_quam_neque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aliquam_quam_neque') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur non cupiditate nam mollitia qui. Nam aut in ipsa sit est. Sint labore non laborum.\nError architecto ea illum officia itaque aliquam. Illum occaecati ex perspiciatis. Doloremque et et eius. Aut enim omnis. Vel temporibus et dolor quia.\nCumque nisi minima eius. Molestias sit sequi sed unde consequuntur et. Iure provident quos aspernatur nostrum non."], ["created_at", "2014-09-29 15:53:52.733411"], ["name", "aliquam_quam_neque"], ["title", "Possimus nemo ut"], ["updated_at", "2014-09-29 15:53:52.733411"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'aliquam_quam_neque' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur non cupiditate nam mollitia qui. Nam aut in ipsa sit est. Sint labore non laborum.\nError architecto ea illum officia itaque aliquam. Illum occaecati ex perspiciatis. Doloremque et et eius. Aut enim omnis. Vel temporibus et dolor quia.\nCumque nisi minima eius. Molestias sit sequi sed unde consequuntur et. Iure provident quos aspernatur nostrum non."], ["created_at", "2014-09-29 15:53:52.736556"], ["name", "aliquam_quam_neque"], ["title", "Possimus nemo ut"], ["updated_at", "2014-09-29 15:53:52.736556"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquam_quam_neque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 46 AND "fine_print_contracts"."name" = 'aliquam_quam_neque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 46 [["updated_at", "2014-09-29 15:53:52.740868"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ea sit autem excepturi. Quia eius assumenda et reiciendis ut optio enim. Aperiam id reprehenderit maiores magnam numquam. Commodi quis placeat ad consequatur laborum.\nEt maiores deleniti quidem incidunt quibusdam id enim. Velit suscipit officiis ullam quia explicabo. Perspiciatis enim mollitia.\nCommodi libero veritatis labore qui. Id accusantium est iure dolore. Reprehenderit non et voluptatem sit aut enim. Reprehenderit nihil iure voluptates maxime consequuntur rem non. Debitis deleniti et optio autem aut."], ["created_at", "2014-09-29 15:53:52.744890"], ["name", "aut_fugit_quibusdam"], ["title", "Quisquam rem quidem"], ["updated_at", "2014-09-29 15:53:52.744890"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_fugit_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'aut_fugit_quibusdam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-29 15:53:52.748233"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 15:53:52.753898"], ["updated_at", "2014-09-29 15:53:52.753898"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-29 15:53:52.754566"], ["updated_at", "2014-09-29 15:53:52.754566"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'aut_fugit_quibusdam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_fugit_quibusdam"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.712419"], ["updated_at", "2014-09-29 19:14:24.712419"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.719358"], ["updated_at", "2014-09-29 19:14:24.719358"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum facere harum autem expedita. Ut non similique aut nemo maiores. Tenetur tempore ut est harum. Excepturi culpa ad voluptatem repellat ducimus.\nQuo voluptatibus molestiae eius voluptas aliquam atque impedit. Aliquam rerum voluptas blanditiis. Quis sit perferendis. Numquam magnam dolores earum commodi qui.\nCum ut libero natus. Nisi repudiandae est et. Qui mollitia numquam dolore. Sit minus omnis voluptas similique eos quibusdam."], ["created_at", "2014-09-29 19:14:24.944290"], ["name", "consectetur_similique_exercitationem"], ["title", "Laudantium assumenda doloribus"], ["updated_at", "2014-09-29 19:14:24.944290"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.955891"], ["updated_at", "2014-09-29 19:14:24.955891"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.957686"], ["updated_at", "2014-09-29 19:14:24.957686"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugit dolorem voluptatum dolorum voluptas enim odit. Reprehenderit omnis dolor quis et eos. Non mollitia sit tempora itaque molestiae qui qui. Fuga sed qui accusantium et veritatis rerum ut.\nIncidunt voluptatem sed vel commodi aut delectus. Neque eligendi aut quae quis provident quasi quis. Dolorem autem ipsam.\nVoluptatem perferendis est exercitationem reprehenderit sit sit natus. Doloremque voluptatibus qui aut facilis molestiae sit. Corporis accusantium nemo iusto ut. Quasi totam occaecati rerum veritatis."], ["created_at", "2014-09-29 19:14:24.960011"], ["name", "natus_temporibus_soluta"], ["title", "Voluptatem totam quo"], ["updated_at", "2014-09-29 19:14:24.960011"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 2 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 19:14:24.964057"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/2 Completed 302 Found in 15ms (ActiveRecord: 1.5ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.980951"], ["updated_at", "2014-09-29 19:14:24.980951"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:24.983342"], ["updated_at", "2014-09-29 19:14:24.983342"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vero suscipit et. Natus qui voluptates ad facilis. Delectus vitae expedita quia minima cum quo.\nSaepe ut rem in nemo nostrum provident. Quam voluptates et modi. Repudiandae cupiditate quam magni commodi consequuntur maiores.\nEt et qui velit nisi impedit. Accusantium ut architecto impedit. Rerum amet reprehenderit. Aperiam laborum quod aut omnis dolor."], ["created_at", "2014-09-29 19:14:24.986219"], ["name", "aliquid_ut_a"], ["title", "Voluptas aut beatae"], ["updated_at", "2014-09-29 19:14:24.986219"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_ut_a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'aliquid_ut_a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-29 19:14:24.991379"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_ut_a"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-09-29 19:14:24.997421"], ["version", nil]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.002663"], ["updated_at", "2014-09-29 19:14:25.002663"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.004209"], ["updated_at", "2014-09-29 19:14:25.004209"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestiae molestiae occaecati quas ut. Adipisci et officiis esse quos. Est eaque illo nemo earum qui doloremque.\nMaiores enim incidunt tempore eos id voluptatibus expedita. Est reiciendis enim. Suscipit est placeat qui quos vel debitis fugiat. Impedit officiis laboriosam odit nobis nihil qui.\nTemporibus illum soluta quaerat dolor voluptatum. Et quod eaque voluptate. Repellendus et quasi corporis. Blanditiis distinctio rem minus et illum animi nisi. Autem eos molestiae."], ["created_at", "2014-09-29 19:14:25.006398"], ["name", "porro_fugiat_eligendi"], ["title", "Fugiat autem dolores"], ["updated_at", "2014-09-29 19:14:25.006398"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.009911"], ["updated_at", "2014-09-29 19:14:25.009911"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.011325"], ["updated_at", "2014-09-29 19:14:25.011325"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Accusantium consequatur earum tempora eaque et. Ut voluptatem est assumenda fugit. Quia totam aut nihil vitae voluptatem accusamus.\nLaboriosam quod repellendus totam unde adipisci. Assumenda delectus quia temporibus qui. Veniam quo aut.\nEt quisquam consequatur assumenda. Nulla accusamus dolorem nihil tempore eaque rerum corporis. At ipsum praesentium sed non. Dolorem dignissimos consequatur quibusdam quia."], ["created_at", "2014-09-29 19:14:25.013329"], ["name", "corporis_natus_sit"], ["title", "Nam dolore velit"], ["updated_at", "2014-09-29 19:14:25.013329"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.023116"], ["updated_at", "2014-09-29 19:14:25.023116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.024687"], ["updated_at", "2014-09-29 19:14:25.024687"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Corporis sunt soluta officia ab. Officia porro autem pariatur. Soluta cum ipsa quibusdam voluptatibus qui. Voluptas recusandae nostrum et.\nOptio minus a. Blanditiis amet quasi in a. Aut dolorum eum ut accusamus ducimus itaque dolorem.\nNesciunt sint quis in harum voluptas. Laboriosam optio quod dolorem. Sit consequatur porro delectus totam sed dolorum odio."], ["created_at", "2014-09-29 19:14:25.026890"], ["name", "omnis_nisi_est"], ["title", "Ea adipisci voluptate"], ["updated_at", "2014-09-29 19:14:25.026890"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 19:14:25.029993"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 19:14:25.029993"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/7 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.033212"], ["updated_at", "2014-09-29 19:14:25.033212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.034583"], ["updated_at", "2014-09-29 19:14:25.034583"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ullam enim incidunt rem provident illum aut. Est nihil quaerat dolorum labore ut odio. Doloremque vel excepturi optio non at officia neque.\nLibero saepe repudiandae. Rerum facere ut. Modi reiciendis facere non ex dolorem.\nIncidunt expedita iusto quae nemo rerum et. Rerum et ea. Accusamus nostrum nihil."], ["created_at", "2014-09-29 19:14:25.036901"], ["name", "similique_nemo_ut"], ["title", "Debitis voluptate quasi"], ["updated_at", "2014-09-29 19:14:25.036901"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.041743"], ["updated_at", "2014-09-29 19:14:25.041743"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.043228"], ["updated_at", "2014-09-29 19:14:25.043228"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas veritatis occaecati excepturi quo sit nesciunt fugit. Id perferendis magni laborum officiis iste aut. Officia nihil magni aut totam dolorem. Molestiae distinctio qui quis libero beatae et vel. Sed doloribus est qui consequatur eveniet aut.\nConsequatur deleniti error quo aut consectetur eaque voluptatibus. Repellat sit id. Harum debitis in et vero eveniet reiciendis.\nOmnis nihil corrupti. Officiis quas voluptas aut. Officia consequatur et est magni quas."], ["created_at", "2014-09-29 19:14:25.045588"], ["name", "facere_explicabo_soluta"], ["title", "Quidem voluptatibus impedit"], ["updated_at", "2014-09-29 19:14:25.045588"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facere_explicabo_soluta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'facere_explicabo_soluta') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-29 19:14:25.050557"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.054907"], ["updated_at", "2014-09-29 19:14:25.054907"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.056302"], ["updated_at", "2014-09-29 19:14:25.056302"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nemo a sit ut et. Dolorem aut corporis et aut ut optio ullam. Nihil aliquid soluta aut laboriosam. Asperiores eos autem.\nAccusantium placeat provident sunt quo. A incidunt sed repellendus totam eos aut et. Possimus quia eum adipisci est facere sed neque. Repudiandae dolorem culpa quia fugit.\nQuaerat quos eligendi. Nostrum totam temporibus aut. Consequatur aliquid iusto suscipit quo possimus. Rerum eum magni hic est."], ["created_at", "2014-09-29 19:14:25.058723"], ["name", "voluptates_minima_amet"], ["title", "Voluptas et adipisci"], ["updated_at", "2014-09-29 19:14:25.058723"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptates_minima_amet"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'voluptates_minima_amet') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-09-29 19:14:25.062797"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'voluptates_minima_amet' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.073250"], ["updated_at", "2014-09-29 19:14:25.073250"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.074825"], ["updated_at", "2014-09-29 19:14:25.074825"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugiat natus reiciendis et. Quibusdam totam eum rerum doloribus ut in. Harum velit assumenda minus molestiae.\nNobis voluptatum temporibus aut quia qui dolores et. Eos explicabo sed sed natus reprehenderit. Sit dolor est inventore dignissimos minima ut odio. Natus doloribus ipsam. Debitis excepturi et.\nSapiente quo sit et iste quam ipsam. Delectus voluptatibus odio asperiores in aut. Quis a eum quibusdam vel. Consequatur velit ipsa voluptatem veritatis eum."], ["created_at", "2014-09-29 19:14:25.077299"], ["name", "inventore_nam_maiores"], ["title", "Asperiores esse dolores"], ["updated_at", "2014-09-29 19:14:25.077299"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.081402"], ["updated_at", "2014-09-29 19:14:25.081402"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.083285"], ["updated_at", "2014-09-29 19:14:25.083285"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ea ipsa iure quas vero aliquam cupiditate. Eum aperiam accusantium consequatur quis sunt dolore ab. Voluptatem qui laborum recusandae officiis nesciunt dolorum.\nVelit iusto eaque quo dolores sit molestiae quia. Quia exercitationem quibusdam sed. Quidem velit a.\nQuasi et numquam in. Sed corrupti rem optio dolor omnis quidem modi. Et consequatur rerum. Aut voluptate repellat aperiam est rerum odit earum. Sed est non est quis."], ["created_at", "2014-09-29 19:14:25.085868"], ["name", "pariatur_sed_asperiores"], ["title", "Deserunt vitae aut"], ["updated_at", "2014-09-29 19:14:25.085868"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.091029"], ["updated_at", "2014-09-29 19:14:25.091029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.092585"], ["updated_at", "2014-09-29 19:14:25.092585"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Repudiandae iure corporis laborum veritatis. Nemo libero occaecati facere non ut. Voluptatem sunt voluptatibus at possimus omnis enim aut. Dolore harum voluptatem sit eligendi deleniti non.\nVoluptas vero totam. Minus nihil deleniti. Incidunt iure aut et blanditiis et ut. Consequuntur dignissimos facilis veritatis perspiciatis aperiam.\nEa laboriosam ea perspiciatis et aut iusto. Ut asperiores et. Nihil perspiciatis quos autem."], ["created_at", "2014-09-29 19:14:25.094964"], ["name", "cum_nihil_harum"], ["title", "Eum aut facilis"], ["updated_at", "2014-09-29 19:14:25.094964"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.100589"], ["updated_at", "2014-09-29 19:14:25.100589"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.102350"], ["updated_at", "2014-09-29 19:14:25.102350"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Hic aut cum voluptatem sint quasi iusto eius. Nihil quo laudantium. Reiciendis accusamus est non vero aperiam odio. Id quo reiciendis saepe esse. Aliquam quia ab eius sit repudiandae eaque.\nRem voluptates dolores architecto enim vero rerum. Aspernatur quia accusantium optio. Enim officia pariatur accusantium cum aut cumque. Illo error non quo corrupti eligendi et.\nUnde sit asperiores hic laboriosam nam molestiae autem. Expedita modi non minima aut necessitatibus fuga vel. Aspernatur recusandae ut qui soluta. Et amet doloribus magnam nisi."], ["created_at", "2014-09-29 19:14:25.104949"], ["name", "soluta_aperiam_omnis"], ["title", "Maiores animi rerum"], ["updated_at", "2014-09-29 19:14:25.104949"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.111036"], ["updated_at", "2014-09-29 19:14:25.111036"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.112545"], ["updated_at", "2014-09-29 19:14:25.112545"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Deserunt dolorum omnis dolores. Aut fuga nulla dignissimos quidem architecto totam. Ut asperiores quia facilis accusamus et. Aut beatae dolor eum.\nInventore incidunt in odio atque nemo labore. Consequatur inventore facilis laudantium in est sunt. Quis expedita libero minus perferendis.\nVel dolorum id tempora sint. Sed praesentium sint nam. Quisquam quasi ad minima et possimus. Enim fugiat labore accusamus expedita eaque at animi. Repellat laudantium iure consequatur ratione."], ["created_at", "2014-09-29 19:14:25.114697"], ["name", "qui_qui_laudantium"], ["title", "Ut quaerat est"], ["updated_at", "2014-09-29 19:14:25.114697"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (3, 2, 1, 13, 9, 11, 6, 12, 4, 15, 8, 14, 7, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.125445"], ["updated_at", "2014-09-29 19:14:25.125445"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.127174"], ["updated_at", "2014-09-29 19:14:25.127174"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquid incidunt qui ratione distinctio quis omnis. Illo expedita exercitationem. Et consequatur dignissimos odit.\nFugit eos illum. Repellat id animi adipisci facilis veniam aut. Fugit omnis rerum doloribus sunt quod ex. Labore cupiditate quae consequatur minima. Porro quis inventore.\nVeniam eaque nulla. Quia qui a mollitia rerum non praesentium quis. Vel accusantium officia sint tempora dolorum eum ex."], ["created_at", "2014-09-29 19:14:25.129432"], ["name", "aliquid_esse_quas"], ["title", "Sit a et"], ["updated_at", "2014-09-29 19:14:25.129432"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_esse_quas"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'aliquid_esse_quas') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-09-29 19:14:25.132743"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.137660"], ["updated_at", "2014-09-29 19:14:25.137660"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.139128"], ["updated_at", "2014-09-29 19:14:25.139128"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit distinctio nihil expedita omnis odit quaerat id. Illo eveniet ut. Aliquid officiis aspernatur autem quidem impedit quia incidunt.\nDolores soluta quia sapiente ipsa eius. Nostrum vero recusandae modi nobis ipsum dolores. Suscipit eum quibusdam similique accusamus impedit voluptates distinctio. Dolor voluptatem libero fugit voluptatem tempore doloribus voluptate.\nBlanditiis dolor quia enim in sunt dolores qui. Blanditiis fuga alias iste. Aliquam nesciunt dolorum voluptatem. Labore ratione cupiditate ipsum enim."], ["created_at", "2014-09-29 19:14:25.141779"], ["name", "laboriosam_et_repellat"], ["title", "Id placeat neque"], ["updated_at", "2014-09-29 19:14:25.141779"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.146591"], ["updated_at", "2014-09-29 19:14:25.146591"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.148089"], ["updated_at", "2014-09-29 19:14:25.148089"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis sit nihil ea. Incidunt quasi consequatur. Sint ipsum nam placeat nihil.\nDeserunt qui sit veniam aliquam. Quo dolores et sed provident quas. Hic et vel ut nesciunt sed voluptatibus expedita. Id quam similique omnis dolor.\nDoloribus qui laudantium quibusdam. Laborum provident omnis nesciunt nihil vitae cupiditate. Est repellendus reiciendis non ipsum dolor nam."], ["created_at", "2014-09-29 19:14:25.150289"], ["name", "nesciunt_quia_minima"], ["title", "Non asperiores fugiat"], ["updated_at", "2014-09-29 19:14:25.150289"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nesciunt_quia_minima"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'nesciunt_quia_minima') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-29 19:14:25.153392"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 18]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.159230"], ["updated_at", "2014-09-29 19:14:25.159230"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.161299"], ["updated_at", "2014-09-29 19:14:25.161299"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et voluptas accusantium assumenda. Rerum repellendus maxime expedita quasi modi deserunt. Consectetur sed nesciunt maiores nostrum culpa. Ad sapiente officia odio dolor ex. Quae non hic odit laudantium.\nEt necessitatibus ipsum ex ipsa delectus culpa odit. Excepturi voluptas accusamus architecto odio. Eveniet incidunt et. Aliquam tempore et amet quas autem. Soluta repellendus beatae qui et necessitatibus quis non.\nSed est dolore modi facilis et corrupti. Et fugit ad eaque reiciendis iure facere architecto. Facere enim maxime reiciendis. Quam harum ut cumque."], ["created_at", "2014-09-29 19:14:25.163621"], ["name", "rerum_atque_sed"], ["title", "Et sint quia"], ["updated_at", "2014-09-29 19:14:25.163621"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Odit hic sed ut repudiandae unde recusandae. Aut expedita qui aut magni. Laudantium et quia. Cupiditate natus tempora aliquam sunt perferendis.\nRerum sit asperiores nihil. Sapiente architecto harum iusto qui. In porro occaecati. Veritatis et ut.\nSit aut perferendis. Provident autem nihil quas perspiciatis. Adipisci deleniti ipsa sit sed hic. Dolor alias rem velit repudiandae vero."], ["created_at", "2014-09-29 19:14:25.170353"], ["name", "alpha"], ["title", "Magnam dolores neque"], ["updated_at", "2014-09-29 19:14:25.170353"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sequi impedit debitis doloremque sint. Aperiam ut quo impedit minima. Nostrum repellat praesentium aut. In iste repudiandae temporibus deleniti debitis esse.\nNumquam architecto expedita nobis velit at sequi qui. Aut sed quo ut nobis fugit aliquam est. Aut et ut. Sint non illum vitae saepe.\nDolor non assumenda veniam exercitationem. Et nihil explicabo expedita. Tenetur dolores sequi natus sapiente ea. Quae adipisci enim exercitationem. Sit iste vero dolores harum aliquid."], ["created_at", "2014-09-29 19:14:25.174277"], ["name", "beta"], ["title", "Eum quia reprehenderit"], ["updated_at", "2014-09-29 19:14:25.174277"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.175870"], ["updated_at", "2014-09-29 19:14:25.175870"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-09-29 19:14:25.181445"], ["updated_at", "2014-09-29 19:14:25.181445"], ["user_id", 37], ["user_type", "DummyUser"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-09-29 19:14:25.187866"], ["updated_at", "2014-09-29 19:14:25.187866"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:14:25.191288"], ["name", "alpha"], ["title", "Magnam dolores neque"], ["updated_at", "2014-09-29 19:14:25.191288"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 19:14:25.195184"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (16, 22, 21, 9, 18, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Laborum quia eligendi minima impedit magni. Ut odio sed eos qui dolorem omnis quia. Consequatur qui tempore tempora est ea ullam. Minus fugiat unde ea id.\nVoluptas maiores ut vero tenetur quos facere eius. Culpa dolore voluptas id. Deserunt voluptatem laborum modi. Eius corrupti placeat accusantium. Consectetur eum vero eos dignissimos.\nDistinctio ab eos corporis. Nisi architecto deserunt at repellat est illum. Reiciendis ad at iste quia. Possimus laborum perspiciatis eos atque eum neque consectetur. Voluptatem voluptate occaecati libero amet."], ["created_at", "2014-09-29 19:14:25.204866"], ["name", "alpha"], ["title", "Ipsam saepe vel"], ["updated_at", "2014-09-29 19:14:25.204866"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptates autem quae sit a. Dolor eum et dolores quis iusto. Voluptatem error quas aperiam hic. Sequi dolor blanditiis ullam quis a ducimus voluptatum. Et ea reprehenderit.\nOmnis aut sit esse corrupti consequatur iusto tenetur. Eius omnis sed nostrum consequatur porro voluptas aliquid. Pariatur id commodi architecto et excepturi quidem qui. Quia doloremque modi.\nQui dolor non magni et. Nemo laborum enim. Nemo dolor fugiat illum voluptas doloribus voluptas quisquam."], ["created_at", "2014-09-29 19:14:25.209879"], ["name", "beta"], ["title", "Totam iste veniam"], ["updated_at", "2014-09-29 19:14:25.209879"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.211685"], ["updated_at", "2014-09-29 19:14:25.211685"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-09-29 19:14:25.214424"], ["updated_at", "2014-09-29 19:14:25.214424"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-09-29 19:14:25.216900"], ["updated_at", "2014-09-29 19:14:25.216900"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:14:25.219294"], ["name", "alpha"], ["title", "Ipsam saepe vel"], ["updated_at", "2014-09-29 19:14:25.219294"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-29 19:14:25.222437"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut minus molestiae voluptatem officia quia corrupti. Molestias quod odio consequatur ad. Dolorum magni atque nemo. Dolorem pariatur incidunt repellat sed vitae.\nMolestias nam ad illo enim voluptatem voluptas. Enim libero qui. Cupiditate enim omnis. Ratione aspernatur sequi consequuntur vero tempora.\nRecusandae dolorem a quasi. Vero est aliquid ullam. Quas dolore voluptate amet ad."], ["created_at", "2014-09-29 19:14:25.230209"], ["name", "alpha"], ["title", "Similique voluptas rem"], ["updated_at", "2014-09-29 19:14:25.230209"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Debitis aut nam vitae et molestiae voluptate et. Nostrum deserunt enim at autem possimus ut. Quas sapiente quae inventore suscipit. Qui nam ea.\nEt atque nihil quia culpa qui ut. Accusantium animi numquam dignissimos veniam similique. Et impedit perspiciatis voluptatum asperiores fugiat quas aut. Tenetur eum fuga facere rerum deleniti.\nMagnam occaecati qui assumenda suscipit tenetur. Ut nostrum eos labore omnis. Et vel dolores voluptatem cumque sed saepe explicabo. Aut sapiente veritatis consequatur accusantium. Sint adipisci consectetur consequuntur perferendis rerum et quia."], ["created_at", "2014-09-29 19:14:25.234224"], ["name", "beta"], ["title", "Consequatur fuga tempore"], ["updated_at", "2014-09-29 19:14:25.234224"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.235902"], ["updated_at", "2014-09-29 19:14:25.235902"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-09-29 19:14:25.238837"], ["updated_at", "2014-09-29 19:14:25.238837"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-09-29 19:14:25.242047"], ["updated_at", "2014-09-29 19:14:25.242047"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:14:25.244582"], ["name", "alpha"], ["title", "Similique voluptas rem"], ["updated_at", "2014-09-29 19:14:25.244582"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-29 19:14:25.247809"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-29 19:14:25.263096"], ["updated_at", "2014-09-29 19:14:25.263096"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui perspiciatis consequatur dolorum fuga sed voluptatem dolore. Iste qui modi. Illo qui sed culpa eius. Voluptatem voluptatum doloribus. Sit aspernatur totam.\nUt illo cupiditate facere qui ut molestiae. Enim voluptas fugiat. Nihil hic aliquid.\nSed qui ut consectetur enim eos itaque et. Quo rerum sequi illo nihil qui voluptatem nobis. Sed dicta quia."], ["created_at", "2014-09-29 19:14:25.277825"], ["name", "alpha"], ["title", "Architecto quasi aut"], ["updated_at", "2014-09-29 19:14:25.277825"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Error molestias nihil animi est dolore. Nisi reprehenderit possimus delectus. Incidunt ipsum quod.\nSit maiores eum dolor voluptate iure id officiis. Vitae sint labore libero neque culpa recusandae praesentium. Ut suscipit tenetur sequi et veniam. Qui impedit animi reprehenderit.\nDolor et atque rerum. Aperiam possimus expedita. Pariatur et consequuntur sint itaque. Quis eum similique fugiat impedit. Laboriosam hic voluptates sequi."], ["created_at", "2014-09-29 19:14:25.281794"], ["name", "beta"], ["title", "Natus consectetur aliquid"], ["updated_at", "2014-09-29 19:14:25.281794"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.283377"], ["updated_at", "2014-09-29 19:14:25.283377"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-29 19:14:25.285966"], ["updated_at", "2014-09-29 19:14:25.285966"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-09-29 19:14:25.288520"], ["updated_at", "2014-09-29 19:14:25.288520"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:14:25.290962"], ["name", "alpha"], ["title", "Architecto quasi aut"], ["updated_at", "2014-09-29 19:14:25.290962"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-09-29 19:14:25.294094"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.298215"], ["updated_at", "2014-09-29 19:14:25.298215"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.299730"], ["updated_at", "2014-09-29 19:14:25.299730"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.304000"], ["updated_at", "2014-09-29 19:14:25.304000"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.305508"], ["updated_at", "2014-09-29 19:14:25.305508"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquam commodi dolores expedita inventore vel. Sit labore odio pariatur. Praesentium aperiam inventore possimus et odio provident.\nVoluptatibus velit eum accusamus aliquam ut. Unde sit odio ipsam inventore quam et et. Nostrum repellat magnam magni dolores autem est.\nSit minima odio sint saepe debitis non. Aut illo voluptatum est beatae molestiae. Qui neque est molestiae soluta. Natus recusandae non sunt ea reiciendis. Qui officiis ad nobis distinctio veniam voluptatem sed."], ["created_at", "2014-09-29 19:14:25.309787"], ["name", "est_aperiam_explicabo"], ["title", "Placeat beatae occaecati"], ["updated_at", "2014-09-29 19:14:25.309787"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_aperiam_explicabo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'est_aperiam_explicabo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-29 19:14:25.312971"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.318509"], ["updated_at", "2014-09-29 19:14:25.318509"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-29 19:14:25.319168"], ["updated_at", "2014-09-29 19:14:25.319168"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'est_aperiam_explicabo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Magnam quos accusamus et incidunt debitis. Veritatis corporis odit et possimus dolore velit aut. Repudiandae est officiis voluptates earum eum commodi.\nDoloremque sint et vel dolorum iste voluptates eveniet. Delectus esse culpa id repellendus. Id dolor et voluptate. Et voluptas id molestias quia voluptatem reprehenderit et.\nNisi voluptatem eos dolorem quis ut. Fuga eaque rerum veniam. Neque dolores libero omnis. Voluptas optio alias dolores et."], ["created_at", "2014-09-29 19:14:25.325034"], ["name", "qui_ut_quod"], ["title", "Aliquam quis cumque"], ["updated_at", "2014-09-29 19:14:25.325034"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_atque_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'in_atque_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Veritatis et minima voluptatem. Inventore omnis sunt exercitationem ducimus odit. Deserunt est asperiores ratione.\nAnimi et voluptas ut velit sit. Sapiente voluptatem explicabo dolor. Aut cum iste dignissimos at. Quae voluptates autem ut. Aliquam ex nesciunt a.\nSit molestias natus eos rerum. Qui ratione facilis magnam harum facere et sed. Consequatur perferendis dolorum odio aut vitae voluptas modi. Aut aperiam fugiat modi et."], ["created_at", "2014-09-29 19:14:25.330371"], ["name", "in_atque_qui"], ["title", "Quam quia perspiciatis"], ["updated_at", "2014-09-29 19:14:25.330371"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'in_atque_qui' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Veritatis et minima voluptatem. Inventore omnis sunt exercitationem ducimus odit. Deserunt est asperiores ratione.\nAnimi et voluptas ut velit sit. Sapiente voluptatem explicabo dolor. Aut cum iste dignissimos at. Quae voluptates autem ut. Aliquam ex nesciunt a.\nSit molestias natus eos rerum. Qui ratione facilis magnam harum facere et sed. Consequatur perferendis dolorum odio aut vitae voluptas modi. Aut aperiam fugiat modi et."], ["created_at", "2014-09-29 19:14:25.332707"], ["name", "joe"], ["title", "Quam quia perspiciatis"], ["updated_at", "2014-09-29 19:14:25.332707"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-09-29 19:14:25.335590"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ex_voluptatem_iste"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ex_voluptatem_iste') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est eius quibusdam corporis nisi neque minus quisquam. Porro rem odio quia et quis. Et expedita est molestias. Minus corporis molestiae.\nVoluptatum sint fugiat eaque porro autem eum fuga. Totam numquam rerum. Beatae repellendus neque ipsum quas.\nEt doloribus quidem. Enim aut et blanditiis. Facilis enim sequi consequuntur qui sit voluptas necessitatibus."], ["created_at", "2014-09-29 19:14:25.340894"], ["name", "ex_voluptatem_iste"], ["title", "Unde reprehenderit dolore"], ["updated_at", "2014-09-29 19:14:25.340894"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ex_voluptatem_iste' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est eius quibusdam corporis nisi neque minus quisquam. Porro rem odio quia et quis. Et expedita est molestias. Minus corporis molestiae.\nVoluptatum sint fugiat eaque porro autem eum fuga. Totam numquam rerum. Beatae repellendus neque ipsum quas.\nEt doloribus quidem. Enim aut et blanditiis. Facilis enim sequi consequuntur qui sit voluptas necessitatibus."], ["created_at", "2014-09-29 19:14:25.343220"], ["name", "ex_voluptatem_iste"], ["title", "Unde reprehenderit dolore"], ["updated_at", "2014-09-29 19:14:25.343220"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ex_voluptatem_iste"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'ex_voluptatem_iste') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-09-29 19:14:25.346182"], ["version", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.352503"], ["updated_at", "2014-09-29 19:14:25.352503"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.354522"], ["updated_at", "2014-09-29 19:14:25.354522"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_et_sed"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_et_sed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint id cumque consequuntur deserunt animi ut. Quis corrupti similique dolorem sit. Ut commodi qui aut accusamus. Et repellat voluptas occaecati. Aut accusamus eaque dicta commodi modi.\nAut corrupti eum necessitatibus saepe numquam reprehenderit. Nam eaque assumenda est nihil itaque et eveniet. Distinctio ad perspiciatis debitis ullam iusto iste porro. Explicabo recusandae aut modi.\nSit sequi fuga consequatur dolorem. Occaecati culpa possimus et deleniti. Porro voluptatibus eos perspiciatis hic qui minima corrupti."], ["created_at", "2014-09-29 19:14:25.360079"], ["name", "ut_et_sed"], ["title", "Molestias animi non"], ["updated_at", "2014-09-29 19:14:25.360079"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.362913"], ["updated_at", "2014-09-29 19:14:25.362913"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-29 19:14:25.363495"], ["updated_at", "2014-09-29 19:14:25.363495"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"11"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 11]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]] Redirected to http://test.host/fine_print/contracts/38/signatures?r=S2hTaGZNSE82d1FjNHVrSVlQSXVVdz09LS1pdkpiSW5ZcExocnZjODBjRU9vL3FnPT0%3D--eef4dca2684d0c2896d271988f8bb3f075f1bbc3 Completed 302 Found in 196ms (ActiveRecord: 1.6ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 11 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.565846"], ["updated_at", "2014-09-29 19:14:25.565846"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.567383"], ["updated_at", "2014-09-29 19:14:25.567383"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "in_ea_corrupti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'in_ea_corrupti') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et dolor facilis dolor ut sit. Aut voluptas sit. Eos id eius.\nSit unde cum. Quos beatae magni et. Error voluptatum ea iusto.\nQuia ex ducimus ut rem incidunt omnis. Illum totam architecto voluptatum vel deserunt iure dolor. Nam ducimus ab deserunt atque quod quis et."], ["created_at", "2014-09-29 19:14:25.571671"], ["name", "in_ea_corrupti"], ["title", "Quis quis repellat"], ["updated_at", "2014-09-29 19:14:25.571671"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.574275"], ["updated_at", "2014-09-29 19:14:25.574275"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-29 19:14:25.574842"], ["updated_at", "2014-09-29 19:14:25.574842"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"39"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.578424"], ["updated_at", "2014-09-29 19:14:25.578424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.579915"], ["updated_at", "2014-09-29 19:14:25.579915"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "assumenda_at_nemo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'assumenda_at_nemo') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem exercitationem modi sed quaerat eligendi. Ratione ut dolorem id expedita. Omnis enim omnis et. Vel sunt quia ut molestias sapiente.\nEx hic in reprehenderit et et cumque iusto. Sed at et odio itaque voluptatibus. Consequatur animi atque. Consequuntur odio alias.\nQuidem eum sed at est et. Alias sapiente voluptatem. Praesentium magni quia. Voluptatem possimus recusandae aspernatur excepturi dolorem corporis at."], ["created_at", "2014-09-29 19:14:25.591364"], ["name", "assumenda_at_nemo"], ["title", "Ipsam et esse"], ["updated_at", "2014-09-29 19:14:25.591364"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.594194"], ["updated_at", "2014-09-29 19:14:25.594194"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-29 19:14:25.594801"], ["updated_at", "2014-09-29 19:14:25.594801"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.599212"], ["updated_at", "2014-09-29 19:14:25.599212"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.601041"], ["updated_at", "2014-09-29 19:14:25.601041"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_possimus_similique"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_possimus_similique') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Qui et id totam. Et quasi accusamus corporis. Adipisci non voluptatem sit sed. Nihil consectetur dolor repellendus qui quod incidunt excepturi. Ducimus sed beatae minus vel.\nNihil provident rerum quis consequatur eum ullam. Ut corporis ducimus iste optio est et. Labore expedita voluptatibus nemo magni velit. Explicabo iusto quidem itaque.\nNobis illo et quia voluptatibus rerum. Mollitia ipsa aut eum voluptates voluptas. Similique et ea et atque. Non soluta voluptatum suscipit dicta error nihil voluptatem. Sit quas exercitationem."], ["created_at", "2014-09-29 19:14:25.608875"], ["name", "qui_possimus_similique"], ["title", "Autem dolores optio"], ["updated_at", "2014-09-29 19:14:25.608875"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.613084"], ["updated_at", "2014-09-29 19:14:25.613084"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-29 19:14:25.613977"], ["updated_at", "2014-09-29 19:14:25.613977"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.622144"], ["updated_at", "2014-09-29 19:14:25.622144"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.623809"], ["updated_at", "2014-09-29 19:14:25.623809"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_necessitatibus_debitis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_necessitatibus_debitis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum et sed repellat beatae. Laboriosam architecto distinctio sint animi. Commodi est tempore rerum. Repellendus omnis est et placeat eum facilis. Sit corrupti et debitis illo et fuga.\nEveniet et impedit quis. Omnis commodi dolor fugiat sapiente nesciunt. Velit voluptate ex.\nDebitis culpa veniam pariatur natus error. Qui dolor dolore officia maxime sint. Iusto itaque accusantium sequi."], ["created_at", "2014-09-29 19:14:25.628885"], ["name", "et_necessitatibus_debitis"], ["title", "Aut amet quo"], ["updated_at", "2014-09-29 19:14:25.628885"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.631567"], ["updated_at", "2014-09-29 19:14:25.631567"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-29 19:14:25.632171"], ["updated_at", "2014-09-29 19:14:25.632171"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.641514"], ["updated_at", "2014-09-29 19:14:25.641514"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.643262"], ["updated_at", "2014-09-29 19:14:25.643262"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repudiandae_commodi_velit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'repudiandae_commodi_velit') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non libero pariatur iste ut minus non sit. Est corrupti distinctio nulla error. Voluptates aut rerum eum ipsam. Explicabo labore in voluptate. Consequatur asperiores et pariatur.\nEa inventore quo quis maiores eos rerum. Cum culpa accusamus similique quam atque eaque. Veritatis est saepe laudantium sed. Odio est ut aspernatur quo qui at. Omnis ullam provident est rem.\nVoluptatum deleniti incidunt adipisci omnis aut. Non eligendi et ullam autem rem repellendus. Molestias quod magni ut et ea. Veniam dolores voluptas quibusdam dolorem reprehenderit. Dolor reiciendis dignissimos modi dolorum officiis est."], ["created_at", "2014-09-29 19:14:25.649212"], ["name", "repudiandae_commodi_velit"], ["title", "Est in aliquid"], ["updated_at", "2014-09-29 19:14:25.649212"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.652281"], ["updated_at", "2014-09-29 19:14:25.652281"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-29 19:14:25.652861"], ["updated_at", "2014-09-29 19:14:25.652861"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.658345"], ["updated_at", "2014-09-29 19:14:25.658345"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.659965"], ["updated_at", "2014-09-29 19:14:25.659965"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_veniam_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_veniam_atque') LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores et enim dolores laboriosam reprehenderit neque. Possimus consequatur dolorum unde deleniti. Aut voluptates culpa saepe facere sit vero. Perferendis sed officiis amet suscipit quo quia qui. Eum veritatis et sapiente mollitia voluptatem assumenda.\nDelectus dicta nam omnis. Nihil ut et. Eius perferendis dolorum aut minus quaerat error enim. Non eum asperiores sunt.\nOmnis saepe sed necessitatibus voluptatem beatae culpa. Eos magnam vel ducimus aut. Rem dolor maxime. Earum mollitia eveniet enim amet labore. Sint reprehenderit qui enim."], ["created_at", "2014-09-29 19:14:25.666186"], ["name", "et_veniam_atque"], ["title", "Et est aliquam"], ["updated_at", "2014-09-29 19:14:25.666186"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.669613"], ["updated_at", "2014-09-29 19:14:25.669613"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-29 19:14:25.670768"], ["updated_at", "2014-09-29 19:14:25.670768"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.675048"], ["updated_at", "2014-09-29 19:14:25.675048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.676574"], ["updated_at", "2014-09-29 19:14:25.676574"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_eum_maiores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_eum_maiores') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quae minima error soluta. Qui praesentium eveniet et dolorem. Saepe et dicta iste sit ut reprehenderit dignissimos. Iusto quia omnis sapiente autem sed voluptas. Magni et et aut aut voluptatem.\nDelectus neque laudantium velit reiciendis similique iure. Dolorum accusantium ut unde esse aut quis. Quo rerum eum culpa. Placeat alias non tempore a minus.\nUt officiis rerum est dolore neque. Dolorem autem sit omnis rerum aut sunt fugit. Ut ducimus suscipit saepe dolores error id. Molestiae quisquam quod. Placeat minima ut maxime eaque."], ["created_at", "2014-09-29 19:14:25.682704"], ["name", "qui_eum_maiores"], ["title", "Alias odio numquam"], ["updated_at", "2014-09-29 19:14:25.682704"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:14:25.686044"], ["updated_at", "2014-09-29 19:14:25.686044"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-29 19:14:25.686630"], ["updated_at", "2014-09-29 19:14:25.686630"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia aliquid exercitationem. Hic sint sint. Natus illum odit nam repellat. Accusantium dolorem quidem temporibus. Et blanditiis eos maiores rem explicabo voluptatum veritatis.\nEos voluptas nesciunt voluptate dolores omnis. Odit rem iure saepe architecto nisi quia. Facilis pariatur sequi. Ut odit natus delectus officia.\nRepellat in qui. Sed non odit. Nam et voluptatem repellendus cupiditate labore voluptates delectus. Magnam aspernatur nemo. Accusantium at itaque optio sed ut quas."], ["created_at", "2014-09-29 19:14:25.693424"], ["name", "fugit_a_nihil"], ["title", "Necessitatibus facere debitis"], ["updated_at", "2014-09-29 19:14:25.693424"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "officiis_ut_officia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'officiis_ut_officia') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Assumenda voluptas animi quia voluptatem. Cupiditate non nam itaque rerum aut eaque sed. Aspernatur nesciunt dolorem quas animi voluptas id.\nIpsa aut autem. Velit ut consequatur ut. Est nobis rerum rerum quae deserunt incidunt. Et voluptatem qui earum cupiditate voluptatem. Natus omnis velit aut numquam sit architecto.\nNemo eos ut ratione odio quia. Impedit iusto autem dolor quam nihil rerum sequi. Et et laboriosam facilis eligendi suscipit ipsam. Itaque laborum magni cumque odio nesciunt autem iure."], ["created_at", "2014-09-29 19:14:25.701441"], ["name", "officiis_ut_officia"], ["title", "Voluptatem et eum"], ["updated_at", "2014-09-29 19:14:25.701441"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rem esse voluptas commodi. Officia aut ea optio in possimus. Eos mollitia quasi aut atque. Rerum dolorum ipsam est aliquam quisquam aperiam.\nSint voluptatem voluptatum aliquid similique et. Aperiam est at quam. Quia dolor facere veritatis facilis reiciendis ex. Consequatur autem quia delectus est.\nIpsum rerum alias eveniet nostrum illo sed. Amet doloribus consectetur explicabo optio. Cupiditate soluta omnis voluptas repellendus et repudiandae. Pariatur fugit nisi unde blanditiis mollitia."], ["created_at", "2014-09-29 19:15:26.954130"], ["name", "aperiam_omnis_dolorem"], ["title", "Reprehenderit dolorem quis"], ["updated_at", "2014-09-29 19:15:26.954130"]]  (1.2ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aperiam_omnis_dolorem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'aperiam_omnis_dolorem') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-09-29 19:15:26.969673"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:26.982767"], ["updated_at", "2014-09-29 19:15:26.982767"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-29 19:15:26.983625"], ["updated_at", "2014-09-29 19:15:26.983625"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'aperiam_omnis_dolorem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aperiam_omnis_dolorem"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis voluptatibus ipsum. Beatae quod nihil sed suscipit exercitationem nisi. Rerum fugiat quam ut placeat perspiciatis. Numquam dignissimos in et ullam.\nTenetur labore voluptatem. Natus inventore est blanditiis corporis qui nulla commodi. Est dolorem qui qui accusantium atque. Minima voluptatum aut quas et accusamus. Cupiditate quis velit reprehenderit voluptatibus.\nTotam molestiae veniam et molestiae rerum sint est. Temporibus animi sit cum laudantium odit dignissimos aut. Et minima vitae temporibus eveniet est veniam nisi. Quibusdam quo sint rerum et quod."], ["created_at", "2014-09-29 19:15:26.996711"], ["name", "dolores_ut_iusto"], ["title", "Animi non debitis"], ["updated_at", "2014-09-29 19:15:26.996711"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_ut_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'dolores_ut_iusto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-29 19:15:27.001259"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_ut_iusto"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolores_ut_iusto"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-09-29 19:15:27.006183"], ["version", nil]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reiciendis_eligendi_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'reiciendis_eligendi_enim') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Exercitationem qui asperiores. Non provident pariatur. Quidem nisi tempora cumque vel doloribus minus perferendis. Unde reiciendis omnis consequatur et eum ea.\nOfficia sed facere. Pariatur porro explicabo necessitatibus totam hic. Eius eos mollitia maiores eum hic unde. Culpa reprehenderit voluptas et et incidunt itaque et. Iusto quasi ducimus dolorem id sit animi.\nOmnis est assumenda. Qui eum fugit sunt quia inventore. Sit dolorum non numquam repellendus enim eum. Voluptas incidunt eligendi placeat."], ["created_at", "2014-09-29 19:15:27.011607"], ["name", "reiciendis_eligendi_enim"], ["title", "Iusto distinctio dolorum"], ["updated_at", "2014-09-29 19:15:27.011607"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'reiciendis_eligendi_enim' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Exercitationem qui asperiores. Non provident pariatur. Quidem nisi tempora cumque vel doloribus minus perferendis. Unde reiciendis omnis consequatur et eum ea.\nOfficia sed facere. Pariatur porro explicabo necessitatibus totam hic. Eius eos mollitia maiores eum hic unde. Culpa reprehenderit voluptas et et incidunt itaque et. Iusto quasi ducimus dolorem id sit animi.\nOmnis est assumenda. Qui eum fugit sunt quia inventore. Sit dolorum non numquam repellendus enim eum. Voluptas incidunt eligendi placeat."], ["created_at", "2014-09-29 19:15:27.016133"], ["name", "joe"], ["title", "Iusto distinctio dolorum"], ["updated_at", "2014-09-29 19:15:27.016133"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-09-29 19:15:27.019539"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "veritatis_suscipit_maxime"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'veritatis_suscipit_maxime') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolor consequatur eius iure. Nesciunt sint facilis reprehenderit. Qui quidem quo neque et. A est ipsum omnis minima.\nRatione sunt nihil aut nihil vero. Vel ratione mollitia veniam doloribus blanditiis eaque nisi. Aperiam ea corrupti rerum. Eligendi corporis et et dolorem.\nIusto rem perspiciatis hic natus assumenda consequatur asperiores. Fugit non enim sit ducimus reiciendis est. Est quidem magnam soluta sed et. Et velit doloribus et reiciendis autem et."], ["created_at", "2014-09-29 19:15:27.024712"], ["name", "veritatis_suscipit_maxime"], ["title", "Odio dolore facilis"], ["updated_at", "2014-09-29 19:15:27.024712"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'veritatis_suscipit_maxime' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolor consequatur eius iure. Nesciunt sint facilis reprehenderit. Qui quidem quo neque et. A est ipsum omnis minima.\nRatione sunt nihil aut nihil vero. Vel ratione mollitia veniam doloribus blanditiis eaque nisi. Aperiam ea corrupti rerum. Eligendi corporis et et dolorem.\nIusto rem perspiciatis hic natus assumenda consequatur asperiores. Fugit non enim sit ducimus reiciendis est. Est quidem magnam soluta sed et. Et velit doloribus et reiciendis autem et."], ["created_at", "2014-09-29 19:15:27.027306"], ["name", "veritatis_suscipit_maxime"], ["title", "Odio dolore facilis"], ["updated_at", "2014-09-29 19:15:27.027306"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "veritatis_suscipit_maxime"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'veritatis_suscipit_maxime') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-09-29 19:15:27.030803"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique saepe sapiente. Autem optio quaerat. Et nihil voluptas quam aut quis reiciendis. Sint totam rerum et itaque voluptate quibusdam.\nQuos error voluptatem. Corporis rerum possimus optio voluptatem. Accusantium tempore et ab et.\nNatus magni consectetur aut. Eos quisquam voluptatem non praesentium. Minus voluptatem et. Vel id ipsa autem iste. Occaecati dicta tempora molestiae."], ["created_at", "2014-09-29 19:15:27.035686"], ["name", "tempore_adipisci_minus"], ["title", "Ut architecto ullam"], ["updated_at", "2014-09-29 19:15:27.035686"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequuntur_doloribus_temporibus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequuntur_doloribus_temporibus') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut id deleniti suscipit. Nostrum laborum quos cum consequatur. Quas velit sunt neque.\nIure sequi tempora tempore natus vero. Ut quas eius maiores dolor perspiciatis. Quasi ipsum et unde voluptatem. Perspiciatis similique dolorem repudiandae enim. Id sit quam laborum.\nIncidunt qui voluptatem nobis. Architecto ab distinctio corporis excepturi dolore. Odio dolorem deserunt veniam aut aut quae magnam. Unde expedita dignissimos praesentium sequi distinctio."], ["created_at", "2014-09-29 19:15:27.041979"], ["name", "consequuntur_doloribus_temporibus"], ["title", "Non illo eaque"], ["updated_at", "2014-09-29 19:15:27.041979"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.047267"], ["updated_at", "2014-09-29 19:15:27.047267"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.048767"], ["updated_at", "2014-09-29 19:15:27.048767"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nesciunt eius fugiat quasi eveniet et harum porro. Ad facere distinctio aut quis. Itaque alias ipsam. Aut sit velit ex tempore. Hic animi amet sed culpa facere.\nUt iste quod voluptatem et. Sed repellat illum. Rerum voluptatibus impedit. Quasi aliquam hic ut alias exercitationem mollitia et.\nIllum dolore nemo et accusantium. Saepe accusantium quis quia consequuntur debitis natus eos. Similique ratione eos aspernatur sit eius."], ["created_at", "2014-09-29 19:15:27.050995"], ["name", "id_velit_repellendus"], ["title", "Laborum provident placeat"], ["updated_at", "2014-09-29 19:15:27.050995"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_velit_repellendus"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'id_velit_repellendus') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-29 19:15:27.055499"], ["version", 1]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"9"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_velit_repellendus"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-09-29 19:15:27.064487"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.069229"], ["updated_at", "2014-09-29 19:15:27.069229"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.070886"], ["updated_at", "2014-09-29 19:15:27.070886"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quibusdam et omnis. Commodi nostrum ratione tempora animi. Accusamus quos modi esse ut rem. Nam iure et consequatur ex. Sit explicabo deleniti qui sapiente eum et velit.\nVel sit perferendis. Incidunt enim sit quae sed quaerat optio qui. Consequatur ut et et. Eveniet fuga velit voluptates. Odio facere eum ducimus.\nVoluptas accusamus repellat reiciendis. Voluptatum quo aliquid perspiciatis id quis qui beatae. Dolor rerum a et consectetur quia ut modi."], ["created_at", "2014-09-29 19:15:27.073121"], ["name", "labore_est_beatae"], ["title", "Distinctio nam tenetur"], ["updated_at", "2014-09-29 19:15:27.073121"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.081135"], ["updated_at", "2014-09-29 19:15:27.081135"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.083100"], ["updated_at", "2014-09-29 19:15:27.083100"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Pariatur rerum expedita eum. Officiis quaerat at non id. Nam pariatur fugit. Maiores et quod reprehenderit in asperiores. Vel est consequatur veniam impedit sed vel nesciunt.\nEsse sunt non eum exercitationem in assumenda. Quia aut optio maiores odio unde aliquam ullam. Dolorem consequatur omnis mollitia vel facere et.\nNon dolorem et corporis unde. Aut velit quo error facilis velit. Et iusto laudantium pariatur. Et repellendus maxime doloribus molestiae aut quas. Omnis autem possimus facilis velit dolores voluptatibus quo."], ["created_at", "2014-09-29 19:15:27.085996"], ["name", "corporis_aut_delectus"], ["title", "Dolor similique perspiciatis"], ["updated_at", "2014-09-29 19:15:27.085996"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.091334"], ["updated_at", "2014-09-29 19:15:27.091334"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.092672"], ["updated_at", "2014-09-29 19:15:27.092672"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias dignissimos similique nihil sint laudantium. Eum iusto nihil at soluta est. Vitae odit hic dolorem magnam. Ea natus cupiditate corporis harum voluptatem enim vel. Et vitae omnis culpa incidunt expedita consectetur.\nQui sit accusamus. Excepturi dolor cum et est. Est quia est dicta eum illo.\nCommodi soluta provident assumenda. Repudiandae consequuntur cum omnis cupiditate aut et et. Voluptas libero in inventore odit est."], ["created_at", "2014-09-29 19:15:27.094782"], ["name", "dolores_perferendis_fuga"], ["title", "Voluptatem reprehenderit ipsam"], ["updated_at", "2014-09-29 19:15:27.094782"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 8, 11, 12, 2, 9, 4, 10, 3, 7, 6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.104444"], ["updated_at", "2014-09-29 19:15:27.104444"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.106267"], ["updated_at", "2014-09-29 19:15:27.106267"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quis dolor provident molestiae nemo. Culpa deleniti reiciendis cumque odit. Quo doloribus iusto velit ipsum. Nihil vel molestias.\nTemporibus molestias debitis laborum quis velit. Fugiat ut laudantium. Occaecati dolorem dignissimos sed.\nCulpa qui dolore non eaque doloribus mollitia. Autem praesentium accusamus perferendis cum qui. Laboriosam natus doloribus nostrum possimus enim ipsa eligendi. Alias eaque est praesentium eveniet et et voluptatem. Repellendus sunt tempore est dignissimos adipisci ullam."], ["created_at", "2014-09-29 19:15:27.108695"], ["name", "fugiat_sed_qui"], ["title", "Qui consequatur aliquid"], ["updated_at", "2014-09-29 19:15:27.108695"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 19:15:27.111862"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 19:15:27.111862"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/14 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.115800"], ["updated_at", "2014-09-29 19:15:27.115800"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.117833"], ["updated_at", "2014-09-29 19:15:27.117833"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorum magnam unde est possimus quas. Voluptates esse qui laboriosam. Mollitia quibusdam ratione recusandae. Provident consectetur enim aut.\nVoluptatem modi dignissimos ea ut dolor. Et facere libero ea praesentium cupiditate doloribus. Rerum qui et quo itaque. Saepe aut similique illo.\nSint dolor et. Est et sed. Corrupti ipsam et dolor aut. Magni molestiae animi aliquid qui."], ["created_at", "2014-09-29 19:15:27.120118"], ["name", "quidem_aut_error"], ["title", "Dolorem pariatur ut"], ["updated_at", "2014-09-29 19:15:27.120118"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 15 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 19:15:27.123832"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/15 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.128821"], ["updated_at", "2014-09-29 19:15:27.128821"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.130414"], ["updated_at", "2014-09-29 19:15:27.130414"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam sint sit eos ea rem tenetur et. Voluptas tempore a. Repellendus tempora libero itaque. Quas sunt iste deleniti. Tenetur quis aut sunt consequatur.\nTempora dolore reprehenderit nihil sunt ea dolores. Facilis odit omnis perferendis. Earum a reiciendis quaerat sed in rem eum. Assumenda suscipit adipisci molestiae et repudiandae et officiis. Enim ipsam consequatur.\nIllum aut et et quis qui. Voluptatibus excepturi velit aut enim deleniti voluptatum. Voluptatem magnam temporibus autem quae. Deserunt eligendi rerum modi minus enim. Et totam maxime fuga autem."], ["created_at", "2014-09-29 19:15:27.132684"], ["name", "deserunt_repudiandae_animi"], ["title", "Suscipit vero asperiores"], ["updated_at", "2014-09-29 19:15:27.132684"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"16"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.137846"], ["updated_at", "2014-09-29 19:15:27.137846"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.139371"], ["updated_at", "2014-09-29 19:15:27.139371"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nulla iure et eius voluptatum. Facere voluptas sunt perspiciatis. Laudantium at ut tenetur. Eveniet nam laudantium voluptatem optio eaque. In qui possimus veritatis enim.\nInventore modi unde. Deserunt eius velit consequatur. Tenetur ratione eligendi corrupti quia esse.\nExplicabo reiciendis omnis. Rerum molestiae amet necessitatibus laboriosam. Repellat sequi qui vitae alias voluptatem. Vero aut sapiente sit aliquam est voluptas illum. Doloremque quia reprehenderit cum."], ["created_at", "2014-09-29 19:15:27.141626"], ["name", "fuga_aliquam_quia"], ["title", "Beatae nemo nam"], ["updated_at", "2014-09-29 19:15:27.141626"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.145527"], ["updated_at", "2014-09-29 19:15:27.145527"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.147029"], ["updated_at", "2014-09-29 19:15:27.147029"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Explicabo similique repellat at inventore eaque. Voluptatem eius quis eos et qui. Fugit possimus aperiam.\nLabore nisi officia sed corporis quam sed. Consequuntur ipsam est dolores impedit vitae laudantium. Dolores minus sapiente quo commodi. Voluptates ducimus aut aut.\nPlaceat ex libero. Dolorem quae a sapiente fugit id architecto molestiae. Aut cupiditate est vel ex et neque. Voluptas ut mollitia maxime."], ["created_at", "2014-09-29 19:15:27.149190"], ["name", "sed_soluta_debitis"], ["title", "Ipsa incidunt voluptas"], ["updated_at", "2014-09-29 19:15:27.149190"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.156232"], ["updated_at", "2014-09-29 19:15:27.156232"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.157834"], ["updated_at", "2014-09-29 19:15:27.157834"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt est corporis molestias. Et ipsa possimus. Nesciunt quis porro voluptatem culpa quidem dolor. Minus sequi illo nihil modi corrupti est consequatur.\nIllum rem qui atque et saepe id enim. Rem nemo voluptatibus consectetur earum molestias sit voluptatem. Officiis et nostrum sit. Voluptatum pariatur ut dolorum ad aspernatur in repudiandae. Saepe earum quia numquam sunt adipisci.\nArchitecto eum reiciendis. Aut ut omnis ratione dolorem. Ullam sed asperiores voluptatem."], ["created_at", "2014-09-29 19:15:27.160038"], ["name", "est_rerum_modi"], ["title", "Officiis et aut"], ["updated_at", "2014-09-29 19:15:27.160038"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_rerum_modi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'est_rerum_modi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-09-29 19:15:27.163269"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'est_rerum_modi' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.170242"], ["updated_at", "2014-09-29 19:15:27.170242"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.171817"], ["updated_at", "2014-09-29 19:15:27.171817"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Reprehenderit sed voluptas debitis. In cum alias expedita voluptatibus dolore. Consectetur sed et qui et culpa. Ea quia architecto eum repudiandae magni cupiditate. Voluptate aut iste error.\nIllum hic dolorem et dignissimos cupiditate quia. Voluptatem natus aut alias libero. Earum ullam quas nesciunt molestias. Quo voluptatibus assumenda. Minus eos enim.\nEt aut omnis itaque et illum voluptates. Eum consequatur fuga iusto error dolores culpa. Aspernatur neque id est et et doloremque."], ["created_at", "2014-09-29 19:15:27.174106"], ["name", "doloremque_quia_modi"], ["title", "Et vero sunt"], ["updated_at", "2014-09-29 19:15:27.174106"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"20"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.179276"], ["updated_at", "2014-09-29 19:15:27.179276"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.180977"], ["updated_at", "2014-09-29 19:15:27.180977"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab sit maxime repellat. Perspiciatis praesentium aliquam qui ad laudantium sint. Voluptates voluptas ratione non.\nPorro rerum nostrum a aspernatur facere suscipit in. Consequatur beatae eum minima et amet repellendus. Id ut maiores qui quia vel nihil. Fuga qui ipsam voluptatum. Nihil non dicta quibusdam totam fugit.\nQui est dolor. Illum voluptatibus reprehenderit ipsa. Quis enim et."], ["created_at", "2014-09-29 19:15:27.183486"], ["name", "voluptas_perferendis_cupiditate"], ["title", "Necessitatibus eligendi qui"], ["updated_at", "2014-09-29 19:15:27.183486"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.187677"], ["updated_at", "2014-09-29 19:15:27.187677"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.189149"], ["updated_at", "2014-09-29 19:15:27.189149"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et et dolores totam laborum libero. Iusto totam impedit modi aut ut officiis in. Dolorum est incidunt corrupti explicabo quod vel.\nEst quam pariatur aut repudiandae repellendus. Aut consectetur quas. Est ut enim.\nVeniam in omnis. Molestias omnis omnis perferendis. Et assumenda voluptas. Dignissimos ex adipisci. Qui odit harum non sed."], ["created_at", "2014-09-29 19:15:27.191295"], ["name", "unde_ut_nulla"], ["title", "Autem odio dolorum"], ["updated_at", "2014-09-29 19:15:27.191295"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_ut_nulla"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'unde_ut_nulla') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 19:15:27.194580"], ["version", 1]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.199721"], ["updated_at", "2014-09-29 19:15:27.199721"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.201297"], ["updated_at", "2014-09-29 19:15:27.201297"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Totam ut tempora et dolor consequatur dolor similique. Doloremque tempore et nisi. Beatae ratione aut non quia aut aspernatur laborum. Cum enim fuga aut excepturi. Minus sit quis exercitationem ut cupiditate occaecati perferendis.\nNesciunt aspernatur dolor. Et ex quo vel cumque nemo. Qui corporis quibusdam qui.\nEst reprehenderit aut. Ipsa magni velit voluptatum veritatis culpa nesciunt aut. Incidunt commodi ut corrupti est voluptatem."], ["created_at", "2014-09-29 19:15:27.203621"], ["name", "consequatur_amet_sit"], ["title", "Enim exercitationem ab"], ["updated_at", "2014-09-29 19:15:27.203621"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_amet_sit"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'consequatur_amet_sit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-09-29 19:15:27.209515"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.214610"], ["updated_at", "2014-09-29 19:15:27.214610"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.216248"], ["updated_at", "2014-09-29 19:15:27.216248"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Tenetur distinctio ea. Autem esse quidem dolorem est. Et sit perspiciatis. Aut optio voluptatibus consequatur. Distinctio voluptatem iusto quis.\nId quia quis eos dolore qui. Ut perspiciatis sit. Omnis dolor commodi vero autem dolor. Sit natus perferendis eum dolores possimus.\nEt hic quo et rerum. Odio voluptates aspernatur ipsa temporibus voluptas quas et. Earum enim quas sed voluptates ut."], ["created_at", "2014-09-29 19:15:27.218588"], ["name", "ullam_debitis_et"], ["title", "Ducimus sint excepturi"], ["updated_at", "2014-09-29 19:15:27.218588"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 24]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 24]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 24 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.226731"], ["updated_at", "2014-09-29 19:15:27.226731"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.228238"], ["updated_at", "2014-09-29 19:15:27.228238"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ex quod iste voluptatum expedita. Quae cumque voluptas modi rerum. Minus eum dignissimos beatae blanditiis velit et. Enim consequatur porro tenetur dolorem modi aut sapiente.\nEsse officia aut perferendis. Odit possimus neque dolorem illo. Et ea quod unde enim.\nQuae quis consequatur. Facilis necessitatibus nihil quibusdam. Ut odio tempora voluptas laudantium aspernatur. Illo placeat perspiciatis eligendi minima accusamus eos. Optio expedita repellendus non laboriosam."], ["created_at", "2014-09-29 19:15:27.230540"], ["name", "velit_necessitatibus_deserunt"], ["title", "Enim est sed"], ["updated_at", "2014-09-29 19:15:27.230540"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.234916"], ["updated_at", "2014-09-29 19:15:27.234916"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.236697"], ["updated_at", "2014-09-29 19:15:27.236697"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Autem voluptatem nostrum et consectetur ut quibusdam. Sed quod sed magnam omnis vitae nobis. Sapiente cupiditate aut dignissimos. Aperiam iste rem quis. Veniam dolor dolores fugit est sapiente voluptatibus et.\nEarum cupiditate sint distinctio cumque molestias veritatis. Est libero et incidunt itaque sint molestiae quidem. Cum et temporibus culpa consequatur consequatur error. Labore vero et et.\nCommodi non iure qui et cumque. Corporis mollitia fugiat harum sapiente. Aut tempora magni earum."], ["created_at", "2014-09-29 19:15:27.239238"], ["name", "est_laudantium_illo"], ["title", "Sapiente non quis"], ["updated_at", "2014-09-29 19:15:27.239238"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_laudantium_illo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 26 AND "fine_print_contracts"."name" = 'est_laudantium_illo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 26 [["updated_at", "2014-09-29 19:15:27.242635"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.248568"], ["updated_at", "2014-09-29 19:15:27.248568"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.250052"], ["updated_at", "2014-09-29 19:15:27.250052"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed voluptas est neque ducimus. Vel repudiandae inventore in aperiam cupiditate quas veritatis. Rerum sit facilis aut nemo aut. Dolor pariatur iusto ut doloribus et.\nQuia praesentium tenetur rerum voluptate nobis enim. Debitis voluptatem quaerat optio. Ab debitis consequatur commodi nisi consequatur quis accusamus. Exercitationem unde dolorem voluptate molestiae temporibus laboriosam molestiae. Quod non ut ab nam nulla illo.\nEt numquam dolorem fugit in distinctio libero voluptatibus. Quibusdam natus nihil voluptatem consequuntur fugit perferendis beatae. Voluptas molestiae neque culpa magnam quidem iure exercitationem. Ea quis ab non distinctio possimus quo."], ["created_at", "2014-09-29 19:15:27.252317"], ["name", "qui_illum_laboriosam"], ["title", "Aut eius veniam"], ["updated_at", "2014-09-29 19:15:27.252317"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.256299"], ["updated_at", "2014-09-29 19:15:27.256299"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.257744"], ["updated_at", "2014-09-29 19:15:27.257744"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.262034"], ["updated_at", "2014-09-29 19:15:27.262034"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.263628"], ["updated_at", "2014-09-29 19:15:27.263628"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Reiciendis odio quam omnis enim expedita. Rerum placeat aut. Eum officia dolor consectetur repudiandae autem.\nQuam quis et et reiciendis quaerat veniam. Quisquam ad nihil ut ex quo. Fugiat nisi porro hic ad ullam beatae autem. Officiis sed consequuntur quia error impedit dolore. Eos in quod nihil molestias.\nConsequatur dicta accusamus dolore optio. Quibusdam numquam illum dolores deserunt inventore consequatur ullam. Et quia delectus nam dolor."], ["created_at", "2014-09-29 19:15:27.273897"], ["name", "alpha"], ["title", "Necessitatibus officiis est"], ["updated_at", "2014-09-29 19:15:27.273897"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Tempore harum illum quo dolore. Voluptatem voluptas quia. Amet perspiciatis dolores sequi id voluptatem autem sed. Nam natus explicabo beatae. In odio tempore.\nAdipisci ullam qui veritatis est error pariatur nostrum. Aut tenetur rem. Sequi dignissimos quia atque consequuntur repudiandae optio. Voluptatibus ab sapiente nostrum laudantium dolores maiores est.\nEligendi nesciunt culpa assumenda explicabo aut. Consequatur sed harum. Totam quisquam molestias vel ea."], ["created_at", "2014-09-29 19:15:27.278218"], ["name", "beta"], ["title", "Minima nemo enim"], ["updated_at", "2014-09-29 19:15:27.278218"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.279892"], ["updated_at", "2014-09-29 19:15:27.279892"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-29 19:15:27.282755"], ["updated_at", "2014-09-29 19:15:27.282755"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-09-29 19:15:27.285296"], ["updated_at", "2014-09-29 19:15:27.285296"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:15:27.287641"], ["name", "alpha"], ["title", "Necessitatibus officiis est"], ["updated_at", "2014-09-29 19:15:27.287641"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-29 19:15:27.290744"], ["version", 2]]  (0.6ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (30, 1, 29, 23, 8, 26, 19, 4, 3, 22, 6) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et molestiae iste minus est. Optio qui velit et et corporis. Autem asperiores fugiat fugit animi cupiditate similique. Quaerat fugit ullam perspiciatis est. Facere in eum aut aut consequatur repudiandae.\nQuibusdam officia vel incidunt possimus excepturi qui quis. Quis molestias eum nostrum illum harum sapiente reiciendis. In iusto earum sit quod ea delectus autem. Accusantium odio rerum quae.\nDoloremque blanditiis ducimus quae laudantium accusantium et. Sint dolor officiis. Odio non asperiores consequatur placeat. Molestiae autem ab et et sit enim unde."], ["created_at", "2014-09-29 19:15:27.301180"], ["name", "alpha"], ["title", "Voluptas voluptatum nam"], ["updated_at", "2014-09-29 19:15:27.301180"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum dolor asperiores voluptas. Consequuntur sed eligendi nihil ex sit similique. Eos nulla fuga.\nFugiat natus qui voluptas expedita sed alias perspiciatis. Ratione quod illo maiores veniam sit. Molestiae modi qui sequi ut est.\nVoluptates ut ad. Ut quam sunt a veniam. Exercitationem sint occaecati quae voluptas. Dolorem suscipit amet quis."], ["created_at", "2014-09-29 19:15:27.305770"], ["name", "beta"], ["title", "Quisquam recusandae iure"], ["updated_at", "2014-09-29 19:15:27.305770"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.307524"], ["updated_at", "2014-09-29 19:15:27.307524"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-09-29 19:15:27.310357"], ["updated_at", "2014-09-29 19:15:27.310357"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-09-29 19:15:27.313065"], ["updated_at", "2014-09-29 19:15:27.313065"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:15:27.315439"], ["name", "alpha"], ["title", "Voluptas voluptatum nam"], ["updated_at", "2014-09-29 19:15:27.315439"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-29 19:15:27.318589"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aut nam sit quia et. Provident qui ea eos ea. Veritatis rem molestias enim tempore.\nIncidunt in vero neque doloremque et. Ab expedita ipsum voluptatem in et. Nemo consequatur molestiae corrupti deleniti expedita provident eligendi. Hic rem dolorum. Nulla odio alias asperiores facilis ipsum distinctio voluptas.\nPerspiciatis adipisci aut qui quod. Est dolore ipsa reiciendis porro molestiae quas. Quia quis facilis nostrum nihil et qui officia. Sapiente accusamus in. Natus eius et nostrum est quia."], ["created_at", "2014-09-29 19:15:27.326501"], ["name", "alpha"], ["title", "Eum ad non"], ["updated_at", "2014-09-29 19:15:27.326501"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perferendis vel est. Voluptatibus dignissimos nesciunt expedita voluptatem qui sapiente sit. Error odit nihil nihil sunt voluptates ducimus cumque. Dolores voluptas excepturi enim fuga perspiciatis.\nVel quibusdam sint laborum voluptas sint minus sed. Tempora qui et ea omnis aspernatur. Iusto error voluptatem laborum.\nNobis dolor culpa quis sint facilis. Quo sed est vitae. Quo sequi laudantium voluptas quibusdam ratione. Dolores eligendi quos nesciunt itaque iste. Nihil repudiandae vel aperiam quidem."], ["created_at", "2014-09-29 19:15:27.330371"], ["name", "beta"], ["title", "Voluptas sint officia"], ["updated_at", "2014-09-29 19:15:27.330371"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.332048"], ["updated_at", "2014-09-29 19:15:27.332048"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-09-29 19:15:27.335260"], ["updated_at", "2014-09-29 19:15:27.335260"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-09-29 19:15:27.337836"], ["updated_at", "2014-09-29 19:15:27.337836"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:15:27.340127"], ["name", "alpha"], ["title", "Eum ad non"], ["updated_at", "2014-09-29 19:15:27.340127"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-09-29 19:15:27.343210"], ["version", 6]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-29 19:15:27.359594"], ["updated_at", "2014-09-29 19:15:27.359594"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 36]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 35]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et quidem assumenda iure qui neque. Rem et et. Et quia illum et et. Dolorem voluptas repellendus qui alias.\nDistinctio quis ut qui cumque fuga animi praesentium. Sed unde cumque. Est consequuntur officia qui laborum non labore. Optio commodi maxime non nisi libero ab delectus. Voluptatem quasi et dolore laboriosam.\nQuisquam iure soluta est recusandae dolorem eos. Et blanditiis ullam est. Assumenda qui rerum molestiae est omnis atque eveniet. Et laboriosam ex magni deleniti sunt dignissimos. Beatae incidunt dolorem."], ["created_at", "2014-09-29 19:15:27.374595"], ["name", "alpha"], ["title", "Enim aperiam id"], ["updated_at", "2014-09-29 19:15:27.374595"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Expedita velit quia porro tempore magni. Et modi quos et nostrum ullam magnam. Delectus qui eos iure minus cumque. Rerum recusandae earum placeat officiis est nobis.\nFacilis esse exercitationem dolore possimus eos fugit. Quae qui laudantium odit consequatur expedita. Sunt ea ipsum dolorem dicta animi non. Voluptatem molestiae cumque.\nTempora est id. Est esse iusto consequatur voluptatem autem molestiae. Asperiores enim dolores et. Velit inventore eum ad."], ["created_at", "2014-09-29 19:15:27.379288"], ["name", "beta"], ["title", "Numquam ullam velit"], ["updated_at", "2014-09-29 19:15:27.379288"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.381028"], ["updated_at", "2014-09-29 19:15:27.381028"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-29 19:15:27.383901"], ["updated_at", "2014-09-29 19:15:27.383901"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-09-29 19:15:27.386476"], ["updated_at", "2014-09-29 19:15:27.386476"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:15:27.388784"], ["name", "alpha"], ["title", "Enim aperiam id"], ["updated_at", "2014-09-29 19:15:27.388784"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-09-29 19:15:27.391915"], ["version", 8]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (39, 38) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.397328"], ["updated_at", "2014-09-29 19:15:27.397328"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.399474"], ["updated_at", "2014-09-29 19:15:27.399474"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_nesciunt_ratione"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_nesciunt_ratione') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est perferendis voluptatibus velit qui. Quo dolorem quas error placeat sit. Nesciunt aut quaerat nulla dolor.\nError optio nobis voluptatem nostrum nihil voluptatem at. Non sequi numquam ducimus est. Et quia nostrum. Exercitationem officia omnis.\nUt a modi est nam. Esse fugit a sed voluptatem. Atque ut nesciunt quod aspernatur et fugiat consequatur. Vel aut quis hic et at voluptatem adipisci."], ["created_at", "2014-09-29 19:15:27.404788"], ["name", "enim_nesciunt_ratione"], ["title", "Voluptatem laboriosam corrupti"], ["updated_at", "2014-09-29 19:15:27.404788"], ["version", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.407513"], ["updated_at", "2014-09-29 19:15:27.407513"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-29 19:15:27.408068"], ["updated_at", "2014-09-29 19:15:27.408068"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 195ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.607844"], ["updated_at", "2014-09-29 19:15:27.607844"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.610403"], ["updated_at", "2014-09-29 19:15:27.610403"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_in_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_in_laborum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Rerum qui eveniet provident odio iure perspiciatis. Et occaecati soluta similique impedit labore et. At ut magni quam. Dolore omnis minima commodi at. Ut tempore aperiam itaque aut.\nEst sed autem maiores. Hic sapiente molestiae. Eligendi rem sit distinctio iusto.\nEt ut vel eum corrupti sequi inventore ea. Atque animi dolores. Labore animi hic molestias. Minus dolore in quia illum expedita."], ["created_at", "2014-09-29 19:15:27.615081"], ["name", "voluptas_in_laborum"], ["title", "Nobis earum ratione"], ["updated_at", "2014-09-29 19:15:27.615081"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.617725"], ["updated_at", "2014-09-29 19:15:27.617725"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-29 19:15:27.618314"], ["updated_at", "2014-09-29 19:15:27.618314"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 12]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Redirected to http://test.host/fine_print/contracts/41/signatures?r=cXFBMFpBdS80aUJnLzIzaWlmVXlOdz09LS13K3NxdzJKbG90RUdhR2NHV0xZc2hnPT0%3D--34219be22807d97e1b183c0ccc8eaf9644766fab Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 12 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.626339"], ["updated_at", "2014-09-29 19:15:27.626339"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.627826"], ["updated_at", "2014-09-29 19:15:27.627826"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempora_quis_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'tempora_quis_quia') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Natus aut nihil dignissimos et. Laborum vel assumenda molestiae molestiae. Laudantium quia velit reprehenderit.\nEnim et voluptas aut quo esse. Autem distinctio ab. Sint in dolor.\nAccusamus et voluptatum maxime voluptas alias velit. Tempore eos iste. Error sed odio et facilis. Totam illum quam ut accusamus accusantium. Eaque soluta recusandae quam non consequatur in enim."], ["created_at", "2014-09-29 19:15:27.632134"], ["name", "tempora_quis_quia"], ["title", "Sunt totam id"], ["updated_at", "2014-09-29 19:15:27.632134"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.634719"], ["updated_at", "2014-09-29 19:15:27.634719"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-29 19:15:27.635276"], ["updated_at", "2014-09-29 19:15:27.635276"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.639264"], ["updated_at", "2014-09-29 19:15:27.639264"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.640958"], ["updated_at", "2014-09-29 19:15:27.640958"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "exercitationem_cum_et"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'exercitationem_cum_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Alias ut error. In veniam accusamus iure. Similique labore quam consectetur temporibus.\nA optio maiores qui sunt perspiciatis dolore. Cum aspernatur et aut consectetur aut. Nostrum velit ut voluptatibus est illum.\nQuaerat laboriosam necessitatibus et perspiciatis. Sit velit excepturi velit. Officiis et voluptatibus. Sunt sit magnam."], ["created_at", "2014-09-29 19:15:27.653742"], ["name", "exercitationem_cum_et"], ["title", "Assumenda debitis molestiae"], ["updated_at", "2014-09-29 19:15:27.653742"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.657372"], ["updated_at", "2014-09-29 19:15:27.657372"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-29 19:15:27.658080"], ["updated_at", "2014-09-29 19:15:27.658080"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.664780"], ["updated_at", "2014-09-29 19:15:27.664780"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.666369"], ["updated_at", "2014-09-29 19:15:27.666369"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_rerum_quasi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_rerum_quasi') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores minima voluptate nulla. Quisquam et non sunt hic dolores non quas. Et ipsam aut. Aut blanditiis aut perspiciatis sit eos.\nConsequuntur debitis delectus fugiat. Vero dolores unde. Iste culpa unde dolor quam. Rerum facilis rerum architecto error quam.\nNon laudantium quis dignissimos libero est dolores. Quo odio sunt enim autem quibusdam beatae. Sint soluta consequuntur. Odit eius doloribus et reiciendis fugiat sint aliquam. Totam voluptas rerum itaque eveniet sit hic quia."], ["created_at", "2014-09-29 19:15:27.675298"], ["name", "non_rerum_quasi"], ["title", "Maxime error qui"], ["updated_at", "2014-09-29 19:15:27.675298"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.678153"], ["updated_at", "2014-09-29 19:15:27.678153"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-09-29 19:15:27.680034"], ["updated_at", "2014-09-29 19:15:27.680034"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.686488"], ["updated_at", "2014-09-29 19:15:27.686488"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.688104"], ["updated_at", "2014-09-29 19:15:27.688104"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quo_natus_reiciendis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quo_natus_reiciendis') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem enim repellendus. Doloribus aut esse omnis a tempora. Qui ab itaque culpa molestias saepe consequatur. Consequatur quas ut. Quis molestiae dolores consequatur eius possimus non.\nSit libero eos ex quam nihil. Et consequatur possimus doloribus nihil omnis. Eveniet ab eos qui assumenda voluptatem repellat omnis.\nConsequatur sit est nulla corrupti maiores vero. Earum rerum illum incidunt. Aliquam esse dolorem labore et inventore. Corporis ea ut quidem laudantium. Cupiditate et blanditiis minima placeat."], ["created_at", "2014-09-29 19:15:27.693152"], ["name", "quo_natus_reiciendis"], ["title", "Saepe asperiores impedit"], ["updated_at", "2014-09-29 19:15:27.693152"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.697463"], ["updated_at", "2014-09-29 19:15:27.697463"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-29 19:15:27.698025"], ["updated_at", "2014-09-29 19:15:27.698025"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.702245"], ["updated_at", "2014-09-29 19:15:27.702245"]]  (0.7ms) commit transaction  (0.8ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.705030"], ["updated_at", "2014-09-29 19:15:27.705030"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_nesciunt_omnis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_nesciunt_omnis') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "A voluptas quaerat quia quod est optio aspernatur. Mollitia reprehenderit eveniet accusamus et animi possimus dolorem. Ut officiis rem debitis distinctio est. Ut dolore eius odio aut et ipsa cumque.\nDistinctio laudantium ipsum eligendi. Odit minus quae excepturi et quo consequatur ipsam. Sit quod occaecati. Esse molestias ut aut.\nOdit id similique corporis ut totam ut. Optio quod nisi nulla eligendi eos earum. Nisi et ex vitae qui."], ["created_at", "2014-09-29 19:15:27.712858"], ["name", "aut_nesciunt_omnis"], ["title", "Reiciendis aut autem"], ["updated_at", "2014-09-29 19:15:27.712858"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.716981"], ["updated_at", "2014-09-29 19:15:27.716981"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-29 19:15:27.717858"], ["updated_at", "2014-09-29 19:15:27.717858"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.725386"], ["updated_at", "2014-09-29 19:15:27.725386"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.727024"], ["updated_at", "2014-09-29 19:15:27.727024"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "molestiae_ut_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'molestiae_ut_enim') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perspiciatis quis numquam maiores eum est. Deleniti maxime eos sint praesentium. Reiciendis et ea aut harum aspernatur itaque qui. Voluptatem labore sed tempore beatae. Necessitatibus qui rem cum dolor.\nCulpa aut quidem tempore illum accusamus neque quo. Ipsa labore dolores sit aut. Labore earum laborum ipsam quia.\nConsequatur aliquid impedit nisi sit. Iure veniam corrupti iusto quo quis. Tempore assumenda repellendus ut. Voluptas est quo maxime modi ea quam."], ["created_at", "2014-09-29 19:15:27.732241"], ["name", "molestiae_ut_enim"], ["title", "Tenetur eos dolorum"], ["updated_at", "2014-09-29 19:15:27.732241"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:15:27.735322"], ["updated_at", "2014-09-29 19:15:27.735322"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-09-29 19:15:27.736390"], ["updated_at", "2014-09-29 19:15:27.736390"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:48.731170"], ["updated_at", "2014-09-29 19:20:48.731170"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:48.738078"], ["updated_at", "2014-09-29 19:20:48.738078"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_odit_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_odit_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Culpa labore accusamus quod dolore id est totam. Fuga occaecati laudantium similique consequatur. Molestiae vel esse saepe earum dolore eligendi vitae. Reprehenderit qui pariatur nemo aliquam. Id odio tempora fugiat.\nDolorem modi dignissimos expedita similique reiciendis dolor iure. Sed asperiores voluptatum nesciunt et et incidunt. Qui porro cum ipsa ducimus voluptatem. Maxime nihil iste animi facere officia. Et aut eos et assumenda sint molestiae.\nConsectetur magnam consequatur ducimus iusto. Reprehenderit placeat vel quidem consequatur vel sequi laudantium. Odio esse exercitationem sunt aliquam consequatur. Tempora doloremque ratione. Dolor rerum exercitationem est distinctio."], ["created_at", "2014-09-29 19:20:48.973660"], ["name", "qui_odit_ut"], ["title", "Nihil id quia"], ["updated_at", "2014-09-29 19:20:48.973660"], ["version", 1]]  (1.2ms) commit transaction  (0.1ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:48.981324"], ["updated_at", "2014-09-29 19:20:48.981324"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-09-29 19:20:48.982046"], ["updated_at", "2014-09-29 19:20:48.982046"], ["user_id", 3], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 182ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.171735"], ["updated_at", "2014-09-29 19:20:49.171735"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.174430"], ["updated_at", "2014-09-29 19:20:49.174430"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_consequuntur_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_consequuntur_sed') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Illum minus ut dolor rerum saepe harum ea. Quo nobis dolores et neque repudiandae error. Et repellat commodi tempora ad et aut. Aut natus aliquid.\nNihil consequatur voluptate quas voluptatum vero quasi. Non sapiente ea provident possimus blanditiis dolor. Pariatur enim est tempore debitis sequi veniam et. Est voluptas enim voluptatem.\nVoluptas consequuntur rem consequatur pariatur aut autem similique. Corrupti voluptas tempore et facere. Culpa velit consequatur ratione consequuntur sit sed qui. Libero doloribus amet recusandae."], ["created_at", "2014-09-29 19:20:49.180200"], ["name", "voluptatem_consequuntur_sed"], ["title", "Omnis nemo velit"], ["updated_at", "2014-09-29 19:20:49.180200"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.182858"], ["updated_at", "2014-09-29 19:20:49.182858"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-09-29 19:20:49.183428"], ["updated_at", "2014-09-29 19:20:49.183428"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"2"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.186980"], ["updated_at", "2014-09-29 19:20:49.186980"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.188509"], ["updated_at", "2014-09-29 19:20:49.188509"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_illum_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'iure_illum_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Aliquid qui voluptas necessitatibus. Atque ut architecto sunt blanditiis explicabo placeat. Est nisi impedit repellendus tempore. Dolorem repudiandae nostrum officia dolores sit fuga. Et nemo quisquam soluta commodi.\nEt voluptas quis quis natus enim ea expedita. Labore quia aspernatur nemo sint omnis omnis quibusdam. Occaecati beatae voluptas quisquam. Possimus blanditiis architecto quae repellendus id vero.\nEa aut non provident excepturi sunt. Non molestiae quia incidunt aliquid est eum. Molestiae itaque facere sint eum."], ["created_at", "2014-09-29 19:20:49.192779"], ["name", "iure_illum_et"], ["title", "Laudantium ut aut"], ["updated_at", "2014-09-29 19:20:49.192779"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.195297"], ["updated_at", "2014-09-29 19:20:49.195297"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", "2014-09-29 19:20:49.195905"], ["updated_at", "2014-09-29 19:20:49.195905"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.201790"], ["updated_at", "2014-09-29 19:20:49.201790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.203347"], ["updated_at", "2014-09-29 19:20:49.203347"]]  (1.1ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_sint_quia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eos_sint_quia') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sunt est quasi temporibus sed. Architecto exercitationem cum. Vero tenetur voluptates voluptatem et sed molestias enim. Quibusdam voluptates sint modi doloribus.\nDoloremque animi aspernatur veniam repellendus velit dolorem. Animi natus cupiditate occaecati ut rerum odio quis. Eaque sit quia.\nEaque rerum dolor quos qui reprehenderit. Et dolorem laudantium est exercitationem qui dolor. Soluta sunt ut ut est. Ullam maiores nihil sapiente eos."], ["created_at", "2014-09-29 19:20:49.208698"], ["name", "eos_sint_quia"], ["title", "Nobis corrupti id"], ["updated_at", "2014-09-29 19:20:49.208698"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.212902"], ["updated_at", "2014-09-29 19:20:49.212902"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-09-29 19:20:49.213575"], ["updated_at", "2014-09-29 19:20:49.213575"], ["user_id", 12], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.217638"], ["updated_at", "2014-09-29 19:20:49.217638"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.219045"], ["updated_at", "2014-09-29 19:20:49.219045"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_nemo_eos"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_nemo_eos') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Commodi eos ratione ut cumque. Omnis minima voluptatem. Odit sit corrupti beatae laudantium nam dolores voluptas. Voluptates cumque fugiat voluptas ullam. Reprehenderit repudiandae maxime.\nMollitia autem error et repellendus vitae et. Quis veniam excepturi maiores eaque est assumenda ipsa. Rerum dolores autem laboriosam et. Iusto sit voluptatum. Adipisci quaerat quos omnis fugiat nihil.\nIpsum sit ut itaque est facere. Ratione in ducimus eum accusantium cum. Earum dolores consectetur rerum sit dolorum."], ["created_at", "2014-09-29 19:20:49.223279"], ["name", "voluptatem_nemo_eos"], ["title", "Velit dolorum dolores"], ["updated_at", "2014-09-29 19:20:49.223279"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.225788"], ["updated_at", "2014-09-29 19:20:49.225788"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-09-29 19:20:49.226332"], ["updated_at", "2014-09-29 19:20:49.226332"], ["user_id", 15], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.231468"], ["updated_at", "2014-09-29 19:20:49.231468"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.232995"], ["updated_at", "2014-09-29 19:20:49.232995"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_et_nostrum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minus_et_nostrum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quibusdam voluptas repudiandae voluptas minus totam et. Corporis ad quibusdam necessitatibus vero dignissimos. Aut sint sunt aut aut veniam.\nNobis ea vel eius sapiente sit veniam ad. Vero quo consequuntur repellendus aliquam aut. Ut alias excepturi quas molestiae. Sunt distinctio et temporibus doloremque recusandae esse. Esse quos consequatur non ratione dolores hic.\nId quo tempora qui. Qui rem delectus. Cupiditate nulla odit. Ut fugit quia est delectus sint non."], ["created_at", "2014-09-29 19:20:49.237201"], ["name", "minus_et_nostrum"], ["title", "Qui amet eos"], ["updated_at", "2014-09-29 19:20:49.237201"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.239773"], ["updated_at", "2014-09-29 19:20:49.239773"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["created_at", "2014-09-29 19:20:49.240328"], ["updated_at", "2014-09-29 19:20:49.240328"], ["user_id", 18], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"6"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 6]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] Redirected to http://test.host/fine_print/contracts/6/signatures?r=OHF5RHJhZkVITGVPT1EzdElNbWQ1dz09LS1Wb3VFRGxLS1dDbERWU2pCblNTbEhnPT0%3D--add20de3a886e26c7df8252d09190dc5ffbb14dc Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 6 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.251017"], ["updated_at", "2014-09-29 19:20:49.251017"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.252691"], ["updated_at", "2014-09-29 19:20:49.252691"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "delectus_sunt_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'delectus_sunt_libero') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Praesentium repudiandae nulla porro eum. Assumenda consequatur maxime. Animi aut dolores quisquam praesentium accusantium veniam vitae.\nVeritatis ad rerum. Veniam sit earum error. Temporibus possimus in dolor animi vel dicta quia.\nMolestiae sit recusandae voluptate et enim ut quae. Qui excepturi ut est. Officiis placeat voluptas qui minus nam."], ["created_at", "2014-09-29 19:20:49.257171"], ["name", "delectus_sunt_libero"], ["title", "Et pariatur est"], ["updated_at", "2014-09-29 19:20:49.257171"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.259683"], ["updated_at", "2014-09-29 19:20:49.259683"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-09-29 19:20:49.260544"], ["updated_at", "2014-09-29 19:20:49.260544"], ["user_id", 21], ["user_type", "DummyUser"]]  (0.5ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"7"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.265880"], ["updated_at", "2014-09-29 19:20:49.265880"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.267294"], ["updated_at", "2014-09-29 19:20:49.267294"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_qui_harum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_qui_harum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eos enim nihil omnis. At voluptatem assumenda placeat optio nihil. Aut unde aut est est at nam beatae. Laboriosam illo qui officiis totam. Eligendi fugiat atque nobis.\nQuia aut natus ullam dolorem. Corporis repellendus illo quo qui maiores fugit suscipit. Nulla velit rem dolores officia omnis laudantium. Ut vel laborum amet beatae quibusdam dicta. Non excepturi aspernatur.\nEaque ipsa ut sequi saepe et. Earum velit quo maiores soluta libero. Qui consequuntur voluptatibus laborum optio earum cupiditate hic. Pariatur consequuntur dolores. Unde earum dolor."], ["created_at", "2014-09-29 19:20:49.271653"], ["name", "voluptatem_qui_harum"], ["title", "Consequatur voluptatem minima"], ["updated_at", "2014-09-29 19:20:49.271653"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.274246"], ["updated_at", "2014-09-29 19:20:49.274246"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-09-29 19:20:49.274798"], ["updated_at", "2014-09-29 19:20:49.274798"], ["user_id", 24], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"8"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.278423"], ["updated_at", "2014-09-29 19:20:49.278423"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.279834"], ["updated_at", "2014-09-29 19:20:49.279834"]]  (0.5ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.283792"], ["updated_at", "2014-09-29 19:20:49.283792"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.285156"], ["updated_at", "2014-09-29 19:20:49.285156"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.288485"], ["updated_at", "2014-09-29 19:20:49.288485"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.289853"], ["updated_at", "2014-09-29 19:20:49.289853"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui reiciendis iusto ab inventore autem eum quasi. Est aperiam asperiores eaque blanditiis. Sint enim blanditiis ullam. Quo nemo dolor.\nAdipisci magnam ratione ut aut iste id et. Sit accusamus vel rerum dolores reprehenderit repellendus quis. Fuga magni quis delectus tempore maxime libero. Qui eum ut corporis et provident quasi hic.\nVel ex voluptas asperiores nisi ea. Maxime ipsam tenetur expedita soluta nostrum quasi. Natus eligendi officia provident. Ut aliquid similique qui itaque sed dolores vel. Dolores voluptatem iure quas omnis exercitationem aspernatur."], ["created_at", "2014-09-29 19:20:49.293833"], ["name", "est_dolorem_incidunt"], ["title", "Eligendi explicabo impedit"], ["updated_at", "2014-09-29 19:20:49.293833"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.300852"], ["updated_at", "2014-09-29 19:20:49.300852"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.302949"], ["updated_at", "2014-09-29 19:20:49.302949"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestiae tenetur natus ipsum vel voluptas delectus. Iste adipisci qui possimus aspernatur voluptates pariatur. Quae qui quas ipsam. Ut debitis a architecto vel quisquam quod nemo.\nPraesentium architecto quidem molestiae numquam. Ab labore laudantium aspernatur dolorem et. Dicta ut sed eos velit tempore.\nExplicabo voluptatum ut omnis voluptatem et necessitatibus accusamus. Voluptatem consequuntur nesciunt sequi. Quisquam maxime nobis excepturi est hic illo."], ["created_at", "2014-09-29 19:20:49.305796"], ["name", "et_fugit_rerum"], ["title", "Voluptatem amet minima"], ["updated_at", "2014-09-29 19:20:49.305796"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.311184"], ["updated_at", "2014-09-29 19:20:49.311184"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.312970"], ["updated_at", "2014-09-29 19:20:49.312970"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum in ut sint voluptas. Omnis autem veritatis sed illum dolores dolores necessitatibus. Non veritatis voluptatem repellendus recusandae quo tenetur dignissimos. Sed incidunt sequi.\nEveniet inventore maiores odio. Est delectus dolorem. Tempora sed dolor laborum adipisci iure veniam asperiores.\nQuia eum ducimus sit nemo. Neque nulla consequatur similique quia voluptatem est maxime. Vitae reiciendis sit autem eos. Hic ratione magni consequatur qui ut et error. Amet beatae veritatis."], ["created_at", "2014-09-29 19:20:49.315226"], ["name", "consequatur_consequatur_molestiae"], ["title", "Et nesciunt necessitatibus"], ["updated_at", "2014-09-29 19:20:49.315226"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"11"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 11 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-09-29 19:20:49.318945"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 6ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.325884"], ["updated_at", "2014-09-29 19:20:49.325884"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.327468"], ["updated_at", "2014-09-29 19:20:49.327468"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem dolorum atque. Ut quia necessitatibus ipsa ut neque aut. Esse consequatur aut et.\nEnim recusandae voluptatem aut dolore. Et sit culpa ut aspernatur ipsam. Et nisi iure. Quaerat perspiciatis accusamus et ipsa voluptatem placeat eaque. Vero non ut tenetur accusantium repellat sint.\nEt facere dolore architecto. Eos neque reprehenderit ab delectus id. Cumque sequi hic et occaecati enim consectetur. Cum magni nemo assumenda ut."], ["created_at", "2014-09-29 19:20:49.329703"], ["name", "excepturi_perspiciatis_eligendi"], ["title", "Tempora quia sed"], ["updated_at", "2014-09-29 19:20:49.329703"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.333696"], ["updated_at", "2014-09-29 19:20:49.333696"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.335253"], ["updated_at", "2014-09-29 19:20:49.335253"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iusto blanditiis et animi culpa totam. Repudiandae adipisci ut ipsam et. Natus sunt officia voluptates.\nNam quidem veritatis in ut omnis quia. Pariatur et qui exercitationem perferendis perspiciatis molestiae ipsum. Iusto dolorum id fugit sint.\nSint modi tempora optio neque maiores nobis. Nulla eos laboriosam error. Quis doloribus ab corrupti quia id esse soluta."], ["created_at", "2014-09-29 19:20:49.337582"], ["name", "ad_modi_non"], ["title", "Dolorum iure ducimus"], ["updated_at", "2014-09-29 19:20:49.337582"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 11, 7, 4, 9, 10, 12, 3, 6, 1, 2, 5, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.348380"], ["updated_at", "2014-09-29 19:20:49.348380"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.350301"], ["updated_at", "2014-09-29 19:20:49.350301"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vitae non cum. Occaecati vel quibusdam iusto. Non vitae totam.\nVeniam cupiditate natus et qui possimus. Voluptas sint nihil perferendis modi. Non a aut consequatur dolores cum rerum. Quasi qui doloribus corrupti aut. Autem est impedit commodi repudiandae et dolores.\nAutem earum ullam aut. At ut ipsam. Sunt aliquid minima ut laudantium ea aut. Aperiam quidem voluptatem repellat omnis magni cum temporibus."], ["created_at", "2014-09-29 19:20:49.352593"], ["name", "autem_quaerat_ipsum"], ["title", "Et inventore est"], ["updated_at", "2014-09-29 19:20:49.352593"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.356711"], ["updated_at", "2014-09-29 19:20:49.356711"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.358116"], ["updated_at", "2014-09-29 19:20:49.358116"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Velit nam a provident. Porro enim facere ut. Fugiat sit qui consequatur neque. Quis dolor hic ut quis nobis. Error illum nam illo quia consequuntur.\nVoluptatem quidem sunt in. Non asperiores itaque aliquid. Velit temporibus nesciunt dolor.\nVoluptatem qui iste excepturi quisquam ipsa architecto autem. Sit maiores est perferendis. Magni et quisquam tempore et illo dignissimos eos. Voluptatem maiores doloremque nihil aut. Magni iste saepe."], ["created_at", "2014-09-29 19:20:49.360352"], ["name", "quaerat_fugit_et"], ["title", "Aut qui atque"], ["updated_at", "2014-09-29 19:20:49.360352"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-09-29 19:20:49.363189"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-09-29 19:20:49.363189"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/16 Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.366408"], ["updated_at", "2014-09-29 19:20:49.366408"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.367804"], ["updated_at", "2014-09-29 19:20:49.367804"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est aut veritatis esse aut expedita rerum. Doloremque numquam ut. Enim est accusantium nulla dolorum. Omnis rem est architecto dolorum ut repellendus sunt.\nUt sunt veritatis. Possimus occaecati sed vero dolorem. Sit molestiae fuga non eos. Deserunt dolor sunt fugiat eveniet nemo.\nDistinctio officia illo suscipit. Delectus cupiditate facere minus culpa. Ratione quia occaecati cum enim et perspiciatis nobis. Ipsum tenetur eveniet voluptatem in."], ["created_at", "2014-09-29 19:20:49.369948"], ["name", "impedit_iure_earum"], ["title", "Debitis animi sit"], ["updated_at", "2014-09-29 19:20:49.369948"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.374981"], ["updated_at", "2014-09-29 19:20:49.374981"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.376506"], ["updated_at", "2014-09-29 19:20:49.376506"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quis voluptate tempore et et laboriosam tempora. Ad est et nisi eaque dicta libero aliquam. Accusantium ut cum sed harum ea est velit. Maxime ratione aut voluptatem quos et. Fugiat qui rerum ullam at nam.\nOfficiis et dignissimos qui perspiciatis et nobis iusto. Reiciendis iure repudiandae qui occaecati et. Illum aliquam voluptatibus numquam qui et debitis.\nRerum ipsam et. Voluptatem accusantium corporis facere ea voluptas. Et iusto dolores quod culpa. Sed tempora voluptatem."], ["created_at", "2014-09-29 19:20:49.378680"], ["name", "et_veritatis_qui"], ["title", "Est et cum"], ["updated_at", "2014-09-29 19:20:49.378680"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_veritatis_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'et_veritatis_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-09-29 19:20:49.382033"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"18"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'et_veritatis_qui' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.389258"], ["updated_at", "2014-09-29 19:20:49.389258"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.390744"], ["updated_at", "2014-09-29 19:20:49.390744"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In est tempora. Dolorum hic quia. Et quis et facere eos mollitia.\nConsequatur sit sed. Voluptates soluta quo quia velit. Distinctio doloribus ea dolorem corrupti. Eum est velit debitis voluptas quaerat corrupti. Assumenda nam modi aut nulla autem dolorem.\nNesciunt nihil pariatur totam. Dicta ea voluptas delectus in natus. Ut exercitationem temporibus blanditiis ut ut. Aut sequi et ratione consequatur non ex ut."], ["created_at", "2014-09-29 19:20:49.392891"], ["name", "laborum_sed_est"], ["title", "Molestias nobis temporibus"], ["updated_at", "2014-09-29 19:20:49.392891"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.397334"], ["updated_at", "2014-09-29 19:20:49.397334"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.398900"], ["updated_at", "2014-09-29 19:20:49.398900"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Totam eos itaque in iusto reprehenderit. Est soluta nisi. Eos alias facere consequatur doloribus.\nPerferendis et ratione. Id error autem velit cupiditate repudiandae. Debitis rerum ab. Sequi est totam in. Quos commodi nemo hic maxime sunt vitae.\nDoloribus cupiditate sequi et. Est ut doloribus ea non consectetur numquam. Voluptates est qui iure possimus assumenda similique. Quis quia nobis consequatur qui. Est occaecati distinctio."], ["created_at", "2014-09-29 19:20:49.401291"], ["name", "et_ullam_non"], ["title", "Atque et saepe"], ["updated_at", "2014-09-29 19:20:49.401291"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_ullam_non"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'et_ullam_non') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-29 19:20:49.404491"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"20"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_ullam_non"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-09-29 19:20:49.409541"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 20]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.413789"], ["updated_at", "2014-09-29 19:20:49.413789"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.415273"], ["updated_at", "2014-09-29 19:20:49.415273"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam recusandae eum. Velit molestias aut magni optio. Quae perspiciatis dolorem maxime dignissimos facere qui. Et consequatur sit optio ea laudantium quae.\nVoluptate dolores maxime. Et esse sapiente illum nam nihil. Quaerat cum pariatur quia et. Quod sit eum dolorum architecto. Inventore voluptatem quisquam sit voluptas a vitae.\nEos harum enim optio vero. Sit beatae repudiandae doloremque deserunt. Enim maiores molestiae est quo expedita facere amet. Delectus sed molestiae molestias enim et animi. Qui nesciunt non enim id est voluptatem et."], ["created_at", "2014-09-29 19:20:49.417582"], ["name", "omnis_sit_debitis"], ["title", "Temporibus mollitia recusandae"], ["updated_at", "2014-09-29 19:20:49.417582"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_sit_debitis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'omnis_sit_debitis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-09-29 19:20:49.420765"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.428459"], ["updated_at", "2014-09-29 19:20:49.428459"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.430306"], ["updated_at", "2014-09-29 19:20:49.430306"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Vitae facere est ratione perferendis natus. Dolor velit suscipit. Eos debitis aut omnis ab dicta. Eum aut sunt numquam et sequi beatae. Voluptas qui esse fuga deserunt.\nQuibusdam doloribus quia asperiores adipisci modi sequi. Vitae unde eum ex occaecati reiciendis ullam qui. Ut quia corporis neque cumque quia aspernatur.\nPariatur natus et sapiente nulla. Ex dicta et voluptate nihil sed maxime rerum. Omnis mollitia ipsam vel numquam incidunt quas. Quia facere dolorum modi corrupti esse."], ["created_at", "2014-09-29 19:20:49.432793"], ["name", "dolor_dolor_placeat"], ["title", "Perspiciatis neque vitae"], ["updated_at", "2014-09-29 19:20:49.432793"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_dolor_placeat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'dolor_dolor_placeat') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-09-29 19:20:49.435964"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"22"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.440868"], ["updated_at", "2014-09-29 19:20:49.440868"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.442381"], ["updated_at", "2014-09-29 19:20:49.442381"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem sit aliquam non placeat deserunt tenetur numquam. Qui omnis laboriosam cupiditate magnam facere voluptas dolorem. Sint nihil cumque. Ut sed sequi.\nNon enim ea eius autem. Consequatur porro et. Distinctio eum illo maxime. Quis voluptas est. Voluptatem culpa expedita velit tempore.\nIllo ipsum consequatur alias et quis. Non ipsum sed culpa. Tempore nam voluptatem delectus ut. Ipsum ut voluptatibus quisquam nostrum."], ["created_at", "2014-09-29 19:20:49.444612"], ["name", "quaerat_labore_sunt"], ["title", "Dolore ut ut"], ["updated_at", "2014-09-29 19:20:49.444612"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 23]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 23]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 3ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 23 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.451961"], ["updated_at", "2014-09-29 19:20:49.451961"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.453498"], ["updated_at", "2014-09-29 19:20:49.453498"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est et atque. Qui unde error. Suscipit aperiam dolorum fugit consequatur consequatur illum quis. Dolorum sed ut id. Sed et sapiente molestias incidunt ducimus.\nAb tenetur et et cum sed voluptates vel. Facere labore qui id. Corporis est quod.\nAliquid nobis cupiditate consequatur adipisci dolore. Porro ut voluptatem ea. Repellat delectus ut similique. Consequuntur id ut."], ["created_at", "2014-09-29 19:20:49.455706"], ["name", "sit_maiores_assumenda"], ["title", "Dicta dolores aut"], ["updated_at", "2014-09-29 19:20:49.455706"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"24"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 24]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.461860"], ["updated_at", "2014-09-29 19:20:49.461860"]]  (0.5ms) commit transaction  (0.2ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.463784"], ["updated_at", "2014-09-29 19:20:49.463784"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Suscipit possimus saepe est dolores reiciendis eius asperiores. Autem eum nulla possimus distinctio explicabo. Quia ut reiciendis dolores.\nUllam incidunt odit quisquam. Doloribus omnis quis distinctio autem nostrum quisquam. Velit et ullam hic. Assumenda dolor libero. Eaque voluptatem id qui saepe et nihil consequuntur.\nEx incidunt ut et. Voluptatem laboriosam corrupti reiciendis eum eius. Beatae sint sequi voluptatem ea voluptatem."], ["created_at", "2014-09-29 19:20:49.466322"], ["name", "quisquam_quibusdam_expedita"], ["title", "Fugiat id amet"], ["updated_at", "2014-09-29 19:20:49.466322"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_quibusdam_expedita"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'quisquam_quibusdam_expedita') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-09-29 19:20:49.471445"], ["version", 1]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.475790"], ["updated_at", "2014-09-29 19:20:49.475790"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.477265"], ["updated_at", "2014-09-29 19:20:49.477265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab voluptatem nulla quibusdam voluptas veniam dolorem. Rerum et et provident consequatur consequuntur quia. Error enim nihil occaecati.\nCorrupti minima possimus quae et. Nihil voluptatem aut sint accusamus. Eos velit aut. Consequatur qui velit debitis eos impedit voluptatem.\nLabore accusantium aspernatur modi aut odit. Sit ut et ut. Exercitationem totam et doloremque. Ut ipsum facere fugiat exercitationem reprehenderit consequatur id. Iusto ut et."], ["created_at", "2014-09-29 19:20:49.479458"], ["name", "expedita_ea_iusto"], ["title", "Aut et et"], ["updated_at", "2014-09-29 19:20:49.479458"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.483235"], ["updated_at", "2014-09-29 19:20:49.483235"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.484598"], ["updated_at", "2014-09-29 19:20:49.484598"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Praesentium hic ratione. Eveniet soluta non cum sint asperiores eum. Beatae iusto ut.\nPorro dolorem incidunt eveniet sed id. Architecto ut nobis atque aut. Recusandae laborum eos vero quaerat praesentium.\nQuia saepe beatae natus quod. Ad odio et. Repudiandae ut quos. Sapiente reprehenderit tenetur voluptates et. Asperiores dignissimos delectus corporis aut."], ["created_at", "2014-09-29 19:20:49.486706"], ["name", "aut_eius_possimus"], ["title", "Rerum qui nobis"], ["updated_at", "2014-09-29 19:20:49.486706"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"27"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Provident nemo qui deserunt aut dolorem. Non harum sint at accusantium et. Quaerat voluptatem laborum illo rerum.\nExplicabo ut et tempora aliquid. Sit autem aut temporibus labore aut. Aut dolorem esse minima. Enim sit perferendis doloribus nihil. Fugiat laboriosam quasi voluptatem et quae ipsum.\nSint provident consequatur sed quis voluptate quo non. Esse fugit tempora voluptas voluptas illo distinctio autem. Qui aut non dolorum laborum suscipit animi. Expedita non molestiae voluptatem ut doloribus."], ["created_at", "2014-09-29 19:20:49.491912"], ["name", "et_veritatis_ut"], ["title", "Ea sunt non"], ["updated_at", "2014-09-29 19:20:49.491912"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_veritatis_ut"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'et_veritatis_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-09-29 19:20:49.495005"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.499409"], ["updated_at", "2014-09-29 19:20:49.499409"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-09-29 19:20:49.499973"], ["updated_at", "2014-09-29 19:20:49.499973"], ["user_id", 65], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'et_veritatis_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_veritatis_ut"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_at_vitae"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'unde_at_vitae') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptates quasi odio ut nihil illo voluptatem. Qui aut ipsum vel enim. Est iure deleniti temporibus labore.\nAssumenda nam modi incidunt magnam et nesciunt harum. Consequatur autem iusto. Facilis et similique et. Reiciendis et quis quia atque. Sit distinctio ducimus ipsa et quo maiores.\nEa laboriosam occaecati doloribus fugit voluptatem sed. Consectetur odio dolorum aut officia. Et et veniam. Doloribus sed ut maxime molestiae."], ["created_at", "2014-09-29 19:20:49.509945"], ["name", "unde_at_vitae"], ["title", "Quo cumque perferendis"], ["updated_at", "2014-09-29 19:20:49.509945"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'unde_at_vitae' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptates quasi odio ut nihil illo voluptatem. Qui aut ipsum vel enim. Est iure deleniti temporibus labore.\nAssumenda nam modi incidunt magnam et nesciunt harum. Consequatur autem iusto. Facilis et similique et. Reiciendis et quis quia atque. Sit distinctio ducimus ipsa et quo maiores.\nEa laboriosam occaecati doloribus fugit voluptatem sed. Consectetur odio dolorum aut officia. Et et veniam. Doloribus sed ut maxime molestiae."], ["created_at", "2014-09-29 19:20:49.512550"], ["name", "joe"], ["title", "Quo cumque perferendis"], ["updated_at", "2014-09-29 19:20:49.512550"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-09-29 19:20:49.515938"], ["version", 1]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reprehenderit_ducimus_eum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'reprehenderit_ducimus_eum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ex eum id deserunt. Nam dolorem exercitationem dicta optio. Harum voluptas et recusandae impedit soluta nemo. Voluptate fugit ut. Eum numquam illo est occaecati odio aliquid ducimus.\nUnde in ut. Quo rem cumque fugiat doloribus eius aut. Libero ipsa qui et praesentium magnam odio. Dicta quisquam expedita non ullam. Dolores voluptatibus voluptas in ut ab non.\nUnde nesciunt a excepturi quaerat harum et consequatur. Tempore veritatis quibusdam rerum voluptatem non similique. Tempora consequuntur totam nihil saepe qui quam."], ["created_at", "2014-09-29 19:20:49.521308"], ["name", "reprehenderit_ducimus_eum"], ["title", "Sint sit quam"], ["updated_at", "2014-09-29 19:20:49.521308"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'reprehenderit_ducimus_eum' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ex eum id deserunt. Nam dolorem exercitationem dicta optio. Harum voluptas et recusandae impedit soluta nemo. Voluptate fugit ut. Eum numquam illo est occaecati odio aliquid ducimus.\nUnde in ut. Quo rem cumque fugiat doloribus eius aut. Libero ipsa qui et praesentium magnam odio. Dicta quisquam expedita non ullam. Dolores voluptatibus voluptas in ut ab non.\nUnde nesciunt a excepturi quaerat harum et consequatur. Tempore veritatis quibusdam rerum voluptatem non similique. Tempora consequuntur totam nihil saepe qui quam."], ["created_at", "2014-09-29 19:20:49.523963"], ["name", "reprehenderit_ducimus_eum"], ["title", "Sint sit quam"], ["updated_at", "2014-09-29 19:20:49.523963"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "reprehenderit_ducimus_eum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'reprehenderit_ducimus_eum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-09-29 19:20:49.526966"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Rerum recusandae et quia voluptatem error. Qui iusto sit. Numquam aliquid neque optio. Maiores quia aut.\nSint quia quas dolorum suscipit. Ea laudantium veniam quaerat sed hic accusantium. Nisi qui officia velit velit quia assumenda.\nNulla laudantium explicabo. Ea sit reiciendis vel repellendus debitis. Quia voluptas aut. Magnam omnis nobis corrupti unde."], ["created_at", "2014-09-29 19:20:49.530319"], ["name", "tenetur_qui_voluptas"], ["title", "Expedita ut consequatur"], ["updated_at", "2014-09-29 19:20:49.530319"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tenetur_qui_voluptas"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'tenetur_qui_voluptas') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-29 19:20:49.534544"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tenetur_qui_voluptas"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tenetur_qui_voluptas"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-09-29 19:20:49.539104"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur non deserunt blanditiis at velit dolor. Perferendis repellendus ipsa unde eos. Dolores explicabo sit est et. Occaecati nisi autem sit tempore.\nQuo porro voluptatem ut qui. Culpa excepturi rerum quidem id rerum sunt. Quasi nisi molestias labore quibusdam iusto.\nOdit molestias vel sit tempore porro enim. Quae sint occaecati quasi qui eos. Facere laudantium debitis ratione fuga. Ducimus enim rerum provident consequatur ratione eius impedit. Quam ad autem."], ["created_at", "2014-09-29 19:20:49.542600"], ["name", "et_blanditiis_delectus"], ["title", "Et qui dolor"], ["updated_at", "2014-09-29 19:20:49.542600"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nemo_dolore_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'nemo_dolore_libero') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptas tempore ut quis sunt. Sit sequi ut ut quam. Quia eveniet autem animi provident optio. Facere suscipit ab ut.\nPossimus blanditiis consequuntur repellendus est mollitia est. Veniam quisquam soluta consequatur nihil sint. Esse sint cumque expedita molestiae dolor adipisci dicta.\nRatione sed deleniti illum doloribus. Facilis ea beatae occaecati aut. Temporibus dolorum magnam et quam sunt tenetur. Ipsum et aut."], ["created_at", "2014-09-29 19:20:49.547849"], ["name", "nemo_dolore_libero"], ["title", "Voluptatem porro beatae"], ["updated_at", "2014-09-29 19:20:49.547849"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quae recusandae quia impedit natus quis. Modi iusto excepturi nostrum. Aliquam perferendis sit voluptatum distinctio.\nSed nostrum id dolorem. Est laudantium et alias omnis. Sunt repellendus blanditiis asperiores deleniti voluptas pariatur. Et quia eos.\nDolores inventore laborum omnis error quibusdam. Molestias odit qui. Voluptatem et rerum distinctio voluptas ipsam ab assumenda. Vitae explicabo vel consequatur ab fugiat et. Et ex id."], ["created_at", "2014-09-29 19:20:49.555286"], ["name", "alpha"], ["title", "Animi natus facilis"], ["updated_at", "2014-09-29 19:20:49.555286"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Optio in aut. Tempora quia ipsa. Ipsa eveniet eos nostrum consectetur accusantium.\nNulla dicta dolor ratione eius aut rerum. Neque nisi nihil exercitationem id. Sit voluptate nobis eum reprehenderit maiores. Molestiae fugit tenetur quia rerum aut sint earum.\nReiciendis illo cupiditate nulla eum occaecati eos. Nam id corporis. Consequatur eius porro. Inventore ea cum porro qui. Commodi rerum consectetur."], ["created_at", "2014-09-29 19:20:49.559207"], ["name", "beta"], ["title", "Quos quia quisquam"], ["updated_at", "2014-09-29 19:20:49.559207"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.561360"], ["updated_at", "2014-09-29 19:20:49.561360"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["created_at", "2014-09-29 19:20:49.564209"], ["updated_at", "2014-09-29 19:20:49.564209"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 66) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-09-29 19:20:49.566681"], ["updated_at", "2014-09-29 19:20:49.566681"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:20:49.568929"], ["name", "alpha"], ["title", "Animi natus facilis"], ["updated_at", "2014-09-29 19:20:49.568929"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-09-29 19:20:49.572017"], ["version", 2]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 66 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (38, 37, 7, 22, 4, 18, 28, 3, 30, 6, 35, 21, 1, 25, 32, 29, 2, 5, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nisi dolorem distinctio atque id. Et iste provident non. Ipsum velit dignissimos.\nSunt consectetur blanditiis neque quae. Suscipit aliquam ut animi. Non eius sed accusantium voluptatum.\nNon laboriosam recusandae et autem excepturi est earum. Mollitia quia sit unde. Magnam et quas optio. Qui eligendi tenetur rerum ut voluptas numquam voluptates."], ["created_at", "2014-09-29 19:20:49.580913"], ["name", "alpha"], ["title", "Quia aut corporis"], ["updated_at", "2014-09-29 19:20:49.580913"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Consequatur ut quam maiores iusto sunt voluptas facere. Quia qui ipsum impedit ut in iste ut. Odit quam quidem ipsa.\nNisi maxime eos rerum saepe. Et ut repellendus voluptatem ut corporis perspiciatis et. Incidunt quibusdam quam.\nVitae necessitatibus suscipit doloremque blanditiis dolor beatae omnis. Numquam et fugiat aut dolor. Amet corrupti id."], ["created_at", "2014-09-29 19:20:49.584985"], ["name", "beta"], ["title", "Ratione excepturi aliquid"], ["updated_at", "2014-09-29 19:20:49.584985"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.586577"], ["updated_at", "2014-09-29 19:20:49.586577"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-09-29 19:20:49.596881"], ["updated_at", "2014-09-29 19:20:49.596881"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-09-29 19:20:49.599385"], ["updated_at", "2014-09-29 19:20:49.599385"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:20:49.601833"], ["name", "alpha"], ["title", "Quia aut corporis"], ["updated_at", "2014-09-29 19:20:49.601833"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 41 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 41]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 41 [["updated_at", "2014-09-29 19:20:49.604985"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 67) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-09-29 19:20:49.625867"], ["updated_at", "2014-09-29 19:20:49.625867"], ["user_id", 67], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (41, 39, 38, 36) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 41]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (40, 37) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 67 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 40]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae sunt ea. Unde voluptatem ut ut. Quisquam in veniam impedit cum. Quia suscipit et sed. Nihil omnis quo iste.\nNon eos nobis dolorem reiciendis illo eum. Dolores ex perspiciatis quae. Officia molestiae inventore deserunt. Quia sapiente porro voluptatem rerum.\nQuia architecto sed quod facere dolorem eaque. Totam rerum sapiente in alias dicta nobis vero. Ex minima consequatur dolore nihil velit a perspiciatis. Maxime et tenetur."], ["created_at", "2014-09-29 19:20:49.646906"], ["name", "alpha"], ["title", "Ut optio rerum"], ["updated_at", "2014-09-29 19:20:49.646906"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quis perferendis eos ducimus vel molestias facilis. Dolorum sit nihil aut. Dicta expedita quia rerum omnis recusandae. Voluptatem aliquid architecto omnis reprehenderit qui hic dolorem.\nAnimi qui nostrum sunt repellendus similique enim accusamus. Est similique nemo sunt eligendi accusantium et. Saepe nam ex. Voluptates dolorum commodi aliquam deleniti repellat perferendis et. Consectetur sint nesciunt et.\nNon sit id. Illum laudantium est. Dolorum nihil vel recusandae quaerat blanditiis itaque."], ["created_at", "2014-09-29 19:20:49.652042"], ["name", "beta"], ["title", "Voluptas cupiditate et"], ["updated_at", "2014-09-29 19:20:49.652042"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.653724"], ["updated_at", "2014-09-29 19:20:49.653724"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-09-29 19:20:49.656480"], ["updated_at", "2014-09-29 19:20:49.656480"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 68) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-09-29 19:20:49.659351"], ["updated_at", "2014-09-29 19:20:49.659351"], ["user_id", 68], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:20:49.662526"], ["name", "alpha"], ["title", "Ut optio rerum"], ["updated_at", "2014-09-29 19:20:49.662526"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 44 [["updated_at", "2014-09-29 19:20:49.666513"], ["version", 6]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 68 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (44, 43) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est deleniti expedita exercitationem. Ut quis rerum nemo. Quia consequatur debitis praesentium perferendis temporibus.\nConsequuntur magni et rerum possimus rerum ut est. Velit iure porro. Temporibus totam laborum qui omnis voluptate. Dolorem et omnis laborum accusantium laudantium cum.\nRerum voluptatem eum architecto ut similique nemo minima. Expedita nam ut laudantium in perspiciatis sed. Labore quae assumenda corrupti eum. Explicabo magni molestiae saepe sit assumenda aliquam. Necessitatibus voluptatibus quasi quisquam velit."], ["created_at", "2014-09-29 19:20:49.675092"], ["name", "alpha"], ["title", "Fugiat est odio"], ["updated_at", "2014-09-29 19:20:49.675092"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perferendis aut deserunt quidem provident. Eius aut eaque maxime. Dolore ut fugit. Quaerat ea animi voluptatibus. Ipsa atque a.\nArchitecto voluptate reprehenderit aut repudiandae velit minima. Sit quisquam voluptatibus sit voluptatem ut sunt. Molestias amet nam.\nPorro ad enim omnis velit aliquid illo ipsam. Odit laborum quam aut est. Cumque quibusdam et natus magnam consequuntur. Occaecati asperiores beatae distinctio."], ["created_at", "2014-09-29 19:20:49.682329"], ["name", "beta"], ["title", "Eum ut aut"], ["updated_at", "2014-09-29 19:20:49.682329"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-29 19:20:49.684901"], ["updated_at", "2014-09-29 19:20:49.684901"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-09-29 19:20:49.688121"], ["updated_at", "2014-09-29 19:20:49.688121"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 69) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-09-29 19:20:49.690679"], ["updated_at", "2014-09-29 19:20:49.690679"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-09-29 19:20:49.692935"], ["name", "alpha"], ["title", "Fugiat est odio"], ["updated_at", "2014-09-29 19:20:49.692935"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 47 [["updated_at", "2014-09-29 19:20:49.696086"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.457556"], ["updated_at", "2014-12-11 00:49:53.457556"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.463584"], ["updated_at", "2014-12-11 00:49:53.463584"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.470293"], ["updated_at", "2014-12-11 00:49:53.470293"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.471920"], ["updated_at", "2014-12-11 00:49:53.471920"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.475765"], ["updated_at", "2014-12-11 00:49:53.475765"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.477309"], ["updated_at", "2014-12-11 00:49:53.477309"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.482229"], ["updated_at", "2014-12-11 00:49:53.482229"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.483944"], ["updated_at", "2014-12-11 00:49:53.483944"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.488521"], ["updated_at", "2014-12-11 00:49:53.488521"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.490527"], ["updated_at", "2014-12-11 00:49:53.490527"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.494794"], ["updated_at", "2014-12-11 00:49:53.494794"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.496591"], ["updated_at", "2014-12-11 00:49:53.496591"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.501372"], ["updated_at", "2014-12-11 00:49:53.501372"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.503090"], ["updated_at", "2014-12-11 00:49:53.503090"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.507085"], ["updated_at", "2014-12-11 00:49:53.507085"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.508806"], ["updated_at", "2014-12-11 00:49:53.508806"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.514013"], ["updated_at", "2014-12-11 00:49:53.514013"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.515830"], ["updated_at", "2014-12-11 00:49:53.515830"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.519775"], ["updated_at", "2014-12-11 00:49:53.519775"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.521436"], ["updated_at", "2014-12-11 00:49:53.521436"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut voluptatum ea velit molestiae. Voluptates placeat eos quidem assumenda est nisi ullam. Et ut blanditiis harum officia qui fuga. At aut non cupiditate deserunt dolores quae. Sit ut aliquid eligendi.\nIn alias hic. Cupiditate incidunt aut non fugiat et quidem. Illum quis voluptas nemo nesciunt qui sequi est. Labore soluta suscipit quo aut voluptatibus.\nDicta sequi iste in voluptatem dolorum animi. Voluptas reprehenderit odit. Voluptate omnis dolor aut amet. Fugit veritatis asperiores voluptate ipsam tempora."], ["created_at", "2014-12-11 00:49:53.525969"], ["name", "autem_dolor_ipsam"], ["title", "Inventore nemo animi"], ["updated_at", "2014-12-11 00:49:53.525969"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.540797"], ["updated_at", "2014-12-11 00:49:53.540797"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.542548"], ["updated_at", "2014-12-11 00:49:53.542548"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Placeat perferendis sint molestias omnis et ut. Quas dicta quia tempora mollitia porro aut. Ex amet ducimus. Debitis a fuga sit est minus. Consequuntur quo ut omnis consequatur perspiciatis.\nEius rem et cum. Rerum repudiandae optio culpa sit vel. Quia praesentium debitis aperiam necessitatibus nihil. Ut dolorem perspiciatis eveniet.\nNemo porro velit. In nemo tempore aut velit vel accusamus. A dicta et est non adipisci tempore eveniet."], ["created_at", "2014-12-11 00:49:53.544762"], ["name", "et_animi_sunt"], ["title", "Rem in accusamus"], ["updated_at", "2014-12-11 00:49:53.544762"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"2"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.555691"], ["updated_at", "2014-12-11 00:49:53.555691"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.557799"], ["updated_at", "2014-12-11 00:49:53.557799"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "In est sapiente vitae itaque autem dolorem. Velit dignissimos error. Sed nobis doloribus qui repellat.\nPerspiciatis maxime inventore. Suscipit itaque sit aut pariatur distinctio excepturi autem. Optio omnis voluptas ea dolorem aut incidunt atque.\nDolore voluptate asperiores. Quia dolorem aspernatur iusto accusamus voluptatibus. Molestiae ipsum ipsam voluptatem ea."], ["created_at", "2014-12-11 00:49:53.561017"], ["name", "enim_optio_laborum"], ["title", "Est deleniti officia"], ["updated_at", "2014-12-11 00:49:53.561017"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_optio_laborum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'enim_optio_laborum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-12-11 00:49:53.566276"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_optio_laborum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-12-11 00:49:53.572305"], ["version", nil]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.576763"], ["updated_at", "2014-12-11 00:49:53.576763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.578314"], ["updated_at", "2014-12-11 00:49:53.578314"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Suscipit voluptas enim ea architecto dolore. Dolor eligendi quis iure eius et quia. Doloremque quas quos est magnam quibusdam.\nQuas debitis occaecati saepe et odit est a. Eos optio odio. Modi laborum magnam quia occaecati enim sint quod. Et ullam ipsam veritatis.\nFacere accusamus ea consectetur incidunt dolorem aut est. Voluptas voluptatem iste. Ut in rerum corrupti sunt eum. Recusandae voluptatem velit quo autem qui."], ["created_at", "2014-12-11 00:49:53.580468"], ["name", "perferendis_ut_occaecati"], ["title", "Libero dolor eum"], ["updated_at", "2014-12-11 00:49:53.580468"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.585742"], ["updated_at", "2014-12-11 00:49:53.585742"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.587307"], ["updated_at", "2014-12-11 00:49:53.587307"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem omnis nesciunt consectetur incidunt eos. Quia vero dolorum ea rerum. Aut sint nulla non amet. Omnis ab ut qui dolorum consequatur ex. A eum vel.\nA quas aut non temporibus. Similique reprehenderit eius quis assumenda dolores in quisquam. Fugiat velit facilis aut repudiandae quis amet.\nNesciunt libero deserunt illum ut tempore esse. Numquam cumque ipsum nulla sed. Voluptatem natus vero ex qui facilis exercitationem. Non aut rerum consectetur. Deserunt beatae sunt nihil et saepe."], ["created_at", "2014-12-11 00:49:53.589852"], ["name", "nihil_omnis_quaerat"], ["title", "Vel laboriosam ratione"], ["updated_at", "2014-12-11 00:49:53.589852"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.594040"], ["updated_at", "2014-12-11 00:49:53.594040"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.595645"], ["updated_at", "2014-12-11 00:49:53.595645"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut et voluptatum et cupiditate. Numquam dolores maxime earum consectetur maiores eos. In cupiditate ab unde.\nIure quia soluta blanditiis placeat. Voluptatem possimus quod in. Consequuntur quia omnis.\nQuo voluptatem quibusdam incidunt quasi pariatur et eligendi. Non aut cumque eos. Saepe eum suscipit. Et vero tenetur iusto. Reprehenderit dolores saepe accusantium odit vel atque est."], ["created_at", "2014-12-11 00:49:53.597968"], ["name", "rerum_odio_architecto"], ["title", "Officiis debitis repellat"], ["updated_at", "2014-12-11 00:49:53.597968"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "rerum_odio_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'rerum_odio_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-12-11 00:49:53.601553"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.607314"], ["updated_at", "2014-12-11 00:49:53.607314"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.608952"], ["updated_at", "2014-12-11 00:49:53.608952"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem totam incidunt quo eius hic. Dolor optio et totam in omnis asperiores. Id aut amet occaecati et illum non placeat. Sint adipisci eos magni non nam ipsum.\nConsequuntur quod qui. Quibusdam asperiores aliquid natus omnis possimus quo. Doloribus eum ut harum excepturi animi eligendi. Ut ad exercitationem. Quam ut commodi consequatur consectetur et dolor.\nSit voluptatem fugiat vero est ullam. Quam error est autem ducimus deserunt doloribus aliquam. Quod qui est ut eveniet a commodi et. Possimus ipsam ducimus et officia voluptas sit officiis. Iste dolores et numquam molestiae itaque."], ["created_at", "2014-12-11 00:49:53.611615"], ["name", "nam_facilis_enim"], ["title", "Non reprehenderit dolore"], ["updated_at", "2014-12-11 00:49:53.611615"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"7"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 7]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 7]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 7 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.623331"], ["updated_at", "2014-12-11 00:49:53.623331"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.625145"], ["updated_at", "2014-12-11 00:49:53.625145"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui consequatur omnis in. Ut similique cumque ut. Aut ullam repellendus.\nVoluptatem quod ducimus laudantium deleniti quas. Aliquid vero praesentium enim nihil inventore. Ratione voluptatum modi sit debitis adipisci officiis. Tenetur repellendus vero.\nTenetur aut ut molestiae necessitatibus accusamus. Ab delectus vero deleniti. Ullam est quibusdam ut dignissimos. Fugiat in suscipit incidunt sit voluptatibus. Deleniti velit nihil."], ["created_at", "2014-12-11 00:49:53.627573"], ["name", "voluptas_debitis_illo"], ["title", "Quo neque delectus"], ["updated_at", "2014-12-11 00:49:53.627573"]]  (0.5ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (1, 3, 2, 5, 4, 6, 8) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.637985"], ["updated_at", "2014-12-11 00:49:53.637985"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.639715"], ["updated_at", "2014-12-11 00:49:53.639715"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia enim et accusantium aut sit voluptatem. Temporibus possimus quasi consequatur. Est fuga aspernatur fugit beatae quia sint.\nEaque iste modi iusto. Error molestiae ad at officia. Et quas est animi fugiat aut. Incidunt fugit sed sequi.\nOdio aut accusantium ut ut accusamus. Illo voluptatem quasi sed. Quod quidem quibusdam odio molestiae. Numquam repellat eveniet et tempora quia consequuntur."], ["created_at", "2014-12-11 00:49:53.642320"], ["name", "delectus_expedita_adipisci"], ["title", "Voluptas sed delectus"], ["updated_at", "2014-12-11 00:49:53.642320"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.646743"], ["updated_at", "2014-12-11 00:49:53.646743"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.648373"], ["updated_at", "2014-12-11 00:49:53.648373"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Numquam tempora voluptas voluptatem architecto molestiae sint est. Fugit soluta ducimus magni repellendus provident amet quos. Repellat explicabo quia omnis corporis. Amet id hic temporibus nulla aut qui.\nVitae fuga fugiat. Saepe deleniti maiores unde. Aut veritatis quasi voluptatem minima autem.\nNeque consectetur quidem. Unde ut porro saepe ut quisquam. Quia nobis neque et natus."], ["created_at", "2014-12-11 00:49:53.650791"], ["name", "officia_inventore_magni"], ["title", "Delectus sit quos"], ["updated_at", "2014-12-11 00:49:53.650791"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-12-11 00:49:53.654272"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-12-11 00:49:53.654272"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/11 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.658617"], ["updated_at", "2014-12-11 00:49:53.658617"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.660192"], ["updated_at", "2014-12-11 00:49:53.660192"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos reprehenderit necessitatibus consequatur fugit et minima atque. Non rerum nulla accusamus non numquam autem quia. Corporis harum magnam et eos. Laborum quis quia omnis aut. Est expedita cum qui enim nostrum voluptates.\nSimilique consequatur cumque non non animi odio. Sunt tenetur placeat necessitatibus earum consequatur nihil. Et veniam et quis. Magnam commodi numquam sed reiciendis quod sit beatae. Accusantium sunt sequi animi nobis ducimus.\nIusto corrupti magni veritatis architecto quibusdam. Voluptatem possimus ullam modi qui dignissimos sapiente facere. Autem minus aut voluptas voluptatem nam eos. Aut ut aut illum et quae accusamus est. Sit deserunt voluptatum iste quia suscipit eum dolor."], ["created_at", "2014-12-11 00:49:53.662994"], ["name", "quis_excepturi_ab"], ["title", "Qui provident in"], ["updated_at", "2014-12-11 00:49:53.662994"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_excepturi_ab"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'quis_excepturi_ab') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-12-11 00:49:53.667179"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'quis_excepturi_ab' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.674695"], ["updated_at", "2014-12-11 00:49:53.674695"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.676327"], ["updated_at", "2014-12-11 00:49:53.676327"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iste sed neque. Dolor minima dolorem in. Et minus dolore provident.\nDolorem soluta debitis et. Iste numquam dolorem error vel velit placeat magni. Sint qui et sunt qui. Sunt fugit eligendi excepturi pariatur explicabo eum adipisci. Aut ut excepturi.\nCum fugit corrupti laudantium aut quasi. Velit temporibus officiis. Architecto facilis reprehenderit suscipit asperiores excepturi. Itaque consequatur odit adipisci ipsum veritatis inventore."], ["created_at", "2014-12-11 00:49:53.678586"], ["name", "neque_eveniet_assumenda"], ["title", "Cupiditate ad fugit"], ["updated_at", "2014-12-11 00:49:53.678586"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.691272"], ["updated_at", "2014-12-11 00:49:53.691272"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.693416"], ["updated_at", "2014-12-11 00:49:53.693416"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Soluta amet qui rerum. Minus possimus quia. Velit vero voluptate vel.\nEst nihil molestiae. Veritatis ut magnam nihil ea. Aut temporibus aliquid. Magni porro et. Rem accusantium quisquam eaque et quia mollitia.\nEius nesciunt ex debitis est voluptatem. Consequatur et non a magnam. Omnis soluta non distinctio laboriosam rerum."], ["created_at", "2014-12-11 00:49:53.696423"], ["name", "omnis_laborum_voluptatem"], ["title", "Voluptatem praesentium sunt"], ["updated_at", "2014-12-11 00:49:53.696423"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"14"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.701340"], ["updated_at", "2014-12-11 00:49:53.701340"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.702879"], ["updated_at", "2014-12-11 00:49:53.702879"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Veritatis vel harum omnis assumenda nihil. Ea nihil et. Est architecto debitis occaecati nemo eos aut deleniti.\nEnim velit aspernatur sit deleniti sint libero. Nemo fugit voluptatem eligendi vero ea. Vero minima et. Quis aut dolores excepturi quisquam sequi. Dolore est ut.\nDicta rerum et. Mollitia dolore occaecati assumenda. Asperiores non amet."], ["created_at", "2014-12-11 00:49:53.705803"], ["name", "distinctio_mollitia_est"], ["title", "Nemo ipsam sit"], ["updated_at", "2014-12-11 00:49:53.705803"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_mollitia_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'distinctio_mollitia_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 15 [["updated_at", "2014-12-11 00:49:53.709374"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.714364"], ["updated_at", "2014-12-11 00:49:53.714364"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.715975"], ["updated_at", "2014-12-11 00:49:53.715975"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Omnis vel in distinctio quasi. Sit sit soluta consectetur iste sed sint unde. Velit enim possimus. Magni atque quidem saepe qui nihil distinctio.\nSapiente quidem nesciunt autem non explicabo reprehenderit. Consequatur doloribus quod et optio quae vel velit. Debitis aut laboriosam vero unde.\nMolestiae voluptatum et amet tenetur ut qui. Facilis maiores rerum praesentium voluptatibus sit ipsum provident. Ut consectetur asperiores illo sit nihil similique quaerat."], ["created_at", "2014-12-11 00:49:53.718446"], ["name", "enim_sint_veniam"], ["title", "Doloribus officiis est"], ["updated_at", "2014-12-11 00:49:53.718446"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_sint_veniam"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'enim_sint_veniam') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-12-11 00:49:53.723556"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.728098"], ["updated_at", "2014-12-11 00:49:53.728098"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.729673"], ["updated_at", "2014-12-11 00:49:53.729673"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut molestiae ut repellat magni sed. Eos tempore aut. Rerum atque harum. Voluptatibus adipisci id rem. Molestias libero qui quidem quasi aliquid dolorem reprehenderit.\nVelit in ut eos corporis eum iusto ipsa. Delectus aut voluptatem sunt. Omnis saepe neque dolores fuga officiis.\nMaxime eos non nostrum placeat aperiam. Dolorem itaque perspiciatis aspernatur cumque repudiandae consequatur. Odit quisquam minima. Aperiam et similique voluptate est et."], ["created_at", "2014-12-11 00:49:53.732076"], ["name", "sapiente_eos_ea"], ["title", "Voluptatem architecto velit"], ["updated_at", "2014-12-11 00:49:53.732076"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 17 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-12-11 00:49:53.736044"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.741692"], ["updated_at", "2014-12-11 00:49:53.741692"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.743381"], ["updated_at", "2014-12-11 00:49:53.743381"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "At omnis vel est eos dicta. Rerum et pariatur velit ut voluptatem ut tempora. Qui dolor quis nihil ab dolorem fugiat. Recusandae dolor explicabo sed qui.\nVoluptatem vel maxime. Id at facere tenetur praesentium quae distinctio. Asperiores non culpa adipisci inventore neque quisquam cum.\nAut repudiandae quia. Dolore et aut rerum aut vitae. Est ut qui culpa explicabo id accusantium. Commodi dolorum natus consequatur accusantium. Quidem et aperiam omnis veniam quo ipsum mollitia."], ["created_at", "2014-12-11 00:49:53.745943"], ["name", "ipsa_et_laborum"], ["title", "Porro mollitia nihil"], ["updated_at", "2014-12-11 00:49:53.745943"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.751602"], ["updated_at", "2014-12-11 00:49:53.751602"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.753224"], ["updated_at", "2014-12-11 00:49:53.753224"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eum itaque eaque nam sunt nihil. Esse harum id quasi reprehenderit. Molestias odio eos consequatur rerum.\nEos at et repellendus. Blanditiis necessitatibus reprehenderit voluptates ea ratione quo et. Sed commodi voluptatem dolor sit. Unde nihil et. Sint debitis quia voluptatum nulla.\nMagni ipsum vel ab impedit. Velit maiores consequuntur ipsum quam nemo. Nemo enim et quia ipsa omnis veniam."], ["created_at", "2014-12-11 00:49:53.755589"], ["name", "quod_illum_aut"], ["title", "Numquam eius quod"], ["updated_at", "2014-12-11 00:49:53.755589"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.760958"], ["updated_at", "2014-12-11 00:49:53.760958"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:49:53.762634"], ["updated_at", "2014-12-11 00:49:53.762634"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Culpa facilis sunt saepe ut quia. Ducimus dolore id voluptatem sunt. Incidunt cum voluptates et voluptatem earum fugit. Quod molestiae nemo est autem. Nesciunt ratione facilis quia alias dolores distinctio.\nExercitationem in fuga doloremque odit neque voluptas aut. Autem nam aliquid fuga ab. Debitis ipsa quia officiis facilis enim ut cupiditate. Libero eum totam a. At quo ipsam tempore delectus est.\nVelit impedit amet occaecati aliquid. Magni delectus dolorem temporibus. Enim debitis consequatur quia. Dolor animi et eum sint."], ["created_at", "2014-12-11 00:49:53.765152"], ["name", "autem_iusto_ut"], ["title", "Iste porro non"], ["updated_at", "2014-12-11 00:49:53.765152"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Possimus sit cumque quas debitis iure. Eum totam consequuntur adipisci. Nesciunt aut consectetur minus similique et.\nArchitecto est assumenda iure. Qui ab odit et explicabo vel id nihil. Perspiciatis repudiandae qui ullam a enim. Quasi eaque fugiat adipisci et occaecati eum. Eius eveniet vel enim quaerat doloribus.\nCommodi quisquam non aut non dolor id veniam. Dolor corrupti minus nihil consequatur qui. Sed quis voluptas autem officia ducimus eos. Quisquam et odit quis."], ["created_at", "2014-12-11 00:49:53.771977"], ["name", "fugiat_odit_impedit"], ["title", "Animi nemo laudantium"], ["updated_at", "2014-12-11 00:49:53.771977"]]  (0.5ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fugiat_odit_impedit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'fugiat_odit_impedit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-12-11 00:49:53.777652"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fugiat_odit_impedit"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fugiat_odit_impedit"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-12-11 00:49:53.782911"], ["version", nil]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo dolores aut at soluta aut rem aut. Est aut voluptatum a. Et est quibusdam est deleniti. Vel voluptatibus impedit quam explicabo quas. Veniam odit facere vel velit quaerat ipsum ut.\nOdit porro ut. Ex rerum ut. Eum qui suscipit. Odio voluptatibus a ipsa similique molestiae ab sint.\nLabore rerum et nostrum totam voluptas odit. Molestiae est eius earum non debitis aspernatur. Fuga autem repellendus quas et et."], ["created_at", "2014-12-11 00:49:53.786258"], ["name", "iure_maxime_ea"], ["title", "Reiciendis repudiandae velit"], ["updated_at", "2014-12-11 00:49:53.786258"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_maxime_ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'iure_maxime_ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-12-11 00:49:53.789493"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.7ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.694763"], ["updated_at", "2014-12-11 00:55:16.694763"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.724103"], ["updated_at", "2014-12-11 00:55:16.724103"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eaque enim voluptates placeat eveniet et quidem. Perspiciatis est debitis fugit saepe minima non. Beatae quaerat dignissimos. Atque voluptate sapiente esse ut. Est aut unde.\nQuis a voluptatem veritatis. Consequatur nam laboriosam sint. Nobis quia sed eveniet aperiam earum. Odio omnis iure id dolores.\nEsse non consequatur. Perspiciatis magnam vitae culpa id corrupti odio cumque. Itaque deleniti quasi. Et quas culpa eos assumenda eum."], ["created_at", "2014-12-11 00:55:16.945164"], ["name", "neque_magnam_non"], ["title", "Perferendis natus porro"], ["updated_at", "2014-12-11 00:55:16.945164"]]  (1.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"1"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.957970"], ["updated_at", "2014-12-11 00:55:16.957970"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.959762"], ["updated_at", "2014-12-11 00:55:16.959762"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facere qui quis. Unde rerum rerum non officia est architecto ratione. Libero earum consectetur autem est perspiciatis. Sint et eveniet vitae reiciendis quia dolor autem. Odio qui aut maxime quasi.\nEt dolorem ut aut. Impedit tempore ipsa et quis inventore. Et et numquam harum. Nam quasi illo eum aut eaque qui.\nTempora deserunt sapiente cum. Sequi quas incidunt quia debitis autem recusandae. Possimus aspernatur corporis reprehenderit. Voluptates est aliquam veritatis ipsam eum et. Autem neque quae nihil iure quia porro."], ["created_at", "2014-12-11 00:55:16.962591"], ["name", "deserunt_atque_enim"], ["title", "Perspiciatis enim quod"], ["updated_at", "2014-12-11 00:55:16.962591"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.966529"], ["updated_at", "2014-12-11 00:55:16.966529"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.968169"], ["updated_at", "2014-12-11 00:55:16.968169"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Incidunt veniam magni iste sed. Libero dolorem alias at enim mollitia totam et. Commodi ducimus tenetur quod. Vel voluptatum ipsam et aut. Debitis assumenda officia architecto enim consequuntur id.\nLibero ut molestiae. Ad sequi tempore. Quae vel cum expedita qui officiis qui. Rerum laudantium beatae numquam ut. Eum illum aut aut a nostrum ut.\nOmnis beatae deserunt et doloremque quia. Unde corporis ab in sunt consectetur odit odio. Quia consequuntur et."], ["created_at", "2014-12-11 00:55:16.970584"], ["name", "quo_commodi_aperiam"], ["title", "Et aut commodi"], ["updated_at", "2014-12-11 00:55:16.970584"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quo_commodi_aperiam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'quo_commodi_aperiam') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-12-11 00:55:16.980661"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"3"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 3]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'quo_commodi_aperiam' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.996076"], ["updated_at", "2014-12-11 00:55:16.996076"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:16.998095"], ["updated_at", "2014-12-11 00:55:16.998095"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officiis aperiam possimus atque. Exercitationem excepturi quo libero. Aliquam dolore consequatur minus commodi et.\nId animi libero incidunt quibusdam. Sit est nesciunt ut velit. Qui in ut ipsam a ad eius corrupti. Tempore nostrum consequuntur doloremque voluptas.\nRepudiandae iusto repellendus. Aut id ea minus. Ipsa eum odio qui voluptas eveniet aut atque. Modi error consequatur illum ex voluptatem."], ["created_at", "2014-12-11 00:55:17.000685"], ["name", "ut_voluptatem_praesentium"], ["title", "Et veritatis est"], ["updated_at", "2014-12-11 00:55:17.000685"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.010981"], ["updated_at", "2014-12-11 00:55:17.010981"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.012938"], ["updated_at", "2014-12-11 00:55:17.012938"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur sit aspernatur sint. Libero aperiam ut. Voluptatum odio rerum numquam aut sequi quas.\nCorporis reiciendis laudantium a sit ut sint cum. Voluptatem quasi ullam rerum deleniti. Blanditiis eligendi et aut beatae. Quos vel optio rerum laborum accusantium. Molestiae dignissimos cum quam.\nReiciendis qui modi earum aut et voluptates voluptatem. Ea id non quas pariatur consequatur. Optio libero sint."], ["created_at", "2014-12-11 00:55:17.015466"], ["name", "quibusdam_voluptas_facere"], ["title", "Unde quis illo"], ["updated_at", "2014-12-11 00:55:17.015466"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quibusdam_voluptas_facere"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 5 AND "fine_print_contracts"."name" = 'quibusdam_voluptas_facere') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 5]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 5 [["updated_at", "2014-12-11 00:55:17.020169"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"5"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.026736"], ["updated_at", "2014-12-11 00:55:17.026736"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.028666"], ["updated_at", "2014-12-11 00:55:17.028666"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ab incidunt enim. Blanditiis ut veniam et provident esse tempore doloribus. Necessitatibus aut sit ut officiis corporis hic maiores. In sed et autem rerum veniam officiis.\nDolorum ratione impedit quas. Dolorem voluptatem sed illo adipisci non. Consequatur nihil dignissimos ea libero qui quia reiciendis.\nProvident minima molestiae quia. Dolores dignissimos facilis. Ea voluptatem suscipit maiores est. Debitis exercitationem et magnam sunt."], ["created_at", "2014-12-11 00:55:17.031372"], ["name", "placeat_delectus_quia"], ["title", "Ut ex vitae"], ["updated_at", "2014-12-11 00:55:17.031372"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 6 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-12-11 00:55:17.035197"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/6 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.041788"], ["updated_at", "2014-12-11 00:55:17.041788"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.043475"], ["updated_at", "2014-12-11 00:55:17.043475"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Earum nobis eum. Corrupti nisi quo in voluptate eos. Et iusto maxime nulla nihil expedita.\nSimilique possimus alias. Corrupti velit ut. Reprehenderit voluptatem esse dolorem dicta tenetur et deserunt. Sit modi repellendus.\nCulpa esse maxime facilis vero optio sint. Possimus beatae ea vitae aut non. Tenetur dolorum voluptas et quia deserunt. Praesentium hic ut laboriosam commodi architecto et est."], ["created_at", "2014-12-11 00:55:17.046458"], ["name", "alias_pariatur_omnis"], ["title", "Quia porro et"], ["updated_at", "2014-12-11 00:55:17.046458"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.050471"], ["updated_at", "2014-12-11 00:55:17.050471"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.052044"], ["updated_at", "2014-12-11 00:55:17.052044"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et reprehenderit maxime dolorem tenetur nemo nostrum. Eos ducimus quis dolor asperiores nulla expedita veritatis. Dolores unde dolor sint aut. Veniam impedit dolores nulla. Cupiditate consectetur reprehenderit.\nLaboriosam et placeat. Quia dolorum delectus numquam eligendi sunt. Consequatur tempore sit non dolor cupiditate eius. Aliquam iusto tempora. Fugiat facilis delectus omnis autem.\nOmnis et et consequatur reiciendis commodi sit consectetur. Autem accusantium ducimus praesentium perspiciatis quibusdam. Dolorum consequatur reprehenderit rem. Ipsum eaque est quidem culpa sit repudiandae. Ut culpa ut repellat ullam quia et."], ["created_at", "2014-12-11 00:55:17.054446"], ["name", "commodi_dolorem_tempore"], ["title", "Impedit odit sit"], ["updated_at", "2014-12-11 00:55:17.054446"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-12-11 00:55:17.057592"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-12-11 00:55:17.057592"]]  (0.8ms) commit transaction Redirected to http://test.host/fine_print/contracts/9 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.061134"], ["updated_at", "2014-12-11 00:55:17.061134"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.062692"], ["updated_at", "2014-12-11 00:55:17.062692"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui eaque autem fugit corrupti minima perferendis. Aperiam earum temporibus odit iure omnis consequatur non. Id eos in dolores nulla sint quia nostrum. Nobis non autem quia quis omnis consequuntur.\nNon et voluptatem ut atque aspernatur autem. Numquam voluptate aperiam ad et ipsam. Quis fuga officiis hic. Consequatur incidunt quas.\nExpedita adipisci quae. Blanditiis modi incidunt. Voluptatem illo voluptas labore corrupti natus repellat. A quo sint fugit sunt quasi cumque."], ["created_at", "2014-12-11 00:55:17.065175"], ["name", "est_architecto_esse"], ["title", "Qui rerum neque"], ["updated_at", "2014-12-11 00:55:17.065175"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_architecto_esse"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'est_architecto_esse') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-12-11 00:55:17.069082"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"10"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_architecto_esse"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-12-11 00:55:17.074471"], ["version", nil]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.079141"], ["updated_at", "2014-12-11 00:55:17.079141"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.080728"], ["updated_at", "2014-12-11 00:55:17.080728"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et cum voluptas enim omnis. Dicta numquam tenetur ipsum iste. Voluptatem molestias ut sequi similique ut est. Quae placeat quas nostrum pariatur qui. Beatae facilis sed iste corrupti vel eum asperiores.\nVelit autem eos a dolores. Enim omnis et perspiciatis consequatur. A aut et dolor. Sit ipsa suscipit repudiandae mollitia modi. Nihil maxime voluptas et ducimus qui suscipit fuga.\nVoluptatem iste dolor. In doloremque aut. Ratione perferendis quo dolore blanditiis debitis quia. Voluptates et reiciendis harum eum doloribus id iste."], ["created_at", "2014-12-11 00:55:17.083185"], ["name", "doloribus_quia_voluptatem"], ["title", "Ipsam cum quas"], ["updated_at", "2014-12-11 00:55:17.083185"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "doloribus_quia_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'doloribus_quia_voluptatem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-12-11 00:55:17.086481"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.093821"], ["updated_at", "2014-12-11 00:55:17.093821"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.095630"], ["updated_at", "2014-12-11 00:55:17.095630"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Suscipit in asperiores sequi. Quia rerum eaque exercitationem. Iure incidunt magni consequatur quia dolore deleniti doloremque.\nMagni suscipit voluptatem corrupti. Rerum et sint excepturi magni. Enim at laborum nihil nemo vel vero. Doloribus mollitia aliquam accusantium culpa quasi deserunt quia. Dolore fugiat sed possimus ea sequi aspernatur.\nEst magni ex et. Ut corporis dicta. Eos aliquam molestiae impedit."], ["created_at", "2014-12-11 00:55:17.098179"], ["name", "iusto_et_amet"], ["title", "Expedita qui eum"], ["updated_at", "2014-12-11 00:55:17.098179"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.102199"], ["updated_at", "2014-12-11 00:55:17.102199"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.103940"], ["updated_at", "2014-12-11 00:55:17.103940"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Assumenda laborum accusamus et. Sed accusamus consequatur eveniet et fugit explicabo. Quia tempore voluptatem. Facilis magnam asperiores rerum ea odit quo cum.\nOfficia ex in voluptatem. Natus eveniet molestiae. Ad ipsum molestiae eos aliquid et. A corrupti qui. Consequatur sed aliquid rerum ut corporis quia.\nNostrum eos repudiandae mollitia aut. Qui totam esse eos occaecati dolores sint. Blanditiis delectus non quia expedita eligendi. Voluptatem exercitationem qui enim quis."], ["created_at", "2014-12-11 00:55:17.106962"], ["name", "tempora_maxime_et"], ["title", "Dicta assumenda dolorem"], ["updated_at", "2014-12-11 00:55:17.106962"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"13"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.114555"], ["updated_at", "2014-12-11 00:55:17.114555"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.116648"], ["updated_at", "2014-12-11 00:55:17.116648"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Illo voluptate inventore molestias asperiores. Perspiciatis rerum sapiente ab nihil pariatur. Deleniti debitis nisi aut sint voluptas illum pariatur. Rerum sapiente sit. Tempora aut quidem debitis ea at.\nMaiores unde temporibus accusantium culpa. Fugit consequuntur magnam labore aliquam. Nihil magnam voluptas perspiciatis odit. Neque aut voluptatem vel labore commodi. Iste eos facere officia molestiae doloribus.\nFuga neque autem. Qui officiis nemo inventore et explicabo dolores. Illo ipsa voluptatem. Ad excepturi quod eius culpa. Rerum voluptas laboriosam corporis consectetur placeat nam."], ["created_at", "2014-12-11 00:55:17.119795"], ["name", "et_ut_nisi"], ["title", "Molestias et laboriosam"], ["updated_at", "2014-12-11 00:55:17.119795"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"14"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_ut_nisi"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'et_ut_nisi') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-12-11 00:55:17.126617"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.131597"], ["updated_at", "2014-12-11 00:55:17.131597"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.133258"], ["updated_at", "2014-12-11 00:55:17.133258"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Error ut voluptatem fugit quam qui a odit. Et officia soluta. Aut accusantium dolor. Est ipsum doloremque culpa sit enim in eos.\nVoluptatem qui qui et recusandae. Eligendi distinctio quas quia illo quia aut. Voluptas nihil qui aperiam consectetur itaque ea quaerat. Incidunt nobis sequi ad eum neque est.\nNulla aut ut esse voluptatem. Et est et perferendis earum dolor ipsum id. Sit molestiae a."], ["created_at", "2014-12-11 00:55:17.135898"], ["name", "aspernatur_cumque_maxime"], ["title", "Voluptas rerum et"], ["updated_at", "2014-12-11 00:55:17.135898"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 15]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 15]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 15 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.147467"], ["updated_at", "2014-12-11 00:55:17.147467"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.149082"], ["updated_at", "2014-12-11 00:55:17.149082"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Perferendis vel ducimus cupiditate et dolor eum corrupti. Labore modi eveniet cumque accusamus voluptas soluta quas. Excepturi eum odit dolorum doloribus enim.\nTotam suscipit consequuntur enim perferendis. Laborum facere blanditiis enim molestiae voluptatum et enim. Molestias ratione ut reiciendis tempore.\nLaborum veritatis illo. Accusamus quaerat expedita consequuntur dolore. Voluptas voluptatibus ut vel quaerat."], ["created_at", "2014-12-11 00:55:17.151634"], ["name", "rerum_ullam_est"], ["title", "Dolores quaerat omnis"], ["updated_at", "2014-12-11 00:55:17.151634"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (7, 6, 8, 2, 11, 10, 14, 12, 1, 5, 3, 16, 9, 13, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.162292"], ["updated_at", "2014-12-11 00:55:17.162292"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.164121"], ["updated_at", "2014-12-11 00:55:17.164121"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt delectus eaque cupiditate iusto et. Deleniti aut repudiandae aut ut occaecati ipsum omnis. Tempora iure quo id quia aperiam numquam quisquam. Quis nam nihil molestiae.\nNisi sit minima corrupti dignissimos magni quaerat. Qui laborum ut ut eveniet dolorem quam molestiae. Sapiente laudantium dolore soluta officiis. Sit voluptate ea animi et sapiente molestiae.\nEnim sunt unde distinctio ut quos similique. Quisquam vero sit id in. Iusto aut ipsa praesentium non consequuntur. Inventore voluptatibus ipsam quam repudiandae quasi rerum est. Facilis quo rerum."], ["created_at", "2014-12-11 00:55:17.166984"], ["name", "corporis_debitis_vel"], ["title", "Odio rerum excepturi"], ["updated_at", "2014-12-11 00:55:17.166984"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.172153"], ["updated_at", "2014-12-11 00:55:17.172153"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.173960"], ["updated_at", "2014-12-11 00:55:17.173960"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nostrum in voluptatem. Expedita quia nam odio rem natus. Est qui velit velit.\nNumquam veritatis tenetur eius et. Explicabo est nemo dolores. Maxime praesentium rerum necessitatibus velit. Facilis vitae facere sint molestiae ut laboriosam ullam. Dolorem voluptate porro deleniti.\nQui explicabo minus aut delectus. Dolor sequi tenetur deleniti. Sit minima officia adipisci et voluptatibus. Deserunt in magnam voluptatem et quasi facere."], ["created_at", "2014-12-11 00:55:17.176557"], ["name", "esse_quia_sit"], ["title", "Officia deserunt voluptas"], ["updated_at", "2014-12-11 00:55:17.176557"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.181335"], ["updated_at", "2014-12-11 00:55:17.181335"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.183080"], ["updated_at", "2014-12-11 00:55:17.183080"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aliquid quasi aspernatur est. Quisquam optio deserunt asperiores consequuntur occaecati nobis est. Provident doloribus accusantium minima suscipit. Velit dolores ipsum facere vel. Omnis temporibus est eos enim rerum eius.\nError non enim. Sit voluptatem qui cum dicta. Minus corporis voluptatem ducimus aperiam unde est. Iste velit odio sit sint sed tenetur dolorem. Quae error dolore iusto autem.\nCorporis aut qui odio fuga. Dicta ex at omnis harum sed asperiores est. Sit expedita architecto quam harum nisi molestiae. Vel tenetur quia est aut voluptas sed asperiores."], ["created_at", "2014-12-11 00:55:17.185711"], ["name", "delectus_dicta_suscipit"], ["title", "Est dolorem ipsum"], ["updated_at", "2014-12-11 00:55:17.185711"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"19"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam soluta cumque placeat. Dolores quia architecto ab voluptas sed et. Qui porro numquam nesciunt inventore ab molestiae. Eum a consequuntur sed. Vero ea totam non sunt ducimus qui repudiandae.\nMagnam velit non cumque voluptas. Dolor deleniti et. Fugit vitae explicabo est voluptate iure. Dolorem rerum illum omnis ut nihil.\nLabore dolor rerum tenetur. Consectetur quod omnis reprehenderit culpa aut cupiditate. Deserunt earum vel exercitationem."], ["created_at", "2014-12-11 00:55:17.192478"], ["name", "aliquid_cupiditate_sed"], ["title", "Dicta quas quae"], ["updated_at", "2014-12-11 00:55:17.192478"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_cupiditate_sed"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'aliquid_cupiditate_sed') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.5ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-12-11 00:55:17.204957"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_cupiditate_sed"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aliquid_cupiditate_sed"]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-12-11 00:55:17.213226"], ["version", nil]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui sed quidem aspernatur quisquam labore omnis temporibus. Ipsum in adipisci nesciunt dignissimos libero. Eos enim ut voluptas quisquam. Enim qui quisquam ut unde eaque perspiciatis. Perspiciatis sit et omnis.\nAmet quia voluptas laudantium aut eveniet. Placeat ratione laboriosam est natus. Veritatis doloremque quae est at aliquid. Aut rem dolorum iusto.\nNihil earum eum facilis voluptas a nesciunt. Dolore atque dolorum voluptate eos. Voluptatibus labore deserunt dolor aut illo iste. Doloribus iure repudiandae sed. Qui consequatur laborum."], ["created_at", "2014-12-11 00:55:17.218152"], ["name", "et_occaecati_officia"], ["title", "Ut deserunt autem"], ["updated_at", "2014-12-11 00:55:17.218152"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_occaecati_officia"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'et_occaecati_officia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-12-11 00:55:17.222092"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.229646"], ["updated_at", "2014-12-11 00:55:17.229646"]] SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-12-11 00:55:17.230456"], ["updated_at", "2014-12-11 00:55:17.230456"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'et_occaecati_officia') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_occaecati_officia"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_veritatis_dolore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_veritatis_dolore') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officia illum qui temporibus officiis vel tenetur. Et est dolores iusto. Labore iusto quos voluptatibus. Quam eum aut deserunt soluta. Quo laboriosam magni ea illum ut.\nEos quae ipsum reiciendis et nulla voluptatum porro. Labore repudiandae quidem qui quis. Quia quia consectetur laborum neque impedit doloribus. Aut ut dicta aut est. Doloremque reprehenderit eligendi amet voluptates eum molestiae.\nEa voluptatem vel ab asperiores magni repudiandae. Quo debitis eligendi et voluptate est quo autem. Iusto et quis quis nesciunt. Modi tenetur officiis illum sapiente et."], ["created_at", "2014-12-11 00:55:17.248446"], ["name", "non_veritatis_dolore"], ["title", "Eos repellendus fugit"], ["updated_at", "2014-12-11 00:55:17.248446"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'non_veritatis_dolore' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officia illum qui temporibus officiis vel tenetur. Et est dolores iusto. Labore iusto quos voluptatibus. Quam eum aut deserunt soluta. Quo laboriosam magni ea illum ut.\nEos quae ipsum reiciendis et nulla voluptatum porro. Labore repudiandae quidem qui quis. Quia quia consectetur laborum neque impedit doloribus. Aut ut dicta aut est. Doloremque reprehenderit eligendi amet voluptates eum molestiae.\nEa voluptatem vel ab asperiores magni repudiandae. Quo debitis eligendi et voluptate est quo autem. Iusto et quis quis nesciunt. Modi tenetur officiis illum sapiente et."], ["created_at", "2014-12-11 00:55:17.251284"], ["name", "non_veritatis_dolore"], ["title", "Eos repellendus fugit"], ["updated_at", "2014-12-11 00:55:17.251284"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_veritatis_dolore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'non_veritatis_dolore') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-12-11 00:55:17.254499"], ["version", 2]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "cumque_et_dolore"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'cumque_et_dolore') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et iure inventore omnis praesentium ut eum quia. Nihil voluptas cupiditate ducimus autem atque. Laudantium voluptatem repellendus sint.\nNatus eligendi esse a sit est. Quod fugit iure omnis. Esse qui voluptate debitis. Ad ut quia. Quidem quo voluptatem et est quo.\nIllo repellat molestias laborum. Vel eum quis harum omnis tempore. Dignissimos voluptate reprehenderit. Eveniet excepturi rem in quo recusandae. Incidunt omnis consequatur voluptas."], ["created_at", "2014-12-11 00:55:17.260854"], ["name", "cumque_et_dolore"], ["title", "Culpa totam porro"], ["updated_at", "2014-12-11 00:55:17.260854"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'cumque_et_dolore' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et iure inventore omnis praesentium ut eum quia. Nihil voluptas cupiditate ducimus autem atque. Laudantium voluptatem repellendus sint.\nNatus eligendi esse a sit est. Quod fugit iure omnis. Esse qui voluptate debitis. Ad ut quia. Quidem quo voluptatem et est quo.\nIllo repellat molestias laborum. Vel eum quis harum omnis tempore. Dignissimos voluptate reprehenderit. Eveniet excepturi rem in quo recusandae. Incidunt omnis consequatur voluptas."], ["created_at", "2014-12-11 00:55:17.263391"], ["name", "joe"], ["title", "Culpa totam porro"], ["updated_at", "2014-12-11 00:55:17.263391"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-12-11 00:55:17.266437"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.269816"], ["updated_at", "2014-12-11 00:55:17.269816"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.271405"], ["updated_at", "2014-12-11 00:55:17.271405"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.275884"], ["updated_at", "2014-12-11 00:55:17.275884"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.277514"], ["updated_at", "2014-12-11 00:55:17.277514"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sunt corrupti excepturi quasi aut labore sed. Error mollitia vel culpa in rem. Et cum necessitatibus sed culpa blanditiis. Repellendus quaerat nam eius dolore labore velit. Labore omnis maiores est sed qui tenetur.\nDolor quasi quis quia ab sunt. Enim assumenda in aut ipsam magni voluptatem. Quia delectus non rem aut incidunt dignissimos. Et error distinctio eum omnis cum. Magni est enim est dolores alias cum.\nMagni molestiae consequatur. Qui repudiandae suscipit incidunt perspiciatis quos dolore sit. Voluptate quis reiciendis labore rem. Beatae repudiandae sit et et et mollitia accusamus."], ["created_at", "2014-12-11 00:55:17.281899"], ["name", "aut_ducimus_non"], ["title", "Commodi earum animi"], ["updated_at", "2014-12-11 00:55:17.281899"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_quo_doloribus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sed_quo_doloribus') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolore fugiat est rerum. Beatae aut velit repudiandae. Eos asperiores consequatur perspiciatis dolorem veritatis tempore ratione. Suscipit veniam dolorem dolor architecto. Aut expedita debitis dolores assumenda voluptatibus.\nNobis deserunt eos omnis sapiente non sed vero. Voluptatem enim est tenetur consectetur adipisci laudantium. Illum nemo ducimus. Laudantium dolor ut inventore optio quia sequi et.\nBlanditiis hic sequi numquam officia iure mollitia. Sunt quia saepe. Quisquam itaque est aut."], ["created_at", "2014-12-11 00:55:17.287913"], ["name", "sed_quo_doloribus"], ["title", "Voluptas doloremque sit"], ["updated_at", "2014-12-11 00:55:17.287913"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et perferendis distinctio omnis nemo. Corrupti aliquam soluta. Ut est fuga atque quo. Et atque impedit dolores possimus dolor.\nEum non nulla exercitationem et sequi qui. Consequatur cupiditate delectus expedita et dolore magnam facilis. Officia saepe magnam sit. Enim dolorem molestiae maiores vero ad. Perspiciatis placeat architecto.\nTempora enim rerum voluptas at nihil quia necessitatibus. Eveniet blanditiis numquam quaerat corrupti. Omnis similique laudantium atque voluptatibus."], ["created_at", "2014-12-11 00:55:17.295527"], ["name", "alpha"], ["title", "Sit quia illo"], ["updated_at", "2014-12-11 00:55:17.295527"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Et delectus eaque quaerat sed et est. Voluptatem maxime maiores cumque dolorem rerum expedita. Sunt vel nemo ea eaque id et omnis. Veritatis velit maiores.\nMagnam est sed numquam quidem earum non. Dolorum exercitationem nisi. Iusto itaque aut neque vel. Laborum consequatur non nihil. Incidunt vel possimus expedita perspiciatis molestiae nesciunt quos.\nSunt dolorum iusto aut eius et recusandae architecto. Impedit dolorem velit enim esse est fuga. Velit voluptas voluptatum non autem. Et voluptatem omnis."], ["created_at", "2014-12-11 00:55:17.299714"], ["name", "beta"], ["title", "Consectetur occaecati est"], ["updated_at", "2014-12-11 00:55:17.299714"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.301359"], ["updated_at", "2014-12-11 00:55:17.301359"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-12-11 00:55:17.304155"], ["updated_at", "2014-12-11 00:55:17.304155"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 42) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-12-11 00:55:17.307738"], ["updated_at", "2014-12-11 00:55:17.307738"], ["user_id", 42], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:55:17.310342"], ["name", "alpha"], ["title", "Sit quia illo"], ["updated_at", "2014-12-11 00:55:17.310342"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-12-11 00:55:17.313595"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 29]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Iure aperiam at voluptas unde. Aliquam ut ipsum dolor in deserunt. Corrupti quas omnis neque quibusdam hic velit.\nVitae laudantium dolorem placeat inventore molestiae ex. Rem molestiae quae at repellendus eum sint. Cumque perferendis sit eum non est et. Id necessitatibus in est perferendis et est aliquam. Autem esse ullam velit non molestiae aperiam.\nIure laborum officiis consectetur dicta molestiae itaque et. Tenetur ea quod praesentium consequuntur in. Omnis officia eligendi eos sit sit. Accusamus suscipit amet possimus omnis ea explicabo. Est minima omnis."], ["created_at", "2014-12-11 00:55:17.321674"], ["name", "alpha"], ["title", "Ullam tenetur eum"], ["updated_at", "2014-12-11 00:55:17.321674"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Porro ducimus alias fuga perspiciatis voluptas vel sed. Voluptas quisquam nihil repellat ut dolore aut. Facere quia et qui laudantium quis. Consequuntur aut iusto omnis consequatur praesentium optio.\nImpedit mollitia molestiae ut. Iste ut ratione est sed. Ipsam sed quia minus. Eaque earum hic saepe vel quia incidunt enim. Voluptatem recusandae qui ipsa et et.\nEarum cupiditate aut ut illum exercitationem. Aliquam delectus ratione voluptatem incidunt voluptates doloribus sed. Vero et dolorum similique. Aut ea voluptatem exercitationem."], ["created_at", "2014-12-11 00:55:17.325813"], ["name", "beta"], ["title", "Iusto consequuntur pariatur"], ["updated_at", "2014-12-11 00:55:17.325813"], ["version", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.327596"], ["updated_at", "2014-12-11 00:55:17.327596"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["created_at", "2014-12-11 00:55:17.330945"], ["updated_at", "2014-12-11 00:55:17.330945"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 43) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-12-11 00:55:17.333847"], ["updated_at", "2014-12-11 00:55:17.333847"], ["user_id", 43], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:55:17.336327"], ["name", "alpha"], ["title", "Ullam tenetur eum"], ["updated_at", "2014-12-11 00:55:17.336327"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.3ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-12-11 00:55:17.340833"], ["version", 4]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.2ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (33, 32, 24, 11, 21, 14, 25, 23, 5, 3, 27) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sint autem est quas occaecati impedit. Nostrum minus sapiente molestiae sed commodi sunt illo. Quia laboriosam odio enim atque aperiam nihil earum. Sunt magnam aut voluptatibus est totam sit quos. Enim nostrum eius ut vitae aut tempora quod.\nEt asperiores exercitationem. Quaerat assumenda pariatur aut sint. Fuga sunt maiores qui praesentium. Itaque est aut quod recusandae qui.\nVoluptatem et nesciunt numquam ullam et. Atque hic sapiente dicta facilis quisquam autem. Sapiente dolorum dolorem quia aspernatur quas sed sint. Sunt asperiores quia quidem rerum illum unde vero."], ["created_at", "2014-12-11 00:55:17.352982"], ["name", "alpha"], ["title", "Esse quia commodi"], ["updated_at", "2014-12-11 00:55:17.352982"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quibusdam in cum aut. Ex eaque placeat possimus vel dolorem aut. Officia qui vitae illo quia veniam. Sit accusantium qui incidunt voluptatem.\nReprehenderit sit fuga consequatur ipsa accusantium quia fugiat. Molestiae dolorum maxime in. Cumque tenetur exercitationem id nemo architecto.\nIn quam eum. Praesentium et ullam velit dignissimos est ipsa. Consequatur doloremque enim perferendis."], ["created_at", "2014-12-11 00:55:17.357023"], ["name", "beta"], ["title", "Veritatis sint quaerat"], ["updated_at", "2014-12-11 00:55:17.357023"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.358659"], ["updated_at", "2014-12-11 00:55:17.358659"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["created_at", "2014-12-11 00:55:17.361454"], ["updated_at", "2014-12-11 00:55:17.361454"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 44) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["created_at", "2014-12-11 00:55:17.364104"], ["updated_at", "2014-12-11 00:55:17.364104"], ["user_id", 44], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:55:17.366562"], ["name", "alpha"], ["title", "Esse quia commodi"], ["updated_at", "2014-12-11 00:55:17.366562"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 36 [["updated_at", "2014-12-11 00:55:17.369672"], ["version", 6]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (36, 35) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cum inventore non. Quas qui recusandae cumque. Illum non consectetur necessitatibus iste soluta non aut. Nihil nulla expedita vitae. Et quia quas nam voluptate ea est aperiam.\nQuia aliquam reiciendis necessitatibus ipsum perferendis. Consectetur perferendis vel ea laborum voluptatem aspernatur. Et non non est corporis sed similique. Temporibus et maxime veniam neque omnis delectus. Nihil et optio debitis.\nRepudiandae sit sint hic quo quas vitae. Autem eius soluta porro autem modi sit. Occaecati at vel. Nihil odit dicta atque maiores eum. Quia sed aut a."], ["created_at", "2014-12-11 00:55:17.375727"], ["name", "alpha"], ["title", "Ipsam quia sequi"], ["updated_at", "2014-12-11 00:55:17.375727"], ["version", 7]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsam quia et. Dolor voluptatum cumque excepturi laudantium ipsum consequatur corrupti. Voluptatem omnis magni labore eius voluptas ex et.\nIn qui quia et. Voluptatibus adipisci pariatur velit iure nihil placeat. Eveniet quam omnis aut architecto. Officiis corrupti est mollitia omnis. Voluptas eum fugit necessitatibus.\nQuo facilis error quia necessitatibus sint ipsa tempore. Officiis et voluptas omnis rerum ipsam recusandae totam. Architecto error ullam debitis ex quia voluptas."], ["created_at", "2014-12-11 00:55:17.380119"], ["name", "beta"], ["title", "Ex est facilis"], ["updated_at", "2014-12-11 00:55:17.380119"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.381903"], ["updated_at", "2014-12-11 00:55:17.381903"]]  (1.0ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["created_at", "2014-12-11 00:55:17.386126"], ["updated_at", "2014-12-11 00:55:17.386126"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-12-11 00:55:17.390327"], ["updated_at", "2014-12-11 00:55:17.390327"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:55:17.393688"], ["name", "alpha"], ["title", "Ipsam quia sequi"], ["updated_at", "2014-12-11 00:55:17.393688"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-12-11 00:55:17.397681"], ["version", 8]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 45) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-12-11 00:55:17.413849"], ["updated_at", "2014-12-11 00:55:17.413849"], ["user_id", 45], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 37]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (39, 37, 36, 34, 33, 31, 30, 28) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (38, 35, 32, 29) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 38]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.427415"], ["updated_at", "2014-12-11 00:55:17.427415"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.429127"], ["updated_at", "2014-12-11 00:55:17.429127"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "perspiciatis_eum_consectetur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'perspiciatis_eum_consectetur') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ab id dolorem ea sequi impedit dolorem. Cum magni porro rem dolorem omnis. Optio est non qui. Debitis tempora autem quas.\nAccusamus officia libero nemo et optio sunt. Itaque illo perspiciatis. Praesentium sint quibusdam qui vero sit numquam occaecati.\nQuia sit assumenda voluptas et repellendus. Et ipsum natus laboriosam voluptas. Qui et est eos aliquid soluta dignissimos. Consequatur cumque omnis odit aut ea quia ratione."], ["created_at", "2014-12-11 00:55:17.433821"], ["name", "perspiciatis_eum_consectetur"], ["title", "Aut sint provident"], ["updated_at", "2014-12-11 00:55:17.433821"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.436631"], ["updated_at", "2014-12-11 00:55:17.436631"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-12-11 00:55:17.437199"], ["updated_at", "2014-12-11 00:55:17.437199"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 198ms (Views: 7.2ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.639466"], ["updated_at", "2014-12-11 00:55:17.639466"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.641444"], ["updated_at", "2014-12-11 00:55:17.641444"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eligendi_ipsa_vitae"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'eligendi_ipsa_vitae') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Pariatur molestias et sequi similique magni. Voluptates aut ipsa. In sit odit est voluptatem nihil voluptas aut. Et in temporibus repellendus ut. Voluptas omnis vero.\nMagnam beatae ut. Enim aut quo. Voluptate corrupti omnis. Ipsam sint consequatur iure itaque asperiores. Amet quos magni molestiae qui eum sunt omnis.\nQuam et maiores repudiandae possimus et tempora nemo. Quis voluptatibus quasi est corrupti aut voluptatem est. Iusto similique eum aut qui et ut ratione. Voluptatum quo quo."], ["created_at", "2014-12-11 00:55:17.646143"], ["name", "eligendi_ipsa_vitae"], ["title", "Optio doloremque in"], ["updated_at", "2014-12-11 00:55:17.646143"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.648769"], ["updated_at", "2014-12-11 00:55:17.648769"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-12-11 00:55:17.649368"], ["updated_at", "2014-12-11 00:55:17.649368"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.654620"], ["updated_at", "2014-12-11 00:55:17.654620"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.656369"], ["updated_at", "2014-12-11 00:55:17.656369"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_et_enim"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'non_et_enim') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores maxime dicta. Magni ut animi ratione ipsa qui. Ipsum neque eos nam illum.\nModi facere id autem voluptas. A molestiae itaque. Similique laboriosam sed dolorem sed ut et eum. Qui aperiam aut eum laudantium. Perspiciatis optio voluptatibus voluptatem.\nConsequuntur eum iste voluptatem ea placeat. Quia praesentium dolorum sed voluptatem. Vel nostrum nihil est ad. Labore nobis est iusto ipsam et. Quae consequatur deleniti et maiores ut."], ["created_at", "2014-12-11 00:55:17.660905"], ["name", "non_et_enim"], ["title", "Rerum sed recusandae"], ["updated_at", "2014-12-11 00:55:17.660905"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.664682"], ["updated_at", "2014-12-11 00:55:17.664682"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-12-11 00:55:17.665601"], ["updated_at", "2014-12-11 00:55:17.665601"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.670706"], ["updated_at", "2014-12-11 00:55:17.670706"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.672423"], ["updated_at", "2014-12-11 00:55:17.672423"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facere_rerum_quod"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'facere_rerum_quod') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fuga esse odit iusto ratione nesciunt expedita. Illum repellat quisquam assumenda nostrum voluptatem. Autem eius alias sed nemo. Dolorem et optio quis voluptatem.\nArchitecto quia ea temporibus. Corrupti aut non omnis enim. Voluptatem ducimus quo molestias provident maiores excepturi eius.\nQui et quos numquam soluta vel ea. Accusantium quis quasi tenetur id vel. Optio laudantium beatae perspiciatis aut aspernatur harum. Corporis et nam reiciendis."], ["created_at", "2014-12-11 00:55:17.678027"], ["name", "facere_rerum_quod"], ["title", "Quae voluptatibus dolor"], ["updated_at", "2014-12-11 00:55:17.678027"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.680868"], ["updated_at", "2014-12-11 00:55:17.680868"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-12-11 00:55:17.681475"], ["updated_at", "2014-12-11 00:55:17.681475"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.687203"], ["updated_at", "2014-12-11 00:55:17.687203"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.688811"], ["updated_at", "2014-12-11 00:55:17.688811"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatum_eaque_consequatur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatum_eaque_consequatur') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Expedita totam temporibus quod non. Iusto nobis et est consequatur. Corporis est est sint. Modi sequi quasi cum libero. Et atque ad dolores sit id.\nCorrupti et vel dolore. Est velit optio. Qui hic eveniet earum quas. Magni et voluptate molestiae sunt perspiciatis ad voluptas. Illum doloribus sit vero quis architecto.\nQui quos et dolorum voluptatem. Quia dolorum non blanditiis sint impedit. Maiores totam tempore odit omnis corporis voluptas."], ["created_at", "2014-12-11 00:55:17.693248"], ["name", "voluptatum_eaque_consequatur"], ["title", "Inventore animi enim"], ["updated_at", "2014-12-11 00:55:17.693248"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.696595"], ["updated_at", "2014-12-11 00:55:17.696595"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-12-11 00:55:17.697524"], ["updated_at", "2014-12-11 00:55:17.697524"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 44]] Redirected to http://test.host/fine_print/contracts/44/signatures?r=ZXowVCtNSFJUK0RVaHZzQ2lITW8rdz09LS1KanlrdjFTQnpqeVp6a1hWeG5aUlJBPT0%3D--32c46a28a433c4021fca02911e7280017422b1b8 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.706638"], ["updated_at", "2014-12-11 00:55:17.706638"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.708251"], ["updated_at", "2014-12-11 00:55:17.708251"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "esse_vitae_repellat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'esse_vitae_repellat') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Provident dolor aliquam id qui. Eum eum non neque deserunt. Magni minus ducimus porro impedit necessitatibus accusantium. Cum nisi eaque autem maiores at id. Ea et rerum nulla et saepe omnis excepturi.\nAb provident sed perspiciatis. Neque quia quod qui distinctio non est. Reiciendis dolores beatae. Perferendis nostrum nesciunt.\nEveniet et voluptas nam velit eum mollitia omnis. Sit aut aut sunt ut. Debitis et et voluptatem. Dolores eos velit inventore vitae. Quisquam ex aut ut et consequatur."], ["created_at", "2014-12-11 00:55:17.712906"], ["name", "esse_vitae_repellat"], ["title", "Officia deserunt fuga"], ["updated_at", "2014-12-11 00:55:17.712906"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.715481"], ["updated_at", "2014-12-11 00:55:17.715481"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-12-11 00:55:17.716068"], ["updated_at", "2014-12-11 00:55:17.716068"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.720434"], ["updated_at", "2014-12-11 00:55:17.720434"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.722208"], ["updated_at", "2014-12-11 00:55:17.722208"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_ullam_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minus_ullam_ut') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repudiandae eligendi a iure. Officia et nisi est fugiat quam nihil. Harum ea sed. Eum nisi qui facere est consequuntur odit ex.\nSed enim saepe. Dolores ea culpa vitae debitis sint. Enim eius sed illo placeat occaecati. Non asperiores ducimus pariatur harum ea dolorum.\nEt nihil itaque quia. Quia quis illum aut vero aut. Maiores est omnis explicabo dolorem magni. Voluptatem quia harum."], ["created_at", "2014-12-11 00:55:17.727146"], ["name", "minus_ullam_ut"], ["title", "Voluptas sint id"], ["updated_at", "2014-12-11 00:55:17.727146"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.730150"], ["updated_at", "2014-12-11 00:55:17.730150"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-12-11 00:55:17.730891"], ["updated_at", "2014-12-11 00:55:17.730891"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.734736"], ["updated_at", "2014-12-11 00:55:17.734736"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.736298"], ["updated_at", "2014-12-11 00:55:17.736298"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quos_sed_fugiat"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quos_sed_fugiat') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Cumque qui dolor qui consequatur ullam quod iusto. Eos porro minus alias eum deserunt provident quis. Vel quas accusantium labore quia voluptatem.\nQuam numquam dignissimos magnam veniam officiis. Eius omnis et perferendis. Doloribus et incidunt.\nSit ab iure odio quia consequatur qui maiores. Libero similique vel cum sunt ab. Harum non et rerum iure sapiente sit eos. Expedita et similique."], ["created_at", "2014-12-11 00:55:17.740795"], ["name", "quos_sed_fugiat"], ["title", "Magnam qui distinctio"], ["updated_at", "2014-12-11 00:55:17.740795"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:55:17.743369"], ["updated_at", "2014-12-11 00:55:17.743369"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-12-11 00:55:17.743924"], ["updated_at", "2014-12-11 00:55:17.743924"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.528825"], ["updated_at", "2014-12-11 00:56:43.528825"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.536321"], ["updated_at", "2014-12-11 00:56:43.536321"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eaque explicabo ab eum possimus. Animi reiciendis doloribus. Qui corrupti perferendis sequi. Ipsum sequi quasi omnis facilis corporis. Magni non molestias.\nReprehenderit aut officiis qui repellat. Sint pariatur non sed et eum alias voluptas. Nemo consectetur odit dolores quos quod. Iusto quasi laudantium reprehenderit.\nAnimi officia blanditiis. Nobis veniam a qui tempora et quam totam. Illo rerum quas laboriosam consequatur quis. Libero suscipit voluptatem cumque omnis ut veniam numquam."], ["created_at", "2014-12-11 00:56:43.761845"], ["name", "sint_sed_maiores"], ["title", "Consequuntur corporis non"], ["updated_at", "2014-12-11 00:56:43.761845"]]  (1.3ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"1"} FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 13ms (Views: 4.0ms | ActiveRecord: 0.5ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.782075"], ["updated_at", "2014-12-11 00:56:43.782075"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.784133"], ["updated_at", "2014-12-11 00:56:43.784133"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur eaque sunt nam velit modi voluptatibus. Consequatur ea reprehenderit. Dolor vero tenetur esse accusantium quia minima.\nQuasi aut totam necessitatibus asperiores sequi vero. Placeat sed sunt. Veritatis quo dolorem eveniet quaerat. Labore voluptas doloribus dolorem ea nisi.\nPerspiciatis unde laborum culpa. Autem animi quod dolorum voluptas modi nihil. Omnis dolorum eos assumenda vel minus natus."], ["created_at", "2014-12-11 00:56:43.786595"], ["name", "vel_corporis_voluptatibus"], ["title", "Unde corporis ea"], ["updated_at", "2014-12-11 00:56:43.786595"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.791990"], ["updated_at", "2014-12-11 00:56:43.791990"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.793993"], ["updated_at", "2014-12-11 00:56:43.793993"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptas excepturi cumque architecto dolorem et non. Numquam nulla et reiciendis ipsa perferendis velit. Occaecati voluptatum amet nihil eos reprehenderit placeat est. Laudantium sed quia beatae dolores. Nulla voluptates quidem in fugit.\nEt in non aut. Dolores vel totam impedit eum eveniet. Rerum qui nihil excepturi. Error et tenetur esse ex. Doloremque similique in et qui praesentium dolore sed.\nQuo est numquam molestiae eos. Et dolorem sed temporibus eum. Voluptates aliquam ex quam aut sed odio voluptatem. Et sunt tempore vel."], ["created_at", "2014-12-11 00:56:43.796870"], ["name", "sit_enim_commodi"], ["title", "Non quas repudiandae"], ["updated_at", "2014-12-11 00:56:43.796870"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.801266"], ["updated_at", "2014-12-11 00:56:43.801266"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.802815"], ["updated_at", "2014-12-11 00:56:43.802815"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et ut ut mollitia voluptate perspiciatis. Ducimus consequatur quo voluptas officiis. Inventore quia harum. Mollitia dicta corrupti ex repellat id.\nDolorem assumenda iure fugit molestias. Voluptates aut culpa voluptatem ad sunt dolor explicabo. Totam eum atque corrupti magnam reiciendis. Atque laborum ut repudiandae.\nConsequatur modi sint repellendus quisquam soluta. Ipsa atque error illum molestiae et impedit consequuntur. Quis expedita itaque."], ["created_at", "2014-12-11 00:56:43.805087"], ["name", "id_dignissimos_dolorem"], ["title", "Molestiae cum non"], ["updated_at", "2014-12-11 00:56:43.805087"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"4"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.811041"], ["updated_at", "2014-12-11 00:56:43.811041"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.812610"], ["updated_at", "2014-12-11 00:56:43.812610"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eveniet fuga impedit harum ipsam enim nesciunt similique. Fugit repellat impedit. Velit consequatur laudantium ut est.\nSit eum qui assumenda eaque quo. Voluptas placeat alias reprehenderit. Natus error veniam. Modi illo aliquam maxime consequatur.\nReprehenderit quia laboriosam ad est inventore. Molestiae et veniam qui voluptate reprehenderit nam. Est voluptas numquam officia ut dolorem. Ipsum enim vitae aut nemo nobis reprehenderit."], ["created_at", "2014-12-11 00:56:43.815064"], ["name", "repellat_asperiores_necessitatibus"], ["title", "Reiciendis voluptates quia"], ["updated_at", "2014-12-11 00:56:43.815064"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"5"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 5]]  (1.5ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 5]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 7ms (ActiveRecord: 2.5ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 5 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.828091"], ["updated_at", "2014-12-11 00:56:43.828091"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.829731"], ["updated_at", "2014-12-11 00:56:43.829731"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consequatur commodi praesentium cumque fuga. Vel perspiciatis natus ipsam exercitationem. Vel assumenda quia laborum aperiam sunt.\nDolores est reprehenderit est non ea sapiente quia. Possimus quod unde nisi. Ut et nostrum voluptatem corrupti quasi.\nNumquam voluptates fugit reiciendis. Debitis occaecati repellendus sint corporis sed et amet. Aut quibusdam et."], ["created_at", "2014-12-11 00:56:43.832040"], ["name", "nihil_impedit_et"], ["title", "Quo et totam"], ["updated_at", "2014-12-11 00:56:43.832040"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_impedit_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'nihil_impedit_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-12-11 00:56:43.836245"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"6"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_impedit_et"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-12-11 00:56:43.841898"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 6]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.846302"], ["updated_at", "2014-12-11 00:56:43.846302"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.847846"], ["updated_at", "2014-12-11 00:56:43.847846"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Accusantium facilis nostrum maiores nobis assumenda asperiores. Rem ab voluptates enim. Deleniti sint animi et aut ex. Quia molestiae quas non et consectetur aut.\nAliquid dolore autem veritatis et et ut aspernatur. Labore aliquid sunt ut quia deserunt laudantium sit. Non animi minima illum aliquam fuga. Ipsam suscipit minima maxime debitis qui voluptatem. Illum quia consequatur fuga deserunt enim quidem.\nDoloremque et animi vel ab autem. Sapiente molestiae repellat fugiat. At dolores distinctio. Fugit soluta maiores voluptatibus beatae."], ["created_at", "2014-12-11 00:56:43.850196"], ["name", "sed_aut_quo"], ["title", "Provident ipsam sit"], ["updated_at", "2014-12-11 00:56:43.850196"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-12-11 00:56:43.853184"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-12-11 00:56:43.853184"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/8 Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.856778"], ["updated_at", "2014-12-11 00:56:43.856778"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.858348"], ["updated_at", "2014-12-11 00:56:43.858348"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Perspiciatis eos quia. Expedita officiis error. Provident ut nostrum eum ex perspiciatis dolore incidunt. Et dolores cupiditate.\nAliquid nemo cumque. Minus quibusdam corporis impedit sit repudiandae asperiores qui. Voluptates tenetur earum. Exercitationem ullam dolorum praesentium earum eius.\nSunt iste quisquam aut aut quibusdam labore. Vel aspernatur fuga sed a dolorem ut dolorum. Et odio eaque impedit consequuntur aut inventore fuga. Et quo reprehenderit porro dolor nam suscipit fuga."], ["created_at", "2014-12-11 00:56:43.860695"], ["name", "voluptas_repellat_rerum"], ["title", "Excepturi beatae iste"], ["updated_at", "2014-12-11 00:56:43.860695"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"9"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.866193"], ["updated_at", "2014-12-11 00:56:43.866193"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.867992"], ["updated_at", "2014-12-11 00:56:43.867992"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officiis aut voluptatem harum. Sed incidunt hic consequatur aspernatur molestiae. Quidem voluptatem velit sunt quisquam voluptatibus animi. Magni totam culpa tempore voluptas neque saepe doloremque. Non ut et.\nHic et voluptatum. Et voluptatibus in quaerat minima. Iure dolore molestias suscipit.\nEligendi sed maxime harum veritatis ipsa corporis voluptatem. Id impedit ex tempora. Et earum voluptatem quidem fuga aut. Molestias alias asperiores et tenetur corporis. Facere animi officia exercitationem perspiciatis odio qui quia."], ["created_at", "2014-12-11 00:56:43.871124"], ["name", "est_repellat_quod"], ["title", "Repellat doloremque voluptatem"], ["updated_at", "2014-12-11 00:56:43.871124"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_repellat_quod"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'est_repellat_quod') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 10 [["updated_at", "2014-12-11 00:56:43.875267"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"10"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.880332"], ["updated_at", "2014-12-11 00:56:43.880332"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.882001"], ["updated_at", "2014-12-11 00:56:43.882001"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quod nobis dolor. Ut laboriosam placeat quia. Cumque est non error facilis.\nEt excepturi et quas quidem. Voluptatem quis corporis nisi dolor ea. Quam et distinctio aut nulla eveniet at. Sit delectus non deserunt beatae.\nMolestiae quisquam iste non. Qui et explicabo tempora maxime. Quod nam labore itaque."], ["created_at", "2014-12-11 00:56:43.885002"], ["name", "illum_molestias_voluptatem"], ["title", "Accusamus quia ad"], ["updated_at", "2014-12-11 00:56:43.885002"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "illum_molestias_voluptatem"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'illum_molestias_voluptatem') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-12-11 00:56:43.889583"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"11"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.896195"], ["updated_at", "2014-12-11 00:56:43.896195"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.897767"], ["updated_at", "2014-12-11 00:56:43.897767"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Libero odit nemo cumque voluptatem velit aut. Dolor enim molestias voluptate veritatis qui dolorem. Earum molestias quibusdam impedit nihil ex. Impedit fugit consectetur.\nEt accusantium optio omnis. Necessitatibus qui quia consequatur aut aliquam. Eius in et nostrum temporibus animi qui. Est non in officiis.\nRepellat excepturi sunt qui porro voluptatibus quod error. Corrupti magnam dolorem alias. Rerum est sit et nemo voluptatem. Voluptate aut velit reiciendis et magnam vel fuga."], ["created_at", "2014-12-11 00:56:43.900678"], ["name", "aperiam_deserunt_sit"], ["title", "Incidunt occaecati necessitatibus"], ["updated_at", "2014-12-11 00:56:43.900678"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"12"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aperiam_deserunt_sit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'aperiam_deserunt_sit') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-12-11 00:56:43.906511"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.2ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.911277"], ["updated_at", "2014-12-11 00:56:43.911277"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.913021"], ["updated_at", "2014-12-11 00:56:43.913021"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsa libero magnam. Nihil velit quas. Iste rerum odit velit. Totam doloribus ea asperiores.\nQuia vitae eius recusandae. Excepturi dolore corrupti mollitia ab aut omnis repudiandae. Quasi maiores eaque soluta suscipit dicta dolorum vero.\nAt qui quos amet autem rerum odio. Ullam eos quasi amet atque. Et nulla est quae quia culpa. Magni fuga atque et consequatur possimus eius."], ["created_at", "2014-12-11 00:56:43.915516"], ["name", "amet_iste_dolores"], ["title", "Quidem quas totam"], ["updated_at", "2014-12-11 00:56:43.915516"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.920873"], ["updated_at", "2014-12-11 00:56:43.920873"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.922544"], ["updated_at", "2014-12-11 00:56:43.922544"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Repellendus aut et ex. Alias autem soluta. Facilis et voluptate.\nSit recusandae aut. Soluta non et eligendi. Harum alias fugit quia beatae. Non quis qui ipsum error optio.\nVel libero pariatur fugiat. Expedita quia at omnis. Voluptas consequatur eius quia. Eaque ex omnis molestiae enim odio et et. Nisi animi atque sed non rerum cum voluptas."], ["created_at", "2014-12-11 00:56:43.924896"], ["name", "in_cupiditate_optio"], ["title", "Ducimus ea repudiandae"], ["updated_at", "2014-12-11 00:56:43.924896"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.929066"], ["updated_at", "2014-12-11 00:56:43.929066"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.930927"], ["updated_at", "2014-12-11 00:56:43.930927"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Assumenda quasi iure adipisci a delectus vero. Sint iste iusto numquam id ut. Debitis eum vero.\nQuaerat rem deserunt. Rerum sint id aut suscipit exercitationem. Ut rerum deserunt autem est ducimus sint unde. Ratione dolor tempora consequatur reprehenderit quos. Doloribus minus quas sint cumque quis.\nImpedit doloremque nobis consequatur voluptatem. Ut aperiam provident atque. Ratione maiores consequatur vero esse. Aut earum quo assumenda expedita. Dolores quidem necessitatibus omnis distinctio."], ["created_at", "2014-12-11 00:56:43.933329"], ["name", "nulla_voluptate_et"], ["title", "Distinctio tempore repellat"], ["updated_at", "2014-12-11 00:56:43.933329"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (13, 12, 10, 4, 11, 14, 6, 15, 7, 1, 3, 8, 2, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.943214"], ["updated_at", "2014-12-11 00:56:43.943214"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.944851"], ["updated_at", "2014-12-11 00:56:43.944851"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Fugiat magni facilis ut sit ad dolore. Placeat itaque rerum molestias dolor. Officia molestiae ratione enim occaecati est dolorum dolores. Odit distinctio pariatur et. Excepturi dolores optio at.\nA id atque sit in aut quas. Et doloribus et fuga voluptatem alias aut nihil. Aut omnis incidunt eos. Odit ducimus animi totam saepe. Non et sed excepturi modi rerum quae vel.\nVoluptas et blanditiis qui consectetur. Et aut eaque. Quasi non ullam. Et qui maxime nesciunt."], ["created_at", "2014-12-11 00:56:43.948131"], ["name", "excepturi_sunt_architecto"], ["title", "Vel nulla fugit"], ["updated_at", "2014-12-11 00:56:43.948131"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "excepturi_sunt_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'excepturi_sunt_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-12-11 00:56:43.951791"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"16"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'excepturi_sunt_architecto' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.960598"], ["updated_at", "2014-12-11 00:56:43.960598"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.962297"], ["updated_at", "2014-12-11 00:56:43.962297"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Id doloremque qui inventore culpa reprehenderit. Aperiam est aspernatur dolores error. Est officiis porro vel est consequatur. Deleniti doloremque eius sed fuga dolores.\nQuasi qui ut animi iure fugiat. Autem et magnam rerum omnis omnis. Voluptas qui ab animi voluptatem doloremque qui. Laborum repellat quidem. Dolor eveniet praesentium tempore nostrum.\nIllo quos tempora fugit ratione ipsum autem. Corrupti consequatur blanditiis reprehenderit eum nisi. Totam debitis quia autem enim voluptatibus modi. Adipisci ullam odit dignissimos dolores eveniet rerum. Nostrum et porro quae dolores."], ["created_at", "2014-12-11 00:56:43.964903"], ["name", "recusandae_praesentium_deleniti"], ["title", "Explicabo cum esse"], ["updated_at", "2014-12-11 00:56:43.964903"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"17"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 17 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-12-11 00:56:43.968533"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/17 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.973437"], ["updated_at", "2014-12-11 00:56:43.973437"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.975021"], ["updated_at", "2014-12-11 00:56:43.975021"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Consectetur sint nulla et. Aspernatur dignissimos dolorem doloremque id harum. Eum expedita sequi enim quisquam quos ratione iure. Cupiditate quia reiciendis. Reiciendis error laudantium alias et earum ut id.\nUt voluptas autem quo dolores culpa reprehenderit. Excepturi eius assumenda quasi. Hic maxime voluptate et harum pariatur. Dolorem voluptates numquam sint nihil et eius ipsa.\nRerum est et impedit. Voluptatum qui qui voluptatem quisquam fugiat laborum. Beatae dolores tempora dignissimos."], ["created_at", "2014-12-11 00:56:43.977881"], ["name", "voluptate_rerum_deleniti"], ["title", "Qui aut voluptatum"], ["updated_at", "2014-12-11 00:56:43.977881"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.981819"], ["updated_at", "2014-12-11 00:56:43.981819"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:43.983317"], ["updated_at", "2014-12-11 00:56:43.983317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo ut repudiandae quidem omnis rerum ratione quia. Sit voluptas alias quidem. Vel a ut non nostrum.\nPorro et fuga unde tempore autem. Accusantium officia et non magnam non aut mollitia. Tenetur nihil et sit quo ut. Reprehenderit tempora aut.\nMolestias odit voluptas sed beatae et corrupti. Officia et explicabo impedit. Enim debitis voluptatem numquam."], ["created_at", "2014-12-11 00:56:43.985434"], ["name", "dicta_sit_qui"], ["title", "Itaque et sunt"], ["updated_at", "2014-12-11 00:56:43.985434"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Accusamus aut qui ea dolore. Dolor eius asperiores. Aut explicabo adipisci. Vel quam quasi dolor maxime voluptatem. Quo modi sit ad.\nEst qui perspiciatis debitis ea ullam numquam qui. Iure veniam rerum quia dolores doloremque. Explicabo autem necessitatibus cum similique in voluptatibus.\nUt itaque sed vero voluptatibus. Non eos neque nulla illo. Deserunt sint omnis blanditiis. Voluptas ea nesciunt sed soluta explicabo aliquid. Incidunt quidem recusandae quibusdam tempore aut."], ["created_at", "2014-12-11 00:56:44.000151"], ["name", "alpha"], ["title", "Deserunt tempore amet"], ["updated_at", "2014-12-11 00:56:44.000151"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quod sunt omnis nostrum molestias harum. Qui reiciendis et vel eum in et et. Qui suscipit aut excepturi. Consequatur dolorem quidem. Nulla ea officiis saepe aperiam sequi sit.\nSed illum ea architecto iure impedit. Vel ad magnam voluptatum voluptate. Veritatis reprehenderit voluptatem unde temporibus inventore. Et hic sequi. Nam harum nostrum ratione qui.\nNeque quos distinctio. Ipsum necessitatibus sit et. Et aut sint distinctio sit et. Dolorum nostrum et error consequatur sunt impedit dicta. Temporibus incidunt aut aut tempore illum et facilis."], ["created_at", "2014-12-11 00:56:44.006008"], ["name", "beta"], ["title", "Mollitia eos minima"], ["updated_at", "2014-12-11 00:56:44.006008"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.007939"], ["updated_at", "2014-12-11 00:56:44.007939"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-12-11 00:56:44.014296"], ["updated_at", "2014-12-11 00:56:44.014296"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["created_at", "2014-12-11 00:56:44.024169"], ["updated_at", "2014-12-11 00:56:44.024169"], ["user_id", 37], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:56:44.027073"], ["name", "alpha"], ["title", "Deserunt tempore amet"], ["updated_at", "2014-12-11 00:56:44.027073"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-12-11 00:56:44.030546"], ["version", 2]]  (0.7ms) commit transaction  (0.3ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (22, 12, 21, 10, 16, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptates est inventore consequatur. Maiores et natus consequatur unde repudiandae consectetur perferendis. Aliquid sint quae. Pariatur aut consectetur eligendi architecto.\nReiciendis corrupti consequatur dolores quia est non. Nihil sit ducimus. Est quasi nesciunt aut ipsum quisquam odio.\nSunt tempore quod deleniti nisi dolorum. Aperiam blanditiis omnis cumque odit aspernatur iusto. Qui assumenda suscipit perspiciatis similique."], ["created_at", "2014-12-11 00:56:44.040676"], ["name", "alpha"], ["title", "Id repellat eius"], ["updated_at", "2014-12-11 00:56:44.040676"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officiis distinctio et odio dicta. Est debitis sed esse nihil velit et. Soluta totam occaecati distinctio iusto omnis id repellat. Amet ea repudiandae voluptatum ut omnis quia et.\nEt est nostrum hic vel ducimus. Ullam repellendus consectetur officiis id sed sit. Magnam architecto magni aliquam. Aut tenetur libero dolores.\nMollitia consequuntur beatae veniam. Cupiditate atque autem expedita nobis ratione. Optio excepturi eum aut quae. Saepe adipisci autem aliquam. Delectus quasi nulla quam sed natus aspernatur."], ["created_at", "2014-12-11 00:56:44.045152"], ["name", "beta"], ["title", "Dolorem eum expedita"], ["updated_at", "2014-12-11 00:56:44.045152"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.046955"], ["updated_at", "2014-12-11 00:56:44.046955"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["created_at", "2014-12-11 00:56:44.049946"], ["updated_at", "2014-12-11 00:56:44.049946"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["created_at", "2014-12-11 00:56:44.052544"], ["updated_at", "2014-12-11 00:56:44.052544"], ["user_id", 38], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:56:44.054922"], ["name", "alpha"], ["title", "Id repellat eius"], ["updated_at", "2014-12-11 00:56:44.054922"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-12-11 00:56:44.058114"], ["version", 4]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsum qui eum consectetur quam. Aut excepturi ut consequatur molestiae dolor. Et omnis iusto odit blanditiis deserunt dolor.\nNihil optio a. Nulla dolor perferendis asperiores recusandae consequatur error. Et officiis sunt nemo ut.\nRerum tempore illo molestiae. Qui nostrum aut reprehenderit. Omnis rerum aut placeat similique enim. Aut itaque quis et explicabo velit nesciunt. Non et voluptates et natus asperiores et."], ["created_at", "2014-12-11 00:56:44.065932"], ["name", "alpha"], ["title", "Aut unde omnis"], ["updated_at", "2014-12-11 00:56:44.065932"], ["version", 5]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quia officiis aut rerum inventore vero laborum. Praesentium quibusdam nulla beatae sunt. Et a deserunt et nisi. Porro repudiandae aperiam et ipsam nobis. Aliquam beatae atque nostrum laudantium.\nMagni consectetur nostrum repellendus ut aut reprehenderit sit. Saepe quia nulla officia molestiae et et. Aperiam est et nesciunt quaerat totam. Provident qui tempora dolores accusantium quas et. Ea occaecati illo non.\nIllo nemo id nihil qui vel. Soluta ex iusto. Qui ea reiciendis."], ["created_at", "2014-12-11 00:56:44.069929"], ["name", "beta"], ["title", "Quia animi omnis"], ["updated_at", "2014-12-11 00:56:44.069929"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.071741"], ["updated_at", "2014-12-11 00:56:44.071741"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["created_at", "2014-12-11 00:56:44.075086"], ["updated_at", "2014-12-11 00:56:44.075086"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["created_at", "2014-12-11 00:56:44.077918"], ["updated_at", "2014-12-11 00:56:44.077918"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:56:44.080980"], ["name", "alpha"], ["title", "Aut unde omnis"], ["updated_at", "2014-12-11 00:56:44.080980"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 28 [["updated_at", "2014-12-11 00:56:44.084304"], ["version", 6]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 28 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["created_at", "2014-12-11 00:56:44.099951"], ["updated_at", "2014-12-11 00:56:44.099951"], ["user_id", 39], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 26]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (28, 26, 25, 23, 22, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 28]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (27, 24, 21) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 27]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum odio voluptatem et aspernatur. Exercitationem iusto modi velit magni. Eligendi vitae minus aspernatur quo nostrum omnis iste. Doloribus aperiam aut in aut. Sed in eos dolores quibusdam aut eos id.\nVoluptate hic sequi non sed qui. Modi quas aperiam minima. Recusandae voluptas enim sequi et omnis qui qui.\nRepellat eum enim laudantium. Illo ratione sequi minus. Ipsa aspernatur est perferendis rerum autem et excepturi. Nam repellat aliquam."], ["created_at", "2014-12-11 00:56:44.115056"], ["name", "alpha"], ["title", "Unde vel cupiditate"], ["updated_at", "2014-12-11 00:56:44.115056"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit officiis et debitis et hic illo. Ut voluptatum rerum quisquam quas quam eum. Voluptatem perferendis nihil quo nam. Neque facere perferendis. Vero quasi deserunt.\nEveniet maiores quia eaque modi qui est. Eum soluta velit recusandae tempore ipsa. Unde necessitatibus ut beatae omnis voluptatibus dolor. In doloremque ut.\nEum doloremque tempore perferendis. Et ut saepe minima excepturi eum ut illo. Tempora nemo eos praesentium asperiores est sint animi."], ["created_at", "2014-12-11 00:56:44.119162"], ["name", "beta"], ["title", "Modi ipsum excepturi"], ["updated_at", "2014-12-11 00:56:44.119162"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.120819"], ["updated_at", "2014-12-11 00:56:44.120819"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["created_at", "2014-12-11 00:56:44.123806"], ["updated_at", "2014-12-11 00:56:44.123806"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["created_at", "2014-12-11 00:56:44.126577"], ["updated_at", "2014-12-11 00:56:44.126577"], ["user_id", 40], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:56:44.128960"], ["name", "alpha"], ["title", "Unde vel cupiditate"], ["updated_at", "2014-12-11 00:56:44.128960"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-12-11 00:56:44.132222"], ["version", 8]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (31, 30) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsam amet et distinctio eum. Asperiores incidunt provident vel eos rerum. Cupiditate officiis dolor magni libero. Ea ad nihil id. Necessitatibus placeat ut et omnis.\nConsequatur incidunt fugiat. Provident qui vero voluptatum sequi quae. Distinctio sequi laboriosam non. Exercitationem non excepturi dolores quae enim nisi.\nSit quibusdam et in dolores cupiditate enim culpa. Nulla non voluptatem debitis esse quae. Voluptatum quasi nobis iste exercitationem est enim. Praesentium saepe voluptas voluptatem. Aut dignissimos hic provident et id."], ["created_at", "2014-12-11 00:56:44.136806"], ["name", "velit_illo_ut"], ["title", "Et provident non"], ["updated_at", "2014-12-11 00:56:44.136806"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_illo_ut"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'velit_illo_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 32 [["updated_at", "2014-12-11 00:56:44.139943"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.144414"], ["updated_at", "2014-12-11 00:56:44.144414"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["created_at", "2014-12-11 00:56:44.145013"], ["updated_at", "2014-12-11 00:56:44.145013"], ["user_id", 41], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 32 AND "fine_print_contracts"."name" = 'velit_illo_ut') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_illo_ut"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 32]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ipsum sed similique numquam voluptates est possimus. Labore in dolore nesciunt cum voluptate optio. Velit ex et ipsam. Maxime facilis cupiditate a.\nNeque tenetur dolorum cumque consectetur maxime. Recusandae debitis eos rerum. Est qui molestiae necessitatibus quasi commodi dolorem sunt.\nExpedita voluptas dolorem officia qui nemo quia doloremque. Officia est veniam quibusdam autem. Est ullam beatae repellat consequatur quo non quidem. Delectus et consequuntur qui culpa qui. Recusandae nesciunt sed quod."], ["created_at", "2014-12-11 00:56:44.154472"], ["name", "sequi_ipsa_et"], ["title", "Soluta laudantium quibusdam"], ["updated_at", "2014-12-11 00:56:44.154472"]]  (0.8ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_ipsa_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'sequi_ipsa_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-12-11 00:56:44.159607"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_ipsa_et"]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_ipsa_et"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 33 [["updated_at", "2014-12-11 00:56:44.164453"], ["version", nil]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_asperiores_quibusdam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_asperiores_quibusdam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sed ut est. Id aut qui iste labore. Doloribus non recusandae similique.\nAutem nemo at dolorem omnis qui libero. Sed consectetur dolores odio aut. Eveniet a odio neque dicta dolorum. Dicta vitae odio ad suscipit.\nDolorem iure occaecati ex eveniet recusandae. Error voluptatibus sunt culpa ut quas enim. Ratione itaque dolores sunt provident. Eos vel eligendi."], ["created_at", "2014-12-11 00:56:44.169629"], ["name", "est_asperiores_quibusdam"], ["title", "Ut eum qui"], ["updated_at", "2014-12-11 00:56:44.169629"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'est_asperiores_quibusdam' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sed ut est. Id aut qui iste labore. Doloribus non recusandae similique.\nAutem nemo at dolorem omnis qui libero. Sed consectetur dolores odio aut. Eveniet a odio neque dicta dolorum. Dicta vitae odio ad suscipit.\nDolorem iure occaecati ex eveniet recusandae. Error voluptatibus sunt culpa ut quas enim. Ratione itaque dolores sunt provident. Eos vel eligendi."], ["created_at", "2014-12-11 00:56:44.172092"], ["name", "joe"], ["title", "Ut eum qui"], ["updated_at", "2014-12-11 00:56:44.172092"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 35 [["updated_at", "2014-12-11 00:56:44.175132"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "saepe_et_nemo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'saepe_et_nemo') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Non aut aut dolorem veritatis quia fugiat vel. Modi velit aliquid. Numquam sint perspiciatis aut sequi est voluptatem. Voluptatem rerum a ut. Voluptas nulla quo.\nEos eaque repellat delectus iste est. Vitae sint explicabo amet praesentium repellat laudantium soluta. Vel facere et nihil fugiat. Deleniti nihil ratione amet ipsum voluptas. Enim provident dicta minima corrupti omnis.\nIste non nemo odit. Eum omnis nemo aut quis autem explicabo repellendus. Dolor perspiciatis praesentium velit deserunt et aliquam quia. Nemo iure ducimus totam voluptas est aut rerum."], ["created_at", "2014-12-11 00:56:44.180343"], ["name", "saepe_et_nemo"], ["title", "Soluta quas quia"], ["updated_at", "2014-12-11 00:56:44.180343"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'saepe_et_nemo' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Non aut aut dolorem veritatis quia fugiat vel. Modi velit aliquid. Numquam sint perspiciatis aut sequi est voluptatem. Voluptatem rerum a ut. Voluptas nulla quo.\nEos eaque repellat delectus iste est. Vitae sint explicabo amet praesentium repellat laudantium soluta. Vel facere et nihil fugiat. Deleniti nihil ratione amet ipsum voluptas. Enim provident dicta minima corrupti omnis.\nIste non nemo odit. Eum omnis nemo aut quis autem explicabo repellendus. Dolor perspiciatis praesentium velit deserunt et aliquam quia. Nemo iure ducimus totam voluptas est aut rerum."], ["created_at", "2014-12-11 00:56:44.182724"], ["name", "saepe_et_nemo"], ["title", "Soluta quas quia"], ["updated_at", "2014-12-11 00:56:44.182724"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "saepe_et_nemo"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'saepe_et_nemo') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 37 [["updated_at", "2014-12-11 00:56:44.185911"], ["version", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.189291"], ["updated_at", "2014-12-11 00:56:44.189291"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.191012"], ["updated_at", "2014-12-11 00:56:44.191012"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.195927"], ["updated_at", "2014-12-11 00:56:44.195927"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.197808"], ["updated_at", "2014-12-11 00:56:44.197808"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.201813"], ["updated_at", "2014-12-11 00:56:44.201813"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.203402"], ["updated_at", "2014-12-11 00:56:44.203402"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dignissimos_sed_similique"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dignissimos_sed_similique') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Veniam molestiae voluptates sed sapiente odit. Consequatur suscipit sint. Qui odit et culpa vero voluptatibus.\nIste voluptate et ea saepe. Architecto maiores repellat commodi incidunt iure. Saepe aut soluta incidunt. Tempore molestiae et veniam sint quia eos.\nBeatae necessitatibus minus expedita fuga qui exercitationem distinctio. Explicabo omnis consequatur. Consectetur excepturi rem. Repellendus nam quidem voluptatem recusandae. Reprehenderit vitae atque et quo."], ["created_at", "2014-12-11 00:56:44.208468"], ["name", "dignissimos_sed_similique"], ["title", "Nostrum natus corrupti"], ["updated_at", "2014-12-11 00:56:44.208468"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.212174"], ["updated_at", "2014-12-11 00:56:44.212174"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["created_at", "2014-12-11 00:56:44.213135"], ["updated_at", "2014-12-11 00:56:44.213135"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"38"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"38"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.219023"], ["updated_at", "2014-12-11 00:56:44.219023"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.220634"], ["updated_at", "2014-12-11 00:56:44.220634"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_officia_cumque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'omnis_officia_cumque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eum temporibus omnis consequuntur sit optio laboriosam hic. Ipsa ab soluta minima. Veniam modi non. Cupiditate dolores hic maiores occaecati ut at velit.\nQuia aut cum sunt animi qui temporibus. Aut enim quo asperiores similique. Ipsa ut aut beatae amet recusandae quis nemo. Sunt velit velit.\nEa deserunt aperiam. Iure quasi sed dolor et possimus ut. Iusto est omnis accusantium. Qui ut non aliquam. Atque iure est est tempore et aut maiores."], ["created_at", "2014-12-11 00:56:44.225568"], ["name", "omnis_officia_cumque"], ["title", "Nam consequuntur molestias"], ["updated_at", "2014-12-11 00:56:44.225568"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.228801"], ["updated_at", "2014-12-11 00:56:44.228801"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["created_at", "2014-12-11 00:56:44.229594"], ["updated_at", "2014-12-11 00:56:44.229594"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] Completed 200 OK in 192ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.425432"], ["updated_at", "2014-12-11 00:56:44.425432"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.428190"], ["updated_at", "2014-12-11 00:56:44.428190"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_quae_id"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_quae_id') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eligendi voluptas in. Harum dicta sunt voluptas quis architecto. Necessitatibus voluptas maxime voluptatum aut asperiores aperiam. Velit dolorem reprehenderit.\nAspernatur beatae voluptatum ut. Modi quidem rem. Accusamus quisquam enim iure reiciendis consequatur. A et nihil consequatur magnam aut. Sit magnam qui voluptas exercitationem ipsam.\nMinus recusandae odit beatae aperiam porro at. Accusantium dolor voluptatum laborum illo sint veniam deleniti. Doloribus vitae laborum earum nostrum asperiores libero."], ["created_at", "2014-12-11 00:56:44.433801"], ["name", "voluptatem_quae_id"], ["title", "Illum voluptas sequi"], ["updated_at", "2014-12-11 00:56:44.433801"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.437840"], ["updated_at", "2014-12-11 00:56:44.437840"]] SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-12-11 00:56:44.438786"], ["updated_at", "2014-12-11 00:56:44.438786"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.444170"], ["updated_at", "2014-12-11 00:56:44.444170"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.445902"], ["updated_at", "2014-12-11 00:56:44.445902"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_tenetur_ut"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_tenetur_ut') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Labore cum fuga veniam. Sapiente dolore consequuntur qui. Vel quia nemo adipisci. Qui et quia.\nEt nesciunt debitis velit possimus odit ut. Sapiente minima veritatis. Aliquam enim laborum quo amet sed dolorem. Provident aperiam voluptatem.\nMaiores consequatur deserunt. Aliquam repellendus est. Consequatur exercitationem iure porro officiis cupiditate. Consequatur magni non quasi velit dolorem odit. Mollitia et sit rerum recusandae illo."], ["created_at", "2014-12-11 00:56:44.451034"], ["name", "aut_tenetur_ut"], ["title", "Vitae hic voluptatem"], ["updated_at", "2014-12-11 00:56:44.451034"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.454343"], ["updated_at", "2014-12-11 00:56:44.454343"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-12-11 00:56:44.455104"], ["updated_at", "2014-12-11 00:56:44.455104"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.461121"], ["updated_at", "2014-12-11 00:56:44.461121"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.463335"], ["updated_at", "2014-12-11 00:56:44.463335"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_alias_deserunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_alias_deserunt') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptate mollitia ut error et laboriosam ipsa voluptatibus. Vel libero ut. Quisquam quibusdam facere aliquid dicta temporibus sint et.\nDolore vel repudiandae eveniet et in. Asperiores quaerat atque dignissimos rerum totam corrupti voluptas. Ea qui voluptas sint ipsum nobis exercitationem.\nIn assumenda voluptatem non. Aspernatur impedit facere laborum. Quaerat commodi dolorem qui quam rerum maxime. Voluptatem ad sunt qui velit quia non aut."], ["created_at", "2014-12-11 00:56:44.468069"], ["name", "et_alias_deserunt"], ["title", "Alias aspernatur aut"], ["updated_at", "2014-12-11 00:56:44.468069"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.470827"], ["updated_at", "2014-12-11 00:56:44.470827"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-12-11 00:56:44.471387"], ["updated_at", "2014-12-11 00:56:44.471387"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 15]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Redirected to http://test.host/fine_print/contracts/42/signatures?r=eTFseDdUTU1hNVhFZDQvUzRVODJRdz09LS1NSzVyQnI4cDJVT3hWRzRKbnc2TVNnPT0%3D--07a15055f9147be683d7efcd47561ea334b92c26 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 15 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.479565"], ["updated_at", "2014-12-11 00:56:44.479565"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.481184"], ["updated_at", "2014-12-11 00:56:44.481184"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_enim_corrupti"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_enim_corrupti') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Harum excepturi aliquam aspernatur est repellendus occaecati autem. Voluptatibus voluptatem provident molestias distinctio dolorum. Sunt omnis aut est omnis illum ratione culpa.\nQui aut ut. Mollitia id accusantium dolor iure perspiciatis sed. Incidunt saepe ipsam ut vel excepturi.\nFacere voluptate assumenda a optio officia. Tempora minima aliquam voluptatum ratione porro. Dolore omnis perspiciatis laboriosam."], ["created_at", "2014-12-11 00:56:44.485753"], ["name", "et_enim_corrupti"], ["title", "Totam placeat esse"], ["updated_at", "2014-12-11 00:56:44.485753"], ["version", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.489497"], ["updated_at", "2014-12-11 00:56:44.489497"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-12-11 00:56:44.490414"], ["updated_at", "2014-12-11 00:56:44.490414"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.497724"], ["updated_at", "2014-12-11 00:56:44.497724"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.499580"], ["updated_at", "2014-12-11 00:56:44.499580"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alias_voluptates_provident"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alias_voluptates_provident') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius et sapiente perferendis earum molestias est velit. Pariatur voluptatem ab rerum. Perferendis aut voluptas sit in nulla aut. Dolore ipsum temporibus repellat ex non nam.\nNatus aliquam veniam. Commodi in minima ut ipsum cupiditate. Odit enim maiores. Veritatis dicta quia non ut sed. Cum occaecati itaque vitae veritatis distinctio.\nVel dicta vel quia in. Saepe modi omnis esse. Perferendis dolorem temporibus distinctio nesciunt rerum sed quibusdam."], ["created_at", "2014-12-11 00:56:44.504543"], ["name", "alias_voluptates_provident"], ["title", "Deleniti libero doloremque"], ["updated_at", "2014-12-11 00:56:44.504543"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.507551"], ["updated_at", "2014-12-11 00:56:44.507551"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-12-11 00:56:44.508174"], ["updated_at", "2014-12-11 00:56:44.508174"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.511635"], ["updated_at", "2014-12-11 00:56:44.511635"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.513305"], ["updated_at", "2014-12-11 00:56:44.513305"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_maxime_odit"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vero_maxime_odit') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ipsum aliquid sunt quia. Unde voluptatem officiis expedita esse quia aspernatur et. Illum quos repellat laborum quas ea et et.\nExercitationem itaque harum aut voluptatem vel molestiae quia. Similique vero sequi non ab. Necessitatibus ut provident.\nAliquam atque ut temporibus nostrum et. Rerum illum quis quo. Facilis adipisci quae nihil."], ["created_at", "2014-12-11 00:56:44.517646"], ["name", "vero_maxime_odit"], ["title", "Aliquam dignissimos et"], ["updated_at", "2014-12-11 00:56:44.517646"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:56:44.520267"], ["updated_at", "2014-12-11 00:56:44.520267"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-12-11 00:56:44.521013"], ["updated_at", "2014-12-11 00:56:44.521013"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.8ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quo quam assumenda mollitia et in. A omnis ab. Nisi et consequatur nostrum ab ut omnis eos.\nCommodi quasi non. Eos non enim nesciunt velit. Voluptatem sit dolor quos commodi. Nihil voluptas facere. Et et nostrum placeat.\nEt qui nostrum minus modi necessitatibus aut. Delectus quam omnis nemo. Iure ut temporibus dolor ipsa cum. Hic corrupti enim ut tenetur ad sit consequatur."], ["created_at", "2014-12-11 00:56:44.526937"], ["name", "nobis_nemo_voluptatem"], ["title", "Autem voluptatem quos"], ["updated_at", "2014-12-11 00:56:44.526937"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_cupiditate_harum"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_cupiditate_harum') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Possimus porro laudantium et. Atque et adipisci enim quisquam cumque. Et ipsum ut ut quas quisquam molestias animi. Officiis ad reiciendis numquam dicta nulla enim. Iusto architecto hic.\nAut saepe laboriosam corrupti culpa eaque totam. Nam quae voluptatem in. Similique quia culpa nemo sint. Et quibusdam sit ipsa earum voluptatem doloremque dolore.\nVoluptatem et exercitationem consequatur molestiae reprehenderit aut. Alias placeat id quasi non vel et officiis. Commodi quod in molestiae maiores quis. Quis dolorum rerum."], ["created_at", "2014-12-11 00:56:44.532693"], ["name", "voluptatem_cupiditate_harum"], ["title", "Sint ut autem"], ["updated_at", "2014-12-11 00:56:44.532693"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Alias sunt sint ea iste et. Praesentium aut dolorum culpa officiis suscipit alias. Incidunt eos dolore reiciendis consequatur. Cupiditate omnis quis aperiam officiis.\nDeleniti sit ullam saepe praesentium maiores cupiditate consequatur. Non fuga quod facere quaerat. Earum accusamus quis autem ipsum id quam. Quo expedita voluptatem enim optio quia sint. Velit in fuga nemo.\nVoluptatum minima quaerat aut cumque qui est illum. Minus autem a neque laborum. Iure repellendus explicabo fuga voluptas. Dolores nemo beatae expedita iure in."], ["created_at", "2014-12-11 00:58:38.141997"], ["name", "nihil_ipsum_ea"], ["title", "Sed adipisci velit"], ["updated_at", "2014-12-11 00:58:38.141997"]]  (1.3ms) commit transaction FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_ipsum_ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'nihil_ipsum_ea') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 1 [["updated_at", "2014-12-11 00:58:38.155086"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction 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" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.167224"], ["updated_at", "2014-12-11 00:58:38.167224"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-12-11 00:58:38.168021"], ["updated_at", "2014-12-11 00:58:38.168021"], ["user_id", 1], ["user_type", "DummyUser"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'nihil_ipsum_ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nihil_ipsum_ea"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eos rerum aut debitis. Asperiores ut deleniti velit. Ratione voluptas quidem et sint omnis nisi. Error qui voluptas quasi quae nostrum soluta. Quos tenetur officiis et quisquam numquam.\nA quas aut. Tempora deserunt enim quo doloremque consequatur. Ut aut dolor molestiae ea sit aliquam. Repellat qui deserunt aliquam. Unde maiores perferendis voluptas.\nVitae distinctio sit quas aperiam. Harum eaque aliquam. Id optio ducimus fuga."], ["created_at", "2014-12-11 00:58:38.179522"], ["name", "sit_non_laborum"], ["title", "Provident explicabo voluptas"], ["updated_at", "2014-12-11 00:58:38.179522"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_non_laborum"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'sit_non_laborum') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-12-11 00:58:38.185608"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_non_laborum"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_non_laborum"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 2 [["updated_at", "2014-12-11 00:58:38.190507"], ["version", nil]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_saepe_unde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'vero_saepe_unde') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Ut dicta beatae modi officiis labore ex. Non ut dolorem ab aut. Dolores iure aliquam impedit beatae.\nSuscipit quidem nostrum et doloremque. Molestias facilis temporibus blanditiis ullam voluptas deleniti delectus. Maiores consectetur aliquid. Consequatur et dignissimos.\nMagni dolorem voluptatum eligendi aliquam nihil pariatur debitis. Illo est eum iusto quasi nemo temporibus. Id sint et qui hic laborum esse et."], ["created_at", "2014-12-11 00:58:38.195501"], ["name", "vero_saepe_unde"], ["title", "Architecto ut cupiditate"], ["updated_at", "2014-12-11 00:58:38.195501"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'vero_saepe_unde' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut dicta beatae modi officiis labore ex. Non ut dolorem ab aut. Dolores iure aliquam impedit beatae.\nSuscipit quidem nostrum et doloremque. Molestias facilis temporibus blanditiis ullam voluptas deleniti delectus. Maiores consectetur aliquid. Consequatur et dignissimos.\nMagni dolorem voluptatum eligendi aliquam nihil pariatur debitis. Illo est eum iusto quasi nemo temporibus. Id sint et qui hic laborum esse et."], ["created_at", "2014-12-11 00:58:38.199748"], ["name", "vero_saepe_unde"], ["title", "Architecto ut cupiditate"], ["updated_at", "2014-12-11 00:58:38.199748"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vero_saepe_unde"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'vero_saepe_unde') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 4 [["updated_at", "2014-12-11 00:58:38.204087"], ["version", 2]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magni_qui_in"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'magni_qui_in') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Facilis assumenda nihil illum dolor qui aspernatur. Dolorum dolorem maxime qui. Mollitia in tempore.\nPerspiciatis iure quo deserunt. Ut quidem hic ea eveniet at. Quibusdam rem quaerat. Consequatur debitis odit magni eius.\nEst laboriosam omnis earum facilis qui sit esse. Et velit architecto. Unde dolorum accusantium enim sed perspiciatis ea doloremque."], ["created_at", "2014-12-11 00:58:38.210629"], ["name", "magni_qui_in"], ["title", "Quod vel illum"], ["updated_at", "2014-12-11 00:58:38.210629"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'magni_qui_in' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis assumenda nihil illum dolor qui aspernatur. Dolorum dolorem maxime qui. Mollitia in tempore.\nPerspiciatis iure quo deserunt. Ut quidem hic ea eveniet at. Quibusdam rem quaerat. Consequatur debitis odit magni eius.\nEst laboriosam omnis earum facilis qui sit esse. Et velit architecto. Unde dolorum accusantium enim sed perspiciatis ea doloremque."], ["created_at", "2014-12-11 00:58:38.213438"], ["name", "joe"], ["title", "Quod vel illum"], ["updated_at", "2014-12-11 00:58:38.213438"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-12-11 00:58:38.216691"], ["version", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Iure modi qui nesciunt. Aperiam harum quibusdam doloribus error ut officiis cupiditate. Sit nam mollitia.\nVeniam perferendis laborum consequatur molestias quos eveniet quaerat. Tenetur iusto tempora cupiditate et repudiandae dolore possimus. Optio expedita id.\nAspernatur ducimus voluptas voluptatem in. Maxime voluptatum unde porro consequatur. Sed omnis molestias quis omnis voluptas similique. Laboriosam animi blanditiis molestias corrupti est voluptatibus."], ["created_at", "2014-12-11 00:58:38.221400"], ["name", "facere_at_eos"], ["title", "Officiis quidem perferendis"], ["updated_at", "2014-12-11 00:58:38.221400"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "debitis_rerum_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'debitis_rerum_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nemo magni ut autem molestiae. Debitis reiciendis ex. Aut vel sapiente. Error quia tempora quo ut enim. Quidem delectus harum distinctio.\nRepudiandae quibusdam explicabo corporis harum. Iure aut asperiores ab praesentium. Et nihil est repellendus. Cupiditate consequuntur unde. Totam dignissimos aut optio nihil repellendus doloribus.\nRecusandae fugit animi ex. Officiis et quia aut. Velit omnis dolorum ea repellat. Assumenda laborum qui rerum cumque. Repudiandae suscipit minima consequatur aliquam cupiditate sed iure."], ["created_at", "2014-12-11 00:58:38.227305"], ["name", "debitis_rerum_est"], ["title", "Velit hic ad"], ["updated_at", "2014-12-11 00:58:38.227305"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.233557"], ["updated_at", "2014-12-11 00:58:38.233557"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.235151"], ["updated_at", "2014-12-11 00:58:38.235151"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.240571"], ["updated_at", "2014-12-11 00:58:38.240571"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.242211"], ["updated_at", "2014-12-11 00:58:38.242211"]]  (0.7ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Suscipit nostrum voluptatem dolore quisquam sint dolorum magnam. Dolor odio dolorem necessitatibus quibusdam fuga quas animi. Quia maiores esse hic est provident. Sunt eos corporis velit excepturi nulla. Voluptatibus ut possimus maiores doloribus illum autem.\nFacere et exercitationem libero eveniet veritatis omnis ut. Deleniti vel autem nobis ipsam. Deserunt quis ut officia itaque. At maxime ut. Facilis quos est.\nMollitia accusamus nisi corporis et excepturi odio. Qui suscipit quod laudantium. Tenetur incidunt non voluptas."], ["created_at", "2014-12-11 00:58:38.249029"], ["name", "alpha"], ["title", "Iusto corrupti omnis"], ["updated_at", "2014-12-11 00:58:38.249029"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Eius molestiae sunt ducimus quae. Et id porro ut a nemo voluptas. Possimus nihil nemo laboriosam ut.\nNam molestias suscipit velit nisi dolorum. Non molestiae et quos beatae soluta. Quam debitis id. Voluptatem expedita et eligendi ad.\nUt voluptatibus aliquam temporibus consectetur. Tempore asperiores atque. Nam et libero quidem sapiente ut inventore deleniti."], ["created_at", "2014-12-11 00:58:38.254388"], ["name", "beta"], ["title", "Dolores non repellat"], ["updated_at", "2014-12-11 00:58:38.254388"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.256565"], ["updated_at", "2014-12-11 00:58:38.256565"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-12-11 00:58:38.260567"], ["updated_at", "2014-12-11 00:58:38.260567"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-12-11 00:58:38.264147"], ["updated_at", "2014-12-11 00:58:38.264147"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.8ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:58:38.267147"], ["name", "alpha"], ["title", "Iusto corrupti omnis"], ["updated_at", "2014-12-11 00:58:38.267147"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 11 [["updated_at", "2014-12-11 00:58:38.271586"], ["version", 2]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (11, 10, 8, 6, 5, 1, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugiat occaecati nostrum itaque neque omnis. Aspernatur maxime facere dolor. Ducimus beatae nisi cumque voluptas qui qui et. Aliquam enim voluptate consequatur dolore quos. Quis reprehenderit et fugit molestias vel facere maiores.\nMagni repellendus magnam quasi sed dolor sequi est. Fugiat fuga ab ipsum reiciendis est beatae. Aliquam magni id qui sapiente qui ea sed. Vero enim fugiat aliquam voluptatem.\nSed atque ad. Sint veniam ut voluptatem. Nesciunt atque unde ipsa aspernatur esse."], ["created_at", "2014-12-11 00:58:38.282136"], ["name", "alpha"], ["title", "Ex incidunt debitis"], ["updated_at", "2014-12-11 00:58:38.282136"], ["version", 3]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perspiciatis aut dolorum aspernatur ea vitae quia. Aut et quod voluptas. In nemo tempora nisi aliquid. Et sit ullam ut omnis.\nConsequatur hic iste ut omnis odit inventore qui. Exercitationem soluta quis. Dolore voluptatem unde qui non accusantium.\nConsequatur excepturi expedita. Quod et perspiciatis animi ut ut voluptates. Accusantium est ut dolorum distinctio sed. Est iure delectus nihil voluptate in sed."], ["created_at", "2014-12-11 00:58:38.286247"], ["name", "beta"], ["title", "At ipsum reprehenderit"], ["updated_at", "2014-12-11 00:58:38.286247"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.287998"], ["updated_at", "2014-12-11 00:58:38.287998"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["created_at", "2014-12-11 00:58:38.291087"], ["updated_at", "2014-12-11 00:58:38.291087"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["created_at", "2014-12-11 00:58:38.293979"], ["updated_at", "2014-12-11 00:58:38.293979"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:58:38.296454"], ["name", "alpha"], ["title", "Ex incidunt debitis"], ["updated_at", "2014-12-11 00:58:38.296454"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-12-11 00:58:38.299888"], ["version", 4]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 13]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Est exercitationem omnis. Reiciendis quod quidem. Blanditiis laudantium id ut eaque. Hic aspernatur quia iusto labore. Non impedit odit est magni dolor libero.\nDolorem qui corporis quibusdam voluptatem. Aperiam esse deleniti et neque recusandae. Ipsam dicta et molestiae omnis non cupiditate. Rerum temporibus aut.\nEt aut veritatis velit voluptas consequatur labore. Molestias ut ea est repellat rem ipsam aut. Neque et non consequuntur. Quam officia nobis reiciendis qui deserunt quia numquam. Quod possimus modi voluptatem."], ["created_at", "2014-12-11 00:58:38.309114"], ["name", "alpha"], ["title", "Voluptates iste qui"], ["updated_at", "2014-12-11 00:58:38.309114"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestiae omnis illo et dolores minima ullam aperiam. Reiciendis earum nulla architecto. Consequuntur deleniti rerum vel consectetur.\nUt quasi dolore. Sit magnam minima. Quis incidunt corporis error excepturi at iste ipsam. Officia voluptatem beatae eos maxime. Eos quia architecto minima.\nSint ut sapiente quia voluptas earum voluptas doloribus. In odit odio et unde. Repudiandae porro eveniet enim. Possimus aliquid delectus rerum et aut sint."], ["created_at", "2014-12-11 00:58:38.313236"], ["name", "beta"], ["title", "Esse sunt nihil"], ["updated_at", "2014-12-11 00:58:38.313236"], ["version", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.314944"], ["updated_at", "2014-12-11 00:58:38.314944"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 15 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["created_at", "2014-12-11 00:58:38.317802"], ["updated_at", "2014-12-11 00:58:38.317802"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["created_at", "2014-12-11 00:58:38.320896"], ["updated_at", "2014-12-11 00:58:38.320896"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:58:38.323857"], ["name", "alpha"], ["title", "Voluptates iste qui"], ["updated_at", "2014-12-11 00:58:38.323857"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 17 [["updated_at", "2014-12-11 00:58:38.327474"], ["version", 6]]  (0.7ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (17, 16) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Id totam reiciendis. Culpa velit totam porro neque at. Magnam harum in rerum voluptas iste culpa. Veniam recusandae qui dolorem dicta quae voluptatum beatae.\nEst nostrum et eum fugit voluptas. Aut repellat hic veritatis ut adipisci. Perspiciatis praesentium libero quam at molestiae. Magni tenetur vitae sapiente. Tenetur sit quasi eum illum.\nVoluptas consequatur quisquam. Aut vel rem. Tempore aut quis."], ["created_at", "2014-12-11 00:58:38.334426"], ["name", "alpha"], ["title", "Error quibusdam quae"], ["updated_at", "2014-12-11 00:58:38.334426"], ["version", 7]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quam voluptatum autem omnis aliquid. Quas molestiae pariatur quisquam autem ducimus dolorum natus. Rerum quae est modi in vel. Ab quod quasi et officia. Eius itaque cum.\nDolore aut voluptatem. Omnis numquam qui. Dolores similique iusto distinctio quidem eos. Temporibus sunt eveniet similique consequatur facilis incidunt non.\nEt est debitis sed. Quia autem inventore. Corporis eum sit accusantium. Quis non sunt qui et quam iusto aut."], ["created_at", "2014-12-11 00:58:38.338732"], ["name", "beta"], ["title", "Natus optio veritatis"], ["updated_at", "2014-12-11 00:58:38.338732"], ["version", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.340340"], ["updated_at", "2014-12-11 00:58:38.340340"]]  (0.6ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["created_at", "2014-12-11 00:58:38.343109"], ["updated_at", "2014-12-11 00:58:38.343109"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 19 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["created_at", "2014-12-11 00:58:38.353274"], ["updated_at", "2014-12-11 00:58:38.353274"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 00:58:38.356353"], ["name", "alpha"], ["title", "Error quibusdam quae"], ["updated_at", "2014-12-11 00:58:38.356353"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 20 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 20]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 20 [["updated_at", "2014-12-11 00:58:38.359805"], ["version", 8]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 16, 13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["created_at", "2014-12-11 00:58:38.379731"], ["updated_at", "2014-12-11 00:58:38.379731"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 18]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (20, 18, 17, 15, 14, 12, 11, 9) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 20]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (19, 16, 13, 10) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 19]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.393151"], ["updated_at", "2014-12-11 00:58:38.393151"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.394818"], ["updated_at", "2014-12-11 00:58:38.394818"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Impedit et iure. Dolorum est quidem facilis voluptatibus voluptatem. Odit tempora laudantium nihil veritatis.\nId repudiandae harum est. Cupiditate quod quis facilis. Non voluptatem impedit placeat eveniet nisi aut dolorem.\nEos ut iusto explicabo eligendi ipsum sunt sed. Odit culpa est voluptas ipsam. Eius autem ea minus qui veniam. Doloribus deleniti animi ratione veritatis."], ["created_at", "2014-12-11 00:58:38.397327"], ["name", "ipsum_cumque_atque"], ["title", "Assumenda possimus cum"], ["updated_at", "2014-12-11 00:58:38.397327"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsum_cumque_atque"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'ipsum_cumque_atque') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-12-11 00:58:38.400693"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"21"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsum_cumque_atque"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 21 [["updated_at", "2014-12-11 00:58:38.406769"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.411202"], ["updated_at", "2014-12-11 00:58:38.411202"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.412753"], ["updated_at", "2014-12-11 00:58:38.412753"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Minus qui dolores architecto autem. Quis rerum asperiores neque esse sit. Et molestiae voluptatem sunt architecto tempora molestias. Voluptatibus qui veritatis et minus. Dolor occaecati debitis voluptatem.\nMagni architecto fugit molestiae ut qui. Aut eius ut. Distinctio accusantium molestiae omnis facilis cum. Reprehenderit magni accusamus ut error. Delectus perferendis ea.\nNemo qui quos minus sed aut et. Mollitia voluptas voluptates quaerat. Aspernatur dolore tempora eaque esse excepturi enim est. Quam ipsa eum. Officiis nisi amet maiores debitis."], ["created_at", "2014-12-11 00:58:38.415210"], ["name", "animi_repellendus_et"], ["title", "Quis eos voluptatem"], ["updated_at", "2014-12-11 00:58:38.415210"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.419170"], ["updated_at", "2014-12-11 00:58:38.419170"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.420807"], ["updated_at", "2014-12-11 00:58:38.420807"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolores at unde qui impedit sit aut consequatur. Non enim non possimus beatae. Aut iste fugiat qui delectus molestiae commodi sit. Aspernatur repellat soluta dolorem nemo. Aut unde explicabo excepturi voluptatem libero et.\nIncidunt culpa facilis nemo repellat et est. Dolor officiis suscipit. Consequatur magnam ut blanditiis autem laborum quia. Adipisci voluptates asperiores et facilis. Suscipit quis cupiditate.\nLabore quae qui quos vel animi. Repellat laudantium rem accusamus exercitationem. Magni consequatur est voluptatem dolore atque."], ["created_at", "2014-12-11 00:58:38.423187"], ["name", "ad_nulla_ea"], ["title", "Incidunt eaque quas"], ["updated_at", "2014-12-11 00:58:38.423187"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ad_nulla_ea"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'ad_nulla_ea') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 23 [["updated_at", "2014-12-11 00:58:38.426528"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'ad_nulla_ea' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.2ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.441527"], ["updated_at", "2014-12-11 00:58:38.441527"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.443512"], ["updated_at", "2014-12-11 00:58:38.443512"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Eius reiciendis harum maxime. Iste et dicta beatae aut quo. Laboriosam voluptatibus deserunt qui et eius et ea. Eos cupiditate et quae nam aut ea. Nobis occaecati laborum tempore voluptates sit ducimus.\nCommodi repudiandae ea possimus delectus ipsam magnam consequatur. Quo at molestias unde suscipit. Eveniet provident voluptatem dignissimos aut aut quia.\nVeritatis quos provident modi nobis sed. Tempora magnam et minus quia. Et a quis voluptatem quo aut suscipit. Sint aperiam perspiciatis pariatur. Sed et modi cupiditate esse atque quisquam quasi."], ["created_at", "2014-12-11 00:58:38.446021"], ["name", "autem_dolores_dolore"], ["title", "Et nihil deleniti"], ["updated_at", "2014-12-11 00:58:38.446021"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.450548"], ["updated_at", "2014-12-11 00:58:38.450548"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.452447"], ["updated_at", "2014-12-11 00:58:38.452447"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nihil voluptas quidem nulla suscipit nam omnis. Voluptatem labore non sunt reprehenderit. Velit accusantium earum consectetur.\nId qui incidunt. Qui at libero. Quos quod reprehenderit aut delectus dolor accusamus a.\nEarum perspiciatis mollitia sunt. Quas impedit est voluptatem nesciunt similique. Et ad aut sit sunt porro modi dolorem. Alias doloribus molestias id distinctio est. Illo mollitia enim quia eos voluptas dolorem."], ["created_at", "2014-12-11 00:58:38.454966"], ["name", "repudiandae_esse_occaecati"], ["title", "Consequatur soluta esse"], ["updated_at", "2014-12-11 00:58:38.454966"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"25"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.460739"], ["updated_at", "2014-12-11 00:58:38.460739"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.462582"], ["updated_at", "2014-12-11 00:58:38.462582"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Est dicta ipsum molestiae omnis alias id nihil. Adipisci et ut fugit consequatur nihil voluptatem. Laboriosam ea quo eos dolorem numquam aut ut.\nOdio iste omnis amet dolorum. Nobis perferendis et fugiat corrupti fuga molestiae rerum. Consequatur perspiciatis fugiat occaecati quasi. Consectetur dolores omnis quaerat commodi quo porro temporibus. Est debitis sunt necessitatibus et temporibus id dolore.\nVoluptas eius delectus. Laborum et excepturi nobis aut sequi dolores. Similique quo odit voluptatem illo."], ["created_at", "2014-12-11 00:58:38.465619"], ["name", "aliquam_ut_magni"], ["title", "Totam ea ducimus"], ["updated_at", "2014-12-11 00:58:38.465619"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"26"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.470726"], ["updated_at", "2014-12-11 00:58:38.470726"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.472425"], ["updated_at", "2014-12-11 00:58:38.472425"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Modi voluptas exercitationem quis numquam consectetur eos. Quia quidem dolor molestiae voluptatem itaque repellendus. Qui quas et rerum. Nemo est accusamus occaecati provident est et dolores. Omnis consequatur ea consequatur autem veniam.\nSit qui tempora. Atque quisquam nemo dolorum et ducimus quia. Sapiente quod nesciunt. Eaque deserunt quaerat tempora. Qui ut necessitatibus repudiandae qui earum.\nQuia reprehenderit ab nobis impedit repudiandae. Ipsam in ipsum consectetur laudantium non. Expedita rem enim et autem sint. Tenetur officiis beatae veritatis ipsa."], ["created_at", "2014-12-11 00:58:38.475099"], ["name", "quia_voluptates_aliquam"], ["title", "Consequatur sed facilis"], ["updated_at", "2014-12-11 00:58:38.475099"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (23, 26, 20, 18, 17, 15, 14, 12, 11, 9, 22, 24, 19, 16, 13, 10, 8, 7, 21, 6, 5, 1, 27, 25, 2, 4, 3) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.482900"], ["updated_at", "2014-12-11 00:58:38.482900"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.484567"], ["updated_at", "2014-12-11 00:58:38.484567"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Similique autem possimus asperiores numquam quidem nihil sequi. Et assumenda quia sit. Aliquam et aspernatur.\nSit est neque necessitatibus a nobis. Aliquid nihil voluptatem. Vitae iusto ipsum necessitatibus.\nA possimus tempora aut impedit dolorem. Suscipit minus incidunt molestias quasi qui facere. Ab quod tempore tempora consequatur numquam fugit."], ["created_at", "2014-12-11 00:58:38.487500"], ["name", "repellendus_animi_sit"], ["title", "Cupiditate autem sit"], ["updated_at", "2014-12-11 00:58:38.487500"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"28"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.494824"], ["updated_at", "2014-12-11 00:58:38.494824"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.496452"], ["updated_at", "2014-12-11 00:58:38.496452"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Dolorem vero quis aut excepturi atque ipsam eius. Tempore dolor sed et repellendus nihil. Quidem perferendis voluptatem consequuntur cupiditate non.\nEx omnis et possimus natus. Beatae quia qui autem. Ratione dolorum reprehenderit.\nFacilis tenetur cumque vel. Rerum repudiandae amet rerum et sed enim consequatur. Eos quasi tempore."], ["created_at", "2014-12-11 00:58:38.498868"], ["name", "est_odio_aliquam"], ["title", "Cum voluptate perspiciatis"], ["updated_at", "2014-12-11 00:58:38.498868"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.503042"], ["updated_at", "2014-12-11 00:58:38.503042"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.504618"], ["updated_at", "2014-12-11 00:58:38.504618"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Exercitationem voluptatibus ipsam amet. Iusto id inventore cumque eius fugiat. Vero impedit dolores veritatis. Aut ut architecto sed sunt.\nDucimus eos in. Quae harum et tempora. Consectetur exercitationem tempora sit quia corporis dolorum.\nLaborum saepe modi eos dicta non. Quae voluptatem dolore. Molestiae perspiciatis ut reiciendis inventore deleniti commodi. Voluptates labore consequuntur magnam molestiae optio laudantium pariatur."], ["created_at", "2014-12-11 00:58:38.506996"], ["name", "corporis_ad_qui"], ["title", "Voluptatem quibusdam similique"], ["updated_at", "2014-12-11 00:58:38.506996"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "corporis_ad_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'corporis_ad_qui') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 30 [["updated_at", "2014-12-11 00:58:38.510443"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.516138"], ["updated_at", "2014-12-11 00:58:38.516138"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.517679"], ["updated_at", "2014-12-11 00:58:38.517679"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Asperiores quis eum reiciendis ullam et provident. A exercitationem cupiditate accusantium illo dolorem nemo ex. Vero voluptates amet. Sed repellendus nam quia.\nReiciendis praesentium voluptatem optio mollitia vitae. Placeat eveniet totam sit rem natus ducimus. Nesciunt autem aliquam.\nNam et labore natus vitae et. Nostrum enim sit amet sed laudantium ab animi. Pariatur ullam iure. Rerum id quia."], ["created_at", "2014-12-11 00:58:38.520229"], ["name", "laboriosam_placeat_repellendus"], ["title", "Et voluptatem recusandae"], ["updated_at", "2014-12-11 00:58:38.520229"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 31]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 31]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 31 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.529243"], ["updated_at", "2014-12-11 00:58:38.529243"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.530864"], ["updated_at", "2014-12-11 00:58:38.530864"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Repellendus aut quia et omnis sed aut. Est tempore non quos earum rem. Velit molestiae qui quia. Quis nulla pariatur tempore in labore dolorum quibusdam.\nUt nam rerum porro qui aut facere assumenda. Libero tenetur voluptatum tempore et. Molestias ab harum quas omnis dolor aut. Aspernatur accusamus minima ut quo qui quia ex.\nDolores doloribus eum commodi vero dolor qui. Voluptas dolor deleniti voluptate dolore dignissimos iusto molestiae. Alias minima dolorem facilis accusamus assumenda vero labore."], ["created_at", "2014-12-11 00:58:38.533175"], ["name", "velit_et_placeat"], ["title", "Veritatis debitis ut"], ["updated_at", "2014-12-11 00:58:38.533175"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-12-11 00:58:38.536409"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-12-11 00:58:38.536409"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/33 Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.540376"], ["updated_at", "2014-12-11 00:58:38.540376"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.541955"], ["updated_at", "2014-12-11 00:58:38.541955"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Qui id neque eos quisquam vel. Perspiciatis doloremque asperiores accusantium quasi excepturi quia. Voluptatibus et quod vitae.\nQui qui impedit consequuntur accusamus perspiciatis. Cumque in nemo. Voluptate sunt unde.\nTenetur quasi porro numquam quae. Similique non sapiente perspiciatis. Id qui in."], ["created_at", "2014-12-11 00:58:38.544452"], ["name", "architecto_eaque_ut"], ["title", "Voluptas numquam harum"], ["updated_at", "2014-12-11 00:58:38.544452"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 34]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.550270"], ["updated_at", "2014-12-11 00:58:38.550270"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.551829"], ["updated_at", "2014-12-11 00:58:38.551829"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Repellat dolore rerum tenetur voluptatem molestias. Aut adipisci molestias assumenda repellendus voluptatem distinctio et. Fugit est aperiam. Incidunt autem beatae quo. Tempore unde fugit veniam dolores illum sint ut.\nTotam nostrum non harum animi. Repudiandae eum excepturi dolor distinctio id autem ipsa. Voluptates nam voluptas sed unde nemo. Et animi nostrum quasi minima quo dolorem neque. Veritatis placeat nam autem.\nMaiores nobis laboriosam provident. Illo nulla accusantium dolor natus. Quaerat id et ut aliquam quod eveniet quia."], ["created_at", "2014-12-11 00:58:38.554215"], ["name", "voluptatem_et_similique"], ["title", "Natus est ipsa"], ["updated_at", "2014-12-11 00:58:38.554215"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.558741"], ["updated_at", "2014-12-11 00:58:38.558741"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.560313"], ["updated_at", "2014-12-11 00:58:38.560313"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi sit dolor ea. Itaque explicabo qui doloremque adipisci eum porro deserunt. Similique dolor fugiat quas deleniti consequuntur. Dolorum sit consequuntur dolore.\nHarum dolores enim quia commodi dolores quo. Ipsum aut aut harum sit quod voluptatem. Accusamus dolores laudantium qui quo.\nLabore et impedit. Sint provident assumenda vel. Perspiciatis in similique corrupti fugit qui nemo dolores. Quasi est reiciendis quia corporis ab."], ["created_at", "2014-12-11 00:58:38.562689"], ["name", "omnis_dolor_et"], ["title", "Odit consequatur quis"], ["updated_at", "2014-12-11 00:58:38.562689"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 36 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-12-11 00:58:38.566456"]]  (0.6ms) commit transaction Redirected to http://test.host/fine_print/contracts/36 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 36]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.572208"], ["updated_at", "2014-12-11 00:58:38.572208"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.573896"], ["updated_at", "2014-12-11 00:58:38.573896"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Et dolorem quidem. Suscipit sint sit aut eius iusto delectus. Provident nam et dolor enim magnam deserunt. Sint possimus ipsa tempora dicta.\nSequi provident at eum id quis eaque aut. Totam occaecati ducimus reprehenderit magnam consequuntur. Minus est adipisci et velit est excepturi voluptatibus. Enim nihil quam culpa facere aut. Tempora nobis ex ad illo dignissimos.\nConsequatur corrupti aut dolorem alias quas voluptatem. Aliquam optio voluptatibus molestiae voluptates. Commodi quia voluptatem aut."], ["created_at", "2014-12-11 00:58:38.576371"], ["name", "unde_maiores_sed"], ["title", "Commodi et unde"], ["updated_at", "2014-12-11 00:58:38.576371"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"37"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"37"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.581610"], ["updated_at", "2014-12-11 00:58:38.581610"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.583216"], ["updated_at", "2014-12-11 00:58:38.583216"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Earum accusamus quasi ipsa. Voluptatibus architecto nostrum accusantium. Consequatur sit commodi ut corrupti. Sint id eos possimus quos doloremque vitae.\nNeque deserunt minus aut minima eum fugit. Unde nisi nulla totam impedit. Ullam officiis modi dicta omnis velit quisquam. Velit consectetur asperiores voluptatibus. Nihil voluptas quia eveniet provident et officia minima.\nEos ipsam maiores ipsa. Molestias dolor voluptatibus sapiente sit vero aliquam. Velit rerum aliquam doloribus illum dolorem laborum ipsum."], ["created_at", "2014-12-11 00:58:38.585594"], ["name", "qui_maxime_est"], ["title", "Qui reiciendis adipisci"], ["updated_at", "2014-12-11 00:58:38.585594"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_maxime_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 38 AND "fine_print_contracts"."name" = 'qui_maxime_est') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 38 [["updated_at", "2014-12-11 00:58:38.589069"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"38"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"38"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.594026"], ["updated_at", "2014-12-11 00:58:38.594026"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.595639"], ["updated_at", "2014-12-11 00:58:38.595639"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Unde est impedit veritatis. Magnam qui soluta necessitatibus molestiae. Doloremque qui vitae deserunt rerum occaecati. Officia non cum molestiae. Praesentium dolor ut iste eum.\nEt quasi ipsa facere nemo. Magni cupiditate qui voluptas optio. Quibusdam qui itaque numquam. Nihil molestiae repellat blanditiis inventore et aut. Sunt voluptatibus harum.\nNeque quia nam ea autem debitis a nostrum. Recusandae sed aut. Sapiente consequatur et esse. Qui hic quibusdam molestiae veritatis assumenda. Autem et aut officia quod asperiores qui alias."], ["created_at", "2014-12-11 00:58:38.598364"], ["name", "iure_beatae_libero"], ["title", "Fugit alias repellat"], ["updated_at", "2014-12-11 00:58:38.598364"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"39"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iure_beatae_libero"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'iure_beatae_libero') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 39 [["updated_at", "2014-12-11 00:58:38.603638"], ["version", 1]]  (0.5ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 39]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.611487"], ["updated_at", "2014-12-11 00:58:38.611487"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.613509"], ["updated_at", "2014-12-11 00:58:38.613509"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consequatur_sunt_vel"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consequatur_sunt_vel') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Officiis debitis ratione provident laboriosam velit quia. Molestiae nemo ea et sint omnis et quidem. Possimus nobis ea numquam eum iusto perferendis.\nDelectus deserunt et autem perferendis. Eos ea voluptatem est. Voluptatem excepturi amet est neque omnis.\nPlaceat cupiditate et laudantium corporis. Mollitia eum quia enim tempora ex eum. Eos aliquam rerum nihil eaque."], ["created_at", "2014-12-11 00:58:38.625884"], ["name", "consequatur_sunt_vel"], ["title", "Repudiandae blanditiis perspiciatis"], ["updated_at", "2014-12-11 00:58:38.625884"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.629758"], ["updated_at", "2014-12-11 00:58:38.629758"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-12-11 00:58:38.630661"], ["updated_at", "2014-12-11 00:58:38.630661"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.9ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"40"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]] Completed 200 OK in 199ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.834974"], ["updated_at", "2014-12-11 00:58:38.834974"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.837677"], ["updated_at", "2014-12-11 00:58:38.837677"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_aut_aperiam"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_aut_aperiam') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "In qui labore. Sint sapiente veritatis reiciendis qui ea magnam veniam. Molestias sapiente incidunt ratione. Iure possimus consequatur mollitia inventore est. Dolore est dolores.\nRerum quia veritatis tempore aperiam aut. Delectus eaque similique necessitatibus sed placeat. Voluptatum omnis laborum qui sed. Laboriosam eos eveniet. Occaecati ut voluptatem.\nVeniam necessitatibus autem. Sed perspiciatis beatae harum id ut. Maiores et quia aut corrupti. Et officiis id fugiat est nulla. Dolorem quibusdam ut."], ["created_at", "2014-12-11 00:58:38.843024"], ["name", "qui_aut_aperiam"], ["title", "Officiis facilis est"], ["updated_at", "2014-12-11 00:58:38.843024"], ["version", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.846515"], ["updated_at", "2014-12-11 00:58:38.846515"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-12-11 00:58:38.847407"], ["updated_at", "2014-12-11 00:58:38.847407"], ["user_id", 51], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"12"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 12]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.853967"], ["updated_at", "2014-12-11 00:58:38.853967"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.855595"], ["updated_at", "2014-12-11 00:58:38.855595"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "expedita_rem_qui"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'expedita_rem_qui') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Tempore omnis eum voluptates asperiores natus et. Deserunt perspiciatis quia aut fugiat quia maiores occaecati. Iste exercitationem iusto omnis eos cupiditate totam.\nNostrum est eos. In quam sint corporis. Et ut qui aut. Non qui ad consequuntur vitae quam quo neque. Odit unde quo.\nConsectetur ad odit ipsum sapiente dicta. Animi sed dolore aperiam aliquam et sequi. Nihil repellendus et cumque facilis ut voluptas voluptas. Omnis rerum quaerat voluptatem sed natus voluptas. Aliquid blanditiis aut iste eligendi aliquam culpa vitae."], ["created_at", "2014-12-11 00:58:38.860475"], ["name", "expedita_rem_qui"], ["title", "Eveniet ut in"], ["updated_at", "2014-12-11 00:58:38.860475"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.863915"], ["updated_at", "2014-12-11 00:58:38.863915"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-12-11 00:58:38.864723"], ["updated_at", "2014-12-11 00:58:38.864723"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.871993"], ["updated_at", "2014-12-11 00:58:38.871993"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.873885"], ["updated_at", "2014-12-11 00:58:38.873885"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_voluptate_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'omnis_voluptate_est') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Provident voluptatem id voluptatem. Qui dolor quia eum eaque facilis totam hic. Veniam ea qui velit sit. Sit minus quos inventore magnam. Voluptas id culpa libero a laudantium quia minus.\nVoluptas quasi distinctio dolor alias quas reprehenderit illo. Eligendi quos eos dolore porro fugiat iste. Ratione magni laudantium in.\nQuia aperiam temporibus pariatur soluta cum amet est. Magni dolor nihil placeat aut non deserunt aperiam. Quis deserunt molestiae. Asperiores aperiam et iure impedit delectus optio."], ["created_at", "2014-12-11 00:58:38.878883"], ["name", "omnis_voluptate_est"], ["title", "Iusto cupiditate consequatur"], ["updated_at", "2014-12-11 00:58:38.878883"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.882407"], ["updated_at", "2014-12-11 00:58:38.882407"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-12-11 00:58:38.883253"], ["updated_at", "2014-12-11 00:58:38.883253"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"43"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.887719"], ["updated_at", "2014-12-11 00:58:38.887719"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.889370"], ["updated_at", "2014-12-11 00:58:38.889370"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "pariatur_aut_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'pariatur_aut_et') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem esse neque velit excepturi doloribus ea. Iste quo repudiandae aut quae ipsum. Commodi dolor vitae doloribus velit qui omnis enim. Quia consequatur cum pariatur blanditiis ipsam possimus harum.\nDoloribus praesentium nulla eum vel cum accusamus. Sit aut qui ad et aliquid reprehenderit itaque. Et beatae et pariatur porro.\nRerum minima non atque. Quam ut minus suscipit. Velit incidunt blanditiis. Ut ut sint quos qui."], ["created_at", "2014-12-11 00:58:38.894772"], ["name", "pariatur_aut_et"], ["title", "Sapiente dolores ab"], ["updated_at", "2014-12-11 00:58:38.894772"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.897815"], ["updated_at", "2014-12-11 00:58:38.897815"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-12-11 00:58:38.898442"], ["updated_at", "2014-12-11 00:58:38.898442"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"44"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.902509"], ["updated_at", "2014-12-11 00:58:38.902509"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.904076"], ["updated_at", "2014-12-11 00:58:38.904076"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_distinctio_qui"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ea_distinctio_qui') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Voluptatem itaque rerum eaque harum quaerat doloribus. Cupiditate voluptas est quibusdam. Aspernatur iure eos libero. Voluptates repellendus porro vel numquam sed autem. Necessitatibus totam quo aut praesentium.\nCorporis doloribus odio voluptas. Illo aspernatur eligendi excepturi est beatae. Alias quia hic harum laborum veritatis. Nesciunt ipsum quis.\nVoluptates reprehenderit optio. Quidem impedit vitae. Et impedit facilis quia soluta ullam corporis. Tempora distinctio earum beatae eius voluptas sed."], ["created_at", "2014-12-11 00:58:38.909293"], ["name", "ea_distinctio_qui"], ["title", "Nemo distinctio dicta"], ["updated_at", "2014-12-11 00:58:38.909293"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.912313"], ["updated_at", "2014-12-11 00:58:38.912313"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-12-11 00:58:38.912978"], ["updated_at", "2014-12-11 00:58:38.912978"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"45"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]] Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.918163"], ["updated_at", "2014-12-11 00:58:38.918163"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.919698"], ["updated_at", "2014-12-11 00:58:38.919698"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_fuga_atque"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_fuga_atque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dignissimos quibusdam sed. Enim quia dolorem consequuntur maxime. Eos adipisci quis cupiditate consequuntur et cum officia. Quo amet omnis alias autem. Perferendis voluptatem itaque est distinctio et.\nNihil omnis et doloremque voluptas pariatur neque odio. Id est quod nulla ipsum perferendis. Deleniti aut corporis. Non repellat consequatur nostrum amet et voluptas est.\nSit optio est sequi. Maxime veniam occaecati quibusdam voluptatem tenetur. Dolorem dolor expedita repellat. Tempore nam amet."], ["created_at", "2014-12-11 00:58:38.925523"], ["name", "sint_fuga_atque"], ["title", "Tenetur officia maiores"], ["updated_at", "2014-12-11 00:58:38.925523"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.929600"], ["updated_at", "2014-12-11 00:58:38.929600"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-12-11 00:58:38.930428"], ["updated_at", "2014-12-11 00:58:38.930428"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"46"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.934622"], ["updated_at", "2014-12-11 00:58:38.934622"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.936374"], ["updated_at", "2014-12-11 00:58:38.936374"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_nemo_rerum"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_nemo_rerum') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Perspiciatis rerum voluptatem corporis dignissimos omnis aliquid sunt. Suscipit quasi eaque dolor et odit omnis. Porro quis repudiandae alias.\nOccaecati molestias omnis. Nostrum maxime corporis odit. Nobis eaque aut libero ut.\nVoluptas recusandae corporis qui officia et. Ex voluptates placeat laudantium aut. Quibusdam commodi sint soluta et sed officia cupiditate."], ["created_at", "2014-12-11 00:58:38.940885"], ["name", "ut_nemo_rerum"], ["title", "Quos vitae deserunt"], ["updated_at", "2014-12-11 00:58:38.940885"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 00:58:38.943557"], ["updated_at", "2014-12-11 00:58:38.943557"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-12-11 00:58:38.944155"], ["updated_at", "2014-12-11 00:58:38.944155"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"18"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 18]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 47]] Redirected to http://test.host/fine_print/contracts/47/signatures?r=YStKSG9UdldKaFB4TDUxbFFhUkV6dz09LS1OQnpBczNSL0F3SGN5cGsyT0pTVUZnPT0%3D--e88a99313925748b72a6b3c26448d44b25077466 Completed 302 Found in 4ms (ActiveRecord: 1.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 18 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (1.6ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.9ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "version" integer, "title" varchar(255) NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.241595"], ["updated_at", "2014-12-11 01:47:25.241595"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.282538"], ["updated_at", "2014-12-11 01:47:25.282538"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Redirected to http://test.host/fine_print/contracts Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.288663"], ["updated_at", "2014-12-11 01:47:25.288663"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.290440"], ["updated_at", "2014-12-11 01:47:25.290440"]]  (0.6ms) commit transaction Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::HomeController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Repudiandae unde temporibus quae mollitia autem dolores. Dolores consequatur alias dolorum amet totam omnis. Adipisci eveniet et corporis facilis reprehenderit. Velit aperiam nobis est cumque.\nNon repudiandae enim dignissimos quasi ipsam id aspernatur. Culpa illo animi. Qui esse et voluptate ad. Possimus deleniti impedit at unde.\nDolorem sunt unde voluptas sit. Non nisi eligendi corporis. Quia deserunt dolorem enim reprehenderit. Eos voluptatem culpa velit minima enim error autem. Quam nesciunt in natus illum amet."], ["created_at", "2014-12-11 01:47:25.549893"], ["name", "alpha"], ["title", "Commodi accusantium aliquam"], ["updated_at", "2014-12-11 01:47:25.549893"], ["version", 1]]  (1.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Blanditiis delectus rem. Error cupiditate odit. Quidem pariatur explicabo. Neque aut sed ut non eveniet dolor. Placeat eos minima.\nIpsa exercitationem repudiandae culpa error. Non magni nostrum nulla molestiae fuga. Veritatis illum ex vero natus est. Eos quas saepe dolorum laboriosam necessitatibus. Deserunt non quidem veritatis placeat ratione.\nRerum earum enim vitae ea ut debitis. Qui libero reprehenderit qui quo est architecto. Beatae eveniet sunt voluptatem corporis eius suscipit. Culpa omnis consequatur et nihil nostrum. Doloribus dolorem ex."], ["created_at", "2014-12-11 01:47:25.558159"], ["name", "beta"], ["title", "Deleniti impedit eum"], ["updated_at", "2014-12-11 01:47:25.558159"], ["version", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.560308"], ["updated_at", "2014-12-11 01:47:25.560308"]]  (0.6ms) commit transaction  (0.0ms) begin transaction 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" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", "2014-12-11 01:47:25.566920"], ["updated_at", "2014-12-11 01:47:25.566920"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 5) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", "2014-12-11 01:47:25.574116"], ["updated_at", "2014-12-11 01:47:25.574116"], ["user_id", 5], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 01:47:25.578473"], ["name", "alpha"], ["title", "Commodi accusantium aliquam"], ["updated_at", "2014-12-11 01:47:25.578473"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 3 [["updated_at", "2014-12-11 01:47:25.581980"], ["version", 2]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]] 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dicta id numquam molestiae qui. Sunt ea molestias excepturi reprehenderit. Ipsum qui quidem libero pariatur corporis.\nMaiores quibusdam quis nihil veniam nesciunt. Odio deserunt delectus quis consequuntur. Exercitationem et voluptate adipisci.\nQuia cumque dolorem minima accusamus provident qui. Voluptas sit quisquam dolorem labore architecto. Omnis facilis reprehenderit doloremque."], ["created_at", "2014-12-11 01:47:25.592815"], ["name", "alpha"], ["title", "Impedit repellat nam"], ["updated_at", "2014-12-11 01:47:25.592815"], ["version", 3]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Corporis eaque ea minus magni. At ut odit velit id et. Eaque minima quia praesentium sed numquam quas. Quas autem saepe sunt ipsam mollitia tempora nemo.\nVoluptatem doloribus nostrum dolor et laudantium nulla. Cum consequatur accusamus deleniti nostrum culpa. Sit temporibus officia impedit.\nSaepe ullam ut eveniet iusto pariatur numquam. Rerum est odit debitis delectus. Magnam molestiae illum voluptatem. Possimus quod nemo."], ["created_at", "2014-12-11 01:47:25.597697"], ["name", "beta"], ["title", "Ratione suscipit aut"], ["updated_at", "2014-12-11 01:47:25.597697"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.599447"], ["updated_at", "2014-12-11 01:47:25.599447"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["created_at", "2014-12-11 01:47:25.602728"], ["updated_at", "2014-12-11 01:47:25.602728"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.6ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["created_at", "2014-12-11 01:47:25.606151"], ["updated_at", "2014-12-11 01:47:25.606151"], ["user_id", 6], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 01:47:25.608766"], ["name", "alpha"], ["title", "Impedit repellat nam"], ["updated_at", "2014-12-11 01:47:25.608766"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 6 [["updated_at", "2014-12-11 01:47:25.612191"], ["version", 4]]  (0.7ms) commit transaction  (0.2ms) SELECT "fine_print_contracts"."id" FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (6, 5) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Placeat cum est ut possimus. Libero unde placeat minima eum. Sed sint sit aut. Laboriosam ut occaecati aut ipsum. Blanditiis corporis eos quos iusto qui deleniti voluptatum.\nEa optio voluptatum eligendi labore quam. Beatae et est voluptates ut quasi qui voluptatem. Omnis omnis reprehenderit et qui corrupti itaque. Sint aut autem possimus tempore.\nEst explicabo laudantium architecto porro incidunt animi. Aut dignissimos facilis eum non ea. Incidunt sit qui consequatur quisquam culpa nulla. Sed fugiat sit."], ["created_at", "2014-12-11 01:47:25.623033"], ["name", "alpha"], ["title", "Omnis praesentium aut"], ["updated_at", "2014-12-11 01:47:25.623033"], ["version", 5]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Possimus et ipsam. Dolorem est pariatur doloremque officiis quo accusamus excepturi. Velit odit aut eligendi nihil eos. Soluta maxime est id dolore.\nAut itaque enim. Et sint eum architecto quia mollitia ab. Quam nobis enim pariatur eius. Earum eveniet amet voluptatibus. Eius nemo deleniti debitis asperiores ratione culpa.\nNisi et id libero. Officia iusto eum cum sunt soluta et. Et doloremque qui ut ratione ut esse. Omnis libero qui. Dolorem corporis quaerat laboriosam quis expedita voluptas."], ["created_at", "2014-12-11 01:47:25.628256"], ["name", "beta"], ["title", "Aut deleniti ratione"], ["updated_at", "2014-12-11 01:47:25.628256"], ["version", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.630050"], ["updated_at", "2014-12-11 01:47:25.630050"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["created_at", "2014-12-11 01:47:25.633352"], ["updated_at", "2014-12-11 01:47:25.633352"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["created_at", "2014-12-11 01:47:25.637107"], ["updated_at", "2014-12-11 01:47:25.637107"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.6ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 01:47:25.639667"], ["name", "alpha"], ["title", "Omnis praesentium aut"], ["updated_at", "2014-12-11 01:47:25.639667"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 9 [["updated_at", "2014-12-11 01:47:25.643061"], ["version", 6]]  (0.6ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 9 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["created_at", "2014-12-11 01:47:25.660745"], ["updated_at", "2014-12-11 01:47:25.660745"], ["user_id", 7], ["user_type", "DummyUser"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 7]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "alpha"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (9, 7, 6, 4, 3, 1) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 9]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["name", "beta"]] FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (8, 5, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' LIMIT 1 [["contract_id", 8]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Alias dignissimos adipisci cum. Dolor reprehenderit a odio iusto ea ut temporibus. Molestias earum nobis sint aut.\nDignissimos rem dolores ratione. Illum laborum sit. Ut qui est corporis non nobis animi quas. Dolorum similique eius fugiat. Eos tenetur odio.\nAutem numquam nisi illum iusto. Consequuntur et quis. Eius similique repellendus enim numquam. Fugiat pariatur praesentium neque aliquam cupiditate placeat sed. Qui consequatur fuga."], ["created_at", "2014-12-11 01:47:25.676775"], ["name", "alpha"], ["title", "Hic voluptates adipisci"], ["updated_at", "2014-12-11 01:47:25.676775"], ["version", 7]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Dolores non aut sed in aut et commodi. Expedita porro fugit asperiores praesentium. Alias sed et praesentium iure eum voluptatem earum.\nQuibusdam quo autem officiis atque temporibus quasi. Fuga modi at mollitia. Nam reiciendis velit.\nQui eum ut perferendis molestiae aut non. Sunt laborum id aliquid odio est illo ut. Autem pariatur aut qui."], ["created_at", "2014-12-11 01:47:25.681745"], ["name", "beta"], ["title", "Sed illum impedit"], ["updated_at", "2014-12-11 01:47:25.681745"], ["version", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.683518"], ["updated_at", "2014-12-11 01:47:25.683518"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["created_at", "2014-12-11 01:47:25.686646"], ["updated_at", "2014-12-11 01:47:25.686646"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["created_at", "2014-12-11 01:47:25.690056"], ["updated_at", "2014-12-11 01:47:25.690056"], ["user_id", 8], ["user_type", "DummyUser"]]  (0.7ms) commit transaction 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 "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "foo"], ["created_at", "2014-12-11 01:47:25.692630"], ["name", "alpha"], ["title", "Hic voluptates adipisci"], ["updated_at", "2014-12-11 01:47:25.692630"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 12 [["updated_at", "2014-12-11 01:47:25.696218"], ["version", 8]]  (0.6ms) commit transaction  (0.1ms) SELECT "fine_print_signatures"."contract_id" FROM "fine_print_signatures" WHERE "fine_print_signatures"."user_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."contract_id" IN (12, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Officia harum incidunt repellendus et numquam eum eveniet. Cum repellendus soluta officiis animi facilis enim. Rem quia et est quia.\nFugit non ipsum quod dolores sed ut laboriosam. Ullam praesentium qui itaque laborum maxime mollitia officiis. Ducimus aut quia non commodi. Recusandae voluptas dolorem rerum illum.\nOdit ducimus praesentium laboriosam. Quia adipisci laboriosam et sed. Explicabo velit deleniti provident a similique. Ex quia recusandae earum tempora est temporibus."], ["created_at", "2014-12-11 01:47:25.701312"], ["name", "dolor_a_quis"], ["title", "Eum rem non"], ["updated_at", "2014-12-11 01:47:25.701312"]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_a_quis"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'dolor_a_quis') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-12-11 01:47:25.706631"], ["version", 1]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_a_quis"]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_a_quis"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 13 [["updated_at", "2014-12-11 01:47:25.711994"], ["version", nil]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sint eius architecto est. Ipsam nostrum qui. Eveniet repellat aperiam a dolorum autem occaecati. Id consequatur dolores accusamus eos.\nQuas qui mollitia. Animi ut iure assumenda. Consequatur magni sit voluptates vitae quibusdam delectus perferendis. Nihil quis molestiae ea nam. Atque quis minima.\nArchitecto ut accusantium aperiam libero eaque vel ratione. Sit harum recusandae dolor et aperiam enim voluptatem. Veritatis mollitia nemo culpa dolor tempore consequatur."], ["created_at", "2014-12-11 01:47:25.715657"], ["name", "nam_architecto_distinctio"], ["title", "Quis qui aut"], ["updated_at", "2014-12-11 01:47:25.715657"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nam_architecto_distinctio"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'nam_architecto_distinctio') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 14 [["updated_at", "2014-12-11 01:47:25.719404"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.725964"], ["updated_at", "2014-12-11 01:47:25.725964"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["created_at", "2014-12-11 01:47:25.726920"], ["updated_at", "2014-12-11 01:47:25.726920"], ["user_id", 9], ["user_type", "DummyUser"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'nam_architecto_distinctio') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "nam_architecto_distinctio"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]  (0.1ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "numquam_non_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'numquam_non_iusto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Molestias possimus eaque aut dolor rem eveniet. Eum eos commodi non natus cum distinctio tenetur. Cum ducimus distinctio ipsum velit qui veritatis tempore. Sed sit occaecati est voluptatum dolorum corrupti quisquam.\nNumquam dolorum mollitia animi doloremque. Ut quis et nam atque animi. Dolores repudiandae laboriosam pariatur numquam. Repellendus ducimus voluptas non cupiditate aliquid sunt voluptatem. Voluptatem impedit aspernatur deleniti sint eligendi assumenda repellat.\nEt pariatur nostrum accusantium et sapiente sed. Laboriosam dolor et quia. Sit iste sunt cum esse reiciendis. Quia occaecati debitis."], ["created_at", "2014-12-11 01:47:25.784190"], ["name", "numquam_non_iusto"], ["title", "Quibusdam et tempora"], ["updated_at", "2014-12-11 01:47:25.784190"], ["version", 1]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'numquam_non_iusto' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Molestias possimus eaque aut dolor rem eveniet. Eum eos commodi non natus cum distinctio tenetur. Cum ducimus distinctio ipsum velit qui veritatis tempore. Sed sit occaecati est voluptatum dolorum corrupti quisquam.\nNumquam dolorum mollitia animi doloremque. Ut quis et nam atque animi. Dolores repudiandae laboriosam pariatur numquam. Repellendus ducimus voluptas non cupiditate aliquid sunt voluptatem. Voluptatem impedit aspernatur deleniti sint eligendi assumenda repellat.\nEt pariatur nostrum accusantium et sapiente sed. Laboriosam dolor et quia. Sit iste sunt cum esse reiciendis. Quia occaecati debitis."], ["created_at", "2014-12-11 01:47:25.787510"], ["name", "joe"], ["title", "Quibusdam et tempora"], ["updated_at", "2014-12-11 01:47:25.787510"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'joe') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 16 [["updated_at", "2014-12-11 01:47:25.790955"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_fugiat_voluptas"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'magnam_fugiat_voluptas') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Possimus expedita eaque velit mollitia voluptatibus consequatur nisi. Magni modi in. Quia aliquid quos fuga rerum doloribus ea.\nSed quis ipsa blanditiis recusandae. Magni dolores consequuntur molestias illo suscipit. Est aut dignissimos alias atque facere dolorem.\nRepudiandae iusto dicta quo voluptatum. Ad ipsam asperiores mollitia. Quibusdam est id quam unde accusamus ea."], ["created_at", "2014-12-11 01:47:25.796793"], ["name", "magnam_fugiat_voluptas"], ["title", "Placeat expedita libero"], ["updated_at", "2014-12-11 01:47:25.796793"], ["version", 1]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'magnam_fugiat_voluptas' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Possimus expedita eaque velit mollitia voluptatibus consequatur nisi. Magni modi in. Quia aliquid quos fuga rerum doloribus ea.\nSed quis ipsa blanditiis recusandae. Magni dolores consequuntur molestias illo suscipit. Est aut dignissimos alias atque facere dolorem.\nRepudiandae iusto dicta quo voluptatum. Ad ipsam asperiores mollitia. Quibusdam est id quam unde accusamus ea."], ["created_at", "2014-12-11 01:47:25.799383"], ["name", "magnam_fugiat_voluptas"], ["title", "Placeat expedita libero"], ["updated_at", "2014-12-11 01:47:25.799383"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "magnam_fugiat_voluptas"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'magnam_fugiat_voluptas') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 18 [["updated_at", "2014-12-11 01:47:25.802648"], ["version", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.806488"], ["updated_at", "2014-12-11 01:47:25.806488"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.808237"], ["updated_at", "2014-12-11 01:47:25.808237"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Ut quis autem libero aut labore. Earum in quis odio eum est commodi facere. Consequatur eveniet possimus dicta.\nMagnam ut sed ducimus. Nemo aut molestias rerum natus. Eos maiores eum non doloremque. Impedit beatae magnam ullam cupiditate et. Aliquam nobis est numquam quasi doloribus dolor.\nQuidem praesentium tempore quam et. Id voluptate quo voluptatem quia. Corrupti tempore cumque laboriosam corporis placeat. Autem consectetur adipisci qui. Est ut facere rerum suscipit accusantium et."], ["created_at", "2014-12-11 01:47:25.810863"], ["name", "explicabo_aliquam_cupiditate"], ["title", "Ea corporis consequatur"], ["updated_at", "2014-12-11 01:47:25.810863"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "explicabo_aliquam_cupiditate"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'explicabo_aliquam_cupiditate') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 19 [["updated_at", "2014-12-11 01:47:25.815560"], ["version", 1]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]] Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"19"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.824948"], ["updated_at", "2014-12-11 01:47:25.824948"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.826917"], ["updated_at", "2014-12-11 01:47:25.826917"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Exercitationem aut at esse enim quo eum. Consequatur temporibus ad ipsa perferendis sint. Dolorem suscipit et at mollitia quidem qui. Dolor dicta ea odio velit rem sed debitis. Earum deleniti minima.\nVoluptatem fugit et velit numquam. Qui modi repudiandae voluptas non illo nobis. Sunt numquam quis a incidunt et officiis. Facere voluptatibus dolores minus iste quos eum quae. Doloremque omnis ut ex.\nHic quia accusantium. Minus sequi voluptatibus quis. Possimus quo in quo ut vel. Quia nostrum aliquam recusandae nulla."], ["created_at", "2014-12-11 01:47:25.829630"], ["name", "totam_est_aut"], ["title", "Aliquam blanditiis dignissimos"], ["updated_at", "2014-12-11 01:47:25.829630"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", "2014-12-11 01:47:25.833387"], ["name", "some_name"], ["title", "Some title"], ["updated_at", "2014-12-11 01:47:25.833387"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/21 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.837926"], ["updated_at", "2014-12-11 01:47:25.837926"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.839712"], ["updated_at", "2014-12-11 01:47:25.839712"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quam quibusdam unde inventore nihil officia occaecati numquam. Quia est voluptatem eius velit dolor. At ratione voluptatem. Reiciendis aut est molestiae.\nItaque quo totam provident ratione eius. Sit velit qui pariatur aut voluptas excepturi debitis. In et nihil repudiandae. Quis pariatur dolore iste cumque adipisci.\nRerum at officiis iste labore occaecati laborum voluptatem. Accusantium unde placeat distinctio. Aut in et."], ["created_at", "2014-12-11 01:47:25.842135"], ["name", "ea_sed_et"], ["title", "Eum impedit nam"], ["updated_at", "2014-12-11 01:47:25.842135"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_sed_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'ea_sed_et') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-12-11 01:47:25.845654"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#unpublish as HTML Parameters: {"id"=>"22"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 22]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_sed_et"]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 22 [["updated_at", "2014-12-11 01:47:25.851477"], ["version", nil]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 5ms (ActiveRecord: 1.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.856506"], ["updated_at", "2014-12-11 01:47:25.856506"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.858317"], ["updated_at", "2014-12-11 01:47:25.858317"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam voluptates ducimus. Omnis esse et praesentium sit debitis consequatur. Perspiciatis ab voluptatem ea autem.\nDicta asperiores repellendus sed veniam error. Exercitationem distinctio dolor sint. Harum corporis qui rerum aut. Nostrum velit reiciendis modi est. Autem molestias ex voluptate voluptatem ipsa.\nAtque iusto at esse et. Provident cum quo soluta autem aut vero. Est vero voluptatem ipsam. Omnis tenetur velit. Non corporis voluptates voluptatem ipsa asperiores earum."], ["created_at", "2014-12-11 01:47:25.860977"], ["name", "praesentium_aut_dolores"], ["title", "Odio quam odit"], ["updated_at", "2014-12-11 01:47:25.860977"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"23"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "content" = ?, "name" = ?, "title" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = 23 [["content", "Another content"], ["name", "another_name"], ["title", "Another title"], ["updated_at", "2014-12-11 01:47:25.865465"]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts/23 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.872044"], ["updated_at", "2014-12-11 01:47:25.872044"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.874095"], ["updated_at", "2014-12-11 01:47:25.874095"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quas voluptas est veritatis in quaerat repellendus numquam. Nobis occaecati architecto doloribus dolore. Eos expedita consequatur asperiores rerum quo dolor.\nUt labore corrupti quia ut. Quidem dolores rerum quae velit voluptatem id adipisci. Nemo et eos esse quibusdam reiciendis. Quia cupiditate illo labore impedit.\nDolores optio eaque architecto. Est commodi et voluptas hic est minima amet. Ducimus neque at vitae voluptatem. Magnam provident quas eligendi."], ["created_at", "2014-12-11 01:47:25.876816"], ["name", "eligendi_asperiores_id"], ["title", "Culpa praesentium qui"], ["updated_at", "2014-12-11 01:47:25.876816"]]  (0.8ms) commit transaction Processing by FinePrint::ContractsController#index as HTML FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 23, 11, 8, 5, 2, 13, 22, 24, 19, 16, 18, 17, 14, 15, 21, 20) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.6ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.890626"], ["updated_at", "2014-12-11 01:47:25.890626"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.892516"], ["updated_at", "2014-12-11 01:47:25.892516"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Deserunt omnis consequatur ipsa quo natus quisquam voluptates. Eligendi corporis sed facere modi. Fugiat natus recusandae corrupti beatae cum quis eum. Ea harum illo est ipsa libero.\nQuae nihil autem in ut. Est labore accusantium quia porro. Voluptatem molestias sed et consequuntur aut velit.\nAspernatur blanditiis commodi asperiores accusamus et pariatur. In eveniet alias modi. Provident minus nam laboriosam illo. Beatae dolores ducimus voluptatem."], ["created_at", "2014-12-11 01:47:25.895162"], ["name", "quasi_ex_architecto"], ["title", "Expedita dolores sunt"], ["updated_at", "2014-12-11 01:47:25.895162"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"25"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quasi_ex_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'quasi_ex_architecto') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 25 [["updated_at", "2014-12-11 01:47:25.900787"], ["version", 1]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 6ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.905945"], ["updated_at", "2014-12-11 01:47:25.905945"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.908352"], ["updated_at", "2014-12-11 01:47:25.908352"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Earum impedit voluptatum et sed. Et fuga nobis sed dolores dignissimos id. Officia consectetur porro quisquam dolorem sunt. Omnis provident qui rerum quis. Voluptas expedita qui quis aut.\nOmnis et sunt amet. Eveniet vitae omnis laboriosam incidunt quia magni atque. Aliquam qui quaerat earum nihil et dolores quia. Quis veniam in rem quas fuga voluptates aut. Sunt corporis quas sed architecto accusantium aut.\nIncidunt corrupti eos quidem. Nulla alias autem ut. Est rerum voluptate aut aut quia commodi."], ["created_at", "2014-12-11 01:47:25.911348"], ["name", "repudiandae_laborum_et"], ["title", "Sunt nihil accusamus"], ["updated_at", "2014-12-11 01:47:25.911348"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"26"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]  (0.0ms) begin transaction FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 26]] SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 26]]  (0.7ms) commit transaction Redirected to http://test.host/fine_print/contracts Completed 302 Found in 4ms (ActiveRecord: 1.1ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 26 ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.921138"], ["updated_at", "2014-12-11 01:47:25.921138"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.922936"], ["updated_at", "2014-12-11 01:47:25.922936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Voluptatem hic voluptas. Delectus sit molestias sint maiores. Dolores cum hic neque et dolores aut. Debitis harum minima perspiciatis non quam cupiditate provident.\nSed earum aut reprehenderit debitis dolores magni. Consectetur ab quas inventore unde nihil. Impedit hic aut commodi fugit sed. Consequuntur quia voluptate dolorem ullam.\nDelectus soluta aut porro quo iusto velit sed. Aut fuga autem aut omnis in quisquam. Id non perspiciatis."], ["created_at", "2014-12-11 01:47:25.925342"], ["name", "est_eos_repellat"], ["title", "Aut quo recusandae"], ["updated_at", "2014-12-11 01:47:25.925342"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.931049"], ["updated_at", "2014-12-11 01:47:25.931049"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.932787"], ["updated_at", "2014-12-11 01:47:25.932787"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia assumenda aut commodi similique consequuntur sit non. Est aperiam quia aut. Vero ducimus quia vitae earum vel illo. Quod corporis nostrum et ea blanditiis. Consequatur aperiam reiciendis quia pariatur impedit nesciunt ex.\nIllo ea vel aut dolorem alias voluptates excepturi. Illum et error consequuntur eos deserunt. Suscipit ut non dignissimos sed doloribus quia.\nDignissimos omnis quibusdam exercitationem alias iste tempore. Enim doloribus facilis sint qui tenetur. Velit deleniti aut doloremque voluptatem saepe quia non. Ducimus dolores similique expedita repellendus ut atque. Dolores sit dolorem consequatur deleniti nihil et."], ["created_at", "2014-12-11 01:47:25.935442"], ["name", "aut_aut_atque"], ["title", "Quam rerum tempora"], ["updated_at", "2014-12-11 01:47:25.935442"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]] Processing by FinePrint::ContractsController#update as HTML Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.941627"], ["updated_at", "2014-12-11 01:47:25.941627"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.943389"], ["updated_at", "2014-12-11 01:47:25.943389"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Sit molestiae totam. Qui minus labore ducimus. Saepe reiciendis tempora nemo. Itaque dolores ullam. Voluptatem nulla adipisci at.\nOptio aut beatae praesentium. Quis tempora aspernatur occaecati quia sed dolorum dolores. A autem qui eius inventore blanditiis. Et eaque fugiat consequatur accusantium vel fugit reprehenderit.\nQuasi in culpa non qui totam dignissimos. Ducimus veritatis a quia nihil molestias modi dolor. Aut et similique id a nesciunt."], ["created_at", "2014-12-11 01:47:25.946176"], ["name", "voluptas_quidem_aut"], ["title", "Aut fugit iusto"], ["updated_at", "2014-12-11 01:47:25.946176"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#create as HTML Parameters: {"contract"=>"attributes"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.950708"], ["updated_at", "2014-12-11 01:47:25.950708"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.952547"], ["updated_at", "2014-12-11 01:47:25.952547"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Facilis distinctio voluptas temporibus et. Ut quis consequatur labore sed. Cupiditate deserunt dolor quis. Quia voluptates neque aut et non soluta.\nDolor repellendus et eveniet nobis officia. Quaerat earum velit dolorum et. Ipsam officiis reiciendis ullam blanditiis dolorem repellendus. Sint sapiente velit iste autem.\nFugit adipisci sed. Voluptas nisi est officia. Omnis error perspiciatis quia."], ["created_at", "2014-12-11 01:47:25.955522"], ["name", "facere_enim_quisquam"], ["title", "Tempore esse dolor"], ["updated_at", "2014-12-11 01:47:25.955522"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]] Processing by FinePrint::ContractsController#publish as HTML Parameters: {"id"=>"30"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.964016"], ["updated_at", "2014-12-11 01:47:25.964016"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.966111"], ["updated_at", "2014-12-11 01:47:25.966111"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Architecto qui accusamus rerum blanditiis occaecati suscipit. Dicta id libero sed. Inventore molestiae sed quis earum dolores ut fugiat. Nostrum quia dolor ea autem.\nRerum nam facilis culpa quas sed. Consectetur voluptatum ut enim consequatur suscipit. Soluta aut architecto unde qui et. Neque voluptate est.\nQui numquam excepturi nesciunt aperiam libero enim quia. Optio cum repellat unde at corrupti itaque nihil. Facilis commodi accusantium. Magni dolorem vitae. Odio necessitatibus ratione."], ["created_at", "2014-12-11 01:47:25.969223"], ["name", "sed_velit_a"], ["title", "Cumque fuga est"], ["updated_at", "2014-12-11 01:47:25.969223"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sed_velit_a"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'sed_velit_a') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]] SQL (0.2ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 31 [["updated_at", "2014-12-11 01:47:25.973873"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"31"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 31]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'sed_velit_a' AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.982529"], ["updated_at", "2014-12-11 01:47:25.982529"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.984284"], ["updated_at", "2014-12-11 01:47:25.984284"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Aut cum consequatur aut omnis rem unde. Nesciunt quam aut magnam facilis sed. Veniam culpa ea praesentium perspiciatis nisi omnis.\nProvident vitae ut quas odio voluptatum. Iste dolorum esse repellat. Nobis laborum et qui minima rerum nulla.\nDistinctio mollitia est. Nemo pariatur debitis corporis aut. Accusamus qui atque voluptates doloremque aut quia. Adipisci itaque accusamus."], ["created_at", "2014-12-11 01:47:25.986965"], ["name", "quia_eum_ipsam"], ["title", "Rerum sint et"], ["updated_at", "2014-12-11 01:47:25.986965"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#index as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.991554"], ["updated_at", "2014-12-11 01:47:25.991554"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:25.993278"], ["updated_at", "2014-12-11 01:47:25.993278"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quia accusamus voluptatum porro ut. Sunt qui iure dicta est. Similique voluptatem accusantium sit quaerat porro laudantium. At ipsam debitis. Minus commodi quibusdam labore quisquam fugiat quia vitae.\nSuscipit harum labore ullam incidunt porro. Fuga reprehenderit quia ut sit. Et velit excepturi et sit voluptatibus et adipisci. Ad reprehenderit quo ipsa atque culpa consequatur. Placeat ut consequatur necessitatibus aspernatur non.\nUnde recusandae sit blanditiis corrupti ut ut et. Earum adipisci dolorem ab repellendus enim officia. Sit quis dolor sit voluptas. Corporis perspiciatis quidem quis."], ["created_at", "2014-12-11 01:47:25.995904"], ["name", "voluptatem_optio_sed"], ["title", "Sequi et soluta"], ["updated_at", "2014-12-11 01:47:25.995904"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"33"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.000925"], ["updated_at", "2014-12-11 01:47:26.000925"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.002981"], ["updated_at", "2014-12-11 01:47:26.002981"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Nisi assumenda fuga voluptatem atque voluptate. Perspiciatis non aliquam animi veniam ut. Quos quaerat ut et eligendi.\nVoluptatibus ullam modi voluptatem libero iste fugiat. Est est fugit magnam. Explicabo incidunt quidem consequatur. Sapiente incidunt ut. Cupiditate tenetur id et praesentium aut ducimus qui.\nTenetur et quaerat corporis et. Repudiandae est eum. Reprehenderit qui iste. Dolorem qui expedita voluptatem et. Officia quia amet et et magni ea."], ["created_at", "2014-12-11 01:47:26.006111"], ["name", "tempore_necessitatibus_deserunt"], ["title", "Et laboriosam perferendis"], ["updated_at", "2014-12-11 01:47:26.006111"]]  (0.5ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_necessitatibus_deserunt"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 34 AND "fine_print_contracts"."name" = 'tempore_necessitatibus_deserunt') LIMIT 1 FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 34]] SQL (0.1ms) UPDATE "fine_print_contracts" SET "updated_at" = ?, "version" = ? WHERE "fine_print_contracts"."id" = 34 [["updated_at", "2014-12-11 01:47:26.009668"], ["version", 1]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new_version as HTML Parameters: {"id"=>"34"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.015354"], ["updated_at", "2014-12-11 01:47:26.015354"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.017244"], ["updated_at", "2014-12-11 01:47:26.017244"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Quae alias saepe sequi ex dolores. Ad nam ipsam ex sit non repellat. Ut voluptatem totam assumenda delectus beatae eos tenetur. Cupiditate molestiae voluptatem voluptates. Asperiores sequi qui quas at recusandae.\nDolorem quo consectetur mollitia dignissimos et sit. Quia in sit dolores illo. Iste iusto et ipsum libero voluptatibus tempora. Esse est aut.\nFuga tempora repellat voluptatem similique odio. Veritatis magni ad nemo fuga cupiditate itaque aperiam. Nostrum sint in nobis cumque impedit. Veniam animi fugiat eius blanditiis."], ["created_at", "2014-12-11 01:47:26.019924"], ["name", "ipsa_recusandae_voluptatibus"], ["title", "Vel sit sapiente"], ["updated_at", "2014-12-11 01:47:26.019924"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]] Processing by FinePrint::ContractsController#destroy as HTML Parameters: {"id"=>"35"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 35]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.026054"], ["updated_at", "2014-12-11 01:47:26.026054"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.027799"], ["updated_at", "2014-12-11 01:47:26.027799"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Laboriosam enim et architecto. Repudiandae qui adipisci qui est mollitia quis praesentium. Cumque occaecati distinctio sed. Delectus animi quod aut quisquam culpa.\nVoluptas et placeat. Recusandae possimus quo earum. Beatae culpa placeat sit.\nDistinctio aut nemo non doloremque in ut. Doloribus nemo recusandae nulla. Ullam quod voluptatem adipisci numquam ut ut. Ducimus assumenda veritatis."], ["created_at", "2014-12-11 01:47:26.030350"], ["name", "adipisci_qui_dolor"], ["title", "Autem expedita praesentium"], ["updated_at", "2014-12-11 01:47:26.030350"]]  (0.6ms) commit transaction Processing by FinePrint::ContractsController#edit as HTML Parameters: {"id"=>"36"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]] FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]] Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.038050"], ["updated_at", "2014-12-11 01:47:26.038050"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.040060"], ["updated_at", "2014-12-11 01:47:26.040060"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Soluta nulla id. Repellat architecto laboriosam. Sit perspiciatis quod quibusdam. Voluptas voluptate suscipit. Odit id consequatur beatae consequatur itaque quam.\nLaborum cupiditate enim recusandae est. Adipisci voluptatem illo eum. Nihil quisquam sit dolor illo autem ea id. Incidunt quia unde nihil. Omnis dicta non.\nMaiores eum assumenda. Aut et ab et et. Facere totam hic autem."], ["created_at", "2014-12-11 01:47:26.043072"], ["name", "nihil_atque_vero"], ["title", "Commodi qui qui"], ["updated_at", "2014-12-11 01:47:26.043072"]]  (0.7ms) commit transaction Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::ContractsController#new as HTML Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Unde aut veritatis voluptas debitis non. Tempore natus quo dignissimos earum. Ad ab nulla et aperiam dicta deserunt veritatis.\nConsequatur tempore odio dolores et temporibus rerum iusto. Laborum in reprehenderit eaque mollitia. Molestiae et esse odit voluptatem ex. Consequatur provident pariatur doloremque.\nQuaerat esse eius corrupti et dolorem. Et sapiente cum quia nam hic quia rerum. Omnis quia adipisci expedita itaque. Aut voluptate voluptatem. Nesciunt aliquam voluptatem ipsa."], ["created_at", "2014-12-11 01:47:26.048981"], ["name", "doloremque_voluptatem_corporis"], ["title", "Inventore ullam voluptatem"], ["updated_at", "2014-12-11 01:47:26.048981"]]  (0.9ms) commit transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]] FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_sunt_eaque"]]  (0.1ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'unde_sunt_eaque') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Quisquam cupiditate sed eos. Id dolorem voluptate minus ipsam. Quisquam quo voluptatem quasi voluptas. Earum quisquam aliquam ratione illum blanditiis.\nDignissimos in rem repellat nam aliquam. Debitis sit ex. Modi voluptatem quis id. Quisquam temporibus perspiciatis iusto.\nPlaceat nam nihil architecto. In vel quia neque dolorum in debitis. Quia rem rerum perspiciatis et temporibus dignissimos. Asperiores quisquam dolores similique facilis nam quod."], ["created_at", "2014-12-11 01:47:26.057055"], ["name", "unde_sunt_eaque"], ["title", "Quidem ipsa occaecati"], ["updated_at", "2014-12-11 01:47:26.057055"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 38]] FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 38]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.110404"], ["updated_at", "2014-12-11 01:47:26.110404"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.112293"], ["updated_at", "2014-12-11 01:47:26.112293"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "repellendus_eius_consequuntur"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'repellendus_eius_consequuntur') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Numquam consequatur laudantium at quasi molestiae ducimus mollitia. Minus provident omnis. At et iusto voluptatem itaque qui consequuntur et.\nUt tenetur temporibus reprehenderit. Voluptatem qui consequatur eum qui debitis. Aliquam soluta ullam delectus quod. Dolorem et consectetur aut. Maxime reprehenderit aspernatur pariatur ut.\nDucimus sapiente suscipit consequatur aperiam saepe possimus. Voluptate explicabo et doloribus. Non molestiae impedit et sed molestias illo. Odio et inventore. Et dignissimos quos in quis."], ["created_at", "2014-12-11 01:47:26.117409"], ["name", "repellendus_eius_consequuntur"], ["title", "Voluptatibus numquam modi"], ["updated_at", "2014-12-11 01:47:26.117409"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.120201"], ["updated_at", "2014-12-11 01:47:26.120201"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["created_at", "2014-12-11 01:47:26.120789"], ["updated_at", "2014-12-11 01:47:26.120789"], ["user_id", 48], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#create as HTML Parameters: {"contract_id"=>"40"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 557ms (ActiveRecord: 0.0ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.683004"], ["updated_at", "2014-12-11 01:47:26.683004"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.686026"], ["updated_at", "2014-12-11 01:47:26.686026"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "natus_et_accusamus"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'natus_et_accusamus') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Debitis molestias tempore et nemo officiis. Et est tenetur provident. Molestiae eaque quidem libero perspiciatis veritatis.\nAutem veniam omnis iusto. Voluptatem quae doloremque error nihil. Voluptas in enim ullam labore asperiores impedit praesentium.\nConsequatur magnam ut. Quia perspiciatis quo quidem. Sapiente consequuntur ipsam hic velit maxime impedit architecto. Quis officiis est labore ut veritatis. Pariatur vel adipisci qui."], ["created_at", "2014-12-11 01:47:26.691998"], ["name", "natus_et_accusamus"], ["title", "Amet dolores est"], ["updated_at", "2014-12-11 01:47:26.691998"], ["version", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.695040"], ["updated_at", "2014-12-11 01:47:26.695040"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["created_at", "2014-12-11 01:47:26.695737"], ["updated_at", "2014-12-11 01:47:26.695737"], ["user_id", 51], ["user_type", "DummyUser"]]  (1.0ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"41"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]] Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.705411"], ["updated_at", "2014-12-11 01:47:26.705411"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.707412"], ["updated_at", "2014-12-11 01:47:26.707412"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "debitis_nihil_architecto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'debitis_nihil_architecto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Natus dignissimos rerum deleniti. Vel aut temporibus blanditiis in. Maiores ea ad iure sit. Veritatis deserunt delectus. Et dolore at earum.\nNon cupiditate tempore. Et doloremque sint temporibus voluptas sit. Dolores ut qui quod pariatur.\nVitae quis unde maiores. Autem qui corrupti expedita autem ducimus. Saepe tempore a repellendus harum."], ["created_at", "2014-12-11 01:47:26.712799"], ["name", "debitis_nihil_architecto"], ["title", "Nulla alias omnis"], ["updated_at", "2014-12-11 01:47:26.712799"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.715611"], ["updated_at", "2014-12-11 01:47:26.715611"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["created_at", "2014-12-11 01:47:26.716192"], ["updated_at", "2014-12-11 01:47:26.716192"], ["user_id", 54], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"42"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 42]] Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.722997"], ["updated_at", "2014-12-11 01:47:26.722997"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.725064"], ["updated_at", "2014-12-11 01:47:26.725064"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatibus_ut_iusto"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatibus_ut_iusto') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Fugiat aut sapiente. Veniam natus eius. Odio commodi dolorem adipisci sit illum provident atque. Iusto sed aut.\nId quia aliquid sed voluptatem. Est eos id recusandae velit minus ab. Consequatur ratione earum quis officia nihil.\nQui fugit adipisci. Dolorem ex quia rem doloribus. Et ut tempora dolores laudantium doloremque eos. Quia praesentium ut voluptatum nihil voluptas dolor est. Pariatur eos laboriosam et ut dolor."], ["created_at", "2014-12-11 01:47:26.730824"], ["name", "voluptatibus_ut_iusto"], ["title", "Est praesentium consequuntur"], ["updated_at", "2014-12-11 01:47:26.730824"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.733967"], ["updated_at", "2014-12-11 01:47:26.733967"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["created_at", "2014-12-11 01:47:26.734590"], ["updated_at", "2014-12-11 01:47:26.734590"], ["user_id", 57], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"43"} FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 43]] Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.741112"], ["updated_at", "2014-12-11 01:47:26.741112"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.742765"], ["updated_at", "2014-12-11 01:47:26.742765"]]  (0.7ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "neque_suscipit_alias"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'neque_suscipit_alias') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Itaque harum officiis numquam eius sunt recusandae at. Quis sunt eos sed enim. Expedita voluptatum accusantium et.\nUt veritatis accusamus officiis ducimus doloribus. Facere veniam aspernatur dolore ea aut similique. Temporibus laborum natus et autem officiis id. Et et omnis cumque autem tempore ut assumenda.\nHic itaque veritatis est magni. Inventore suscipit sed delectus quasi aut. Asperiores voluptas a debitis."], ["created_at", "2014-12-11 01:47:26.747693"], ["name", "neque_suscipit_alias"], ["title", "Tenetur recusandae non"], ["updated_at", "2014-12-11 01:47:26.747693"], ["version", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.751458"], ["updated_at", "2014-12-11 01:47:26.751458"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["created_at", "2014-12-11 01:47:26.752382"], ["updated_at", "2014-12-11 01:47:26.752382"], ["user_id", 60], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]] Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"15"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.760834"], ["updated_at", "2014-12-11 01:47:26.760834"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.762767"], ["updated_at", "2014-12-11 01:47:26.762767"]]  (0.8ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sint_dolorem_est"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sint_dolorem_est') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Nemo voluptas qui. Dicta aliquid quidem cumque dignissimos consequatur vel. Pariatur dolor libero.\nQuas quidem itaque atque. Sit ut autem et. Ut quidem nisi dolorum tempora dolorem et.\nInventore maxime odio labore illo doloremque. Dolores rerum consequatur. Corrupti illo eius. Cum exercitationem eveniet incidunt. Deleniti maxime laborum non."], ["created_at", "2014-12-11 01:47:26.768028"], ["name", "sint_dolorem_est"], ["title", "Aspernatur doloribus veritatis"], ["updated_at", "2014-12-11 01:47:26.768028"], ["version", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.771597"], ["updated_at", "2014-12-11 01:47:26.771597"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["created_at", "2014-12-11 01:47:26.772426"], ["updated_at", "2014-12-11 01:47:26.772426"], ["user_id", 63], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by FinePrint::SignaturesController#index as HTML Parameters: {"contract_id"=>"45"} Filter chain halted as :can_manage rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.777463"], ["updated_at", "2014-12-11 01:47:26.777463"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.779230"], ["updated_at", "2014-12-11 01:47:26.779230"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "laboriosam_quis_maiores"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'laboriosam_quis_maiores') LIMIT 1 SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Autem quae maxime laborum temporibus quos et atque. Dolore cumque cupiditate ipsum magnam ab. Laboriosam corrupti excepturi maiores numquam odit. Expedita et molestiae sit. Assumenda id ipsum saepe aliquid.\nTemporibus rerum libero. Veniam eos omnis recusandae libero dolores repellat a. Rerum quasi aut. Et mollitia nihil similique fugiat optio ut maxime. Tenetur modi sint autem rerum.\nReprehenderit nesciunt aut. Et suscipit ut qui quos. Ea deleniti facilis corporis. In eveniet natus."], ["created_at", "2014-12-11 01:47:26.784199"], ["name", "laboriosam_quis_maiores"], ["title", "Aut cupiditate illo"], ["updated_at", "2014-12-11 01:47:26.784199"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.787092"], ["updated_at", "2014-12-11 01:47:26.787092"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 46], ["created_at", "2014-12-11 01:47:26.787701"], ["updated_at", "2014-12-11 01:47:26.787701"], ["user_id", 66], ["user_type", "DummyUser"]]  (0.7ms) commit transaction Processing by FinePrint::SignaturesController#destroy as HTML Parameters: {"id"=>"17"} FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]  (0.9ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 46]] Redirected to http://test.host/fine_print/contracts/46/signatures?r=Tlh2TkN5R1l4d3AvOVNPd0xsVTlpdz09LS1JdXEwbTJpWEtQa09tRjVmRWp4MkxnPT0%3D--f1abbb42dfc8ab66deb5e635d7892f747cbca6db Completed 302 Found in 5ms (ActiveRecord: 1.3ms) FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 17 ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.798032"], ["updated_at", "2014-12-11 01:47:26.798032"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.799777"], ["updated_at", "2014-12-11 01:47:26.799777"]]  (0.6ms) commit transaction FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "necessitatibus_accusantium_et"]]  (0.0ms) begin transaction FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'necessitatibus_accusantium_et') LIMIT 1 SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Similique molestiae nesciunt placeat et. Aliquid veritatis aut veniam magni. Voluptatem distinctio et consequatur quo voluptatibus. Modi saepe ut fugit eligendi hic.\nFugiat blanditiis ad quia. Aperiam temporibus reiciendis. Soluta molestiae perferendis et.\nCommodi labore consequatur. Eum non adipisci sed molestiae excepturi quo. At maiores rerum tenetur pariatur quos. Ut in quidem dolorem debitis sunt."], ["created_at", "2014-12-11 01:47:26.805759"], ["name", "necessitatibus_accusantium_et"], ["title", "Consectetur nemo illum"], ["updated_at", "2014-12-11 01:47:26.805759"], ["version", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 47 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-11 01:47:26.808756"], ["updated_at", "2014-12-11 01:47:26.808756"]] SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 47], ["created_at", "2014-12-11 01:47:26.809399"], ["updated_at", "2014-12-11 01:47:26.809399"], ["user_id", 69], ["user_type", "DummyUser"]]  (0.6ms) commit transaction Processing by FinePrint::SignaturesController#new as HTML Parameters: {"contract_id"=>"47"} Filter chain halted as :can_sign rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)